view schema/loadrequest.json @ 113:65f05b129422

Add the few remaining examples
author Chris Cannam <c.cannam@qmul.ac.uk>
date Wed, 11 May 2016 13:59:23 +0100
parents 17d6e8f89bc2
children 6ed502816e14
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": {
	"key": {
	    "type": "string"
	},
	"inputSampleRate": {
	    "type": "number"
	},
	"adapterFlags": {
	    "type": "array",
	    "items": {
		"$ref": "http://vamp-plugins.org/json/schema/enums#/definitions/adapter_flags"
	    }
	}
    },
    "required": [ "key", "inputSampleRate" ],
    "additionalProperties": false
}