A game score record submitted by a player through ATPlay.
Record Key
tid
Timestamp-based ID
Properties
cid
string
Optional
Content identifier for the record (optional, for verification).
maxLength: 512 bytescreatedAt
string
datetime
Required
Timestamp when the score was submitted.
gameId
string
Required
The unique identifier of the game this score was achieved in.
maxLength: 256 bytesmetadata
object
Optional
Optional game-specific metadata about the score.
score
integer
Required
The numeric score achieved by the player.
signatures
array
of
ref
blue.atplay.score.defs#attestation
Optional
Optional attestation signatures proving the score was submitted through ATPlay.
View raw schema
{
"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."
}