JSON schema validation

raw

README.rst

Tools

https://github.com/Julian/jsonschema

Installation:

$ pip3 install jsonschema

https://github.com/justinrainbow/json-schema

  • Good error output:

    $ validate-json games/de.eiswuxe.blookid2.json schema.json
    JSON does not validate. Violations:
    [releases[0].versionCode] NULL value found, but a string is required
    [releases[0].date] Invalid date "2015-10-23T09:58:19Z", expected format YYYY-MM-DD
    [developer.supportEmail] NULL value found, but a string is required
    [developer.supportPhone] NULL value found, but a string is required
    
Christian Weiske Christian Weiske
owner

History