A world-builder kit type: a page about a character. Extends the base document; its metadata requires a born date and a role, and links the character to a home place, a faction, a portrait file, and a stats object (an ipfs:// object that must conform to example-stats). notes is an untyped object link — any DAG-CBOR value.
This document describes the example-character-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:
metadata — hypermedia-metadata
adds to hypermedia-metadata:
born (required) — date
died — date
role (required) — string (one of hero, villain, ally, neutral)
home — hypermedia-hm-url (→ must conform to example-place-doc)
faction — hypermedia-hm-url (→ must conform to example-faction-doc)
portrait — hypermedia-ipfs
stats — hypermedia-ipfs (→ must conform to example-stats)
notes — hypermedia-ipfs
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime