From 219d92909ada95d1a5d0ab98a5b6ab55b7fc82ea Mon Sep 17 00:00:00 2001 From: Gismo Ranas Date: Wed, 15 Jul 2015 15:53:07 +0200 Subject: [PATCH] Update marathon-group-schema.json $ python --version Python 2.7.9 The validation did not work with "properties": {}. I got either this: Error: missing required property 'key'. Error: missing required property 'value'. Or this: Error: Additional properties are not allowed ('key' was unexpected) Error: Additional properties are not allowed ('value' was unexpected) --- cli/dcoscli/data/marathon-group-schema.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cli/dcoscli/data/marathon-group-schema.json b/cli/dcoscli/data/marathon-group-schema.json index d31d6ec..d9724b7 100644 --- a/cli/dcoscli/data/marathon-group-schema.json +++ b/cli/dcoscli/data/marathon-group-schema.json @@ -62,7 +62,14 @@ "parameters": { "items": { "additionalProperties": false, - "properties": {}, + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, "required": [ "key", "value"