Block
The open wire block: id and type plus text, link, annotations and any attributes, so a document with a block type you do not know still parses.- name
- Block
- summary
- The open wire block: id and type plus text, link, annotations and any attributes, so a document with a block type you do not know still parses.
Schema definitionThe schema this document defines, for other documents to use.
Extends
| id The block's permanent identity inside its document; clients generate an 8-character random id. | ||
| revision Output only: CID of the last Change that replaced this block, filled in by the daemon when serving. | optional | |
| type The block type, such as `Paragraph` or `Image`; any string is accepted. | ||
| text The block's plain text, for types that have text; formatting lives in `annotations`. | optional | |
| link The block's one link: an `hm://`, `ipfs://`, `https://` or `nostr:` URL depending on the type. | optional | |
| annotations Inline formatting, links and mentions over code-point ranges of `text`. | of | optional |
| attributes Type-specific attributes, nested here by the Seed API and SDK; on the wire they sit at the block's top level. | optional | |
other fields: | ||
Powered by Seed HypermediaOpen App