cri-o/vendor/github.com/opencontainers/runtime-spec/schema
Mrunal Patel 8e5b17cf13 Switch to github.com/golang/dep for vendoring
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2017-01-31 16:45:59 -08:00
..
config-linux.json Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
config-schema.json Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
config-solaris.json Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
defs-linux.json Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
defs.json Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
Makefile Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
README.md Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
state-schema.json Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00
validate.go Switch to github.com/golang/dep for vendoring 2017-01-31 16:45:59 -08:00

JSON schema

Overview

This directory contains the JSON Schema for validating JSON covered by this specification.

The layout of the files is as follows:

Utility

There is also included a simple utility for facilitating validation. To build it:

export GOPATH=`mktemp -d`
go get -d ./...
go build ./validate.go
rm -rf $GOPATH

Or you can just use make command to create the utility:

make validate

Then use it like:

./validate config-schema.json <yourpath>/config.json