A world-builder kit type: a page about a character. Its attributes require 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
A closed struct with these fields:
born (required) — date
died — date
role (required) — string (one of hero, villain, ally, neutral)
home — hm-url (→ must conform to example/place-doc)
faction — hm-url (→ must conform to example/faction-doc)
portrait — ipfs-url
stats — ipfs-url (→ must conform to example/stats)
notes — ipfs-url
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime