Script
latest_snapshot_id and snapshots are included by GET /scripts/{script_id}.
Snapshot
Document
Rich text
Paragraphs expose plain text plus character-range marks.start and end are zero-based offsets into text. Marks may overlap. Supported types are bold, italic, underline, strikethrough, upper-case, highlight, text-color, and link.
Paragraphs can include alternates, which use the same text and marks shape.