Mercurial > hg > piper
diff 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 |
line wrap: on
line diff
--- a/schema/processinput.json Wed Oct 05 09:42:26 2016 +0100 +++ b/schema/processinput.json Wed Oct 05 09:58:49 2016 +0100 @@ -10,28 +10,11 @@ "inputBuffers": { "type": "array", "items": { - "$ref": "#/definitions/serialisedArray" + "$ref": "http://vamp-plugins.org/json/schema/serialisedarray#" } } }, - "additionalProperties": false, - "definitions": { - "serialisedArray": { - "anyOf": [ - { - "type": "array", - "items": { "type": "number" } - }, - { - "type": "string", - "media": { - "binaryEncoding": "base64", - "type": "application/octet-stream" - } - } - ] - } - } + "additionalProperties": false }