file_copy: Fix manifest

This commit is contained in:
Nicolas Braud-Santoni 2016-02-29 18:28:35 +01:00
parent e961438904
commit ed6ca6dd6e

View file

@ -7,31 +7,38 @@ properties:
properties: properties:
mkdirs: mkdirs:
items: items:
dir: type: object
$ref: '#/definitions/absolute_path' properties:
permissions: dir:
type: string type: string
owner: permissions:
type: string type: string
group: owner:
type: string type: string
group:
type: string
required: [dir]
additionalProperties: false
files: 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 type: array
required: minItems: 1
- src items:
- dst type: object
properties:
src:
type: string
dst:
type: string
permissions:
type: string
owner:
type: string
group:
type: string
required: [src, dst]
additionalProperties: false
required: required:
- files - files
type: object type: object