full diff

pub.leaflet.content

leaflet.pub +19 −0
From
bafyreiebbctoorv7h5z4s7x27ueuqgnhhracu4szjl46rb2ddtj6erhcua indexed 2026-02-18 20:04 UTC View this version
To
bafyreifn7oxzbjwds7jyot6balz3yy3fkomb2prrz65dfpeegojrdspgmm indexed 2026-05-21 02:54 UTC View this version

Compatibility

backward compatible Backward compatible. 6 non-breaking changes.

Non-breaking changes (6)
  • AddedVertex AddedVertex { vertex_id: "pub.leaflet.content.blobPages" }
  • AddedVertex AddedVertex { vertex_id: "pub.leaflet.content.blobs" }
  • AddedVertex AddedVertex { vertex_id: "pub.leaflet.content.blobs:items" }
  • AddedEdge AddedEdge { src: "pub.leaflet.content", tgt: "pub.leaflet.content.blobPages", kind: "prop", name: Some("blobPages") }
  • AddedEdge AddedEdge { src: "pub.leaflet.content", tgt: "pub.leaflet.content.blobs", kind: "prop", name: Some("blobs") }
  • AddedEdge AddedEdge { src: "pub.leaflet.content.blobs", tgt: "pub.leaflet.content.blobs:items", kind: "items", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "pub.leaflet.content.blobPages" }
  • AddedVertex { vertex_id: "pub.leaflet.content.blobs" }
  • AddedVertex { vertex_id: "pub.leaflet.content.blobs:items" }

Notes

  • Non-breaking: AddedEdge { src: "pub.leaflet.content", tgt: "pub.leaflet.content.blobPages", kind: "prop", name: Some("blobPages") }
  • Non-breaking: AddedEdge { src: "pub.leaflet.content", tgt: "pub.leaflet.content.blobs", kind: "prop", name: Some("blobs") }
  • Non-breaking: AddedEdge { src: "pub.leaflet.content.blobs", tgt: "pub.leaflet.content.blobs:items", kind: "items", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Content format for leaflet documents",
66 "properties": {
7 "blobPages": {
8 "accept": [
9 "application/json"
10 ],
11 "description": "JSON-encoded array of pages. When the inline pages array would be too large to store on the PDS, the pages are uploaded as a blob and referenced here. When set, consumers MUST ignore `pages` and use the decoded blob contents as the page array; the inline `pages` field will be empty or a stub.",
12 "maxSize": 5000000,
13 "type": "blob"
14 },
15 "blobs": {
16 "description": "Blobs referenced inside `blobPages`. Load-bearing when `blobPages` is set: the PDS only scans the top level of a record for blob references when deciding what to garbage-collect, so any image/etc. blob now living inside the opaque JSON blob must be mirrored here to remain referenced.",
17 "items": {
18 "accept": [
19 "*/*"
20 ],
21 "maxSize": 10000000,
22 "type": "blob"
23 },
24 "type": "array"
25 },
726 "pages": {
827 "items": {
928 "refs": [
1029 "pub.leaflet.pages.linearDocument",
1130 "pub.leaflet.pages.canvas"
1231 ],
1332 "type": "union"
1433 },
1534 "type": "array"
1635 }
1736 },
1837 "required": [
1938 "pages"
2039 ],
2140 "type": "object"
2241 }
2342 },
2443 "description": "A lexicon for long form rich media documents",
2544 "id": "pub.leaflet.content",
2645 "lexicon": 1,
2746 "revision": 1
2847}

Compare other versions