pub.leaflet.publication

leaflet.pub

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Record declaring a publication",
      "key": "tid",
      "record": {
        "properties": {
          "base_path": {
            "type": "string"
          },
          "description": {
            "maxLength": 2000,
            "type": "string"
          },
          "icon": {
            "accept": [
              "image/*"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "name": {
            "maxLength": 2000,
            "type": "string"
          },
          "preferences": {
            "ref": "#preferences",
            "type": "ref"
          },
          "theme": {
            "ref": "#theme",
            "type": "ref"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "preferences": {
      "properties": {
        "prevNextDirection": {
          "default": "rtl",
          "knownValues": [
            "ltr",
            "rtl"
          ],
          "type": "string"
        },
        "showComments": {
          "default": true,
          "type": "boolean"
        },
        "showFirstLast": {
          "default": false,
          "type": "boolean"
        },
        "showInDiscover": {
          "default": true,
          "type": "boolean"
        },
        "showMentions": {
          "default": true,
          "type": "boolean"
        },
        "showPrevNext": {
          "default": true,
          "type": "boolean"
        },
        "showRecommends": {
          "default": true,
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "theme": {
      "properties": {
        "accentBackground": {
          "refs": [
            "pub.leaflet.theme.color#rgba",
            "pub.leaflet.theme.color#rgb"
          ],
          "type": "union"
        },
        "accentText": {
          "refs": [
            "pub.leaflet.theme.color#rgba",
            "pub.leaflet.theme.color#rgb"
          ],
          "type": "union"
        },
        "backgroundColor": {
          "refs": [
            "pub.leaflet.theme.color#rgba",
            "pub.leaflet.theme.color#rgb"
          ],
          "type": "union"
        },
        "backgroundImage": {
          "ref": "pub.leaflet.theme.backgroundImage",
          "type": "ref"
        },
        "bodyFont": {
          "maxLength": 100,
          "type": "string"
        },
        "headingFont": {
          "maxLength": 100,
          "type": "string"
        },
        "pageBackground": {
          "refs": [
            "pub.leaflet.theme.color#rgba",
            "pub.leaflet.theme.color#rgb"
          ],
          "type": "union"
        },
        "pageWidth": {
          "maximum": 1600,
          "minimum": 0,
          "type": "integer"
        },
        "primary": {
          "refs": [
            "pub.leaflet.theme.color#rgba",
            "pub.leaflet.theme.color#rgb"
          ],
          "type": "union"
        },
        "showPageBackground": {
          "default": false,
          "type": "boolean"
        },
        "wordmark": {
          "ref": "pub.leaflet.theme.wordmark",
          "type": "ref"
        }
      },
      "type": "object"
    }
  },
  "id": "pub.leaflet.publication",
  "lexicon": 1
}

Validate Record

Validate a record against pub.leaflet.publication

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

Metadata

DID
did:plc:btxrwcaeyodrap5mnjw2fvmz
CID
bafyreidonnw6cikeapvxgdh6uj3weobpmlhzjxf4wqzw6exvssqtyxi4lq
Indexed At
2026-08-05 19:14 UTC
AT-URI
at://did:plc:btxrwcaeyodrap5mnjw2fvmz/com.atproto.lexicon.schema/pub.leaflet.publication

Version History (8 versions)

Referenced Schemas (4)

Similar Lexicons

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

  • A publication record representing a blog, website, or content platform. Publications serve as containers for documents and define the overall branding and settings.

  • A lexicon for long form rich media documents

  • A publication configuration with title, description, and default theme.

  • Theme record for blog publications with light and dark mode color schemes.

  • Standard Reader typography for a collections publication. Uses the same record key as the publication. Colors remain on the publication's site.standard.theme.basic record.

Lexicon Garden

@