json-outline-schema.schema.json
Three schema files
Core JSON Outline Schema (JOS): a work (outline) and a flat list of items whose tree is expressed through `parent` + `order`. This schema is intentionally lenient about legacy value types (numeric strings for `indent`/`order`) because real HAXcms data contains both; writers SHOULD emit the canonical form described in each property. Rules that JSON Schema cannot express (unique ids, parent references, cycles, unique slugs) are enforced by scripts/validate.js.
Connects to
- JSON Outline Schema is defined by this
- haxcms-site.schema.json extends this
- skeleton.schema.json extends this
- Defines the outline (id, title, author, license, metadata)
- Defines items