full diff

social.grain.photo

grain.social +2 −1
From
bafyreiec24azdo2caoijpefea3x6qfewjvkfu3zcjj3u3lwf3nx3q7nunu indexed 2026-03-19 20:24 UTC View this version
To
bafyreigigzkmnzz4qycj2wbaonl7zdqgi2566qipjhdcqdrr5g4gz3y64y indexed 2026-10-31 17:04 UTC View this version

Compatibility

breaking 3 breaking changes, 0 non-breaking changes.

Breaking changes (3)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "social.grain.photo:body", src: "social.grain.photo:body", tgt: "social.grain.photo:body.createdAt", kind: "prop", name: Some("createdAt") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "social.grain.photo:body", src: "social.grain.photo:body", tgt: "social.grain.photo:body.aspectRatio", kind: "prop", name: Some("aspectRatio") }
  • RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "social.grain.photo:body", src: "social.grain.photo:body", tgt: "social.grain.photo:body.alt", kind: "prop", name: Some("alt") }

Migration guidance

Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "social.grain.photo:body", src: "social.grain.photo:body", tgt: "social.grain.photo:body.createdAt", kind: "prop", name: Some("createdAt") }
  • Breaking: RequiredEdgeAdded { vertex_id: "social.grain.photo:body", src: "social.grain.photo:body", tgt: "social.grain.photo:body.aspectRatio", kind: "prop", name: Some("aspectRatio") }
  • Breaking: RequiredEdgeRemoved { vertex_id: "social.grain.photo:body", src: "social.grain.photo:body", tgt: "social.grain.photo:body.alt", kind: "prop", name: Some("alt") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "key": "tid",
66 "record": {
77 "properties": {
88 "alt": {
99 "description": "Alt text description of the image, for accessibility.",
1010 "type": "string"
1111 },
1212 "aspectRatio": {
1313 "ref": "social.grain.defs#aspectRatio",
1414 "type": "ref"
1515 },
1616 "createdAt": {
1717 "format": "datetime",
1818 "type": "string"
1919 },
2020 "photo": {
2121 "accept": [
2222 "image/*"
2323 ],
2424 "maxSize": 1000000,
2525 "type": "blob"
2626 }
2727 },
2828 "required": [
2929 "photo",
30 "alt"
30 "aspectRatio",
31 "createdAt"
3132 ],
3233 "type": "object"
3334 },
3435 "type": "record"
3536 }
3637 },
3738 "id": "social.grain.photo",
3839 "lexicon": 1
3940}

Compare other versions