games.atplay.game.turn

atplay.games

{
  "id": "games.atplay.game.turn",
  "defs": {
    "main": {
      "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"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against games.atplay.game.turn

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:xawtkr77srkxlwhxjf7whbml
CID
bafyreief6kbxzkaabued4leotvcw4snfdpguszmilwyhxpu4sipa43pwdu
Indexed At
2026-04-11 21:27 UTC
AT-URI
at://did:plc:xawtkr77srkxlwhxjf7whbml/com.atproto.lexicon.schema/games.atplay.game.turn

Referenced Schemas (2)

Lexicon Garden

@