view schema/loadrequest.json @ 51:944a65cd4314 outputid-string-in-featureset

Make RequestResponse types more consistent by adding plugin to ConfigurationResponse and introducing a FinishRequest
author Chris Cannam
date Mon, 19 Sep 2016 13:35:56 +0100
parents 6ed502816e14
children 0c8629d9855d
line wrap: on
line source
{
    "id": "http://vamp-plugins.org/json/schema/loadrequest#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "schema for a serialised load request for a Vamp Plugin; normally served as the content field of an object matching the plain request schema",
    "type": "object",
    "properties": {
	"pluginKey": {
	    "type": "string"
	},
	"inputSampleRate": {
	    "type": "number"
	},
	"adapterFlags": {
	    "type": "array",
	    "items": {
		"$ref": "http://vamp-plugins.org/json/schema/enums#/definitions/adapter_flags"
	    }
	}
    },
    "required": [ "pluginKey", "inputSampleRate" ],
    "additionalProperties": false
}