Mercurial > hg > piper
view 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 |
line wrap: on
line source
{ "id": "http://vamp-plugins.org/piper/json/schema/loadresponse#", "$schema": "http://json-schema.org/draft-04/schema#", "description": "schema for a successful response to a request to load a feature extractor; may be served in the result field of a load-method rpcresponse", "type": "object", "properties": { "handle": { "type": "number" }, "staticData": { "$ref": "http://vamp-plugins.org/piper/json/schema/extractorstaticdata#" }, "defaultConfiguration": { "$ref": "http://vamp-plugins.org/piper/json/schema/configuration#" }, "programParameters": { "type": "object", "additionalProperties": { "type": "object", "patternProperties": { "^[a-zA-Z0-9_-]+$": { "type": "number" } }, "additionalProperties": false } } }, "required": [ "handle", "staticData", "defaultConfiguration" ], "additionalProperties": false }