# SQI1: game import format The site builds this payload from `GET /api/epgp/game-import`, JSON-encodes it, base64s it, and prefixes it with `SQI1:` to make one paste-able string. The addon decodes it with `/sq import`, or receives it automatically through the companion app. Defined once in the website's `packages/sidequest-common`, so this table always matches what the addon actually receives. ## `GameImportPayload` The full ``SQI1:`` payload built by ``GET /api/epgp/game-import``. | Field | Type | Required | Description | |---|---|---|---| | `v` | `int` | yes | | | `generated_at` | `int` | yes | | | `rules` | `dict` | yes | | | `standings` | `list[GameImportStandingsRow]` | yes | | | `killed_encounters` | `list[int]` | yes | | | `events` | `list[GameImportEvent]` | yes | | | `members` | `list[GameImportMember]` | no | | | `news` | `list[GameImportNews]` | no | | | `sheets` | `dict[str, GameImportSheet]` | no | | | `crafters` | `list[GameImportCrafter]` | no | | | `recipe_names` | `dict[str, str]` | no | | | `officer` | `GameImportOfficerPart` | yes | | ## `GameImportEvent` One upcoming scheduled event in the game-import payload. | Field | Type | Required | Description | |---|---|---|---| | `id` | `UUID` | yes | | | `title` | `str` | yes | | | `kind` | `EventKind` | yes | | | `starts_at` | `int` | yes | | | `size` | `int \| None` | no | | | `signups` | `list[GameImportSignup]` | yes | | ## `GameImportSignup` One event sign-up in the game-import payload. ``character`` is the free-text sign-up name, no realm. | Field | Type | Required | Description | |---|---|---|---| | `character` | `str` | yes | | | `wow_class` | `WowClass` | yes | | | `role` | `SignupRole` | yes | | | `status` | `SignupStatus` | yes | | | `group` | `int \| None` | no | | | `bench` | `bool` | yes | | ## `GameImportStandingsRow` One standings row in the game-import payload. | Field | Type | Required | Description | |---|---|---|---| | `member_id` | `int \| None` | no | | | `name` | `str` | yes | | | `main` | `str \| None` | no | | | `wow_class` | `WowClass \| None` | no | | | `characters` | `list[str]` | yes | | | `ep` | `float` | yes | | | `gp` | `float` | yes | | | `pr` | `float` | yes | | | `trial` | `bool` | yes | |