Chris@36: { Chris@36: "id": "http://vamp-plugins.org/json/schema/response#", Chris@36: "$schema": "http://json-schema.org/draft-04/schema#", Chris@36: "description": "schema for a success or failure response to a request", Chris@36: "type": "object", Chris@36: "properties": { Chris@49: "type": { Chris@49: "type": "string" Chris@49: }, Chris@36: "success": { Chris@36: "type": "boolean" Chris@36: }, Chris@36: "errorText": { Chris@36: "type": "string" Chris@49: }, Chris@49: "content": { Chris@61: "anyOf": [ Chris@61: { "$ref": "http://vamp-plugins.org/json/schema/listresponse#" }, Chris@61: { "$ref": "http://vamp-plugins.org/json/schema/loadresponse#" }, Chris@61: { "$ref": "http://vamp-plugins.org/json/schema/configurationresponse#" }, Chris@61: { "$ref": "http://vamp-plugins.org/json/schema/processresponse#" }, Chris@61: { "$ref": "http://vamp-plugins.org/json/schema/finishresponse#" } Chris@61: ] Chris@36: } Chris@36: }, Chris@49: "required": [ "type", "success" ], Chris@36: "additionalProperties": false Chris@36: } Chris@36: