annotate json/schema/loadrequest.json @ 172:ee9d66f669d2
Merge JSON and Cap'n Proto schema
author |
Chris Cannam <c.cannam@qmul.ac.uk> |
date |
Fri, 07 Oct 2016 15:42:12 +0100 |
parents |
4c2ff04a89cf |
children |
ffe01c8286c4 |
rev |
line source |
c@171
|
1 {
|
c@171
|
2 "id": "http://vamp-plugins.org/json/schema/loadrequest#",
|
c@171
|
3 "$schema": "http://json-schema.org/draft-04/schema#",
|
c@171
|
4 "description": "schema for a request to load a feature extractor; may be served in the params field of a load-method rpcrequest",
|
c@171
|
5 "type": "object",
|
c@171
|
6 "properties": {
|
c@171
|
7 "key": {
|
c@171
|
8 "type": "string"
|
c@171
|
9 },
|
c@171
|
10 "inputSampleRate": {
|
c@171
|
11 "type": "number"
|
c@171
|
12 },
|
c@171
|
13 "adapterFlags": {
|
c@171
|
14 "type": "array",
|
c@171
|
15 "items": {
|
c@171
|
16 "$ref": "http://vamp-plugins.org/json/schema/enums#/definitions/adapter_flags"
|
c@171
|
17 }
|
c@171
|
18 }
|
c@171
|
19 },
|
c@171
|
20 "required": [ "key", "inputSampleRate" ],
|
c@171
|
21 "additionalProperties": false
|
c@171
|
22 }
|
c@171
|
23
|