games.atplay.game.invitation

atplay.games

{
  "$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
}

Validate Record

Validate a record against games.atplay.game.invitation

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

Metadata

DID
did:plc:xawtkr77srkxlwhxjf7whbml
CID
bafyreihomsrgkbripby6zinznop6vo3nakv2bksxvonyypgc4uy52griqy
Indexed At
2026-07-20 09:23 UTC
AT-URI
at://did:plc:xawtkr77srkxlwhxjf7whbml/com.atproto.lexicon.schema/games.atplay.game.invitation

Version History (2 versions)

Referenced Schemas (2)

  • games.atplay.game.release
  • games.atplay.game.state

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Invite other players to a game. The appview writes the invitation to the caller's repo, where the invitees will find it. The state must already be the output of the initiator's own first resolve (see ADR 0006).

  • A turn

  • The state of a game at a moment in time. Managed and interpreted entirely by a given game's logic blob

  • List the games a player is part of — ones they started and ones they were invited to — newest first.

  • A game, as distinct from any one release of it. There is one of these per game per developer, and its record key is the game's id — so its AT-URI is a permanent name for the game, which releases point back at (ADR 003…

Lexicon Garden

@