# HG changeset patch # User Chris Cannam # Date 1475671948 -3600 # Node ID a4870eff778b87971791b7c639c94dccea9a1076 # Parent d1638aefce5d3cbdd1925f1aa729cc684ef367ab Add list request to schema diff -r d1638aefce5d -r a4870eff778b examples/listrequest.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/listrequest.json Wed Oct 05 13:52:28 2016 +0100 @@ -0,0 +1,1 @@ +{} diff -r d1638aefce5d -r a4870eff778b schema/listrequest.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schema/listrequest.json Wed Oct 05 13:52:28 2016 +0100 @@ -0,0 +1,9 @@ +{ + "id": "http://vamp-plugins.org/json/schema/listrequest#", + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "schema for a serialised list request for feature extractors; normally served as the content field of an object matching the plain request schema", + "type": "object", + "properties": { + }, + "additionalProperties": false +} diff -r d1638aefce5d -r a4870eff778b schema/request.json --- a/schema/request.json Wed Oct 05 13:27:05 2016 +0100 +++ b/schema/request.json Wed Oct 05 13:52:28 2016 +0100 @@ -9,6 +9,7 @@ }, "params": { "anyOf": [ + { "$ref": "http://vamp-plugins.org/json/schema/listrequest#" }, { "$ref": "http://vamp-plugins.org/json/schema/loadrequest#" }, { "$ref": "http://vamp-plugins.org/json/schema/configurationrequest#" }, { "$ref": "http://vamp-plugins.org/json/schema/processrequest#" },