dev.tsunagite.profile
Schema Diff
+6 -0
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 1 non-breaking change.
Breaking Changes (1)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "dev.tsunagite.profile:body", src: "dev.tsunagite.profile:body", tgt: "dev.tsunagite.profile:body.game", kind: "prop", name: Some("game") }
Non-Breaking Changes (1)
- AddedVertex AddedVertex { vertex_id: "dev.tsunagite.profile:body.game" }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "dev.tsunagite.profile:body.game" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "dev.tsunagite.profile:body", src: "dev.tsunagite.profile:body", tgt: "dev.tsunagite.profile:body.game", kind: "prop", name: Some("game") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "The player profile for a given game, determined by an NSID of the game publisher's handle succeeded by the game's key.",
6
6
"key": "nsid",
7
7
"record": {
8
8
"properties": {
9
9
"displayName": {
10
10
"description": "The display name for the player on leaderboards.",
11
11
"maxGraphemes": 50,
12
12
"maxLength": 500,
13
13
"minLength": 1,
14
14
"type": "string"
15
+
},
16
+
"game": {
17
+
"description": "The URI of the game this profile is for.",
18
+
"format": "at-uri",
19
+
"type": "string"
15
20
}
16
21
},
17
22
"required": [
23
+
"game",
18
24
"displayName"
19
25
],
20
26
"type": "object"
21
27
},
22
28
"type": "record"
23
29
}
24
30
},
25
31
"description": "Definitions related to player profiles in games hosting leaderboards via Tsunagite.",
26
32
"id": "dev.tsunagite.profile",
27
33
"lexicon": 1
28
34
}