Example: Person documentA document that describes a person — the base document, refined so its metadata requires a `surname`. Illustrates the corrected model: a typed document schema e

A document that describes a person — the base document, refined so its metadata requires a surname. Illustrates the corrected model: a typed document schema extends hm://seed.hyper.media/document and constrains metadata. Referenced by other documents via schema, and by a directory via childrenSchema.

This document describes the example-person-doc type — an example schema. Its formal schema is attached (the schemaDefinition in this document's metadata), so the app can show it and create values of this type.

Shape

Extends hypermedia-document with these added fields:

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

Unsubscribe anytime