fyi.questionable.richtext.facet

questionable.fyi

{
  "id": "fyi.questionable.richtext.facet",
  "defs": {
    "bold": {
      "type": "object",
      "required": [],
      "properties": {},
      "description": "Facet feature for bold text"
    },
    "code": {
      "type": "object",
      "required": [],
      "properties": {},
      "description": "Facet feature for inline code."
    },
    "link": {
      "type": "object",
      "required": [
        "uri"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "uri"
        }
      },
      "description": "Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL."
    },
    "main": {
      "type": "object",
      "required": [
        "index",
        "features"
      ],
      "properties": {
        "index": {
          "ref": "#byteSlice",
          "type": "ref"
        },
        "features": {
          "type": "array",
          "items": {
            "refs": [
              "#link",
              "#mention",
              "#code",
              "#highlight",
              "#underline",
              "#strikethrough",
              "#bold",
              "#italic"
            ],
            "type": "union"
          }
        }
      },
      "description": "Annotation of a sub-string within rich text."
    },
    "italic": {
      "type": "object",
      "required": [],
      "properties": {},
      "description": "Facet feature for italic text"
    },
    "mention": {
      "type": "object",
      "required": [
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        }
      },
      "description": "Facet feature for mentioning a did."
    },
    "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. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets."
    },
    "highlight": {
      "type": "object",
      "required": [],
      "properties": {},
      "description": "Facet feature for highlighted text."
    },
    "underline": {
      "type": "object",
      "required": [],
      "properties": {},
      "description": "Facet feature for underline markup"
    },
    "strikethrough": {
      "type": "object",
      "required": [],
      "properties": {},
      "description": "Facet feature for strikethrough markup"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against fyi.questionable.richtext.facet

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:2tpqeou2twn2lvronqe2ipoi
CID
bafyreibbl3mh74zlvyjwst32zgh3chhou64lnfe3xo34a2lveowfavh4xa
Indexed At
2026-01-27 07:47 UTC
AT-URI
at://did:plc:2tpqeou2twn2lvronqe2ipoi/com.atproto.lexicon.schema/fyi.questionable.richtext.facet

Lexicon Garden

@