Mercurial > hg > piper
view schema/response.json @ 67:ada4cd9daaba docrefactor
Pull out serialisedarray schema
author | Chris Cannam |
---|---|
date | Wed, 05 Oct 2016 09:58:49 +0100 |
parents | 60c53d43a32b |
children | 8f3ba64ec888 |
line wrap: on
line source
{ "id": "http://vamp-plugins.org/json/schema/response#", "$schema": "http://json-schema.org/draft-04/schema#", "description": "schema for a success or failure response to a request", "type": "object", "properties": { "type": { "type": "string" }, "success": { "type": "boolean" }, "errorText": { "type": "string" }, "content": { "anyOf": [ { "$ref": "http://vamp-plugins.org/json/schema/listresponse#" }, { "$ref": "http://vamp-plugins.org/json/schema/loadresponse#" }, { "$ref": "http://vamp-plugins.org/json/schema/configurationresponse#" }, { "$ref": "http://vamp-plugins.org/json/schema/processresponse#" }, { "$ref": "http://vamp-plugins.org/json/schema/finishresponse#" } ] } }, "required": [ "type", "success" ], "additionalProperties": false }