view schema/parameterdescriptor.json @ 113:65f05b129422

Add the few remaining examples
author Chris Cannam <c.cannam@qmul.ac.uk>
date Wed, 11 May 2016 13:59:23 +0100
parents 6f23ee7983e0
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
}