Mercurial > hg > piper
view schema/configuredoutputdescriptor.json @ 63:8f3ba64ec888 jsonrpc
Start reworking request-response into json-rpc format
author | Chris Cannam |
---|---|
date | Wed, 05 Oct 2016 09:19:05 +0100 |
parents | a0a6cc6c72cb |
children | 0c8629d9855d |
line wrap: on
line source
{ "id": "http://vamp-plugins.org/json/schema/configuredoutputdescriptor#", "$schema": "http://json-schema.org/draft-04/schema#", "description": "schema for the non-static fields of a Vamp::Plugin::OutputDescriptor serialisation", "type": "object", "properties": { "unit": { "type": "string" }, "binCount": { "type": "integer" }, "binNames": { "type": "array", "items": { "type": "string" } }, "extents": { "type": "object", "properties": { "min": { "type": "number" }, "max": { "type": "number" } }, "required": [ "min", "max" ], "additionalProperties": false }, "quantizeStep": { "type": "number" }, "sampleType": { "$ref": "http://vamp-plugins.org/json/schema/enums#/definitions/sample_type" }, "sampleRate": { "type": "number" }, "hasDuration": { "type": "boolean" } }, "required": [ "sampleType", "hasDuration" ], "additionalProperties": false }