The JSON Schema is authoritative; these entries explain how its pieces are intended to be used.
Root and metadata fields
#
JSONmetadata
A manual combines project identity, document identity, review metadata, optional theme values, and sections.
What it does
Defines the top-level project, manual, theme, and sections values. An optional $schema field lets compatible editors locate the contract.
How it works
- project requires name and version and may contain other scalar placeholder values.
- manual requires title and may add subtitle, description, badges, footer, and reviewed.
- reviewed requires date and commit and may add by and interval_days.
- theme may set six-digit accent and accent_secondary colors plus a short icon.
- sections is a nonempty ordered array.
Why it works this wayrecorded
Separating project identity from document metadata supports multiple manuals for one project and keeps release values reusable. A review record ties the document to a specific commit and date.
Evidence
- scheme/manual.schema.json
scheme/manual.schema.json - scheme/example.manual.json
scheme/example.manual.json
Related: Section fields · Overrides and placeholders · Review report rules
navigationgrouping
Sections create ordered navigation groups around reader-oriented concepts.
What it does
Each section requires a stable id, a title, and at least one entry. It may include a short description.
How it works
IDs use lowercase kebab-case and share one namespace with entry IDs. Array order controls both sidebar and document order.
Why it works this wayrecorded
Stable identifiers make links durable while explicit order lets authors teach a subject progressively rather than accepting an alphabetical or filesystem-derived sequence.
Evidence
- scheme/manual.schema.json
scheme/manual.schema.json - scripts/manual.py
scripts/manual.py
Related: Entry fields · Errors and warnings
triadcontent
Entries hold one documented subject, its complete 3x explanation, and the basis for its rationale.
What it does
Requires id, title, what, how, why, and why_basis. Optional fields are summary, synopsis, tags, evidence, and related.
How it works
- Use summary for the one-sentence orientation shown before the triad.
- Use synopsis for a literal command, API, signature, or compact contract.
- Set why_basis to recorded, observed, inferred, or external.
- Use tags for filtering vocabulary and evidence for supporting targets.
- Use related to list stable entry IDs in reading order.
Why it works this wayrecorded
The required core guarantees a useful minimum and makes provenance reviewable. Optional context supports discovery and verification without making every subject pretend to be a command or source-code component.
Evidence
- scheme/manual.schema.json
scheme/manual.schema.json - scheme/example.manual.json
scheme/example.manual.json
Related: What, How, and Why shapes · Evidence and related fields · review
What, How, and Why shapes
#
content shapetriad
A dimension can be prose, ordered points, or a lead paragraph followed by points.
What it does
Accepts a nonempty string, a nonempty array of strings, or an object containing lead, points, or both.
How it works
Strings render as paragraphs. Arrays render as ordered lists. Objects render lead as a paragraph and points as an ordered list.
Why it works this wayrecorded
A small set of semantic shapes covers most technical explanations while remaining predictable for validation, transformation, and agent generation.
Evidence
- scheme/manual.schema.json
scheme/manual.schema.json - scripts/manual.py
scripts/manual.py
Related: Entry fields · Safe inline notation
Evidence and related fields
#
provenancelinks
Evidence records provenance and kind; related IDs create lateral navigation.
What it does
Evidence accepts either a target string or an object with label, target, and optional kind. Kinds are source, test, decision, spec, url, command, and document. Related accepts an array of entry IDs.
How it works
Local evidence targets render as code-like paths and HTTP targets render as links. --check-evidence verifies local targets under --root; --check-urls probes HTTP targets. Related IDs resolve to entry titles and local anchors; unknown IDs produce warnings.
Why it works this wayrecorded
Keeping provenance structured enables renderers and audits while allowing concise input for the common file-path case. Kind labels let reviewers distinguish a test from a decision record and let checks treat commands and URLs differently.
Evidence
- scheme/manual.schema.json
scheme/manual.schema.json - scripts/manual.py
scripts/manual.py
Related: Entry fields · Errors and warnings · review