# HG changeset patch # User Chris Cannam # Date 1586354244 -3600 # Node ID 72a3b8faba899cad7dc6b500444b630b1d46360e # Parent 8923b382c0558424473678b1d6dd5763ecfd286d programParameters should not have a pattern enforced on its keys - a program name can be anything diff -r 8923b382c055 -r 72a3b8faba89 json/schema/extractorstaticdata.json --- a/json/schema/extractorstaticdata.json Tue Apr 07 15:42:05 2020 +0100 +++ b/json/schema/extractorstaticdata.json Wed Apr 08 14:57:24 2020 +0100 @@ -50,7 +50,8 @@ "^[a-zA-Z0-9_-]+$": { "$ref": "http://vamp-plugins.org/piper/json/schema/staticoutputdescriptor#" } - } + }, + "additionalProperties": false } }, "required": [ "key", "basic", "version", diff -r 8923b382c055 -r 72a3b8faba89 json/schema/loadresponse.json --- a/json/schema/loadresponse.json Tue Apr 07 15:42:05 2020 +0100 +++ b/json/schema/loadresponse.json Wed Apr 08 14:57:24 2020 +0100 @@ -15,15 +15,14 @@ }, "programParameters": { "type": "object", - "patternProperties": { - "^[a-zA-Z0-9_-]+$": { - "type": "object", - "patternProperties": { - "^[a-zA-Z0-9_-]+$": { - "type": "number" - } + "additionalProperties": { + "type": "object", + "patternProperties": { + "^[a-zA-Z0-9_-]+$": { + "type": "number" } - } + }, + "additionalProperties": false } } },