pub.leaflet.pages.canvas

leaflet.pub

{
  "id": "pub.leaflet.pages.canvas",
  "defs": {
    "main": {
      "type": "object",
      "required": [
        "blocks"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "blocks": {
          "type": "array",
          "items": {
            "ref": "#block",
            "type": "ref"
          }
        }
      }
    },
    "block": {
      "type": "object",
      "required": [
        "block",
        "x",
        "y",
        "width"
      ],
      "properties": {
        "x": {
          "type": "integer"
        },
        "y": {
          "type": "integer"
        },
        "block": {
          "refs": [
            "pub.leaflet.blocks.iframe",
            "pub.leaflet.blocks.text",
            "pub.leaflet.blocks.blockquote",
            "pub.leaflet.blocks.header",
            "pub.leaflet.blocks.image",
            "pub.leaflet.blocks.unorderedList",
            "pub.leaflet.blocks.website",
            "pub.leaflet.blocks.math",
            "pub.leaflet.blocks.code",
            "pub.leaflet.blocks.horizontalRule",
            "pub.leaflet.blocks.bskyPost",
            "pub.leaflet.blocks.page",
            "pub.leaflet.blocks.poll",
            "pub.leaflet.blocks.button"
          ],
          "type": "union"
        },
        "width": {
          "type": "integer"
        },
        "height": {
          "type": "integer"
        },
        "rotation": {
          "type": "integer",
          "description": "The rotation of the block in degrees"
        }
      }
    },
    "quote": {
      "type": "object",
      "required": [
        "start",
        "end"
      ],
      "properties": {
        "end": {
          "ref": "#position",
          "type": "ref"
        },
        "start": {
          "ref": "#position",
          "type": "ref"
        }
      }
    },
    "position": {
      "type": "object",
      "required": [
        "block",
        "offset"
      ],
      "properties": {
        "block": {
          "type": "array",
          "items": {
            "type": "integer"
          }
        },
        "offset": {
          "type": "integer"
        }
      }
    },
    "textAlignLeft": {
      "type": "token"
    },
    "textAlignRight": {
      "type": "token"
    },
    "textAlignCenter": {
      "type": "token"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against pub.leaflet.pages.canvas

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

Metadata

DID
did:plc:btxrwcaeyodrap5mnjw2fvmz
CID
bafyreigyhyryijkrxzmgsrzps24oqxfnnjujtzircmyen3szlilpwv3ybq
Indexed At
2026-02-13 14:02 UTC
AT-URI
at://did:plc:btxrwcaeyodrap5mnjw2fvmz/com.atproto.lexicon.schema/pub.leaflet.pages.canvas

Referenced Schemas (14)

Lexicon Garden

@