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

pkwalify - Kwalify schema for data structures

Author

       Slaven Rezić, <srezic@cpan.org>

Description

pkwalify validates the data from datafile (which may be a YAML or JSON file) against a schema defined
       with schemafile (which also may be a YAML or JSON file).

       It is required that either YAML, YAML::XS or YAML::Syck is installed to parse YAML files, or either JSON
       or JSON::XS for JSON files. Or the module specified on the command-line.

       The program returns the number of errors found in the datafile. An exit status 0 means no errors.

   OPTIONS
       -f schemafile
           Specify a schema file, either as YAML or JSON. Required.

       -m parse-mod
           Specify  the YAML or JSON Perl module to use. Valid modules are: YAML, YAML::XS, YAML::Syck, JSON and
           JSON::XS.

       -s  Be silent if the document is valid.

       -v  Show script and module versions and exit.

       -h --help
           Show summary of options.

Name

       pkwalify - Kwalify schema for data structures

See Also

       Kwalify, kwalify(1), JSON, JSON::XS, YAML, YAML::XS, YAML::Syck.

perl v5.38.2                                       2024-07-28                                       PKWALIFY(1p)

Synopsis

           pkwalify [-v] [-s] [-m parse-mod] -f schemafile datafile

See Also