We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to validate a file against a schema as follows:
$ jsonschema -i /path/to/schema.json test.json
It fails with this message:
usage: jsonschema [-h] [-i INSTANCES] [-F ERROR_FORMAT] [-V VALIDATOR] schema jsonschema: error: argument -i/--instance: invalid _json_file value: '/path/to/schema.json'
However, when validating the schema itself in an online json validator, e.g. this one, it succeeds.
json
The text was updated successfully, but these errors were encountered:
Turns out it had to do with some trailing commas (',') in some entries.
However, even after fixing this, I get no output despite the fact that there are fields which are present in schema.json and missing in test.json.
schema.json
test.json
Sorry, something went wrong.
No branches or pull requests
I am trying to validate a file against a schema as follows:
It fails with this message:
However, when validating the schema itself in an online
json
validator, e.g. this one, it succeeds.The text was updated successfully, but these errors were encountered: