pub.leaflet.pages.linearDocument

leaflet.pub

{
  "id": "pub.leaflet.pages.linearDocument",
  "defs": {
    "main": {
      "type": "object",
      "required": [
        "blocks"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "blocks": {
          "type": "array",
          "items": {
            "ref": "#block",
            "type": "ref"
          }
        }
      }
    },
    "block": {
      "type": "object",
      "required": [
        "block"
      ],
      "properties": {
        "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"
        },
        "alignment": {
          "type": "string",
          "knownValues": [
            "#textAlignLeft",
            "#textAlignCenter",
            "#textAlignRight",
            "#textAlignJustify"
          ]
        }
      }
    },
    "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"
    },
    "textAlignJustify": {
      "type": "token"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against pub.leaflet.pages.linearDocument

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

Metadata

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

Referenced Schemas (14)

Lexicon Garden

@