diff --git a/bootstrapvz/plugins/file_copy/manifest-schema.yml b/bootstrapvz/plugins/file_copy/manifest-schema.yml index 0a65dde..452bcc7 100644 --- a/bootstrapvz/plugins/file_copy/manifest-schema.yml +++ b/bootstrapvz/plugins/file_copy/manifest-schema.yml @@ -7,31 +7,38 @@ properties: properties: mkdirs: items: - dir: - $ref: '#/definitions/absolute_path' - permissions: - type: string - owner: - type: string - group: - type: string + type: object + properties: + dir: + type: string + permissions: + type: string + owner: + type: string + group: + type: string + required: [dir] + additionalProperties: false + 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 + minItems: 1 + items: + type: object + properties: + src: + type: string + dst: + type: string + permissions: + type: string + owner: + type: string + group: + type: string + required: [src, dst] + additionalProperties: false + required: - files type: object