# HG changeset patch # User Chris Cannam # Date 1475670425 -3600 # Node ID bf59f3f70297ceb6262208b420068c50c709607e # Parent 783ac54281de88c69462495a193431879da66bcc Add finish response (even though it's identical to process response) diff -r 783ac54281de -r bf59f3f70297 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 783ac54281de -r bf59f3f70297 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 +} +