ajv-cli icon indicating copy to clipboard operation
ajv-cli copied to clipboard

Question: Can I pass a JSON schema written in YAML?

Open corneliusroemer opened this issue 1 year ago • 1 comments

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 schema written in YAML without having to convert it into JSON first? That'd be quite neat.

corneliusroemer avatar Aug 15 '22 11:08 corneliusroemer

It looks like the answer is yes! Seems to work, fantastic! Would be great to document this :)

corneliusroemer avatar Aug 15 '22 12:08 corneliusroemer