Running the corpus
Against a single fixture, with the validator CLI. No install is needed — from the repository root:
pip install -e packages/ver-validator provides the ver-validate entry point on PATH in an environment whose virtualenv has pip (this repository's .venv does not). The two invocations are the same program, and the examples below use the short spelling:
Exit status is 0 when every named record is conformant, 1 when any carries an error-severity issue, 2 for a bad invocation. Warnings never change the exit status. Every report also carries a status of conformant, nonconformant or indeterminate; no fixture in this corpus can produce the third, which is why VER001 is exempt from needing one.
Three of the 1.0.1 fixtures need a flag to reach the rule they test; the manifest entry names it in each case. Without the flag all three are conformant — the size and registry fixtures emit nothing at all, and the signature fixture reports VER1403 rather than a failed verification:
Every 1.1-draft fixture needs --schema 1.1-draft, and four of them need a flag beyond it; the 1.1-draft fixtures section lists those invocations.
Across the whole corpus, from the repository root:
That suite walks manifest.json and asserts the contract below. To run the same checks without pytest — for instance against a validator that is not this one:
invalid/ver101-unparseable-json.json is deliberately not parseable JSON. Any sweep that parses every *.json in the tree must skip it; the manifest flags it in notes.
