ajv-cli
ajv-cli copied to clipboard
Command-line interface for Ajv JSON Validator
I couldn't find an answer to this in the readme: I've written the schema I'd like to use to validate YAML files in YAML. Is it possible to use that...
From ajv's documentation I see there are standard meta schemas that can be used, but how to do that from the CLI? Using `-m /usr/share/nodejs/ajv/lib/refs/json-schema-draft-04.json` doesn't seem to help at...
If you use `ajv-cli` to compile multiple schemas, it appears to process them in alphabetical order. If one of the earlier schemas references a later schema, the compilation will fail...
i want to validate files recusrively, but i think it is impossible to do. i tried this command: `ajv -s schema --spec=jtd -d *json` but this only checks files in...
Similar approach as the open pr #190 but avoids changes to the logJSON function Builds and `npm test` runs locally
Scenario: Directory with several JSON-schema files, some of which might `$ref`erence the others. Each schema file defines a unique `$id` property. I want to compile/validate them all at once This...
As of [[email protected]](https://github.com/ajv-validator/ajv/releases/tag/v8.9.0), compiling to esm is now supported. This PR allows that functionality to be accessed.
Took me some time to figure this out
Adds an option `-x` to "validate" that will be passed as the `ignore` property in the glob options. It can only be provided once, but can be any valid glob...
GitHub automatically generates anchors for every heading in a Markdown file. The hyphen is used as a replacement character in the generated anchor ID. The "Version History, License" item in...