annotate json/schema/loadresponse.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 {
|
c@178
|
2 "id": "http://vamp-plugins.org/piper/json/schema/loadresponse#",
|
c@171
|
3 "$schema": "http://json-schema.org/draft-04/schema#",
|
c@176
|
4 "description": "schema for a successful response to a request to load a feature extractor; may be served in the result field of a load-method rpcresponse",
|
c@171
|
5 "type": "object",
|
c@171
|
6 "properties": {
|
c@171
|
7 "handle": {
|
c@171
|
8 "type": "number"
|
c@171
|
9 },
|
c@171
|
10 "staticData": {
|
c@178
|
11 "$ref": "http://vamp-plugins.org/piper/json/schema/extractorstaticdata#"
|
c@171
|
12 },
|
c@171
|
13 "defaultConfiguration": {
|
c@178
|
14 "$ref": "http://vamp-plugins.org/piper/json/schema/configuration#"
|
cannam@214
|
15 },
|
cannam@214
|
16 "programParameters": {
|
cannam@214
|
17 "type": "object",
|
cannam@216
|
18 "additionalProperties": {
|
cannam@216
|
19 "type": "object",
|
cannam@216
|
20 "patternProperties": {
|
cannam@216
|
21 "^[a-zA-Z0-9_-]+$": {
|
cannam@216
|
22 "type": "number"
|
cannam@214
|
23 }
|
cannam@216
|
24 },
|
cannam@216
|
25 "additionalProperties": false
|
cannam@214
|
26 }
|
cannam@214
|
27 }
|
c@171
|
28 },
|
c@176
|
29 "required": [ "handle", "staticData", "defaultConfiguration" ],
|
c@171
|
30 "additionalProperties": false
|
c@171
|
31 }
|
c@171
|
32
|