full diff

town.walls.photo

walls.town +28 −19
From
bafyreicv4rjaidp4tchi74bznf6gthsqxjqy77sssdwoc77cqsldz2la6i indexed 2026-07-26 20:10 UTC View this version
To
bafyreibyomr2xrwghi63m424wyar6x4mlyujhahj4qc42ukwwqxqiqic3y indexed 2026-08-01 20:37 UTC View this version

Compatibility

breaking 14 breaking changes, 9 non-breaking changes.

Breaking changes (14)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "town.walls.photo#syndicationLeg", src: "town.walls.photo#syndicationLeg", tgt: "town.walls.photo#syndicationLeg.ref", kind: "prop", name: Some("ref") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "town.walls.photo#syndicationLeg", src: "town.walls.photo#syndicationLeg", tgt: "town.walls.photo#syndicationLeg.platform", kind: "prop", name: Some("platform") }
  • RemovedVertex RemovedVertex { vertex_id: "town.walls.photo:body.bskyPost" }
  • RemovedVertex RemovedVertex { vertex_id: "town.walls.photo:body.grainCrosspost" }
  • RemovedVertex RemovedVertex { vertex_id: "town.walls.photo:body.longform" }
  • RemovedVertex RemovedVertex { vertex_id: "town.walls.photo:body.siteRecord" }
  • RemovedEdge RemovedEdge { src: "town.walls.photo:body", tgt: "town.walls.photo:body.bskyPost", kind: "prop", name: Some("bskyPost") }
  • RemovedEdge RemovedEdge { src: "town.walls.photo:body", tgt: "town.walls.photo:body.grainCrosspost", kind: "prop", name: Some("grainCrosspost") }
  • RemovedEdge RemovedEdge { src: "town.walls.photo:body", tgt: "town.walls.photo:body.longform", kind: "prop", name: Some("longform") }
  • RemovedEdge RemovedEdge { src: "town.walls.photo:body", tgt: "town.walls.photo:body.siteRecord", kind: "prop", name: Some("siteRecord") }
  • RemovedEdge RemovedEdge { src: "town.walls.photo:body.bskyPost", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
  • RemovedEdge RemovedEdge { src: "town.walls.photo:body.grainCrosspost", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
  • RemovedEdge RemovedEdge { src: "town.walls.photo:body.longform", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
  • RemovedEdge RemovedEdge { src: "town.walls.photo:body.siteRecord", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
Non-breaking changes (9)
  • AddedVertex AddedVertex { vertex_id: "town.walls.photo#syndicationLeg" }
  • AddedVertex AddedVertex { vertex_id: "town.walls.photo#syndicationLeg.platform" }
  • AddedVertex AddedVertex { vertex_id: "town.walls.photo#syndicationLeg.ref" }
  • AddedVertex AddedVertex { vertex_id: "town.walls.photo:body.syndication" }
  • AddedVertex AddedVertex { vertex_id: "town.walls.photo:body.syndication:items" }
  • AddedEdge AddedEdge { src: "town.walls.photo#syndicationLeg.ref", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "town.walls.photo:body", tgt: "town.walls.photo:body.syndication", kind: "prop", name: Some("syndication") }
  • AddedEdge AddedEdge { src: "town.walls.photo:body.syndication", tgt: "town.walls.photo:body.syndication:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "town.walls.photo:body.syndication:items", tgt: "town.walls.photo#syndicationLeg", kind: "ref", name: None }

Migration guidance

Removed

  • RemovedVertex { vertex_id: "town.walls.photo:body.bskyPost" }
  • RemovedVertex { vertex_id: "town.walls.photo:body.grainCrosspost" }
  • RemovedVertex { vertex_id: "town.walls.photo:body.longform" }
  • RemovedVertex { vertex_id: "town.walls.photo:body.siteRecord" }

Added

  • AddedVertex { vertex_id: "town.walls.photo#syndicationLeg" }
  • AddedVertex { vertex_id: "town.walls.photo#syndicationLeg.platform" }
  • AddedVertex { vertex_id: "town.walls.photo#syndicationLeg.ref" }
  • AddedVertex { vertex_id: "town.walls.photo:body.syndication" }
  • AddedVertex { vertex_id: "town.walls.photo:body.syndication:items" }

Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "town.walls.photo#syndicationLeg", src: "town.walls.photo#syndicationLeg", tgt: "town.walls.photo#syndicationLeg.ref", kind: "prop", name: Some("ref") }
  • Breaking: RequiredEdgeAdded { vertex_id: "town.walls.photo#syndicationLeg", src: "town.walls.photo#syndicationLeg", tgt: "town.walls.photo#syndicationLeg.platform", kind: "prop", name: Some("platform") }
  • Breaking: RemovedEdge { src: "town.walls.photo:body", tgt: "town.walls.photo:body.bskyPost", kind: "prop", name: Some("bskyPost") }
  • Breaking: RemovedEdge { src: "town.walls.photo:body", tgt: "town.walls.photo:body.grainCrosspost", kind: "prop", name: Some("grainCrosspost") }
  • Breaking: RemovedEdge { src: "town.walls.photo:body", tgt: "town.walls.photo:body.longform", kind: "prop", name: Some("longform") }
  • Breaking: RemovedEdge { src: "town.walls.photo:body", tgt: "town.walls.photo:body.siteRecord", kind: "prop", name: Some("siteRecord") }
  • Breaking: RemovedEdge { src: "town.walls.photo:body.bskyPost", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
  • Breaking: RemovedEdge { src: "town.walls.photo:body.grainCrosspost", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
  • Breaking: RemovedEdge { src: "town.walls.photo:body.longform", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
  • Breaking: RemovedEdge { src: "town.walls.photo:body.siteRecord", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "town.walls.photo#syndicationLeg.ref", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "town.walls.photo:body", tgt: "town.walls.photo:body.syndication", kind: "prop", name: Some("syndication") }
  • Non-breaking: AddedEdge { src: "town.walls.photo:body.syndication", tgt: "town.walls.photo:body.syndication:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "town.walls.photo:body.syndication:items", tgt: "town.walls.photo#syndicationLeg", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "aspectRatio": {
55 "description": "Image pixel dimensions. width/height are integers (e.g. for a 6000x4000 photo).",
66 "properties": {
77 "height": {
88 "minimum": 1,
99 "type": "integer"
1010 },
1111 "width": {
1212 "minimum": 1,
1313 "type": "integer"
1414 }
1515 },
1616 "required": [
1717 "width",
1818 "height"
1919 ],
2020 "type": "object"
2121 },
2222 "camera": {
2323 "description": "Best-effort capture metadata from EXIF or a grain record.",
2424 "properties": {
2525 "aperture": {
2626 "type": "string"
2727 },
2828 "focalLength": {
2929 "type": "string"
3030 },
3131 "iso": {
3232 "type": "integer"
3333 },
3434 "lens": {
3535 "type": "string"
3636 },
3737 "make": {
3838 "type": "string"
3939 },
4040 "model": {
4141 "type": "string"
4242 },
4343 "shutter": {
4444 "type": "string"
4545 }
4646 },
4747 "type": "object"
4848 },
4949 "externalLink": {
5050 "description": "A hand-recorded link to this piece on an off-protocol service.",
5151 "properties": {
5252 "label": {
5353 "description": "Platform/handle label; drives the icon on render. e.g. \"instagram\".",
5454 "maxLength": 64,
5555 "type": "string"
5656 },
5757 "url": {
5858 "description": "The public URL.",
5959 "format": "uri",
6060 "maxLength": 2048,
6161 "type": "string"
6262 }
6363 },
6464 "required": [
6565 "label",
6666 "url"
6767 ],
6868 "type": "object"
6969 },
7070 "location": {
7171 "description": "Capture location. lat/lng are decimal-degree STRINGS: ATProto lexicons have no float type (only integer). Coordinates are stored AND rendered at full precision (the website plots them on its map page); the record is also public via listRecords, so exact coords are readable by anyone reading the repo directly.",
7272 "properties": {
7373 "lat": {
7474 "description": "Decimal degrees, full precision. e.g. \"37.77531\".",
7575 "type": "string"
7676 },
7777 "lng": {
7878 "description": "Decimal degrees, full precision. e.g. \"-122.22417\".",
7979 "type": "string"
8080 },
8181 "name": {
8282 "description": "Optional human label, e.g. \"E 12th St underpass\".",
8383 "type": "string"
8484 }
8585 },
8686 "type": "object"
8787 },
8888 "main": {
8989 "description": "A documented photo of a graffiti piece.",
9090 "key": "tid",
9191 "record": {
9292 "properties": {
9393 "altText": {
9494 "description": "Accessibility alt text describing the photo. Auto-generated by a vision model at admin time; editable. The site renders it as the image alt.",
9595 "maxGraphemes": 1000,
9696 "maxLength": 10000,
9797 "type": "string"
9898 },
9999 "artists": {
100100 "description": "Artist names. Free strings; a piece may have several.",
101101 "items": {
102102 "type": "string"
103103 },
104104 "maxLength": 20,
105105 "type": "array"
106106 },
107107 "aspectRatio": {
108108 "description": "Pixel dimensions of the image, used for justified layout / to avoid reflow. Best-effort.",
109109 "ref": "#aspectRatio",
110110 "type": "ref"
111111 },
112 "bskyPost": {
113 "description": "strongRef to an app.bsky.feed.post cross-posting this photo.",
114 "ref": "com.atproto.repo.strongRef",
115 "type": "ref"
116 },
117112 "camera": {
118113 "ref": "#camera",
119114 "type": "ref"
120115 },
121116 "caption": {
122117 "description": "Short visible description shown under the artist-name title on the photo page. Was the title field; the title is now always the artist names.",
123118 "maxGraphemes": 1000,
124119 "maxLength": 10000,
125120 "type": "string"
126121 },
127122 "capturedAt": {
128123 "description": "When the photo was taken (EXIF DateTimeOriginal), if known.",
129124 "format": "datetime",
130125 "type": "string"
131126 },
132127 "createdAt": {
133128 "description": "Record creation time.",
134129 "format": "datetime",
135130 "type": "string"
136131 },
137132 "externalLinks": {
138133 "description": "Manually-recorded off-protocol links (Instagram, Flickr, X, …). Tier-3 external syndication, recorded by hand — not automated posting.",
139134 "items": {
140135 "ref": "#externalLink",
141136 "type": "ref"
142137 },
143138 "maxLength": 20,
144139 "type": "array"
145 },
146 "grainCrosspost": {
147 "description": "strongRef to a social.grain.gallery this admin created to syndicate the photo onto grain (gallery == grain post). Distinct from grainPost, which is an external grain post used AS the photo source. Set by the syndication step; absence means the grain leg hasn't run.",
148 "ref": "com.atproto.repo.strongRef",
149 "type": "ref"
150140 },
151141 "grainPost": {
152142 "description": "strongRef to a grain post serving as the photo. Alternative to image (exactly one of image/grainPost required, app-enforced).",
153143 "ref": "com.atproto.repo.strongRef",
154144 "type": "ref"
155145 },
156146 "image": {
157147 "accept": [
158148 "image/*"
159149 ],
160150 "description": "The displayed photo. Optional in schema; exactly one of image or grainPost is required (enforced in app code).",
161151 "maxSize": 4000000,
162152 "type": "blob"
163153 },
164154 "location": {
165155 "ref": "#location",
166156 "type": "ref"
167157 },
168 "longform": {
169 "description": "strongRef to a site.standard.document for photos with an essay. Reserved; not wired yet.",
170 "ref": "com.atproto.repo.strongRef",
171 "type": "ref"
172 },
173 "siteRecord": {
174 "description": "strongRef to the site.standard.* record the website publishes per photo for discoverability.",
175 "ref": "com.atproto.repo.strongRef",
176 "type": "ref"
158 "syndication": {
159 "description": "Syndicated copies of this photo published as their own atproto records (bsky post, grain gallery, site doc, currents save, …). Machine-written by the syndication step — one entry per platform. Open set: adding a platform needs no lexicon change.",
160 "items": {
161 "ref": "#syndicationLeg",
162 "type": "ref"
163 },
164 "maxLength": 20,
165 "type": "array"
177166 },
178167 "tags": {
179168 "description": "Faceted tags. Conventions (parsed/enforced in app code, not the lexicon): kind:<piece|throwup|tag|mural|sticker|roller|wheatpaste|other> (exactly one expected), crew:<name>, surface:<wall|truck|pole|shutter|...>. Plus freeform tags (e.g. \"trackside\", \"two-color\").",
180169 "items": {
181170 "type": "string"
182171 },
183172 "maxLength": 40,
184173 "type": "array"
185174 }
186175 },
187176 "required": [
188177 "createdAt"
189178 ],
190179 "type": "object"
191180 },
192181 "type": "record"
182 },
183 "syndicationLeg": {
184 "description": "A syndicated copy of this photo as its own atproto record. Written by the syndication step; a platform's absence means that leg hasn't run.",
185 "properties": {
186 "platform": {
187 "description": "Platform key (open set): bsky, grain, site, currents, longform, … The code-side registry maps keys to display names + URL builders.",
188 "maxLength": 32,
189 "type": "string"
190 },
191 "ref": {
192 "description": "strongRef to the syndicated record.",
193 "ref": "com.atproto.repo.strongRef",
194 "type": "ref"
195 }
196 },
197 "required": [
198 "platform",
199 "ref"
200 ],
201 "type": "object"
193202 }
194203 },
195204 "id": "town.walls.photo",
196205 "lexicon": 1
197206}

Compare other versions