{
"id": "blue.atplay.game.score",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"gameId",
"score",
"createdAt"
],
"properties": {
"cid": {
"type": "string",
"maxLength": 512,
"description": "Content identifier for the record (optional, for verification)."
},
"score": {
"type": "integer",
"description": "The numeric score achieved by the player."
},
"gameId": {
"type": "string",
"maxLength": 256,
"description": "The unique identifier of the game this score was achieved in."
},
"metadata": {
"type": "object",
"properties": {
"level": {
"type": "integer",
"description": "Game level achieved, if applicable."
},
"duration": {
"type": "integer",
"description": "Duration of the game session in seconds, if applicable."
}
},
"description": "Optional game-specific metadata about the score."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp when the score was submitted."
},
"signatures": {
"type": "array",
"items": {
"ref": "blue.atplay.score.defs#attestation",
"type": "ref"
},
"description": "Optional attestation signatures proving the score was submitted through ATPlay."
}
}
},
"description": "A game score record submitted by a player through ATPlay."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}