Releases: ajv-validator/ajv-cli
2.1.0
Added support for draft-04 meta-schema without the need to explicitly add it.
2.0.0
This version uses Ajv version 5.0.0 with JSON-Schema draft-06 support.
Added "migrate" command to migrate schemas to draft-06.
1.1.2
The last version using Ajv 4.x.x
Added option inline-refs
2.0.0-beta.0
Support Ajv v5.0.x-beta
migrate
command to migrate schemas to draft-06
1.1.0
Support custom keywords and formats with -c option
1.0.0
0.9.0
Support JSON in files with any extension.
0.8.0
--changes
option to report changes in data after validation when options that modify data are used (--remove-additional, --coerce-types, --use-defaults)
Test command to assert that validation result is as expected:
ajv test -s test/schema.json -d test/valid_data.json --valid
ajv test -s test/schema.json -d test/invalid_data.json --invalid
0.7.0
Support meta-schemas with -m
parameter
Compile command: ajv compile -s schema
0.6.0
Support Ajv options: removeAdditional, useDefaults, coerceTypes.
Help command: ajv help
.
Code coverage.