view json/schema/configuration.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 cd09c8b676ab
children
line wrap: on
line source
{
    "id": "http://vamp-plugins.org/piper/json/schema/configuration#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "schema for a bundle of configuration data capturing the setup of a feature extractor",
    "type": "object",
    "properties": {
	"parameterValues": {
	    "type": "object",
	    "patternProperties": {
		"^[a-zA-Z0-9_-]+$": {
		    "type": "number"
		}
	    },
	    "additionalProperties": false
	},
	"currentProgram": {
	    "type": "string"
	},
	"channelCount": {
	    "type": "integer"
	},
        "framing": {
	    "$ref": "http://vamp-plugins.org/piper/json/schema/framing#"
        }
    },
    "required": [ "channelCount", "framing" ],
    "additionalProperties": false
}