pub.leaflet.pages.canvas
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"block": {
"properties": {
"alignment": {
"description": "Alignment of a single block's content. A linear document's blocks carry their own.",
"knownValues": [
"lex:pub.leaflet.pages.linearDocument#textAlignLeft",
"lex:pub.leaflet.pages.linearDocument#textAlignCenter",
"lex:pub.leaflet.pages.linearDocument#textAlignRight",
"lex:pub.leaflet.pages.linearDocument#textAlignJustify"
],
"type": "string"
},
"block": {
"description": "A single block, or a linear document: blocks grouped in reading order that are positioned, sized and rotated on the canvas as one.",
"refs": [
"pub.leaflet.blocks.iframe",
"pub.leaflet.blocks.html",
"pub.leaflet.blocks.text",
"pub.leaflet.blocks.blockquote",
"pub.leaflet.blocks.header",
"pub.leaflet.blocks.image",
"pub.leaflet.blocks.imageGallery",
"pub.leaflet.blocks.unorderedList",
"pub.leaflet.blocks.orderedList",
"pub.leaflet.blocks.website",
"pub.leaflet.blocks.math",
"pub.leaflet.blocks.code",
"pub.leaflet.blocks.horizontalRule",
"pub.leaflet.blocks.bskyPost",
"pub.leaflet.blocks.standardSitePost",
"pub.leaflet.blocks.standardSitePublication",
"pub.leaflet.blocks.page",
"pub.leaflet.blocks.embeddedCanvas",
"pub.leaflet.blocks.poll",
"pub.leaflet.blocks.button",
"pub.leaflet.blocks.postsList",
"pub.leaflet.blocks.signup",
"pub.leaflet.blocks.recommendedPubs",
"pub.leaflet.blocks.membersOnlyDelimiter",
"pub.leaflet.blocks.postHeader",
"pub.leaflet.blocks.drawing",
"pub.leaflet.pages.linearDocument"
],
"type": "union"
},
"height": {
"type": "integer"
},
"rotation": {
"description": "The rotation of the block in degrees",
"type": "integer"
},
"stackOrder": {
"description": "Fractional index ordering this block against its siblings on the z axis. Blocks without one stack below every block with one, ordered by position.",
"type": "string"
},
"width": {
"type": "integer"
},
"x": {
"type": "integer"
},
"y": {
"type": "integer"
}
},
"required": [
"block",
"x",
"y",
"width"
],
"type": "object"
},
"main": {
"properties": {
"blocks": {
"items": {
"ref": "#block",
"type": "ref"
},
"type": "array"
},
"height": {
"description": "Fixed canvas height in canvas px; see width.",
"type": "integer"
},
"id": {
"type": "string"
},
"lockViewerZoom": {
"description": "Viewers cannot zoom the canvas or scroll it sideways: no wheel, pinch, double-tap or zoom controls, and the initial framing (see mobileView) stays. Vertical scrolling is unaffected.",
"type": "boolean"
},
"mobileView": {
"description": "How a narrow viewport frames the canvas: the whole canvas scaled to fit the width (unconstrained, the default), or a phone-width area anchored to the canvas's left edge or centered on it, shown at up to 1:1.",
"knownValues": [
"unconstrained",
"left",
"center"
],
"type": "string"
},
"width": {
"description": "Fixed canvas width in canvas px. With height, bounds the canvas: blocks are clipped to the area. Absent, the canvas is 1272px wide and grows with its content.",
"type": "integer"
}
},
"required": [
"blocks"
],
"type": "object"
},
"position": {
"properties": {
"block": {
"items": {
"type": "integer"
},
"type": "array"
},
"offset": {
"type": "integer"
}
},
"required": [
"block",
"offset"
],
"type": "object"
},
"quote": {
"properties": {
"end": {
"ref": "#position",
"type": "ref"
},
"start": {
"ref": "#position",
"type": "ref"
}
},
"required": [
"start",
"end"
],
"type": "object"
},
"textAlignCenter": {
"type": "token"
},
"textAlignLeft": {
"type": "token"
},
"textAlignRight": {
"type": "token"
}
},
"id": "pub.leaflet.pages.canvas",
"lexicon": 1
}
Metadata
- DID
-
did:plc:btxrwcaeyodrap5mnjw2fvmz - CID
-
bafyreifidxorq5x5powzvl5e6mx7fpgu45i2lmoqfh54brk5mo4eq7zjgu - Indexed At
- 2026-09-29 04:39 UTC
- AT-URI
-
at://did:plc:btxrwcaeyodrap5mnjw2fvmz/com.atproto.lexicon.schema/pub.leaflet.pages.canvas
Version History (15 versions)
- 2026-10-07 19:26 UTC
- 2026-10-06 18:51 UTC diff
- 2026-10-03 18:44 UTC diff
- 2026-09-29 05:17 UTC diff
- 2026-09-29 04:39 UTC diff
- 2026-09-27 03:36 UTC diff
- 2026-09-26 03:40 UTC diff
- 2026-09-21 16:21 UTC diff
- 2026-09-16 21:12 UTC diff
- 2026-09-15 00:06 UTC diff
- 2026-07-24 20:11 UTC diff
- 2026-05-28 21:03 UTC diff
- 2026-05-21 03:54 UTC diff
- 2026-03-19 20:24 UTC diff
- 2026-02-18 20:05 UTC diff
Referenced Schemas (27)
- pub.leaflet.blocks.blockquote
- pub.leaflet.blocks.bskyPost
- pub.leaflet.blocks.button
- pub.leaflet.blocks.code
- pub.leaflet.blocks.drawing
- pub.leaflet.blocks.embeddedCanvas
- pub.leaflet.blocks.header
- pub.leaflet.blocks.horizontalRule
- pub.leaflet.blocks.html
- pub.leaflet.blocks.iframe
- pub.leaflet.blocks.image
- pub.leaflet.blocks.imageGallery
- pub.leaflet.blocks.math
- pub.leaflet.blocks.membersOnlyDelimiter
- pub.leaflet.blocks.orderedList
- pub.leaflet.blocks.page
- pub.leaflet.blocks.poll
- pub.leaflet.blocks.postHeader
- pub.leaflet.blocks.postsList
- pub.leaflet.blocks.recommendedPubs
- pub.leaflet.blocks.signup
- pub.leaflet.blocks.standardSitePost
- pub.leaflet.blocks.standardSitePublication
- pub.leaflet.blocks.text
- pub.leaflet.blocks.unorderedList
- pub.leaflet.blocks.website
- pub.leaflet.pages.linearDocument
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
A fixed-size canvas shown in full inline. id refers to a pub.leaflet.pages.canvas in the document's pages whose width and height bound it.
-
pub.leaflet.blocks.html object
-
pub.leaflet.blocks.image object