work.sequential.richtext.facet
Annotation of a range of text: a mention, link or hashtag, or a style. Works like app.bsky.richtext.facet, but facets may overlap so styles can nest, e.g. an italic word inside a bold sentence. The text holds no markup, so apps that don't know these facets still show clean text. AppViews ignore features they don't know.
Details · object
| Kind | object |
|---|---|
| Authority | richtext.sequential.work |
| Indexed |
Showing version bafyreidrhdbufgo342trfrljvcbuygap472szwbgg4n77p5coohzpfmtxe. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"bold": {
"description": "Strong emphasis.",
"properties": {},
"type": "object"
},
"code": {
"description": "Inline code, shown in a monospace font. Text inside it is shown as-is: AppViews don't create mentions, links or hashtags inside it, ignore any that are there, and ignore other styles inside it.",
"properties": {},
"type": "object"
},
"italic": {
"description": "Emphasis.",
"properties": {},
"type": "object"
},
"main": {
"description": "Annotation of a range of text: a mention, link or hashtag, or a style. Works like app.bsky.richtext.facet, but facets may overlap so styles can nest, e.g. an italic word inside a bold sentence. The text holds no markup, so apps that don't know these facets still show clean text. AppViews ignore features they don't know.",
"properties": {
"features": {
"description": "What applies to the range. A range can carry several styles, e.g. bold and italic.",
"items": {
"refs": [
"app.bsky.richtext.facet#mention",
"app.bsky.richtext.facet#link",
"app.bsky.richtext.facet#tag",
"#bold",
"#italic",
"#underline",
"#strikethrough",
"#code",
"#spoiler"
],
"type": "union"
},
"type": "array"
},
"index": {
"description": "The range of text the features apply to, in UTF-8 bytes. AppViews ignore facets whose range runs past the end of the text or splits a character.",
"ref": "app.bsky.richtext.facet#byteSlice",
"type": "ref"
}
},
"required": [
"index",
"features"
],
"type": "object"
},
"spoiler": {
"description": "Text hidden until the reader chooses to reveal it. Mentions, links and hashtags inside it stay hidden and can't be followed until it is revealed.",
"properties": {},
"type": "object"
},
"strikethrough": {
"description": "Struck-through text.",
"properties": {},
"type": "object"
},
"underline": {
"description": "Underlined text.",
"properties": {},
"type": "object"
}
},
"id": "work.sequential.richtext.facet",
"lexicon": 1
}