logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

kwalify - Tiny schema validator for YAML and JSON

Author

Marc`Duck`Dequènes <Duck@DuckCorp.org>
           Original author.

Description

kwalify validates schema file, or YAML / JSON file against a schema.

Name

       kwalify - Tiny schema validator for YAML and JSON

Options

-h--help
           Show summary of options.

       -v
           Display version information.

       -s
           Be silent.

       -t
           Expand tab characters.

       -l
           Show linenumber when errored (experimental).

       -E
           Show errors in emacs-style (implies '-l').

       -mschema.yaml
           Meta-validation mode: validate schema.yaml.

       -fschema.yaml
           Schema definition file: validate file against schema.yaml.

       -aaction
           Generate code (depending on action: 'genclass-ruby' or 'genclass-java').

       -haaction
           Generate code (depending on action: 'genclass-ruby' or 'genclass-java') with properties.

       doc.yaml
           File to validate.

Synopsis

kwalify [-h | --help | -v]

       kwalify [-s] [-t] [-l] [-E] -f schema.yaml doc.yaml [doc2.yaml ...]

       kwalify [-s] [-t] [-l] [-E] -m schema.yaml [schema2.yaml ...]

       kwalify [-s] [-t] [-l] [-E] {-a action | -ha action} -f schema.yaml [schema2.yaml ...]

See Also