API reference
@searsuite/sear-domain-doc-schema
The dependency-free JSON protocol shared by standalone and embedded rich documents.
3 exportsderived from source
- interfaceNodeSchemasource ↗
-
interface NodeSchemaPersisted rich-document node schema shared by document runtime, commands, and OT.
propertyattrs attrs?: Record<string, any>Node attributes for styles, formatting, and feature-owned metadata.
propertycontent content?: Schema[]Child rich-document nodes.
propertyid id?: stringStable structural identity for layout, retained render nodes, and collaboration mapping.
propertytext text?: stringOptional text content for leaf text nodes.
propertytype type: stringDomain node type identifier.
- interfaceTextSchemasource ↗
-
interface TextSchema extends NodeSchemaPersisted text-bearing rich-document node schema.
propertytext text: stringOptional text content for leaf text nodes.
No public exports match that search.