social.colibri.richtext.facet

colibri.social

{
  "id": "social.colibri.richtext.facet",
  "defs": {
    "bold": {
      "type": "object",
      "properties": {},
      "description": "A facet feature for bold text."
    },
    "code": {
      "type": "object",
      "properties": {},
      "description": "A facet feature for inline code text."
    },
    "link": {
      "type": "object",
      "required": [
        "uri"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "uri",
          "description": "The URI of the link."
        }
      },
      "description": "A facet feature for a hyperlink."
    },
    "main": {
      "type": "object",
      "required": [
        "index",
        "features"
      ],
      "properties": {
        "index": {
          "ref": "lex:social.colibri.richtext.facet#byteSlice",
          "type": "ref"
        },
        "features": {
          "type": "array",
          "items": {
            "refs": [
              "lex:social.colibri.richtext.facet#channel",
              "lex:social.colibri.richtext.facet#bold",
              "lex:social.colibri.richtext.facet#italic",
              "lex:social.colibri.richtext.facet#underline",
              "lex:social.colibri.richtext.facet#strikethrough",
              "lex:social.colibri.richtext.facet#code",
              "lex:social.colibri.richtext.facet#mention",
              "lex:social.colibri.richtext.facet#link"
            ],
            "type": "union"
          },
          "description": "The features of this facet."
        }
      },
      "description": "A rich text facet annotation on a message."
    },
    "italic": {
      "type": "object",
      "properties": {},
      "description": "A facet feature for italic text."
    },
    "channel": {
      "type": "object",
      "required": [
        "channel"
      ],
      "properties": {
        "channel": {
          "type": "string",
          "format": "record-key",
          "description": "The record key of the referenced channel."
        }
      },
      "description": "A facet feature for a channel reference."
    },
    "mention": {
      "type": "object",
      "required": [
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did",
          "description": "The DID of the mentioned user."
        }
      },
      "description": "A facet feature for a user mention."
    },
    "byteSlice": {
      "type": "object",
      "required": [
        "byteStart",
        "byteEnd"
      ],
      "properties": {
        "byteEnd": {
          "type": "integer",
          "minimum": 0,
          "description": "The end index of the byte slice (exclusive)."
        },
        "byteStart": {
          "type": "integer",
          "minimum": 0,
          "description": "The start index of the byte slice (inclusive)."
        }
      },
      "description": "Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-based, counting bytes of the UTF-8 encoded text."
    },
    "underline": {
      "type": "object",
      "properties": {},
      "description": "A facet feature for underlined text."
    },
    "strikethrough": {
      "type": "object",
      "properties": {},
      "description": "A facet feature for strikethrough text."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against social.colibri.richtext.facet

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

Metadata

DID
did:plc:mprdjqjluoswa7awzggaggj3
CID
bafyreiehigtm5ld4yp6iscpj4hxnsqnndlnztgnwnowgvow5p4rpl7m2ua
Indexed At
2026-03-04 09:37 UTC
AT-URI
at://did:plc:mprdjqjluoswa7awzggaggj3/com.atproto.lexicon.schema/social.colibri.richtext.facet

Referenced Schemas (9)

  • lex:social.colibri.richtext.facet#bold
  • lex:social.colibri.richtext.facet#byteSlice
  • lex:social.colibri.richtext.facet#channel
  • lex:social.colibri.richtext.facet#code
  • lex:social.colibri.richtext.facet#italic
  • lex:social.colibri.richtext.facet#link
  • lex:social.colibri.richtext.facet#mention
  • lex:social.colibri.richtext.facet#strikethrough
  • lex:social.colibri.richtext.facet#underline

Lexicon Garden

@