bootstrap-vz/bootstrapvz/plugins/prebootstrapped/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

26 lines
515 B
YAML

---
$schema: http://json-schema.org/draft-04/schema#
title: Prebootstrapped plugin manifest
type: object
properties:
volume:
type: object
properties:
backing:
type: string
enum:
- raw
- ebs
- s3
- vdi
- vmdk
required: [backing]
plugins:
type: object
properties:
prebootstrapped:
type: object
properties:
image: {type: string}
snapshot: {type: string}
additionalProperties: false