view json/schema/loadrequest.json @ 89:3bb643b45735

Copyright date, minor tweak
author Chris Cannam
date Thu, 19 Jan 2017 09:30:19 +0000
parents 1f4ed70d8f1e
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
}