pub.leaflet.publication

leaflet.pub

{
  "id": "pub.leaflet.publication",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name"
        ],
        "properties": {
          "icon": {
            "type": "blob",
            "accept": [
              "image/*"
            ],
            "maxSize": 1000000
          },
          "name": {
            "type": "string",
            "maxLength": 2000
          },
          "theme": {
            "ref": "#theme",
            "type": "ref"
          },
          "base_path": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "maxLength": 2000
          },
          "preferences": {
            "ref": "#preferences",
            "type": "ref"
          }
        }
      },
      "description": "Record declaring a publication"
    },
    "theme": {
      "type": "object",
      "properties": {
        "primary": {
          "refs": [
            "pub.leaflet.theme.color#rgba",
            "pub.leaflet.theme.color#rgb"
          ],
          "type": "union"
        },
        "pageWidth": {
          "type": "integer",
          "maximum": 1600,
          "minimum": 0
        },
        "accentText": {
          "refs": [
            "pub.leaflet.theme.color#rgba",
            "pub.leaflet.theme.color#rgb"
          ],
          "type": "union"
        },
        "pageBackground": {
          "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"
        },
        "accentBackground": {
          "refs": [
            "pub.leaflet.theme.color#rgba",
            "pub.leaflet.theme.color#rgb"
          ],
          "type": "union"
        },
        "showPageBackground": {
          "type": "boolean",
          "default": false
        }
      }
    },
    "preferences": {
      "type": "object",
      "properties": {
        "showComments": {
          "type": "boolean",
          "default": true
        },
        "showMentions": {
          "type": "boolean",
          "default": true
        },
        "showPrevNext": {
          "type": "boolean",
          "default": true
        },
        "showInDiscover": {
          "type": "boolean",
          "default": true
        },
        "showRecommends": {
          "type": "boolean",
          "default": true
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "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
bafyreidf4kxv2wiwjqgd6fmszxrvejuirtaaxkp6lofuljb2zakvwrn3r4
Indexed At
2026-02-13 14:03 UTC
AT-URI
at://did:plc:btxrwcaeyodrap5mnjw2fvmz/com.atproto.lexicon.schema/pub.leaflet.publication

Referenced Schemas (3)

Lexicon Garden

@