Mercurial > hg > piper
view json/schema/loadrequest.json @ 172:ee9d66f669d2
Merge JSON and Cap'n Proto schema
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 07 Oct 2016 15:42:12 +0100 |
parents | 4c2ff04a89cf |
children | ffe01c8286c4 |
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 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 }