{ "$schema": "https://json-schema.org/draft-07/schema", "title": "U7", "description": "See templates/U7/README.md for the content contract and templates/U7/example.json for the real data shape; shared $defs (meta, heading, evidence, quickstart, related) are in templates/U0/schema.json. chapters[].html is the source document's body split at its <h2>s, verbatim; h3s get ids for the contents column. evidence carries path, lines, bytes, sha256 and commits.", "type": "object", "required": ["meta", "heading", "sections", "abstract", "chapters", "evidence"], "properties": { "meta": { "$ref": "U0/schema.json#/$defs/meta" }, "heading": { "$ref": "U0/schema.json#/$defs/heading" }, "sections": { "type": "object" }, "abstract": { "type": "object", "properties": { "lede": { "type": "string" }, "callout": { "type": "string" }, "facts": { "type": "array" } } }, "contents": { "type": "object", "properties": { "from": { "type": "string" } } }, "chapters": { "type": "array", "items": { "type": "object", "required": ["id", "n", "title", "html"], "properties": { "id": { "type": "string" }, "n": { "type": "string" }, "title": { "type": "string" }, "sub": { "type": "string" }, "subs": { "type": "array", "items": { "$ref": "U0/schema.json#/$defs/link" } }, "html": { "type": "string" } } } }, "evidence": { "$ref": "U0/schema.json#/$defs/evidence" }, "related": { "$ref": "U0/schema.json#/$defs/related" }, "quickstart": { "$ref": "U0/schema.json#/$defs/quickstart" } } }
