{
"id": "network.slices.tools.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."
},
"main": {
"type": "object",
"required": [
"index",
"features"
],
"properties": {
"index": {
"ref": "#byteSlice",
"type": "ref"
},
"features": {
"type": "array",
"items": {
"refs": [
"#link",
"#bold",
"#italic",
"#code",
"#codeBlock"
],
"type": "union"
}
}
},
"description": "Annotation of a sub-string within rich text."
},
"italic": {
"type": "object",
"required": [],
"properties": {},
"description": "Facet feature for italic text."
},
"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."
},
"codeBlock": {
"type": "object",
"required": [],
"properties": {
"lang": {
"type": "string",
"description": "Optional language identifier for syntax highlighting."
}
},
"description": "Facet feature for fenced code blocks."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}
Metadata
- DID
-
did:plc:dzmqinfp7efnofbqg5npjmth
- CID
-
bafyreigcgba3htenxd4s32c2x6xommexd4zuuxdszu2j526pz3bwmkwibe
- Indexed At
- 2026-01-05 04:11 UTC
- AT-URI
-
at://did:plc:dzmqinfp7efnofbqg5npjmth/com.atproto.lexicon.schema/network.slices.tools.richtext.facet