games.cavu.game

Cavu's sidecar to a game's games.atmosphere.define record: how the game launches and what it may do with a player's account. Same rkey as the define record: the game's slug (e.g. 'haiku-day'), which scopes everything the game may write (games.cavu.score / games.cavu.save at '<slug>[:...]', actor.rpg.stats at '<slug>'). The game's name, description, art and links live in the define record.

Repository @pardy.at did:plc:dp7v5b5kejmmzzpwmqyf5wj6 namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritycavu.games
Indexed
cid bafyreicyourujnlhjvduyfeydqmplvidj7dfjsytsvjb7k7ngnlq6afbse

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Cavu's sidecar to a game's games.atmosphere.define record: how the game launches and what it may do with a player's account. Same rkey as the define record: the game's slug (e.g. 'haiku-day'), which scopes everything the game may write (games.cavu.score / games.cavu.save at '<slug>[:...]', actor.rpg.stats at '<slug>'). The game's name, description, art and links live in the define record.",
      "key": "any",
      "record": {
        "properties": {
          "capabilities": {
            "description": "Everything the game may do through a player's host. Shown before launch.",
            "items": {
              "ref": "games.cavu.defs#capability",
              "type": "ref"
            },
            "type": "array"
          },
          "define": {
            "description": "The games.atmosphere.define record this extends (same repo, same rkey).",
            "format": "at-uri",
            "type": "string"
          },
          "guests": {
            "description": "Whether the game can be played without signing in (nothing is saved).",
            "type": "boolean"
          },
          "launchService": {
            "description": "DID whose document names the launch service endpoint (#cavu_launch) and its grant-signing key.",
            "format": "did",
            "type": "string"
          },
          "listed": {
            "default": true,
            "description": "False keeps the game out of catalog listings (it can still be launched by link), e.g. while it is tested in production.",
            "type": "boolean"
          },
          "network": {
            "description": "Outside services the game's server sends game data to (e.g. AI models). Requests may only go to these hosts. Shown to players before launch.",
            "items": {
              "ref": "games.cavu.defs#networkHost",
              "type": "ref"
            },
            "maxLength": 16,
            "type": "array"
          },
          "pack": {
            "description": "The games.cavu.pack this game runs (Lua + assets), as an exact version (same repo). Publishing a new version, or rolling back, is pointing this at another pack.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "define",
          "launchService",
          "guests",
          "capabilities"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "games.cavu.game",
  "lexicon": 1
}