annotate schema/parameterdescriptor.json @ 67:ada4cd9daaba
docrefactor
Pull out serialisedarray schema
author |
Chris Cannam |
date |
Wed, 05 Oct 2016 09:58:49 +0100 |
parents |
b3a5950ebb3f |
children |
0c8629d9855d |
rev |
line source |
Chris@26
|
1 {
|
Chris@26
|
2 "id": "http://vamp-plugins.org/json/schema/parameterdescriptor#",
|
Chris@26
|
3 "$schema": "http://json-schema.org/draft-04/schema#",
|
Chris@26
|
4 "description": "schema for a Vamp::PluginBase::ParameterDescriptor serialisation",
|
Chris@26
|
5 "type": "object",
|
Chris@26
|
6 "properties": {
|
Chris@26
|
7 "basic": {
|
Chris@26
|
8 "$ref": "http://vamp-plugins.org/json/schema/basic#"
|
Chris@26
|
9 },
|
Chris@26
|
10 "unit": {
|
Chris@26
|
11 "type": "string"
|
Chris@26
|
12 },
|
Chris@26
|
13 "extents": {
|
Chris@26
|
14 "$ref": "http://vamp-plugins.org/json/schema/valueextents#"
|
Chris@26
|
15 },
|
Chris@26
|
16 "defaultValue": {
|
Chris@26
|
17 "type": "number"
|
Chris@26
|
18 },
|
Chris@26
|
19 "quantizeStep": {
|
Chris@26
|
20 "type": "number"
|
Chris@26
|
21 },
|
Chris@26
|
22 "valueNames": {
|
Chris@26
|
23 "type": "array",
|
Chris@26
|
24 "items": { "type": "string" }
|
Chris@26
|
25 }
|
Chris@26
|
26 },
|
Chris@26
|
27 "required": [ "basic", "extents", "defaultValue" ],
|
Chris@26
|
28 "additionalProperties": false
|
Chris@26
|
29 }
|
Chris@26
|
30
|