comparison schema/processinput.json @ 67:ada4cd9daaba docrefactor

Pull out serialisedarray schema
author Chris Cannam
date Wed, 05 Oct 2016 09:58:49 +0100
parents 98930c9d54fa
children 0c8629d9855d
comparison
equal deleted inserted replaced
66:98930c9d54fa 67:ada4cd9daaba
8 "$ref": "http://vamp-plugins.org/json/schema/realtime#" 8 "$ref": "http://vamp-plugins.org/json/schema/realtime#"
9 }, 9 },
10 "inputBuffers": { 10 "inputBuffers": {
11 "type": "array", 11 "type": "array",
12 "items": { 12 "items": {
13 "$ref": "#/definitions/serialisedArray" 13 "$ref": "http://vamp-plugins.org/json/schema/serialisedarray#"
14 } 14 }
15 } 15 }
16 }, 16 },
17 "additionalProperties": false, 17 "additionalProperties": false
18 "definitions": {
19 "serialisedArray": {
20 "anyOf": [
21 {
22 "type": "array",
23 "items": { "type": "number" }
24 },
25 {
26 "type": "string",
27 "media": {
28 "binaryEncoding": "base64",
29 "type": "application/octet-stream"
30 }
31 }
32 ]
33 }
34 }
35 } 18 }
36 19
37 20