{
"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": "network.slices.tools.richtext.facet#byteSlice",
"type": "ref"
},
"features": {
"type": "array",
"items": {
"refs": [
"network.slices.tools.richtext.facet#link",
"network.slices.tools.richtext.facet#bold",
"network.slices.tools.richtext.facet#italic",
"network.slices.tools.richtext.facet#code",
"network.slices.tools.richtext.facet#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:web:lexicon.store
- CID
-
bafyreiajdamex4dkxvfw5dxnyiye7yigzq4ilaciguhzlcbrj6t73wwb3m
- Indexed At
- 2026-03-20 15:55 UTC
- AT-URI
-
at://did:web:lexicon.store/com.atproto.lexicon.schema/network.slices.tools.richtext.facet