# HG changeset patch # User Chris Cannam # Date 1458212503 0 # Node ID 4965e7a462b44150600672eaaf8a202d25b6aac1 # Parent 0f7b1f4c52ad54bcdfc46d298aca97ea736994b2 Configuration response, & some doc notes diff -r 0f7b1f4c52ad -r 4965e7a462b4 examples/configurationresponse.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/configurationresponse.json Thu Mar 17 11:01:43 2016 +0000 @@ -0,0 +1,1 @@ +{"outputList": [{"basic": {"description": "Percussive note onset locations", "identifier": "onsets", "name": "Onsets"}, "binCount": 0, "binNames": [], "hasDuration": false, "sampleRate": 44100, "sampleType": "VariableSampleRate", "unit": ""}, {"basic": {"description": "Broadband energy rise detection function", "identifier": "detectionfunction", "name": "Detection Function"}, "binCount": 1, "binNames": [""], "hasDuration": false, "quantizeStep": 1, "sampleRate": 44100, "sampleType": "OneSamplePerStep", "unit": ""}]} diff -r 0f7b1f4c52ad -r 4965e7a462b4 schema/configurationresponse.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schema/configurationresponse.json Thu Mar 17 11:01:43 2016 +0000 @@ -0,0 +1,15 @@ +{ + "id": "http://vamp-plugins.org/json/schema/configurationresponse#", + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "schema for a serialised response to a request to configure a Vamp plugin; normally served as the response field of an object matching the plain response schema", + "type": "object", + "properties": { + "outputList": { + "type": "array", + "items": { "$ref": "http://vamp-plugins.org/json/schema/outputdescriptor#" } + } + }, + "required": [ "outputList" ], + "additionalProperties": false +} + diff -r 0f7b1f4c52ad -r 4965e7a462b4 schema/loadresponse.json --- a/schema/loadresponse.json Wed Mar 16 16:58:25 2016 +0000 +++ b/schema/loadresponse.json Thu Mar 17 11:01:43 2016 +0000 @@ -1,7 +1,7 @@ { "id": "http://vamp-plugins.org/json/schema/loadresponse#", "$schema": "http://json-schema.org/draft-04/schema#", - "description": "schema for a serialised response to a load request for a Vamp Plugin", + "description": "schema for a serialised response to a load request for a Vamp Plugin; normally served as the response field of an object matching the plain response schema", "type": "object", "properties": { "pluginHandle": {