# HG changeset patch # User Chris Cannam # Date 1457537021 0 # Node ID d86881046395573c04ce6493cf0301e36ef7e44c # Parent 6ff2abfeb379de47b789dc473ba31860b6a2d1db Load request/response diff -r 6ff2abfeb379 -r d86881046395 schema/loadrequest.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schema/loadrequest.json Wed Mar 09 15:23:41 2016 +0000 @@ -0,0 +1,20 @@ +{ + "id": "http://vamp-plugins.org/json/schema/loadrequest#", + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "schema for a serialised load request for a Vamp Plugin", + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "inputSampleRate": { + "type": "number" + }, + "adapterFlags": { + "$ref": "http://vamp-plugins.org/json/schema/enums#/definitions/adapter_flags" + } + }, + "required": [ "key", "inputSampleRate" ], + "additionalProperties": false +} + diff -r 6ff2abfeb379 -r d86881046395 schema/loadresponse.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schema/loadresponse.json Wed Mar 09 15:23:41 2016 +0000 @@ -0,0 +1,23 @@ +{ + "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", + "type": "object", + "properties": { + "pluginHandle": { + "type": "number" + }, + "staticData": { + "$ref": "http://vamp-plugins.org/json/schema/pluginstaticdata#" + }, + "defaultConfiguration": { + "$ref": "http://vamp-plugins.org/json/schema/pluginconfiguration#" + }, + "errorText": { + "type": "string" + } + }, + "required": [ ], + "additionalProperties": false +} +