diff schema/processrequest.json @ 116:1fddeaf62c3b

Add process request (i.e. process block plus plugin handle)
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 16 May 2016 15:46:11 +0100
parents
children 32a4d9731320
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/processrequest.json	Mon May 16 15:46:11 2016 +0100
@@ -0,0 +1,17 @@
+{
+    "id": "http://vamp-plugins.org/json/schema/processrequest#",
+    "$schema": "http://json-schema.org/draft-04/schema#",
+    "description": "schema for a serialised request to process a data block using a Vamp plugin; normally served as the content field of an object matching the plain request schema",
+    "type": "object",
+    "properties": {
+	"pluginHandle": {
+	    "type": "number"
+	},
+	"processBlock": {
+	    "$ref": "http://vamp-plugins.org/json/schema/processblock#"
+	}
+    },
+    "required": [ "pluginHandle", "processBlock" ],
+    "additionalProperties": false
+}
+