view json/schema/parameterdescriptor.json @ 216:72a3b8faba89 tip master

programParameters should not have a pattern enforced on its keys - a program name can be anything
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 08 Apr 2020 14:57:24 +0100
parents 5e3397af978f
children
line wrap: on
line source
{
    "id": "http://vamp-plugins.org/piper/json/schema/parameterdescriptor#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "schema for metadata about an adjustable parameter of a feature extractor",
    "type": "object",
    "properties": {
	"basic": {
	    "$ref": "http://vamp-plugins.org/piper/json/schema/basic#"
	},
	"unit": {
	    "type": "string"
	},
	"extents": {
	    "$ref": "http://vamp-plugins.org/piper/json/schema/valueextents#"
	},
	"defaultValue": {
	    "type": "number"
	},
	"quantizeStep": {
	    "type": "number"
	},
	"valueNames": {
	    "type": "array",
	    "items": { "type": "string" }
	}
    },
    "required": [ "basic", "extents", "defaultValue" ],
    "additionalProperties": false
}