pub.chive.richtext.facets

chive.pub

{
  "id": "pub.chive.richtext.facets",
  "defs": {
    "bold": {
      "type": "object",
      "required": [
        "$type"
      ],
      "properties": {
        "$type": {
          "type": "string",
          "const": "pub.chive.richtext.facets#bold"
        }
      },
      "description": "Bold text formatting facet"
    },
    "code": {
      "type": "object",
      "required": [
        "$type"
      ],
      "properties": {
        "$type": {
          "type": "string",
          "const": "pub.chive.richtext.facets#code"
        }
      },
      "description": "Inline code formatting facet"
    },
    "latex": {
      "type": "object",
      "required": [
        "$type",
        "displayMode"
      ],
      "properties": {
        "$type": {
          "type": "string",
          "const": "pub.chive.richtext.facets#latex"
        },
        "displayMode": {
          "type": "boolean",
          "description": "True for block display ($$...$$), false for inline ($...$)"
        }
      },
      "description": "LaTeX math expression facet"
    },
    "italic": {
      "type": "object",
      "required": [
        "$type"
      ],
      "properties": {
        "$type": {
          "type": "string",
          "const": "pub.chive.richtext.facets#italic"
        }
      },
      "description": "Italic text formatting facet"
    },
    "heading": {
      "type": "object",
      "required": [
        "$type",
        "level"
      ],
      "properties": {
        "$type": {
          "type": "string",
          "const": "pub.chive.richtext.facets#heading"
        },
        "level": {
          "type": "integer",
          "maximum": 6,
          "minimum": 1,
          "description": "Heading level (1-6)"
        }
      },
      "description": "Heading formatting facet"
    },
    "listItem": {
      "type": "object",
      "required": [
        "$type",
        "listType"
      ],
      "properties": {
        "$type": {
          "type": "string",
          "const": "pub.chive.richtext.facets#listItem"
        },
        "depth": {
          "type": "integer",
          "maximum": 5,
          "minimum": 0,
          "description": "Nesting depth (0-indexed)"
        },
        "ordinal": {
          "type": "integer",
          "minimum": 1,
          "description": "Item number for ordered lists"
        },
        "listType": {
          "type": "string",
          "description": "Type of list",
          "knownValues": [
            "bullet",
            "ordered"
          ]
        }
      },
      "description": "List item formatting facet"
    },
    "codeBlock": {
      "type": "object",
      "required": [
        "$type"
      ],
      "properties": {
        "$type": {
          "type": "string",
          "const": "pub.chive.richtext.facets#codeBlock"
        },
        "language": {
          "type": "string",
          "maxLength": 50,
          "description": "Programming language for syntax highlighting"
        }
      },
      "description": "Code block formatting facet"
    },
    "blockquote": {
      "type": "object",
      "required": [
        "$type"
      ],
      "properties": {
        "$type": {
          "type": "string",
          "const": "pub.chive.richtext.facets#blockquote"
        }
      },
      "description": "Blockquote formatting facet"
    },
    "strikethrough": {
      "type": "object",
      "required": [
        "$type"
      ],
      "properties": {
        "$type": {
          "type": "string",
          "const": "pub.chive.richtext.facets#strikethrough"
        }
      },
      "description": "Strikethrough text formatting facet"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.richtext.facets

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:7natp5xae72bddaqlkef2t4e
CID
bafyreidryzrgu76gojikis4iosgyhb5sesktbi6cwou3uobqx4uyav6hkm
Indexed At
2026-05-04 17:29 UTC
AT-URI
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.richtext.facets

Lexicon Garden

@