full diff

at.mapped.post

mapped.at +5 −18
From
bafyreid6te4r752zjbgjb3lqc4nnzleebkx7gagab2pomlqn2bxz75bme4 indexed 2026-04-06 10:36 UTC View this version
To
bafyreifhe7cmtnzw7diobuxs33praoqjzgxiclgj7rwte3huvgysirvsca indexed 2026-04-06 13:42 UTC View this version

Compatibility

breaking 8 breaking changes, 3 non-breaking changes.

Breaking changes (8)
  • RemovedVertex RemovedVertex { vertex_id: "at.mapped.post:body.stats" }
  • RemovedVertex RemovedVertex { vertex_id: "at.mapped.post:body.stats.distance" }
  • RemovedVertex RemovedVertex { vertex_id: "at.mapped.post:body.stats.duration" }
  • RemovedVertex RemovedVertex { vertex_id: "at.mapped.post:body.stats.elevation" }
  • RemovedEdge RemovedEdge { src: "at.mapped.post:body", tgt: "at.mapped.post:body.stats", kind: "prop", name: Some("stats") }
  • RemovedEdge RemovedEdge { src: "at.mapped.post:body.stats", tgt: "at.mapped.post:body.stats.distance", kind: "prop", name: Some("distance") }
  • RemovedEdge RemovedEdge { src: "at.mapped.post:body.stats", tgt: "at.mapped.post:body.stats.duration", kind: "prop", name: Some("duration") }
  • RemovedEdge RemovedEdge { src: "at.mapped.post:body.stats", tgt: "at.mapped.post:body.stats.elevation", kind: "prop", name: Some("elevation") }
Non-breaking changes (3)
  • AddedVertex AddedVertex { vertex_id: "at.mapped.post:body.basePost" }
  • AddedEdge AddedEdge { src: "at.mapped.post:body", tgt: "at.mapped.post:body.basePost", kind: "prop", name: Some("basePost") }
  • AddedEdge AddedEdge { src: "at.mapped.post:body.basePost", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }

Migration guidance

Removed

  • RemovedVertex { vertex_id: "at.mapped.post:body.stats" }
  • RemovedVertex { vertex_id: "at.mapped.post:body.stats.distance" }
  • RemovedVertex { vertex_id: "at.mapped.post:body.stats.duration" }
  • RemovedVertex { vertex_id: "at.mapped.post:body.stats.elevation" }

Added

  • AddedVertex { vertex_id: "at.mapped.post:body.basePost" }

Notes

  • Breaking: RemovedEdge { src: "at.mapped.post:body", tgt: "at.mapped.post:body.stats", kind: "prop", name: Some("stats") }
  • Breaking: RemovedEdge { src: "at.mapped.post:body.stats", tgt: "at.mapped.post:body.stats.distance", kind: "prop", name: Some("distance") }
  • Breaking: RemovedEdge { src: "at.mapped.post:body.stats", tgt: "at.mapped.post:body.stats.duration", kind: "prop", name: Some("duration") }
  • Breaking: RemovedEdge { src: "at.mapped.post:body.stats", tgt: "at.mapped.post:body.stats.elevation", kind: "prop", name: Some("elevation") }
  • Non-breaking: AddedEdge { src: "at.mapped.post:body", tgt: "at.mapped.post:body.basePost", kind: "prop", name: Some("basePost") }
  • Non-breaking: AddedEdge { src: "at.mapped.post:body.basePost", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "A post representing either an activity or a travel experience",
66 "key": "tid",
77 "record": {
88 "properties": {
99 "activityType": {
1010 "description": "Reference to an activityType record. If present, this is an activity post; if absent, it's a travel post",
1111 "ref": "com.atproto.repo.strongRef",
1212 "type": "ref"
1313 },
14 "basePost": {
15 "description": "Reference to another post that this post is based on (e.g. a travel post based on an activity post)",
16 "ref": "com.atproto.repo.strongRef",
17 "type": "ref"
18 },
1419 "location": {
1520 "description": "Reference to a location record",
1621 "ref": "com.atproto.repo.strongRef",
1722 "type": "ref"
18 },
19 "stats": {
20 "description": "Activity statistics (distance, duration, elevation). Only relevant for activity posts",
21 "properties": {
22 "distance": {
23 "description": "Distance covered in meters",
24 "type": "integer"
25 },
26 "duration": {
27 "description": "Duration of the activity in seconds",
28 "type": "integer"
29 },
30 "elevation": {
31 "description": "Elevation gain in meters",
32 "type": "integer"
33 }
34 },
35 "type": "object"
3623 },
3724 "text": {
3825 "description": "Caption or description text for the post",
3926 "maxLength": 500,
4027 "type": "string"
4128 },
4229 "timestamp": {
4330 "description": "When the post was created",
4431 "format": "datetime",
4532 "type": "string"
4633 },
4734 "title": {
4835 "description": "Optional title for the post (especially useful for travel posts)",
4936 "maxLength": 100,
5037 "type": "string"
5138 },
5239 "trail": {
5340 "description": "Reference to a trail record with route geometry",
5441 "ref": "com.atproto.repo.strongRef",
5542 "type": "ref"
5643 }
5744 },
5845 "required": [
5946 "timestamp"
6047 ],
6148 "type": "object"
6249 },
6350 "type": "record"
6451 }
6552 },
6653 "id": "at.mapped.post",
6754 "lexicon": 1
6855}

Compare other versions