# HG changeset patch # User Chris Cannam # Date 1475670425 -3600 # Node ID d1638aefce5d3cbdd1925f1aa729cc684ef367ab # Parent f8b72a20cfcd24caf1b5b7416c2ca52e43a41ff6 Add finish response (even though it's identical to process response) diff -r f8b72a20cfcd -r d1638aefce5d examples/finishresponse.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/finishresponse.json Wed Oct 05 13:27:05 2016 +0100 @@ -0,0 +1,2 @@ +{"pluginHandle":12345,"features":{"outputid": [{"featureValues": [1,2,3], "timestamp": {"n": 141590000, "s": 3}}]}} + diff -r f8b72a20cfcd -r d1638aefce5d schema/finishresponse.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schema/finishresponse.json Wed Oct 05 13:27:05 2016 +0100 @@ -0,0 +1,17 @@ +{ + "id": "http://vamp-plugins.org/json/schema/finishresponse#", + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "schema for a serialised response from finishing processing with a Vamp plugin; normally served as the content field of an object matching the plain response schema", + "type": "object", + "properties": { + "pluginHandle": { + "type": "number" + }, + "features": { + "$ref": "http://vamp-plugins.org/json/schema/featureset#" + } + }, + "required": [ "pluginHandle", "features" ], + "additionalProperties": false +} +