at.markpub.facets.baseBlocks
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"byteSlice": {
"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. Byte slices can overlap.",
"properties": {
"byteEnd": {
"minimum": 0,
"type": "integer"
},
"byteStart": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"byteStart",
"byteEnd"
],
"type": "object"
},
"horizontalRule": {
"description": "Place an `<hr>` element at the provided byte index.",
"properties": {},
"type": "object"
},
"main": {
"properties": {
"features": {
"items": {
"refs": [
"#horizontalRule",
"#yamlFrontMatter",
"#raw"
],
"type": "union"
},
"type": "array"
},
"index": {
"ref": "#byteSlice",
"type": "ref"
}
},
"required": [
"index",
"features"
],
"type": "object"
},
"raw": {
"description": "Place raw text at the provided byte index. This is a powerful escape hatch for anything that can't be achieved with the other facet features, but use it with caution as it can easily break things if used incorrectly. Do not expect systems to render it.",
"properties": {},
"type": "object"
},
"yamlFrontMatter": {
"description": "Identify a block of front matter at the top of the Markdown block. It is expected that this has a byteStart and byteEnd.",
"properties": {},
"type": "object"
}
},
"id": "at.markpub.facets.baseBlocks",
"lexicon": 1
}
Metadata
- DID
-
did:plc:kfxbexqtvw76572grhv2f3on - CID
-
bafyreiap2hfmfi6btahcfjqgtz4iggljdnufvykedm6wnwuenbrtoqcqi4 - Indexed At
- 2026-06-26 03:56 UTC
- AT-URI
-
at://did:plc:kfxbexqtvw76572grhv2f3on/com.atproto.lexicon.schema/at.markpub.facets.baseBlocks
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
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ā¦
-
net.atview.richtext.facet object
Annotation of a sub-string within the parent record's `textContent`. Byte offsets refer to a UTF-8 encoding of the string. A single facet may carry multiple features that all apply to the same byte range.
-
Annotation of a sub-string within rich text.
-
Annotation of a sub-string within rich text.