view schema/loadrequest.json @ 67:ada4cd9daaba docrefactor

Pull out serialisedarray schema
author Chris Cannam
date Wed, 05 Oct 2016 09:58:49 +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
}