org.ballotready.constituent.profile
Schema Diff
+12 -7
Compatibility Analysis
Breaking Changes Detected
6 breaking changes, 6 non-breaking changes.
Breaking Changes (6)
- RemovedVertex RemovedVertex { vertex_id: "org.ballotready.constituent.profile:body.bskyProfileFallbacks" }
- RemovedVertex RemovedVertex { vertex_id: "org.ballotready.constituent.profile:body.bskyProfileFallbacks:items" }
- RemovedVertex RemovedVertex { vertex_id: "org.ballotready.constituent.profile:body.usState" }
- RemovedEdge RemovedEdge { src: "org.ballotready.constituent.profile:body", tgt: "org.ballotready.constituent.profile:body.bskyProfileFallbacks", kind: "prop", name: Some("bskyProfileFallbacks") }
- RemovedEdge RemovedEdge { src: "org.ballotready.constituent.profile:body", tgt: "org.ballotready.constituent.profile:body.usState", kind: "prop", name: Some("usState") }
- RemovedEdge RemovedEdge { src: "org.ballotready.constituent.profile:body.bskyProfileFallbacks", tgt: "org.ballotready.constituent.profile:body.bskyProfileFallbacks:items", kind: "items", name: None }
Non-Breaking Changes (6)
- AddedVertex AddedVertex { vertex_id: "org.ballotready.constituent.profile:body.bskyProfileProperties" }
- AddedVertex AddedVertex { vertex_id: "org.ballotready.constituent.profile:body.bskyProfileProperties:items" }
- AddedVertex AddedVertex { vertex_id: "org.ballotready.constituent.profile:body.constituentOf" }
- AddedEdge AddedEdge { src: "org.ballotready.constituent.profile:body", tgt: "org.ballotready.constituent.profile:body.bskyProfileProperties", kind: "prop", name: Some("bskyProfileProperties") }
- AddedEdge AddedEdge { src: "org.ballotready.constituent.profile:body", tgt: "org.ballotready.constituent.profile:body.constituentOf", kind: "prop", name: Some("constituentOf") }
- AddedEdge AddedEdge { src: "org.ballotready.constituent.profile:body.bskyProfileProperties", tgt: "org.ballotready.constituent.profile:body.bskyProfileProperties:items", kind: "items", name: None }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "org.ballotready.constituent.profile:body.bskyProfileFallbacks" }RemovedVertex { vertex_id: "org.ballotready.constituent.profile:body.bskyProfileFallbacks:items" }RemovedVertex { vertex_id: "org.ballotready.constituent.profile:body.usState" }
Added Elements
AddedVertex { vertex_id: "org.ballotready.constituent.profile:body.bskyProfileProperties" }AddedVertex { vertex_id: "org.ballotready.constituent.profile:body.bskyProfileProperties:items" }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.bskyProfileFallbacks", kind: "prop", name: Some("bskyProfileFallbacks") }
- Breaking: RemovedEdge { src: "org.ballotready.constituent.profile:body", tgt: "org.ballotready.constituent.profile:body.usState", kind: "prop", name: Some("usState") }
- Breaking: RemovedEdge { src: "org.ballotready.constituent.profile:body.bskyProfileFallbacks", tgt: "org.ballotready.constituent.profile:body.bskyProfileFallbacks:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "org.ballotready.constituent.profile:body", tgt: "org.ballotready.constituent.profile:body.bskyProfileProperties", kind: "prop", name: Some("bskyProfileProperties") }
- Non-breaking: AddedEdge { src: "org.ballotready.constituent.profile:body", tgt: "org.ballotready.constituent.profile:body.constituentOf", kind: "prop", name: Some("constituentOf") }
- Non-breaking: AddedEdge { src: "org.ballotready.constituent.profile:body.bskyProfileProperties", tgt: "org.ballotready.constituent.profile:body.bskyProfileProperties:items", kind: "items", name: None }
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
-
"bskyProfileFallbacks": {
10
-
"description": "List of properties to pull from the user's Bluesky profile",
9
+
"bskyProfileProperties": {
10
+
"description": "List of properties to inherit from the user's app.bsky.actor.profile record.",
11
11
"items": {
12
12
"enum": [
13
+
"avatar",
14
+
"banner",
13
15
"displayName",
14
16
"description"
15
17
],
16
18
"type": "string"
17
19
},
18
20
"type": "array"
19
21
},
22
+
"constituentOf": {
23
+
"description": "Self-declared constituency, e.g. \"Michigan\" or \"United States\".",
24
+
"maxGraphemes": 64,
25
+
"maxLength": 640,
26
+
"type": "string"
27
+
},
20
28
"createdAt": {
21
29
"format": "datetime",
22
30
"type": "string"
23
31
},
24
32
"description": {
25
-
"description": "Free-form profile description text.",
33
+
"description": "Free-form consituent profile description text.",
26
34
"maxGraphemes": 256,
27
35
"maxLength": 2560,
28
36
"type": "string"
29
37
},
30
38
"displayName": {
39
+
"description": "Display name for the constituent.",
31
40
"maxGraphemes": 64,
32
41
"maxLength": 640,
33
-
"type": "string"
34
-
},
35
-
"usState": {
36
-
"description": "Two-letter abbreviation for your current U.S. state or territory",
37
42
"type": "string"
38
43
}
39
44
},
40
45
"type": "object"
41
46
},
42
47
"type": "record"
43
48
}
44
49
},
45
50
"id": "org.ballotready.constituent.profile",
46
51
"lexicon": 1
47
52
}