GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PKWALIFY(1) User Contributed Perl Documentation PKWALIFY(1)

pkwalify - Kwalify schema for data structures

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

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.

-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.

Slaven Rezić, <srezic@cpan.org>

Kwalify, kwalify(1), JSON, JSON::XS, YAML, YAML::XS, YAML::Syck.
2017-06-25 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.