# HG changeset patch # User Chris Cannam # Date 1475671948 -3600 # Node ID 7af4aef46c1d6eb946365d27abc0841fd235a592 # Parent bf59f3f70297ceb6262208b420068c50c709607e Add list request to schema diff -r bf59f3f70297 -r 7af4aef46c1d 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 bf59f3f70297 -r 7af4aef46c1d 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 bf59f3f70297 -r 7af4aef46c1d 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#" },