social.respawn.richtext.facet

respawn.social

{
  "id": "social.respawn.richtext.facet",
  "defs": {
    "bold": {
      "type": "object",
      "properties": {},
      "description": "Facet feature for bold text."
    },
    "link": {
      "type": "object",
      "required": [
        "uri"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "uri"
        }
      },
      "description": "Facet feature for a URL."
    },
    "main": {
      "type": "object",
      "required": [
        "index",
        "features"
      ],
      "properties": {
        "index": {
          "ref": "#byteSlice",
          "type": "ref"
        },
        "features": {
          "type": "array",
          "items": {
            "refs": [
              "#link",
              "#bold",
              "#italic",
              "#spoiler",
              "#blockquote",
              "#listItem"
            ],
            "type": "union"
          }
        }
      },
      "description": "Annotation of a sub-string within rich text. Modeled on app.bsky.richtext.facet with Respawn-specific formatting features."
    },
    "italic": {
      "type": "object",
      "properties": {},
      "description": "Facet feature for italic text."
    },
    "spoiler": {
      "type": "object",
      "properties": {},
      "description": "Facet feature marking a span as a spoiler. In display text the span is scrambled; the original text lives in the accompanying textWithSpoilers field."
    },
    "listItem": {
      "type": "object",
      "properties": {
        "ordered": {
          "type": "boolean",
          "description": "Whether the item belongs to an ordered (numbered) list."
        }
      },
      "description": "Facet feature for a list item span."
    },
    "byteSlice": {
      "type": "object",
      "required": [
        "byteStart",
        "byteEnd"
      ],
      "properties": {
        "byteEnd": {
          "type": "integer",
          "minimum": 0
        },
        "byteStart": {
          "type": "integer",
          "minimum": 0
        }
      },
      "description": "Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text."
    },
    "blockquote": {
      "type": "object",
      "properties": {},
      "description": "Facet feature for a blockquote span."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against social.respawn.richtext.facet

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:hiabolqnnpdnrb5grmdaaepg
CID
bafyreiauuqn5id5qscm52h4qh3btg5fjrclmretror6q6decjn53wmqlrq
Indexed At
2026-08-18 03:23 UTC
AT-URI
at://did:plc:hiabolqnnpdnrb5grmdaaepg/com.atproto.lexicon.schema/social.respawn.richtext.facet

Lexicon Garden

@