Mercurial > hg > piper
diff json/schema/loadrequest.json @ 171:4c2ff04a89cf
Move to subdirectory
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 07 Oct 2016 15:41:23 +0100 |
parents | |
children | ffe01c8286c4 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/json/schema/loadrequest.json Fri Oct 07 15:41:23 2016 +0100 @@ -0,0 +1,23 @@ +{ + "id": "http://vamp-plugins.org/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/json/schema/enums#/definitions/adapter_flags" + } + } + }, + "required": [ "key", "inputSampleRate" ], + "additionalProperties": false +} +