games.atplay.game.invitation
An invitation to play a game, with everything needed to execute it
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | game.atplay.games |
| Indexed |
Showing version bafyreihomsrgkbripby6zinznop6vo3nakv2bksxvonyypgc4uy52griqy. Show the latest
Checks
Valid Lint pass{
"$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
}