full diff

org.ballotready.constituent.endorsement

ballotready.org +21 −1
From
bafyreibwyw5c4dmzynqapdjfmptt3eutgzjwshqrgrihd242axpxwtg3eq indexed 2026-10-16 01:33 UTC View this version
To
bafyreihamdat66tka3b7mbpd2u2oll26axfuyrh5pflf6shx3y5ofyuy2m indexed 2026-10-16 02:11 UTC View this version

Compatibility

breaking 2 breaking changes, 7 non-breaking changes.

Breaking changes (2)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "org.ballotready.constituent.endorsement#organization", src: "org.ballotready.constituent.endorsement#organization", tgt: "org.ballotready.constituent.endorsement#organization.civicEngineId", kind: "prop", name: Some("civicEngineId") }
  • RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "org.ballotready.constituent.endorsement:body", src: "org.ballotready.constituent.endorsement:body", tgt: "org.ballotready.constituent.endorsement:body.candidacy", kind: "prop", name: Some("candidacy") }
Non-breaking changes (7)
  • AddedVertex AddedVertex { vertex_id: "org.ballotready.constituent.endorsement#organization" }
  • AddedVertex AddedVertex { vertex_id: "org.ballotready.constituent.endorsement#organization.civicEngineId" }
  • AddedVertex AddedVertex { vertex_id: "org.ballotready.constituent.endorsement#organization.name" }
  • AddedVertex AddedVertex { vertex_id: "org.ballotready.constituent.endorsement:body.organization" }
  • AddedEdge AddedEdge { src: "org.ballotready.constituent.endorsement#organization", tgt: "org.ballotready.constituent.endorsement#organization.name", kind: "prop", name: Some("name") }
  • AddedEdge AddedEdge { src: "org.ballotready.constituent.endorsement:body", tgt: "org.ballotready.constituent.endorsement:body.organization", kind: "prop", name: Some("organization") }
  • AddedEdge AddedEdge { src: "org.ballotready.constituent.endorsement:body.organization", tgt: "org.ballotready.constituent.endorsement#organization", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "org.ballotready.constituent.endorsement#organization" }
  • AddedVertex { vertex_id: "org.ballotready.constituent.endorsement#organization.civicEngineId" }
  • AddedVertex { vertex_id: "org.ballotready.constituent.endorsement#organization.name" }
  • AddedVertex { vertex_id: "org.ballotready.constituent.endorsement:body.organization" }

Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "org.ballotready.constituent.endorsement#organization", src: "org.ballotready.constituent.endorsement#organization", tgt: "org.ballotready.constituent.endorsement#organization.civicEngineId", kind: "prop", name: Some("civicEngineId") }
  • Breaking: RequiredEdgeRemoved { vertex_id: "org.ballotready.constituent.endorsement:body", src: "org.ballotready.constituent.endorsement:body", tgt: "org.ballotready.constituent.endorsement:body.candidacy", kind: "prop", name: Some("candidacy") }
  • Non-breaking: AddedEdge { src: "org.ballotready.constituent.endorsement#organization", tgt: "org.ballotready.constituent.endorsement#organization.name", kind: "prop", name: Some("name") }
  • Non-breaking: AddedEdge { src: "org.ballotready.constituent.endorsement:body", tgt: "org.ballotready.constituent.endorsement:body.organization", kind: "prop", name: Some("organization") }
  • Non-breaking: AddedEdge { src: "org.ballotready.constituent.endorsement:body.organization", tgt: "org.ballotready.constituent.endorsement#organization", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "candidacy": {
55 "description": "A candidate in the running for a specific office in a specific election.",
66 "properties": {
77 "civicEngineId": {
88 "description": "CivicEngine API identifier for the candidacy.",
99 "type": "string"
1010 },
1111 "election": {
1212 "description": "Election name.",
1313 "type": "string"
1414 },
1515 "name": {
1616 "description": "Candidate name.",
1717 "type": "string"
1818 },
1919 "position": {
2020 "description": "Position name.",
2121 "type": "string"
2222 }
2323 },
2424 "required": [
2525 "civicEngineId"
2626 ],
2727 "type": "object"
2828 },
2929 "main": {
3030 "description": "An endorsement of a candidate for office declared by a constituent.",
3131 "key": "tid",
3232 "record": {
3333 "properties": {
3434 "candidacy": {
3535 "ref": "#candidacy",
3636 "type": "ref"
3737 },
3838 "comment": {
3939 "description": "Custom comment regarding this endorsement.",
4040 "maxGraphemes": 256,
4141 "maxLength": 2560,
4242 "type": "string"
4343 },
4444 "createdAt": {
4545 "description": "Timestamp when this record was originally created.",
4646 "format": "datetime",
4747 "type": "string"
48 },
49 "organization": {
50 "ref": "#organization",
51 "type": "ref"
4852 }
4953 },
5054 "required": [
51 "candidacy",
5255 "createdAt"
5356 ],
5457 "type": "object"
5558 },
5659 "type": "record"
60 },
61 "organization": {
62 "description": "An organization with verified endorsements.",
63 "properties": {
64 "civicEngineId": {
65 "description": "CivicEngine API identifier for the candidacy.",
66 "type": "string"
67 },
68 "name": {
69 "description": "Organization name.",
70 "type": "string"
71 }
72 },
73 "required": [
74 "civicEngineId"
75 ],
76 "type": "object"
5777 }
5878 },
5979 "id": "org.ballotready.constituent.endorsement",
6080 "lexicon": 1
6181}

Compare other versions