ajv-cli
ajv-cli copied to clipboard
Command-line interface for Ajv JSON Validator
Hi guys, i just want to know, how to throw error if my property value is "NA" or "undefined". sample data: `"data":{ "fname":"NA", "lname":"undefined", "age":"28" }` now i want to...
Is there a way to specify AJV plugins for ajv-cli to use? Specifically, I want to use https://github.com/luzlab/ajv-formats-draft2019 when running `ajv compile` to avoid errors about `unknown format "idn-hostname" is...
Hello! In our project, we're using a typescript monorepo setup with a shared model. The model interfaces are annotated with [YousefED/typescript-json-schema](https://github.com/YousefED/typescript-json-schema) to produce json schemas in build time. These schemas...
This is more of a query than an issue. The following command called from Powershell works fine and returns errors for unknown formats: `ajv validate -d data.json -s schema.json --unknown-formats...
When i use a glob string for the -d option the cli iterates through all files and validates all errors. If the glob contains files which are not valid json...
I'm looking at using ajv-cli to help test Hyper-Schema requests and responses. This means that the schema I want to validate against is not always the entire schema file. What...
Hi. I ran a validation and got quite a few errors saying "data[0] should NOT have additional properties". However with no line numbers it's quite hard to work out what...
using https://github.com/mailonline/json-schema-test https://github.com/json-schema-org/JSON-Schema-Test-Suite