ink.igav.galaxius.temp.seat

galaxius-gm.igav.ink

Documentation

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

main record

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

Record Key any Any valid record key

Properties

colour string Required

The seat's colour; the classic game had sixteen empire colours.

maxGraphemes: 32 graphemes
Known values: red, green, blue, yellow, orange, purple, cyan, magenta, white, black, grey, brown, pink, lime, teal, navy
commitment string Optional

The commitment to the seat's start star, used from M4.

maxLength: 128 bytes
seat integer Required

The seat's number.

minimum: 1
sessionKey string Required

The seat's session key: the did:key of the public key its envelopes are signed with.

maxLength: 128 bytes
View raw schema
{
  "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"
}

Lexicon Garden

@