Ajv Cli Versions Save

Command-line interface for Ajv JSON Validator

v5.0.0

3 years ago

Upgrade for ajv v8 Support JSON Schema draft-2020-12

v4.2.0

3 years ago

Support JSON Type Definition schemas with --spec=jtd option. Support plugins (e.g. user-defined keywords) in typescript (requires ts-node to be installed).

v4.1.0

3 years ago

Do not change definitions to $defs when migrating schema to draft-2019-09 (#112)

v4.0.1

3 years ago

Fix: pass $data option to ajv instance when --data option is used

v4.0.0

3 years ago

v4.0.0-rc.0

3 years ago

Use ajv v7 --spec= option to choose JSON schema specification:

  • draft7: JSON Schema draft-07 (default)
  • draft2019: JSON Schema draft-2019-09

Support schema migration to JSON Schema draft-07 and draft-2019-08 (defined by --spec= option). Compile multiple schemas to a single module with multiple exported standalone validation functions. Output standalone validation code to stdout (-o without parameter) for formatting with js-beautify or another utility.

v3.3.0

3 years ago

Allow strict-mode options - --strict-keywords, --strict-defaults, --strict-numbers (@Agh42)

v3.2.0

4 years ago

Support json5 and yaml file types (@G-Rath). Update dependencies and tested node versions.

v3.1.0

4 years ago

Support --data option (passed as $data to Ajv). Support --add-used-schema option (passed as addUsedSchema to Ajv) (@Relequestual)

v3.0.0

6 years ago

Update to ajv v6.0.0