page.cavu.pages

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.content text chunk. Each page is one image; readers lay pages into single-page or two-page-spread views using the book's pageProgression direction and each page's spread hint. The document's `textContent` field may carry a transcript or page descriptions for search and accessibility.

Repository @cavu.page did:plc:citulkqjdzbnf7wd5xb6lled namespace authority
Details · object
Kindobject
Authoritycavu.page
Indexed
cid bafyreib3smyi47alk4z7kzc5zanwe3sl5m2fs6dpoq3j7raz4ols4a5vfy

Checks

Valid
  • unlimited-string defs.page.properties.spreadNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "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.content text chunk. Each page is one image; readers lay pages into single-page or two-page-spread views using the book's pageProgression direction and each page's spread hint. The document's `textContent` field may carry a transcript or page descriptions for search and accessibility.",
      "properties": {
        "pages": {
          "description": "Pages in reading order. Chunk boundaries are storage artifacts, invisible to the reader, exactly as for text chunks; a chunk is usually chapter- or issue-sized.",
          "items": {
            "ref": "#page",
            "type": "ref"
          },
          "maxLength": 1000,
          "type": "array"
        }
      },
      "required": [
        "pages"
      ],
      "type": "object"
    },
    "page": {
      "properties": {
        "alt": {
          "description": "Description of the page for accessibility — ideally a transcript of panels and dialogue.",
          "maxGraphemes": 5000,
          "maxLength": 20000,
          "type": "string"
        },
        "aspectRatio": {
          "description": "Intrinsic pixel dimensions, for layout before the blob loads. A page wider than tall is a double-page spread drawn as one image; renderers give it both slots of a two-page view.",
          "ref": "pub.leaflet.blocks.image#aspectRatio",
          "type": "ref"
        },
        "id": {
          "description": "Stable anchor id, unique within the document — the comic equivalent of a text block id. Targets for TOC entries and intra-book links: (document AT-URI, page id), stable across edits, unlike array indices.",
          "maxLength": 1000,
          "type": "string"
        },
        "image": {
          "accept": [
            "image/*"
          ],
          "description": "The page image at full resolution. Prefer formats that decode progressively (progressive JPEG, JPEG XL) so readers can show a low-resolution preview from a byte prefix where range requests are available.",
          "maxSize": 20000000,
          "type": "blob"
        },
        "spread": {
          "description": "Placement hint for two-page-spread views, mirroring EPUB's page-spread properties: `left`/`right` pin the page to a physical side of the spread (renderers insert a blank slot when the natural flow disagrees, as print does), `center` gives the page a spread to itself. Absent means pages fill spreads in reading order per the book's pageProgression. Renderers treat wider-than-tall pages as `center` regardless.",
          "knownValues": [
            "left",
            "right",
            "center"
          ],
          "type": "string"
        }
      },
      "required": [
        "image",
        "aspectRatio"
      ],
      "type": "object"
    }
  },
  "id": "page.cavu.pages",
  "lexicon": 1
}