{
"id": "net.atview.document",
"defs": {
"main": {
"type": "object",
"properties": {
"facets": {
"type": "array",
"items": {
"ref": "net.atview.richtext.facet",
"type": "ref"
},
"description": "Rich-text facets marking byte ranges of the parent record's `textContent` with inline and block-level features."
},
"language": {
"type": "string",
"maxLength": 32,
"description": "BCP-47 language tag describing the primary language of `textContent` (e.g. `en`, `en-US`)."
},
"coverImageAlt": {
"type": "string",
"maxLength": 5000,
"description": "Alt text for the parent record's `coverImage` blob.",
"maxGraphemes": 500
}
},
"description": "Atview content payload. Slots into the `content` open union of a site.standard.document record. Provides a compact, stream-friendly representation of rich text as a plain `textContent` string paired with an array of byte-indexed facets."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}