view json/schema/configurationrequest.json @ 214:970fd3bd8c92

Ah, the programParameters can't be static data because parameter values in general (e.g. the default configuration) aren't known until construction - and we can't query the program-parameter relationship from e.g. static Vamp plugin data either. Move to the load response structure.
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 07 Apr 2020 15:40:38 +0100
parents ffe01c8286c4
children
line wrap: on
line source
{
    "id": "http://vamp-plugins.org/piper/json/schema/configurationrequest#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "schema for a request to configure a feature extractor; may be served in the params field of a configure-method rpcrequest",
    "type": "object",
    "properties": {
	"handle": {
	    "type": "number"
	},
	"configuration": {
	    "$ref": "http://vamp-plugins.org/piper/json/schema/configuration#"
	}
    },
    "required": [ "handle", "configuration" ],
    "additionalProperties": false
}