# ink.igav.galaxius.temp.seat

> Published by [galaxius-gm.igav.ink](https://lexicon.garden/identity/did:plc:whg4cehv5lzx6yorjkwzbk56)

✓ This is the authoritative definition for this NSID.

## Description

A seated player in a Galaxius game, written by the game master.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:whg4cehv5lzx6yorjkwzbk56/ink.igav.galaxius.temp.seat)
- [Documentation](https://lexicon.garden/lexicon/did:plc:whg4cehv5lzx6yorjkwzbk56/ink.igav.galaxius.temp.seat/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:whg4cehv5lzx6yorjkwzbk56/ink.igav.galaxius.temp.seat/examples)

## Definitions

### `ink.igav.galaxius.temp.seat`

**Type**: `record`

A seat: one player's place in a game, their colour and the session key they play with.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `colour` | `string` | Yes | The seat's colour; the classic game had sixteen empire colours. |
| `commitment` | `string` | No | The commitment to the seat's start star, used from M4. |
| `game` | `ref` → `com.atproto.repo.strongRef` | Yes | A strongRef to the game this seat belongs to. |
| `join` | `ref` → `com.atproto.repo.strongRef` | No | A strongRef to the player's join record; absent until M3b2. |
| `seat` | `integer` | Yes | The seat's number. |
| `sessionKey` | `string` | Yes | The seat's session key: the did:key of the public key its envelopes are signed with. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A seat: one player's place in a game, their colour and the session key they play with.",
      "key": "any",
      "record": {
        "properties": {
          "colour": {
            "description": "The seat's colour; the classic game had sixteen empire colours.",
            "knownValues": [
              "red",
              "green",
              "blue",
              "yellow",
              "orange",
              "purple",
              "cyan",
              "magenta",
              "white",
              "black",
              "grey",
              "brown",
              "pink",
              "lime",
              "teal",
              "navy"
            ],
            "maxGraphemes": 32,
            "type": "string"
          },
          "commitment": {
            "description": "The commitment to the seat's start star, used from M4.",
            "maxLength": 128,
            "type": "string"
          },
          "game": {
            "description": "A strongRef to the game this seat belongs to.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "join": {
            "description": "A strongRef to the player's join record; absent until M3b2.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "seat": {
            "description": "The seat's number.",
            "minimum": 1,
            "type": "integer"
          },
          "sessionKey": {
            "description": "The seat's session key: the did:key of the public key its envelopes are signed with.",
            "maxLength": 128,
            "type": "string"
          }
        },
        "required": [
          "game",
          "seat",
          "colour",
          "sessionKey"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A seated player in a Galaxius game, written by the game master.",
  "id": "ink.igav.galaxius.temp.seat",
  "lexicon": 1
}
```
