A turn
Record Key
tid
Timestamp-based ID
Properties
actions
array
of
string
Required
The actions taken by this player in this game, created & interpretable by the game logic (but ideally also human readable)
minLength: 1 itemsfollows
array
of
ref
com.atproto.repo.strongRef
Optional
The record(s) that this new game state is based upon. This is usually the single previous turn (or the invitation, for the first turn), but for games where turns can be taken parallel for a given round, this may contain more than one record.
minLength: 1 itemsgame
ref
games.atplay.game.release
Required
No description available.
invitation
ref
com.atproto.repo.strongRef
Required
Reference to the game invitation record
nextPlayers
array
of
string
did
Optional
Array of DIDs for the next player(s) to take a turn
minLength: 1 itemsstate
ref
games.atplay.game.state
Required
No description available.
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"game",
"invitation",
"actions",
"state"
],
"properties": {
"game": {
"ref": "games.atplay.game.release",
"type": "ref"
},
"state": {
"ref": "games.atplay.game.state",
"type": "ref"
},
"actions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 1024
},
"minLength": 1,
"description": "The actions taken by this player in this game, created & interpretable by the game logic (but ideally also human readable)"
},
"follows": {
"type": "array",
"items": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"minLength": 1,
"description": "The record(s) that this new game state is based upon. This is usually the single previous turn (or the invitation, for the first turn), but for games where turns can be taken parallel for a given round, this may contain more than one record."
},
"invitation": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"description": "Reference to the game invitation record"
},
"nextPlayers": {
"type": "array",
"items": {
"type": "string",
"format": "did"
},
"minLength": 1,
"description": "Array of DIDs for the next player(s) to take a turn"
}
}
},
"description": "A turn"
}