oroc update validate
Validate an update manifest JSON file against the expected schema shape.
Usage#
oroc update validate [--manifest=<path>] [options]
Options#
| Option | Description |
|---|---|
--manifest=<path> |
path to the manifest JSON file (default: manifest-name or ORO_UPDATE_MANIFEST_FILENAME) |
--manifest-name=<name> |
manifest filename to use when --manifest is not provided |
--strict |
enable additional consistency checks (for example, channels vs updates, artifactUrl shape) |
--json |
print a machine-readable JSON result object (for CI) |
--log-file=<path> |
mirror logs to a JSON file |
-h, --help |
show help |
Notes#
This command parses the manifest and performs lightweight structural validation aligned with 'schemas/update-manifest.schema.json' (required fields, types, and key relationships).
It does not attempt full JSON Schema validation, but is suitable for fast local checks and CI.
When '--strict' is provided, additional consistency rules are enforced.
When '--json' is provided, stdout is reserved for the result object only.
Examples#
oroc update validate --manifest manifest.json
run basic structural checks against manifest.json
oroc update validate --manifest manifest.json --strict
enable stricter consistency rules in addition to structural checks
oroc update validate --manifest manifest.json --json
print validation status as JSON for CI or agents
Source repository · Edit this page · View Markdown