full diff

com.hikeratlas.temp.defs

hikeratlas.com +25 −1
From
bafyreibknkba4gmklmvkbtfxgnbspnes3c4vdulch6rpk4t5ey5zzixj54 indexed 2026-11-15 04:36 UTC View this version
To
bafyreicdd4ne327focu7nvd76buhb7pnwddeozw5gx4j5gttbuds5ndbza indexed 2026-11-16 20:04 UTC View this version

Compatibility

breaking 3 breaking changes, 5 non-breaking changes.

Breaking changes (3)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "com.hikeratlas.temp.defs#photo", src: "com.hikeratlas.temp.defs#photo", tgt: "com.hikeratlas.temp.defs#photo.aspectRatio", kind: "prop", name: Some("aspectRatio") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "com.hikeratlas.temp.defs#aspectRatio", src: "com.hikeratlas.temp.defs#aspectRatio", tgt: "com.hikeratlas.temp.defs#aspectRatio.width", kind: "prop", name: Some("width") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "com.hikeratlas.temp.defs#aspectRatio", src: "com.hikeratlas.temp.defs#aspectRatio", tgt: "com.hikeratlas.temp.defs#aspectRatio.height", kind: "prop", name: Some("height") }
Non-breaking changes (5)
  • AddedVertex AddedVertex { vertex_id: "com.hikeratlas.temp.defs#aspectRatio" }
  • AddedVertex AddedVertex { vertex_id: "com.hikeratlas.temp.defs#aspectRatio.height" }
  • AddedVertex AddedVertex { vertex_id: "com.hikeratlas.temp.defs#aspectRatio.width" }
  • AddedVertex AddedVertex { vertex_id: "com.hikeratlas.temp.defs#photo.aspectRatio" }
  • AddedEdge AddedEdge { src: "com.hikeratlas.temp.defs#photo.aspectRatio", tgt: "com.hikeratlas.temp.defs#aspectRatio", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "com.hikeratlas.temp.defs#aspectRatio" }
  • AddedVertex { vertex_id: "com.hikeratlas.temp.defs#aspectRatio.height" }
  • AddedVertex { vertex_id: "com.hikeratlas.temp.defs#aspectRatio.width" }
  • AddedVertex { vertex_id: "com.hikeratlas.temp.defs#photo.aspectRatio" }

Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "com.hikeratlas.temp.defs#aspectRatio", src: "com.hikeratlas.temp.defs#aspectRatio", tgt: "com.hikeratlas.temp.defs#aspectRatio.width", kind: "prop", name: Some("width") }
  • Breaking: RequiredEdgeAdded { vertex_id: "com.hikeratlas.temp.defs#aspectRatio", src: "com.hikeratlas.temp.defs#aspectRatio", tgt: "com.hikeratlas.temp.defs#aspectRatio.height", kind: "prop", name: Some("height") }
  • Breaking: RequiredEdgeAdded { vertex_id: "com.hikeratlas.temp.defs#photo", src: "com.hikeratlas.temp.defs#photo", tgt: "com.hikeratlas.temp.defs#photo.aspectRatio", kind: "prop", name: Some("aspectRatio") }
  • Non-breaking: AddedEdge { src: "com.hikeratlas.temp.defs#photo.aspectRatio", tgt: "com.hikeratlas.temp.defs#aspectRatio", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "actorView": {
55 "description": "An account, as hikeratlas/atproto-indexer knows it.",
66 "properties": {
77 "did": {
88 "format": "did",
99 "type": "string"
1010 },
1111 "handle": {
1212 "description": "Absent when the handle doesn't resolve back to the DID.",
1313 "format": "handle",
1414 "type": "string"
1515 },
1616 "pds": {
1717 "description": "The account's PDS: fetch blobs (photos, GPX) from it with com.atproto.sync.getBlob. Absent for an account the indexer has only just seen: resolve the DID.",
1818 "format": "uri",
1919 "type": "string"
2020 }
2121 },
2222 "required": [
2323 "did"
2424 ],
2525 "type": "object"
2626 },
27 "aspectRatio": {
28 "description": "Width and height, in pixels or in proportion, as app.bsky.embed.defs#aspectRatio.",
29 "properties": {
30 "height": {
31 "minimum": 1,
32 "type": "integer"
33 },
34 "width": {
35 "minimum": 1,
36 "type": "integer"
37 }
38 },
39 "required": [
40 "width",
41 "height"
42 ],
43 "type": "object"
44 },
2745 "photo": {
2846 "properties": {
2947 "alt": {
3048 "description": "For people who can't see the photo.",
3149 "maxGraphemes": 1000,
3250 "type": "string"
3351 },
52 "aspectRatio": {
53 "description": "The image's width and height, as it is displayed (after any EXIF orientation), so it can be laid out before it's fetched.",
54 "ref": "#aspectRatio",
55 "type": "ref"
56 },
3457 "at": {
3558 "description": "Where it was taken, e.g. from its EXIF or its time on a track.",
3659 "ref": "#point",
3760 "type": "ref"
3861 },
3962 "image": {
4063 "accept": [
4164 "image/jpeg",
4265 "image/png",
4366 "image/webp"
4467 ],
4568 "maxSize": 2000000,
4669 "type": "blob"
4770 },
4871 "takenAt": {
4972 "format": "datetime",
5073 "type": "string"
5174 }
5275 },
5376 "required": [
54 "image"
77 "image",
78 "aspectRatio"
5579 ],
5680 "type": "object"
5781 },
5882 "point": {
5983 "properties": {
6084 "lat": {
6185 "description": "Microdegrees (degrees × 1,000,000).",
6286 "type": "integer"
6387 },
6488 "lon": {
6589 "description": "Microdegrees.",
6690 "type": "integer"
6791 }
6892 },
6993 "required": [
7094 "lat",
7195 "lon"
7296 ],
7397 "type": "object"
7498 },
7599 "reviewView": {
76100 "properties": {
77101 "author": {
78102 "ref": "#actorView",
79103 "type": "ref"
80104 },
81105 "cid": {
82106 "format": "cid",
83107 "type": "string"
84108 },
85109 "indexedAt": {
86110 "format": "datetime",
87111 "type": "string"
88112 },
89113 "record": {
90114 "description": "The com.hikeratlas.temp.review record.",
91115 "type": "unknown"
92116 },
93117 "uri": {
94118 "format": "at-uri",
95119 "type": "string"
96120 }
97121 },
98122 "required": [
99123 "uri",
100124 "cid",
101125 "author",
102126 "record",
103127 "indexedAt"
104128 ],
105129 "type": "object"
106130 },
107131 "routeKey": {
108132 "description": "A route's key (recipe v1: https://github.com/hikeratlas/route-keys): a decodable cell part and a hash of the route's line, e.g. 1E57E06gbDEBBBICDGF.tn3dBnAuR_Q. Used as a fave's record key, and to tie tracks and reviews to a route.",
109133 "maxLength": 128,
110134 "type": "string"
111135 },
112136 "routeStats": {
113137 "description": "Counts of records about a route.",
114138 "properties": {
115139 "faves": {
116140 "description": "Faves from accounts that have a com.hikeratlas.temp.actor.profile record.",
117141 "minimum": 0,
118142 "type": "integer"
119143 },
120144 "lastActivity": {
121145 "description": "The newest fave, review or track's createdAt.",
122146 "format": "datetime",
123147 "type": "string"
124148 },
125149 "recentTags": {
126150 "description": "Tags from reviews of hikes in the last 30 days (by hikedAt, else createdAt), the most recently reported first.",
127151 "items": {
128152 "maxLength": 64,
129153 "type": "string"
130154 },
131155 "maxLength": 20,
132156 "type": "array"
133157 },
134158 "reviews": {
135159 "minimum": 0,
136160 "type": "integer"
137161 },
138162 "routeKey": {
139163 "ref": "#routeKey",
140164 "type": "ref"
141165 },
142166 "tracks": {
143167 "minimum": 0,
144168 "type": "integer"
145169 }
146170 },
147171 "required": [
148172 "routeKey",
149173 "faves",
150174 "reviews",
151175 "tracks"
152176 ],
153177 "type": "object"
154178 },
155179 "trackView": {
156180 "properties": {
157181 "author": {
158182 "ref": "#actorView",
159183 "type": "ref"
160184 },
161185 "cid": {
162186 "format": "cid",
163187 "type": "string"
164188 },
165189 "indexedAt": {
166190 "format": "datetime",
167191 "type": "string"
168192 },
169193 "record": {
170194 "description": "The com.hikeratlas.temp.track record.",
171195 "type": "unknown"
172196 },
173197 "uri": {
174198 "format": "at-uri",
175199 "type": "string"
176200 }
177201 },
178202 "required": [
179203 "uri",
180204 "cid",
181205 "author",
182206 "record",
183207 "indexedAt"
184208 ],
185209 "type": "object"
186210 }
187211 },
188212 "description": "Definitions shared by Hiker Atlas's records (https://www.hikeratlas.com). In beta: may change.",
189213 "id": "com.hikeratlas.temp.defs",
190214 "lexicon": 1
191215}

Compare other versions