Example: Document
A document with a title, an author, a body, and a link to a previous document.

Extends · closed

title
Title of the document.
author
The person who wrote the document.
optional
body
The document's content as raw bytes.
optional
previous
The previous document, a link to another Document.
optional

A document with a required title, an author link to a person, a bytes body, and previous, a link to another document. The type refers to itself through previous, which works because schemas reference each other by name.

This page describes the example/document type, one of the example schemas. The formal schema is attached as the schemaDefinition in this page's metadata, so the app can show it and create values of this type.

See also

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime