org.ballotready.constituent.profile
Schema Diff
+4 -4
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 2 non-breaking changes.
Breaking Changes (2)
- RemovedVertex RemovedVertex { vertex_id: "org.ballotready.constituent.profile:body.usState" }
- RemovedEdge RemovedEdge { src: "org.ballotready.constituent.profile:body", tgt: "org.ballotready.constituent.profile:body.usState", kind: "prop", name: Some("usState") }
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "org.ballotready.constituent.profile:body.constituentOf" }
- AddedEdge AddedEdge { src: "org.ballotready.constituent.profile:body", tgt: "org.ballotready.constituent.profile:body.constituentOf", kind: "prop", name: Some("constituentOf") }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "org.ballotready.constituent.profile:body.usState" }
Added Elements
AddedVertex { vertex_id: "org.ballotready.constituent.profile:body.constituentOf" }
Additional Notes
- Breaking: RemovedEdge { src: "org.ballotready.constituent.profile:body", tgt: "org.ballotready.constituent.profile:body.usState", kind: "prop", name: Some("usState") }
- Non-breaking: AddedEdge { src: "org.ballotready.constituent.profile:body", tgt: "org.ballotready.constituent.profile:body.constituentOf", kind: "prop", name: Some("constituentOf") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A declaration of a BallotReady constituent profile.",
6
6
"key": "literal:self",
7
7
"record": {
8
8
"properties": {
9
9
"bskyProfileFallbacks": {
10
10
"description": "List of properties to pull from the user's Bluesky profile",
11
11
"items": {
12
12
"enum": [
13
13
"displayName",
14
14
"description"
15
15
],
16
16
"type": "string"
17
17
},
18
18
"type": "array"
19
19
},
20
+
"constituentOf": {
21
+
"description": "Self-declared constituency group",
22
+
"type": "string"
23
+
},
20
24
"createdAt": {
21
25
"format": "datetime",
22
26
"type": "string"
23
27
},
24
28
"description": {
25
29
"description": "Free-form profile description text.",
26
30
"maxGraphemes": 256,
27
31
"maxLength": 2560,
28
32
"type": "string"
29
33
},
30
34
"displayName": {
31
35
"maxGraphemes": 64,
32
36
"maxLength": 640,
33
-
"type": "string"
34
-
},
35
-
"usState": {
36
-
"description": "Two-letter abbreviation for your current U.S. state or territory",
37
37
"type": "string"
38
38
}
39
39
},
40
40
"type": "object"
41
41
},
42
42
"type": "record"
43
43
}
44
44
},
45
45
"id": "org.ballotready.constituent.profile",
46
46
"lexicon": 1
47
47
}