pub.leaflet.content

leaflet.pub

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Content format for leaflet documents",
      "properties": {
        "blobPages": {
          "accept": [
            "application/json"
          ],
          "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.",
          "maxSize": 5000000,
          "type": "blob"
        },
        "blobs": {
          "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.",
          "items": {
            "accept": [
              "*/*"
            ],
            "maxSize": 10000000,
            "type": "blob"
          },
          "type": "array"
        },
        "pages": {
          "items": {
            "refs": [
              "pub.leaflet.pages.linearDocument",
              "pub.leaflet.pages.canvas"
            ],
            "type": "union"
          },
          "type": "array"
        }
      },
      "required": [
        "pages"
      ],
      "type": "object"
    }
  },
  "description": "A lexicon for long form rich media documents",
  "id": "pub.leaflet.content",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.leaflet.content

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:btxrwcaeyodrap5mnjw2fvmz
CID
bafyreifn7oxzbjwds7jyot6balz3yy3fkomb2prrz65dfpeegojrdspgmm
Indexed At
2026-05-21 02:54 UTC
AT-URI
at://did:plc:btxrwcaeyodrap5mnjw2fvmz/com.atproto.lexicon.schema/pub.leaflet.content

Version History (2 versions)

Referenced Schemas (2)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A lexicon for long form rich media documents

  • Hybrid content storage: inline for small content (≤20KB), blob for large content (>20KB)

  • com.pagehare.embeds recordnot from the namespace authority

    Structural blob retention sidecar for a site.standard.document. PDSs retain blobs only while a record field references them; image URLs inside the markdown string do not count. Every blob the document's markdown referen…

  • page.cavu.pages objectnot from the namespace authority

    Pre-paginated image content (comics, graphic novels, picture books, scanned pages) for a book chunk, carried in a site.standard.document record's `content` open union — the fixed-layout counterpart to a pub.leaflet.co…

Lexicon Garden

@