CLIΒΆ
A command line interface mirrors the Python API.
Basic invocation:
jsonschema-diff old.schema.json new.schema.json
OR
jsonschema-diff "{\"type\":\"string\"}" "{\"type\":\"number\"}" # escaping is required
Options:
jsonschema-diff --help
--no-color
to disable ANSI colors.--legend
to show legend table.--exit-code
to return1
when differences are found.
See also for more: jsonschema_diff.cli