annotate schema/rpcresponse.json @ 75:6b6668cdb016 jsonrpc

Remove the term "plugin" in various places
author Chris Cannam
date Thu, 06 Oct 2016 13:38:16 +0100
parents 0c8629d9855d
children
rev   line source
Chris@36 1 {
Chris@73 2 "id": "http://vamp-plugins.org/json/schema/rpcresponse#",
Chris@36 3 "$schema": "http://json-schema.org/draft-04/schema#",
Chris@74 4 "description": "schema for a serialised response to an RPC request; compatible with JSON-RPC, except that the method name must be included here as well as in the request",
Chris@36 5 "type": "object",
Chris@69 6 "oneOf": [ {
Chris@69 7 "properties": {
Chris@70 8 "method": {
Chris@70 9 "type": "string"
Chris@70 10 },
Chris@69 11 "result": {
Chris@69 12 "anyOf": [
Chris@69 13 { "$ref": "http://vamp-plugins.org/json/schema/listresponse#" },
Chris@69 14 { "$ref": "http://vamp-plugins.org/json/schema/loadresponse#" },
Chris@69 15 { "$ref": "http://vamp-plugins.org/json/schema/configurationresponse#" },
Chris@69 16 { "$ref": "http://vamp-plugins.org/json/schema/processresponse#" },
Chris@69 17 { "$ref": "http://vamp-plugins.org/json/schema/finishresponse#" }
Chris@69 18 ]
Chris@69 19 },
Chris@69 20 "id": {
Chris@69 21 "anyOf": [
Chris@69 22 { "type": "string" },
Chris@69 23 { "type": "number" }
Chris@69 24 ]
Chris@63 25 },
Chris@69 26 "jsonrpc": {
Chris@69 27 "type": "string"
Chris@69 28 }
Chris@63 29 },
Chris@70 30 "required": [ "method", "result" ],
Chris@69 31 "additionalProperties": false
Chris@69 32 }, {
Chris@69 33 "properties": {
Chris@70 34 "method": {
Chris@70 35 "type": "string"
Chris@70 36 },
Chris@69 37 "error": {
Chris@69 38 "$ref": "http://vamp-plugins.org/json/schema/error#"
Chris@69 39 },
Chris@69 40 "id": {
Chris@69 41 "anyOf": [
Chris@69 42 { "type": "string" },
Chris@69 43 { "type": "number" }
Chris@69 44 ]
Chris@63 45 },
Chris@69 46 "jsonrpc": {
Chris@69 47 "type": "string"
Chris@69 48 }
Chris@69 49 },
Chris@70 50 "required": [ "method", "error" ],
Chris@69 51 "additionalProperties": false
Chris@69 52 } ]
Chris@36 53 }
Chris@63 54
Chris@63 55