pub.leaflet.document

leaflet.pub

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Record containing a document",
      "key": "tid",
      "record": {
        "properties": {
          "author": {
            "format": "at-identifier",
            "type": "string"
          },
          "coverImage": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "description": {
            "maxGraphemes": 3000,
            "maxLength": 30000,
            "type": "string"
          },
          "pages": {
            "items": {
              "refs": [
                "pub.leaflet.pages.linearDocument",
                "pub.leaflet.pages.canvas"
              ],
              "type": "union"
            },
            "type": "array"
          },
          "postRef": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "preferences": {
            "ref": "pub.leaflet.publication#preferences",
            "type": "ref"
          },
          "publication": {
            "format": "at-uri",
            "type": "string"
          },
          "publishedAt": {
            "format": "datetime",
            "type": "string"
          },
          "tags": {
            "items": {
              "maxLength": 50,
              "type": "string"
            },
            "type": "array"
          },
          "theme": {
            "ref": "pub.leaflet.publication#theme",
            "type": "ref"
          },
          "title": {
            "maxGraphemes": 500,
            "maxLength": 5000,
            "type": "string"
          }
        },
        "required": [
          "pages",
          "author",
          "title"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A lexicon for long form rich media documents",
  "id": "pub.leaflet.document",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.leaflet.document

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

Metadata

DID
did:plc:btxrwcaeyodrap5mnjw2fvmz
CID
bafyreibwwnzalxabkkvpbymvv2nnidu7n62os7fyw6lmr3lqo4wwvk64nm
Indexed At
2026-02-18 20:04 UTC
AT-URI
at://did:plc:btxrwcaeyodrap5mnjw2fvmz/com.atproto.lexicon.schema/pub.leaflet.document

Referenced Schemas (4)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@