JSON schema validation

revision 69a00dd08b24657275bbc2e025ab7ac954b1e852

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
    

History