bootstrap-vz/bootstrapvz/plugins/docker_daemon/manifest-schema.yml
Anders Ingemann a7f2327e42 Litter the manifest schemas with additionalProperties:false
This pretty much eliminates the possiblity of undiscovered typos in the manifest
2015-05-02 13:04:30 +02:00

29 lines
606 B
YAML

---
$schema: http://json-schema.org/draft-04/schema#
title: Install Docker plugin manifest
type: object
properties:
system:
type: object
properties:
architecture:
type: string
enum: [amd64]
release:
not:
type: string
enum:
- squeeze
- oldstable
plugins:
type: object
properties:
docker_daemon:
type: object
properties:
version:
pattern: '^\d\.\d{1,2}\.\d$'
type: string
docker_opts:
type: string
additionalProperties: false