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

45 lines
1 KiB
YAML

---
$schema: http://json-schema.org/draft-04/schema#
properties:
plugins:
properties:
file_copy:
properties:
mkdirs:
items:
dir:
$ref: '#/definitions/absolute_path'
permissions:
type: string
owner:
type: string
group:
type: string
files:
items:
src:
$ref: '#/definitions/absolute_path'
dst:
$ref: '#/definitions/absolute_path'
permissions:
type: string
owner:
type: string
group:
type: string
minItems: 1
type: array
required:
- src
- dst
required:
- files
type: object
additionalProperties: false
required:
- file_copy
type: object
required:
- plugins
title: File copy plugin manifest
type: object