annotate 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
rev   line source
c@171 1 {
dev@202 2 "id": "http://vamp-plugins.org/piper/json/schema/configuration#",
c@171 3 "$schema": "http://json-schema.org/draft-04/schema#",
c@171 4 "description": "schema for a bundle of configuration data capturing the setup of a feature extractor",
c@171 5 "type": "object",
c@171 6 "properties": {
c@171 7 "parameterValues": {
c@171 8 "type": "object",
c@171 9 "patternProperties": {
c@171 10 "^[a-zA-Z0-9_-]+$": {
c@171 11 "type": "number"
c@171 12 }
c@171 13 },
c@171 14 "additionalProperties": false
c@171 15 },
c@171 16 "currentProgram": {
c@171 17 "type": "string"
c@171 18 },
c@171 19 "channelCount": {
c@171 20 "type": "integer"
c@171 21 },
cannam@191 22 "framing": {
cannam@191 23 "$ref": "http://vamp-plugins.org/piper/json/schema/framing#"
cannam@191 24 }
c@171 25 },
cannam@191 26 "required": [ "channelCount", "framing" ],
c@171 27 "additionalProperties": false
c@171 28 }
c@171 29