games.atplay.game.invitation

An invitation to play a game, with everything needed to execute it

Repository @atplay.games did:plc:xawtkr77srkxlwhxjf7whbml namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritygame.atplay.games
Indexed
cid bafyreihomsrgkbripby6zinznop6vo3nakv2bksxvonyypgc4uy52griqy

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An invitation to play a game, with everything needed to execute it",
      "key": "tid",
      "record": {
        "properties": {
          "game": {
            "ref": "games.atplay.game.release",
            "type": "ref"
          },
          "otherPlayers": {
            "description": "Array of DIDs for other players in the game",
            "items": {
              "format": "did",
              "type": "string"
            },
            "minLength": 1,
            "type": "array"
          },
          "parameters": {
            "description": "Any parameters of play used by the game logic",
            "ref": "#parameters",
            "type": "ref"
          },
          "state": {
            "ref": "games.atplay.game.state",
            "type": "ref"
          }
        },
        "required": [
          "game",
          "otherPlayers",
          "state"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "parameters": {
      "description": "Open-ended container for a game's parameters. Game logic interprets the fields.",
      "properties": {},
      "type": "object"
    }
  },
  "id": "games.atplay.game.invitation",
  "lexicon": 1
}