games.cavu.tier-madness.round

One player's account of a finished round, written by every player from their own PDS to the game's commitment space (rkey = `{game}-r{round}`) once the round's reveal starts. Written at the end rather than the start so it can't leak the deal order. Replay checks every player's round records agree.

Repository @pardy.at did:plc:dp7v5b5kejmmzzpwmqyf5wj6 namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritytier-madness.cavu.games
Indexed
cid bafyreigi5mnfgoksqtqpw4353eomc4lysjgmxpt3qhzjurjlskkm7x2ore

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One player's account of a finished round, written by every player from their own PDS to the game's commitment space (rkey = `{game}-r{round}`) once the round's reveal starts. Written at the end rather than the start so it can't leak the deal order. Replay checks every player's round records agree.",
      "key": "any",
      "record": {
        "properties": {
          "category": {
            "maxLength": 300,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "criteriaOptions": {
            "description": "Every criteria offered, in the order shown.",
            "items": {
              "ref": "games.cavu.tier-madness.defs#prompt",
              "type": "ref"
            },
            "maxLength": 5,
            "minLength": 1,
            "type": "array"
          },
          "criteriaPicker": {
            "format": "did",
            "type": "string"
          },
          "game": {
            "maxLength": 64,
            "type": "string"
          },
          "items": {
            "description": "The cards, in deal order.",
            "items": {
              "ref": "games.cavu.tier-madness.defs#item",
              "type": "ref"
            },
            "maxLength": 20,
            "minLength": 1,
            "type": "array"
          },
          "prompt": {
            "description": "The criteria picked: what this round's placements rate.",
            "ref": "games.cavu.tier-madness.defs#prompt",
            "type": "ref"
          },
          "round": {
            "maximum": 20,
            "minimum": 1,
            "type": "integer"
          },
          "source": {
            "description": "Where the category came from, e.g. its Wikipedia category page.",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "game",
          "round",
          "category",
          "criteriaPicker",
          "criteriaOptions",
          "prompt",
          "items",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "games.cavu.tier-madness.round",
  "lexicon": 1
}