Annotation of a sub-string within rich text.
Properties
No description available.
No description available.
View raw schema
{
"type": "object",
"required": [
"index",
"features"
],
"properties": {
"index": {
"ref": "#byteSlice",
"type": "ref"
},
"features": {
"type": "array",
"items": {
"refs": [
"#bold",
"#italic",
"#underline",
"#strikethrough",
"#code",
"#spoiler",
"#link",
"#mention",
"#tag"
],
"type": "union"
}
}
},
"description": "Annotation of a sub-string within rich text."
}
Bold text.
This object has no properties defined.
View raw schema
{
"type": "object",
"properties": {},
"description": "Bold text."
}
Sub-string range as byte offsets into the UTF-8 text.
Properties
No description available.
minimum: 0
No description available.
minimum: 0
View raw schema
{
"type": "object",
"required": [
"byteStart",
"byteEnd"
],
"properties": {
"byteEnd": {
"type": "integer",
"minimum": 0
},
"byteStart": {
"type": "integer",
"minimum": 0
}
},
"description": "Sub-string range as byte offsets into the UTF-8 text."
}
Inline code.
This object has no properties defined.
View raw schema
{
"type": "object",
"properties": {},
"description": "Inline code."
}
Italic text.
This object has no properties defined.
View raw schema
{
"type": "object",
"properties": {},
"description": "Italic text."
}
A hyperlink.
View raw schema
{
"type": "object",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"format": "uri"
}
},
"description": "A hyperlink."
}
A mention of another account.
Properties
A decentralized identifier (DID).
View raw schema
{
"type": "object",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did"
}
},
"description": "A mention of another account."
}
Spoiler text, hidden until revealed. A forum culture essential.
This object has no properties defined.
View raw schema
{
"type": "object",
"properties": {},
"description": "Spoiler text, hidden until revealed. A forum culture essential."
}
Struck-through text.
This object has no properties defined.
View raw schema
{
"type": "object",
"properties": {},
"description": "Struck-through text."
}
A hashtag.
Properties
No description available.
maxLength: 640 bytesmaxGraphemes: 64 graphemes
View raw schema
{
"type": "object",
"required": [
"tag"
],
"properties": {
"tag": {
"type": "string",
"maxLength": 640,
"maxGraphemes": 64
}
},
"description": "A hashtag."
}
Underlined text. A BBCode heritage feature.
This object has no properties defined.
View raw schema
{
"type": "object",
"properties": {},
"description": "Underlined text. A BBCode heritage feature."
}