jsonschema --version (return code: 2)
usage: jsonschema [-h] [-i INSTANCES] [-F ERROR_FORMAT] [-V VALIDATOR] schema
jsonschema: error: too few arguments
jsonschema --help (return code: 0)
usage: jsonschema [-h] [-i INSTANCES] [-F ERROR_FORMAT] [-V VALIDATOR] schema
JSON Schema Validation CLI
positional arguments:
schema the JSON Schema to validate with
optional arguments:
-h, --help show this help message and exit
-i INSTANCES, --instance INSTANCES
a path to a JSON instance to validate (may be
specified multiple times)
-F ERROR_FORMAT, --error-format ERROR_FORMAT
the format to use for each error output message,
specified in a form suitable for passing to
str.format, which will be called with 'error' for each
error
-V VALIDATOR, --validator VALIDATOR
the fully qualified object name of a validator to use,
or, for validators that are registered with
jsonschema, simply the name of the class.