games.cavu.tier-madness.commitment
Public commitment to a secret games.cavu.tier-madness.move, written to the game's commitment space (readable by the game's players) under the same rkey as the move. Anyone can later check a revealed move hashes to this CID.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | tier-madness.cavu.games |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.kindNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Public commitment to a secret games.cavu.tier-madness.move, written to the game's commitment space (readable by the game's players) under the same rkey as the move. Anyone can later check a revealed move hashes to this CID.",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"game": {
"maxLength": 64,
"type": "string"
},
"index": {
"description": "For placements: deal order.",
"maximum": 19,
"minimum": 0,
"type": "integer"
},
"kind": {
"description": "Which kind of move, so progress can be shown without revealing it.",
"knownValues": [
"vote",
"place",
"swap",
"double"
],
"type": "string"
},
"move": {
"description": "CID (DAG-CBOR, sha-256) of the secret move record.",
"format": "cid",
"type": "string"
},
"round": {
"maximum": 20,
"minimum": 0,
"type": "integer"
}
},
"required": [
"game",
"round",
"kind",
"move",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "games.cavu.tier-madness.commitment",
"lexicon": 1
}