What it builds
With Developer Mode on, a document's options menu offers New World…. Give it a name, a genre, and the date its chronicle begins, and it publishes, under that document:
page | binding | what you see |
|---|---|---|
the world root |
| a genre and an epoch date in Attributes, a card view of everything below |
|
| a type page: a schema tag, a Create button, and an editable schema |
|
| a folder whose pages are typed by inheritance, with a live table of its children |
one starter page per type | inherited from its folder | required rows already filled: a date picker, title pills pointing at the other starters, and object fields ready to create |
The kit's schemas are the library's Character, Place, Faction, and Event — republished with every target rewritten to point at your type pages. A Character's home no longer targets the library's Place; it targets hm://<you>/<world>/types/place, a document that does not exist until the same publish creates it. Names, not hashes, are what make that possible.
Why it is an ontology editor
A type page is a document like any other, so the ontology is edited the way documents are edited. Open a type's schema to add a field — choose Date for a date picker, or HM link / IPFS and fill in a target type to point at another type — and every page in the matching folder gains the field. Add a new type by publishing a new schema-definition page and pointing a folder's childrenSchema at it. Delete nothing: pages that carried a removed field simply show a warning until you tidy them. The graph of types is browsable — each type page links to the types it references, and the explorer shows what depends on what.
What to try
Open the Wanderer. In Attributes, change born with the picker, pick a different home with the search pill, and press Create object on stats — the dialog is locked to Character stats and will not publish until strength, intellect, and charisma are within 1–10. Then press it on notes and publish anything at all.
Open the Characters folder and add a page. The required rows appear before you type a word, because the folder's childrenSchema types it.
Open the Character type, edit its schema, and add a title Date field. Go back to the Wanderer: the new field is there.
Open the world root's Attributes: genre is a dropdown and epoch is a date, because the root conforms to the World type.
The whole tree is ordinary Hypermedia: sync it, share it, comment on it, query it from another space. See typed documents for the model underneath.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime