From adda08827b2433dd7baf5f0ca283520e09d0e8ec Mon Sep 17 00:00:00 2001 From: Johan Euphrosine Date: Wed, 2 Jul 2014 11:21:21 -0700 Subject: [PATCH] api/doc/manifest-schema: move required attribute before properties --- api/doc/manifest-schema.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/doc/manifest-schema.json b/api/doc/manifest-schema.json index 1d8865d93be..03546d3123b 100644 --- a/api/doc/manifest-schema.json +++ b/api/doc/manifest-schema.json @@ -110,16 +110,16 @@ "uniqueItems": true, "items": { "type": "object", + "required": [ + "name" + ], "properties": { "name": { "type": "string", "description" : "The name of the volume. Must be an RFC1035 compatible value (a single segment of a DNS name). All volumes must have unique names. These are referenced by `containers[].volumeMounts[].name`.", "pattern": "^[a-z]([-a-z0-9]*[a-z0-9])*" } - }, - "required": [ - "name" - ] + } } } }