games.atplay.game.invitation

atplay.games

Documentation

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

main record

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

Record Key tid Timestamp-based ID

Properties

otherPlayers array of string did Required

Array of DIDs for other players in the game

minLength: 1 items
parameters object Optional

Any parameters of play used by the game logic

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "game",
      "otherPlayers",
      "state"
    ],
    "properties": {
      "game": {
        "ref": "games.atplay.game.release",
        "type": "ref"
      },
      "state": {
        "ref": "games.atplay.game.state",
        "type": "ref"
      },
      "parameters": {
        "type": "object",
        "properties": {},
        "description": "Any parameters of play used by the game logic"
      },
      "otherPlayers": {
        "type": "array",
        "items": {
          "type": "string",
          "format": "did"
        },
        "minLength": 1,
        "description": "Array of DIDs for other players in the game"
      }
    }
  },
  "description": "An invitation to play a game, with everything needed to execute it"
}

Lexicon Garden

@