validate
Output
- Each finding has a level, a rule code, a JSON path and a message. The terminal shows the first eight per file;
--jsoncarries all of them. - Given several files, it also runs the cross-file part of E194: documents in one slate share a task and a base commit.
- Warnings never fail a file.
JSON output
migrate
- With
--out DIR, each result is written toDIRasNAME.ocp.json. It refuses to write over an input. - Without
--out, a single result goes to standard output. Several files need--out, or--jsonto get every migrated document in one object. - A result with a conformance error is reported and never written.
In CI
.github/workflows/ocp.yml
Schema only
The JSON Schemas (draft 2020-12) are in the specification repository, one per version. Any validator can check a document against them:loopmath ocp validate.