From 2b6dc47b90dfe99f84d70129686e9c8b801e68c2 Mon Sep 17 00:00:00 2001 From: The Fox in the Shell Date: Fri, 11 Mar 2016 03:03:34 +0100 Subject: [PATCH] manifest-schema.yml: Fixup uses of minItems in objects --- 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 0bd0e5e..dcffd81 100644 --- a/bootstrapvz/base/manifest-schema.yml +++ b/bootstrapvz/base/manifest-schema.yml @@ -98,7 +98,7 @@ properties: required: [pin, package, pin-priority] additionalProperties: false minItems: 1 - minItems: 1 + minProperties: 1 additionalProperties: false sources: type: object @@ -109,7 +109,7 @@ properties: pattern: ^(deb|deb-src)\s+(\[\s*(.+\S)?\s*\]\s+)?\S+\s+\S+(\s+(.+\S))?\s*$ minItems: 1 type: array - minItems: 1 + minProperties: 1 additionalProperties: false trusted-keys: type: array