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
"id": "games.atplay.game.invitation",
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
"game",
11
11
"otherPlayers",
12
12
"state"
13
13
],
14
14
"properties": {
15
15
"game": {
16
16
"ref": "games.atplay.game.release",
17
17
"type": "ref"
18
18
},
19
19
"state": {
20
20
"ref": "games.atplay.game.state",
21
21
"type": "ref"
22
22
},
23
23
"parameters": {
24
-
"type": "object",
25
-
"properties": {},
24
+
"ref": "#parameters",
25
+
"type": "ref",
26
26
"description": "Any parameters of play used by the game logic"
27
27
},
28
28
"otherPlayers": {
29
29
"type": "array",
30
30
"items": {
31
31
"type": "string",
32
32
"format": "did"
33
33
},
34
34
"minLength": 1,
35
35
"description": "Array of DIDs for other players in the game"
36
36
}
37
37
}
38
38
},
39
39
"description": "An invitation to play a game, with everything needed to execute it"
40
+
},
41
+
"parameters": {
42
+
"type": "object",
43
+
"properties": {},
44
+
"description": "Open-ended container for a game's parameters. Game logic interprets the fields."
40
45
}
41
46
},
42
47
"$type": "com.atproto.lexicon.schema",
43
48
"lexicon": 1
44
49
}