Validate

validate() returns every diagnostic in one pass. repair() applies the safe JSON Patch fixes and does not mutate the input. render() does not validate.

spec.json200 · valid

Open the playground to edit a spec with validate, repair, and export.

One pass

validate() returns { ok, diagnostics, errors, warnings }. It does not throw on a bad spec. repair() applies the safe fixes and does not mutate the input.

Planning charts

Gantt, timeline, quadrant, venn, and journey are checked with validatePhase4. The main validate() entry warns and points there.