view json/schema/loadrequest.json @ 208:01b5abe6f170

Merge branch 'output-type-uri'
author Chris Cannam <cannam@all-day-breakfast.com>
date Thu, 15 Jun 2017 09:51:16 +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
}