{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A game's server secret. Lives in the publisher's own repo inside the game's private memberspace (at://<publisher>/space/games.cavu.secrets/<slug>), never in the public repo; only services that are members of that space (the game servers that run it) can read it. Games never see it: they get values mixed from it with ctx.seed(label). Replacing it changes everything mixed from it (e.g. a daily deal).",
      "key": "literal:self",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "seed": {
            "description": "Base64 (standard, padded) of 32 random bytes. Read only by members of the game's games.cavu.secrets space; games see values mixed from it via ctx.seed, never the seed.",
            "maxLength": 128,
            "type": "string"
          }
        },
        "required": [
          "seed",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "games.cavu.secret",
  "lexicon": 1
}
