dev.tsunagite.createGame

tsunagite.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Create a record for a game that will host leaderboards via Tsunagite. If the game already exists, update its data.",
      "input": {
        "encoding": "text/json",
        "schema": {
          "properties": {
            "game": {
              "ref": "dev.tsunagite.game",
              "type": "ref"
            },
            "id": {
              "description": "The ID of this game. Should only include [a-zA-Z0-9-].",
              "format": "record-key",
              "type": "string"
            }
          },
          "required": [
            "id",
            "game"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "text/json",
        "schema": {
          "properties": {
            "profileKey": {
              "description": "The record key that should be used for this game's player profiles.",
              "format": "nsid",
              "type": "string"
            },
            "uri": {
              "description": "The URI pointing to the game's newly-created record.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "dev.tsunagite.createGame",
  "lexicon": 1
}

Validate Record

Validate a record against dev.tsunagite.createGame

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

Metadata

DID
did:plc:pz4sp2vf5w26wnaee253gfms
CID
bafyreif2fi4h2qv4omueykibsvm7vvgvvvm5bkjybebgfir5ysupwpj3ae
Indexed At
2026-04-30 03:28 UTC
AT-URI
at://did:plc:pz4sp2vf5w26wnaee253gfms/com.atproto.lexicon.schema/dev.tsunagite.createGame

Referenced Schemas (1)

Similar Lexicons

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

Lexicon Garden

@