annotate json/schema/extractorstaticdata.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 970fd3bd8c92
children
rev   line source
c@171 1 {
dev@202 2 "id": "http://vamp-plugins.org/piper/json/schema/extractorstaticdata#",
c@171 3 "$schema": "http://json-schema.org/draft-04/schema#",
c@171 4 "description": "schema for the static metadata associated with a feature extractor",
c@171 5 "type": "object",
c@171 6 "properties": {
c@171 7 "key": {
c@171 8 "type": "string"
c@171 9 },
c@171 10 "basic": {
c@178 11 "$ref": "http://vamp-plugins.org/piper/json/schema/basic#"
c@171 12 },
c@171 13 "maker": {
c@171 14 "type": "string"
c@171 15 },
cannam@199 16 "rights": {
c@171 17 "type": "string"
c@171 18 },
c@171 19 "version": {
c@171 20 "type": "integer"
c@171 21 },
c@171 22 "category": {
c@171 23 "type": "array",
c@171 24 "items": { "type": "string" }
c@171 25 },
c@171 26 "minChannelCount": {
c@171 27 "type": "integer"
c@171 28 },
c@171 29 "maxChannelCount": {
c@171 30 "type": "integer"
c@171 31 },
c@171 32 "parameters": {
c@171 33 "type": "array",
c@178 34 "items": { "$ref": "http://vamp-plugins.org/piper/json/schema/parameterdescriptor#" }
c@171 35 },
c@171 36 "programs": {
c@171 37 "type": "array",
c@171 38 "items": { "type": "string" }
c@171 39 },
c@171 40 "inputDomain": {
c@178 41 "$ref": "http://vamp-plugins.org/piper/json/schema/enums#/definitions/input_domain"
c@171 42 },
c@171 43 "basicOutputInfo": {
c@171 44 "type": "array",
c@178 45 "items": { "$ref": "http://vamp-plugins.org/piper/json/schema/basic#" }
cannam@206 46 },
cannam@206 47 "staticOutputInfo": {
cannam@206 48 "type": "object",
cannam@206 49 "patternProperties": {
cannam@206 50 "^[a-zA-Z0-9_-]+$": {
cannam@206 51 "$ref": "http://vamp-plugins.org/piper/json/schema/staticoutputdescriptor#"
cannam@206 52 }
cannam@216 53 },
cannam@216 54 "additionalProperties": false
cannam@206 55 }
c@171 56 },
c@171 57 "required": [ "key", "basic", "version",
c@171 58 "minChannelCount", "maxChannelCount",
c@171 59 "inputDomain", "basicOutputInfo" ],
c@171 60 "additionalProperties": false
c@171 61 }
c@171 62