pub.leaflet.content
Content format for leaflet documents
Details · object
| Kind | object |
|---|---|
| Authority | leaflet.pub |
| Indexed |
Checks
Valid Lint pass{
"$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
}