view schema/parameterdescriptor.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 b3a5950ebb3f
children 0c8629d9855d
line wrap: on
line source
{
    "id": "http://vamp-plugins.org/json/schema/parameterdescriptor#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "schema for a Vamp::PluginBase::ParameterDescriptor serialisation",
    "type": "object",
    "properties": {
	"basic": {
	    "$ref": "http://vamp-plugins.org/json/schema/basic#"
	},
	"unit": {
	    "type": "string"
	},
	"extents": {
	    "$ref": "http://vamp-plugins.org/json/schema/valueextents#"
	},
	"defaultValue": {
	    "type": "number"
	},
	"quantizeStep": {
	    "type": "number"
	},
	"valueNames": {
	    "type": "array",
	    "items": { "type": "string" }
	}
    },
    "required": [ "basic", "extents", "defaultValue" ],
    "additionalProperties": false
}