net.atview.document

atview.net

Documentation

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.

main object

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.

Properties

coverImageAlt string Optional

Alt text for the parent record's `coverImage` blob.

maxLength: 5000 bytesmaxGraphemes: 500 graphemes
facets array of refnet.atview.richtext.facet Optional

Rich-text facets marking byte ranges of the parent record's `textContent` with inline and block-level features.

language string Optional

BCP-47 language tag describing the primary language of `textContent` (e.g. `en`, `en-US`).

maxLength: 32 bytes
View raw schema
{
  "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."
}

Lexicon Garden

@