view json/schema/loadrequest.json @ 203:38ed3dcdbe21

Merge pull request #2 from piper-audio/fix/schema-typos Fix id fields not updated after previous renaming.
author Chris Cannam <cannam@all-day-breakfast.com>
date Mon, 20 Feb 2017 19:58:13 +0000
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
}