games.atplay.game.invitation
Schema Diff
+7 -2
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 2 non-breaking changes.
Breaking Changes (2)
- KindChanged KindChanged { vertex_id: "games.atplay.game.invitation:body.parameters", old_kind: "object", new_kind: "ref" }
- ConstraintAdded ConstraintAdded { vertex_id: "games.atplay.game.invitation:body.parameters", sort: "ref", value: "#parameters" }
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "games.atplay.game.invitation#parameters" }
- AddedEdge AddedEdge { src: "games.atplay.game.invitation:body.parameters", tgt: "games.atplay.game.invitation#parameters", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "games.atplay.game.invitation#parameters" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "games.atplay.game.invitation:body.parameters", sort: "ref", value: "#parameters" }
Additional Notes
- Breaking: KindChanged { vertex_id: "games.atplay.game.invitation:body.parameters", old_kind: "object", new_kind: "ref" }
- Non-breaking: AddedEdge { src: "games.atplay.game.invitation:body.parameters", tgt: "games.atplay.game.invitation#parameters", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "An invitation to play a game, with everything needed to execute it",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"game": {
10
10
"ref": "games.atplay.game.release",
11
11
"type": "ref"
12
12
},
13
13
"otherPlayers": {
14
14
"description": "Array of DIDs for other players in the game",
15
15
"items": {
16
16
"format": "did",
17
17
"type": "string"
18
18
},
19
19
"minLength": 1,
20
20
"type": "array"
21
21
},
22
22
"parameters": {
23
23
"description": "Any parameters of play used by the game logic",
24
-
"properties": {},
25
-
"type": "object"
24
+
"ref": "#parameters",
25
+
"type": "ref"
26
26
},
27
27
"state": {
28
28
"ref": "games.atplay.game.state",
29
29
"type": "ref"
30
30
}
31
31
},
32
32
"required": [
33
33
"game",
34
34
"otherPlayers",
35
35
"state"
36
36
],
37
37
"type": "object"
38
38
},
39
39
"type": "record"
40
+
},
41
+
"parameters": {
42
+
"description": "Open-ended container for a game's parameters. Game logic interprets the fields.",
43
+
"properties": {},
44
+
"type": "object"
40
45
}
41
46
},
42
47
"id": "games.atplay.game.invitation",
43
48
"lexicon": 1
44
49
}