social.eurosky.jeahel.cosmos
Schema Diff
+2 -2
Compatibility Analysis
Breaking Changes Detected
6 breaking changes, 3 non-breaking changes.
Breaking Changes (6)
- RemovedVertex RemovedVertex { vertex_id: "lex:com.atproto.repo.strongRef" }
- RemovedVertex RemovedVertex { vertex_id: "lex:social.eurosky.jeahel.cosmos#character" }
- RemovedEdge RemovedEdge { src: "social.eurosky.jeahel.cosmos#campaign.characters:items", tgt: "lex:social.eurosky.jeahel.cosmos#character", kind: "ref", name: None }
- RemovedEdge RemovedEdge { src: "social.eurosky.jeahel.cosmos#session.campaignRef", tgt: "lex:com.atproto.repo.strongRef", kind: "ref", name: None }
- ConstraintTightened ConstraintTightened { vertex_id: "social.eurosky.jeahel.cosmos#session.campaignRef", sort: "ref", old_value: "lex:com.atproto.repo.strongRef", new_value: "com.atproto.repo.strongRef" }
- ConstraintTightened ConstraintTightened { vertex_id: "social.eurosky.jeahel.cosmos#campaign.characters:items", sort: "ref", old_value: "lex:social.eurosky.jeahel.cosmos#character", new_value: "#character" }
Non-Breaking Changes (3)
- AddedVertex AddedVertex { vertex_id: "com.atproto.repo.strongRef" }
- AddedEdge AddedEdge { src: "social.eurosky.jeahel.cosmos#campaign.characters:items", tgt: "social.eurosky.jeahel.cosmos#character", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "social.eurosky.jeahel.cosmos#session.campaignRef", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "lex:com.atproto.repo.strongRef" }RemovedVertex { vertex_id: "lex:social.eurosky.jeahel.cosmos#character" }
Added Elements
AddedVertex { vertex_id: "com.atproto.repo.strongRef" }
Constraint Changes
- ConstraintTightened ConstraintTightened { vertex_id: "social.eurosky.jeahel.cosmos#campaign.characters:items", sort: "ref", old_value: "lex:social.eurosky.jeahel.cosmos#character", new_value: "#character" }
- ConstraintTightened ConstraintTightened { vertex_id: "social.eurosky.jeahel.cosmos#session.campaignRef", sort: "ref", old_value: "lex:com.atproto.repo.strongRef", new_value: "com.atproto.repo.strongRef" }
Additional Notes
- Breaking: RemovedEdge { src: "social.eurosky.jeahel.cosmos#campaign.characters:items", tgt: "lex:social.eurosky.jeahel.cosmos#character", kind: "ref", name: None }
- Breaking: RemovedEdge { src: "social.eurosky.jeahel.cosmos#session.campaignRef", tgt: "lex:com.atproto.repo.strongRef", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "social.eurosky.jeahel.cosmos#campaign.characters:items", tgt: "social.eurosky.jeahel.cosmos#character", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "social.eurosky.jeahel.cosmos#session.campaignRef", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"campaign": {
5
5
"description": "Record of a campaign.",
6
6
"properties": {
7
7
"characters": {
8
8
"items": {
9
-
"ref": "lex:social.eurosky.jeahel.cosmos#character",
9
+
"ref": "#character",
10
10
"type": "ref"
11
11
},
12
12
"type": "array"
13
13
},
14
14
"createdAt": {
15
15
"format": "datetime",
16
16
"type": "string"
17
17
},
18
18
"gameMaster": {
19
19
"type": "string"
20
20
},
21
21
"synopsis": {
22
22
"type": "string"
23
23
},
24
24
"system": {
25
25
"type": "string"
26
26
},
27
27
"tid": {
28
28
"format": "tid",
29
29
"type": "string"
30
30
},
31
31
"title": {
32
32
"type": "string"
33
33
}
34
34
},
35
35
"required": [
36
36
"tid",
37
37
"title",
38
38
"gameMaster",
39
39
"system",
40
40
"characters",
41
41
"createdAt"
42
42
],
43
43
"type": "object"
44
44
},
45
45
"character": {
46
46
"description": "Record of a character in a campaign; can be player or non-player.",
47
47
"properties": {
48
48
"name": {
49
49
"type": "string"
50
50
},
51
51
"player": {
52
52
"type": "string"
53
53
},
54
54
"tid": {
55
55
"format": "tid",
56
56
"type": "string"
57
57
}
58
58
},
59
59
"required": [
60
60
"tid",
61
61
"name",
62
62
"player"
63
63
],
64
64
"type": "object"
65
65
},
66
66
"session": {
67
67
"description": "Record of a session during a campaign.",
68
68
"properties": {
69
69
"campaignRef": {
70
-
"ref": "lex:com.atproto.repo.strongRef",
70
+
"ref": "com.atproto.repo.strongRef",
71
71
"type": "ref"
72
72
},
73
73
"createdAt": {
74
74
"format": "datetime",
75
75
"type": "string"
76
76
},
77
77
"markdown": {
78
78
"type": "string"
79
79
},
80
80
"sequenceNumber": {
81
81
"type": "integer"
82
82
},
83
83
"tid": {
84
84
"format": "tid",
85
85
"type": "string"
86
86
}
87
87
},
88
88
"required": [
89
89
"tid",
90
90
"campaignRef",
91
91
"sequenceNumber",
92
92
"markdown",
93
93
"createdAt"
94
94
],
95
95
"type": "object"
96
96
}
97
97
},
98
98
"id": "social.eurosky.jeahel.cosmos",
99
99
"lexicon": 1
100
100
}