blue.atplay.game.score
Schema Diff
+1 -1
1
1
{
2
2
"id": "blue.atplay.game.score",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"gameId",
11
11
"score",
12
12
"createdAt"
13
13
],
14
14
"properties": {
15
15
"cid": {
16
16
"type": "string",
17
17
"maxLength": 512,
18
18
"description": "Content identifier for the record (optional, for verification)."
19
19
},
20
20
"score": {
21
21
"type": "integer",
22
22
"description": "The numeric score achieved by the player."
23
23
},
24
24
"gameId": {
25
25
"type": "string",
26
26
"maxLength": 256,
27
27
"description": "The unique identifier of the game this score was achieved in."
28
28
},
29
29
"metadata": {
30
30
"type": "object",
31
31
"properties": {
32
32
"level": {
33
33
"type": "integer",
34
34
"description": "Game level achieved, if applicable."
35
35
},
36
36
"duration": {
37
37
"type": "integer",
38
38
"description": "Duration of the game session in seconds, if applicable."
39
39
}
40
40
},
41
41
"description": "Optional game-specific metadata about the score."
42
42
},
43
43
"createdAt": {
44
44
"type": "string",
45
45
"format": "datetime",
46
46
"description": "Timestamp when the score was submitted."
47
47
},
48
48
"signatures": {
49
49
"type": "array",
50
50
"items": {
51
-
"ref": "blue.atplay.score.attestation#main",
51
+
"ref": "blue.atplay.score.defs#attestation",
52
52
"type": "ref"
53
53
},
54
54
"description": "Optional attestation signatures proving the score was submitted through ATPlay."
55
55
}
56
56
}
57
57
},
58
58
"description": "A game score record submitted by a player through ATPlay."
59
59
}
60
60
},
61
61
"$type": "com.atproto.lexicon.schema",
62
62
"lexicon": 1
63
63
}