kirill: JSON Schema validator
ABOUT
kirill scans projects large and small for JSON correctness:
- Basic JSON syntactical validity
- Optionally, enforce JSON Schema
EXAMPLES
$ cd examples
$ kirill .
error: fruit-missing-end-brace.json: EOF while parsing an object at line 3 column 0
error: fruit-trailing-comma.json: trailing comma at line 3 column 1
error: fruit-unquoted-key.json: key must be a string at line 2 column 5
error: fruit-with-comment.json: expected value at line 1 column 1
error: settings.json: expected value at line 1 column 1
$ kirill --schema species.json zoo
error: zoo/bad-bear.json: Missing required property 'species'
See kirill -h for more options.
LICENSE
BSD-2-Clause
RUNTIME REQUIREMENTS
(None)
Recommended
- jq 1.6+
CONTRIBUTING
For more information on developing kirill itself, see DEVELOPMENT.md.