view json/schema/loadrequest.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 ffe01c8286c4
children
line wrap: on
line source
{
    "id": "http://vamp-plugins.org/piper/json/schema/loadrequest#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "schema for a request to load a feature extractor; may be served in the params field of a load-method rpcrequest",
    "type": "object",
    "properties": {
	"key": {
	    "type": "string"
	},
	"inputSampleRate": {
	    "type": "number"
	},
	"adapterFlags": {
	    "type": "array",
	    "items": {
		"$ref": "http://vamp-plugins.org/piper/json/schema/enums#/definitions/adapter_flags"
	    }
	}
    },
    "required": [ "key", "inputSampleRate" ],
    "additionalProperties": false
}