runc/schema
W. Trevor King c4160b4a9e schema/schema.json: Update main description
The README title is:

    Open Container Runtime Specification

And the config.md title is:

    Container Configuration file

The JSON Schema covering that configuration file should have a
description that combines those two titles without introducing new
language.

Signed-off-by: W. Trevor King <wking@tremily.us>
2016-05-26 16:35:32 -07:00
..
Makefile Modify README to keep consistency with Makefile 2016-04-14 12:33:17 +08:00
README.md Introducing Solaris in OCI 2016-05-04 12:19:27 -07:00
defs-linux.json schema: updates and fixes 2016-04-07 10:13:39 -04:00
defs.json schema: JSON Schema and validator for `config.json` 2016-03-09 19:32:52 +00:00
schema-linux.json Add support for Selinux mount context labels 2016-04-22 13:40:49 -07:00
schema-solaris.json Introducing Solaris in OCI 2016-05-04 12:19:27 -07:00
schema.json schema/schema.json: Update main description 2016-05-26 16:35:32 -07:00
validate.go schema: add a README 2016-04-13 13:44:34 -04:00

README.md

JSON schema

Overview

This directory contains the JSON Schema for validating the config.json of this container runtime specification.

The layout of the files is as follows:

Utility

There is also included a simple utility for facilitating validation of a config.json. 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 schema.json <yourpath>/config.json