'\" t .\" Title: kwalify .\" Author: Marc `Duck` Dequènes .\" Generator: DocBook XSL Stylesheets v1.79.2 .\" Date: 2011-09-16 .\" Manual: User Commands .\" Source: Kwalify .\" Language: English .\" .TH "KWALIFY" "1" "2011\-09\-16" "Kwalify" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" kwalify \- Tiny schema validator for YAML and JSON .SH "SYNOPSIS" .HP \w'\fBkwalify\fR\ 'u \fBkwalify\fR [\fB\-h\fR | \fB\-\-help\fR | \fB\-v\fR] .HP \w'\fBkwalify\fR\ 'u \fBkwalify\fR [\fB\-s\fR] [\fB\-t\fR] [\fB\-l\fR] [\fB\-E\fR] \fB\-f\fR\ schema\&.yaml doc\&.yaml [doc2\&.yaml\ \&.\&.\&.] .HP \w'\fBkwalify\fR\ 'u \fBkwalify\fR [\fB\-s\fR] [\fB\-t\fR] [\fB\-l\fR] [\fB\-E\fR] \fB\-m\fR\ schema\&.yaml [schema2\&.yaml\ \&.\&.\&.] .HP \w'\fBkwalify\fR\ 'u \fBkwalify\fR [\fB\-s\fR] [\fB\-t\fR] [\fB\-l\fR] [\fB\-E\fR] {\fB\-a\fR\ action | \fB\-ha\fR\ action} \fB\-f\fR\ schema\&.yaml [schema2\&.yaml\ \&.\&.\&.] .SH "DESCRIPTION" .PP \fBkwalify\fR validates schema file, or YAML / JSON file against a schema\&. .SH "OPTIONS" .PP \fB\-h\fR \fB\-\-help\fR .RS 4 Show summary of options\&. .RE .PP \fB\-v\fR .RS 4 Display version information\&. .RE .PP \fB\-s\fR .RS 4 Be silent\&. .RE .PP \fB\-t\fR .RS 4 Expand tab characters\&. .RE .PP \fB\-l\fR .RS 4 Show linenumber when errored (experimental)\&. .RE .PP \fB\-E\fR .RS 4 Show errors in emacs\-style (implies \*(Aq\-l\*(Aq)\&. .RE .PP \fB\-m\fR \fIschema\&.yaml\fR .RS 4 Meta\-validation mode: validate schema\&.yaml\&. .RE .PP \fB\-f\fR \fIschema\&.yaml\fR .RS 4 Schema definition file: validate file against schema\&.yaml\&. .RE .PP \fB\-a\fR \fIaction\fR .RS 4 Generate code (depending on action: \*(Aqgenclass\-ruby\*(Aq or \*(Aqgenclass\-java\*(Aq)\&. .RE .PP \fB\-ha\fR \fIaction\fR .RS 4 Generate code (depending on action: \*(Aqgenclass\-ruby\*(Aq or \*(Aqgenclass\-java\*(Aq) with properties\&. .RE .PP \fIdoc\&.yaml\fR .RS 4 File to validate\&. .RE .SH "AUTHOR" .PP \fBMarc `Duck` Dequènes\fR <\&Duck@DuckCorp\&.org\&> .RS 4 Original author\&. .RE .SH "COPYRIGHT" .br Copyright \(co 2007-2011 Marc Dequènes (Duck) .br .PP This manual page was written for the Debian system (but may be used by others)\&. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation\&. .PP On Debian systems, the complete text of the GNU General Public License version 3 can be found in /usr/share/common\-licenses/GPL\-3\&. .sp