comparison json/schema/loadresponse.json @ 216:72a3b8faba89 tip master

programParameters should not have a pattern enforced on its keys - a program name can be anything
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 08 Apr 2020 14:57:24 +0100
parents 970fd3bd8c92
children
comparison
equal deleted inserted replaced
215:8923b382c055 216:72a3b8faba89
13 "defaultConfiguration": { 13 "defaultConfiguration": {
14 "$ref": "http://vamp-plugins.org/piper/json/schema/configuration#" 14 "$ref": "http://vamp-plugins.org/piper/json/schema/configuration#"
15 }, 15 },
16 "programParameters": { 16 "programParameters": {
17 "type": "object", 17 "type": "object",
18 "patternProperties": { 18 "additionalProperties": {
19 "^[a-zA-Z0-9_-]+$": { 19 "type": "object",
20 "type": "object", 20 "patternProperties": {
21 "patternProperties": { 21 "^[a-zA-Z0-9_-]+$": {
22 "^[a-zA-Z0-9_-]+$": { 22 "type": "number"
23 "type": "number"
24 }
25 } 23 }
26 } 24 },
25 "additionalProperties": false
27 } 26 }
28 } 27 }
29 }, 28 },
30 "required": [ "handle", "staticData", "defaultConfiguration" ], 29 "required": [ "handle", "staticData", "defaultConfiguration" ],
31 "additionalProperties": false 30 "additionalProperties": false