games.cavu.codex

pardy.at

Documentation

A card in a game's world: an item (a program, a weapon), an encounter (a piece of ICE, a monster, a trap), a character or a place. One record per card, not a player's copy of one: a player owns an item as an equipment.rpg.item whose `give` is this record's URI and whose stats carry a strongRef to it. It lives in the repo of the player whose play made it, signed by the game service so its stats can be trusted. rkey MUST be '<game>:<id>' (a TID); readers reject records whose rkey doesn't start with their own `game`.

main record

A card in a game's world: an item (a program, a weapon), an encounter (a piece of ICE, a monster, a trap), a character or a place. One record per card, not a player's copy of one: a player owns an item as an equipment.rpg.item whose `give` is this record's URI and whose stats carry a strongRef to it. It lives in the repo of the player whose play made it, signed by the game service so its stats can be trusted. rkey MUST be '<game>:<id>' (a TID); readers reject records whose rkey doesn't start with their own `game`.

Record Key any Any valid record key

Properties

category string Required

What sort of card, in terms any app understands: something a player can own (item), something a player faces (encounter), someone (character), somewhere (place).

maxLength: 32 bytes
Known values: item, encounter, character, place
createdAt string datetime Required

An RFC 3339 formatted timestamp.

description string Optional

No description available.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
image blob Optional

No description available.

maxSize: 1.0 MB
imageAlt string Optional

Alt text for the image.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
kind string Required

What sort of card in the game's own terms (e.g. 'ice', 'program', 'hardware'). Copied to equipment.rpg.item's `kind` for items.

maxLength: 20 bytes
name string Required

No description available.

maxLength: 640 bytesmaxGraphemes: 64 graphemes
origin ref #origin Optional

No description available.

stats unknown Optional

Game-specific, typed by the game: an object with $type in the game's own lexicon (e.g. games.cavu.aiSlop#ice).

View raw schema
{
  "description": "A card in a game's world: an item (a program, a weapon), an encounter (a piece of ICE, a monster, a trap), a character or a place. One record per card, not a player's copy of one: a player owns an item as an equipment.rpg.item whose `give` is this record's URI and whose stats carry a strongRef to it. It lives in the repo of the player whose play made it, signed by the game service so its stats can be trusted. rkey MUST be '<game>:<id>' (a TID); readers reject records whose rkey doesn't start with their own `game`.",
  "key": "any",
  "record": {
    "properties": {
      "category": {
        "description": "What sort of card, in terms any app understands: something a player can own (item), something a player faces (encounter), someone (character), somewhere (place).",
        "knownValues": [
          "item",
          "encounter",
          "character",
          "place"
        ],
        "maxLength": 32,
        "type": "string"
      },
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "description": {
        "maxGraphemes": 300,
        "maxLength": 3000,
        "type": "string"
      },
      "game": {
        "ref": "games.cavu.defs#slug",
        "type": "ref"
      },
      "image": {
        "accept": [
          "image/png",
          "image/jpeg",
          "image/webp"
        ],
        "maxSize": 1000000,
        "type": "blob"
      },
      "imageAlt": {
        "description": "Alt text for the image.",
        "maxGraphemes": 300,
        "maxLength": 3000,
        "type": "string"
      },
      "kind": {
        "description": "What sort of card in the game's own terms (e.g. 'ice', 'program', 'hardware'). Copied to equipment.rpg.item's `kind` for items.",
        "maxLength": 20,
        "type": "string"
      },
      "name": {
        "maxGraphemes": 64,
        "maxLength": 640,
        "type": "string"
      },
      "origin": {
        "ref": "#origin",
        "type": "ref"
      },
      "signatures": {
        "items": {
          "refs": [
            "games.cavu.defs#signature",
            "com.atproto.repo.strongRef"
          ],
          "type": "union"
        },
        "type": "array"
      },
      "stats": {
        "description": "Game-specific, typed by the game: an object with $type in the game's own lexicon (e.g. games.cavu.aiSlop#ice).",
        "type": "unknown"
      }
    },
    "required": [
      "game",
      "category",
      "kind",
      "name",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}
origin object

How the thing was made.

Properties

generated boolean Optional

Made (in whole or part) by generative models.

models array of string Optional

The models used, e.g. 'openrouter:<model id>'.

maxLength: 16 items
View raw schema
{
  "description": "How the thing was made.",
  "properties": {
    "generated": {
      "description": "Made (in whole or part) by generative models.",
      "type": "boolean"
    },
    "models": {
      "description": "The models used, e.g. 'openrouter:<model id>'.",
      "items": {
        "maxLength": 256,
        "type": "string"
      },
      "maxLength": 16,
      "type": "array"
    },
    "variantOf": {
      "description": "The codex entry this one is a variation of.",
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    }
  },
  "type": "object"
}

Lexicon Garden

@