full diff

social.passports.fiftyStates.visit

From
bafyreib2phyhgzheeo5t754okwxjjjtkmt3nfjxywdt33gf33telurhd2u indexed 2026-09-27 17:41 UTC View this version
To
bafyreihfwcs5yutsmt7nizytnddpncstobviqhcw35olgwntr5vromce6m indexed 2026-09-27 20:50 UTC View this version

Compatibility

breaking 2 breaking changes, 2 non-breaking changes.

Breaking changes (2)
  • RemovedVertex RemovedVertex { vertex_id: "social.passports.fiftyStates.visit:body.visitedAt" }
  • RemovedEdge RemovedEdge { src: "social.passports.fiftyStates.visit:body", tgt: "social.passports.fiftyStates.visit:body.visitedAt", kind: "prop", name: Some("visitedAt") }
Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "social.passports.fiftyStates.visit:body.visitDate" }
  • AddedEdge AddedEdge { src: "social.passports.fiftyStates.visit:body", tgt: "social.passports.fiftyStates.visit:body.visitDate", kind: "prop", name: Some("visitDate") }

Migration guidance

Removed

  • RemovedVertex { vertex_id: "social.passports.fiftyStates.visit:body.visitedAt" }

Added

  • AddedVertex { vertex_id: "social.passports.fiftyStates.visit:body.visitDate" }

Notes

  • Breaking: RemovedEdge { src: "social.passports.fiftyStates.visit:body", tgt: "social.passports.fiftyStates.visit:body.visitedAt", kind: "prop", name: Some("visitedAt") }
  • Non-breaking: AddedEdge { src: "social.passports.fiftyStates.visit:body", tgt: "social.passports.fiftyStates.visit:body.visitDate", kind: "prop", name: Some("visitDate") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "A visit to a US state or territory. Records the subdivision visited and optionally the city and date.",
66 "key": "tid",
77 "record": {
88 "properties": {
99 "city": {
1010 "description": "City visited within the subdivision.",
1111 "maxLength": 100,
1212 "type": "string"
1313 },
1414 "createdAt": {
1515 "format": "datetime",
1616 "type": "string"
1717 },
1818 "note": {
1919 "description": "The user's note about this visit.",
2020 "maxLength": 3000,
2121 "type": "string"
2222 },
2323 "subdivision": {
2424 "description": "ISO 3166-2 subdivision code, e.g. 'US-CA', 'US-NY', 'US-HI'.",
2525 "maxLength": 6,
2626 "type": "string"
2727 },
28 "visitedAt": {
28 "visitDate": {
2929 "description": "Date of visit in YYYY-MM-DD format. Nullable — user may not know the exact date.",
3030 "maxLength": 10,
3131 "type": "string"
3232 }
3333 },
3434 "required": [
3535 "subdivision",
3636 "city",
3737 "createdAt"
3838 ],
3939 "type": "object"
4040 },
4141 "type": "record"
4242 }
4343 },
4444 "id": "social.passports.fiftyStates.visit",
4545 "lexicon": 1
4646}

Compare other versions