From 35f1e44087ae17e9fd8a77646adaf37046a5c8f0 Mon Sep 17 00:00:00 2001 From: Michael Gerlach Date: Sat, 10 Dec 2016 16:09:58 +0100 Subject: [PATCH] Fix Schema to require a type in partition-table definition --- bootstrapvz/base/manifest-schema.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrapvz/base/manifest-schema.yml b/bootstrapvz/base/manifest-schema.yml index bf3bd89..1e6f7a9 100644 --- a/bootstrapvz/base/manifest-schema.yml +++ b/bootstrapvz/base/manifest-schema.yml @@ -153,7 +153,7 @@ definitions: properties: root: {$ref: '#/definitions/partition'} type: {enum: [none]} - required: [root] + required: [type, root] additionalProperties: false partition: type: object @@ -178,7 +178,7 @@ definitions: size: {$ref: '#/definitions/bytes'} required: [size] type: {enum: [msdos, gpt]} - required: [root] + required: [type, root] additionalProperties: false path: type: string