net.atview.document

atview.net

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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.",
      "properties": {
        "coverImageAlt": {
          "description": "Alt text for the parent record's `coverImage` blob.",
          "maxGraphemes": 500,
          "maxLength": 5000,
          "type": "string"
        },
        "facets": {
          "description": "Rich-text facets marking byte ranges of the parent record's `textContent` with inline and block-level features.",
          "items": {
            "ref": "net.atview.richtext.facet",
            "type": "ref"
          },
          "type": "array"
        },
        "language": {
          "description": "BCP-47 language tag describing the primary language of `textContent` (e.g. `en`, `en-US`).",
          "maxLength": 32,
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "net.atview.document",
  "lexicon": 1
}

Validate Record

Validate a record against net.atview.document

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:ycd3zyxa6iru5fiplr3un6nr
CID
bafyreibnd54fszfeaxldc4jxeyylx65mtqrqtoofrmvk7le3wybvgqblfm
Indexed At
2026-04-20 20:40 UTC
AT-URI
at://did:plc:ycd3zyxa6iru5fiplr3un6nr/com.atproto.lexicon.schema/net.atview.document

Referenced Schemas (1)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • com.pagehare.document recordnot from the namespace authority

    PageHare's sidecar for a site.standard.document it wrote: one per PageHare document, with the same rkey, so listing this collection enumerates exactly the PageHare documents in a repo (site.standard.document is shared w…

  • com.pagehare.content.markdown objectnot from the namespace authority

    Canonical markdown content for a site.standard.document, embedded in the document's open content union. The markdown string is the canonical article body; optional cover metadata is stored alongside it; the document's t…

  • 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.

  • A fenced code block

  • A lexicon for long form rich media documents

Lexicon Garden

@