annotate json/schema/rpcrequest.json @ 86:1f4ed70d8f1e piperurl

Switch json/schema to piper/json/schema in URLs
author Chris Cannam
date Wed, 02 Nov 2016 10:49:45 +0000
parents f044f6a309e0
children
rev   line source
Chris@37 1 {
Chris@86 2 "id": "http://vamp-plugins.org/piper/json/schema/rpcrequest#",
Chris@37 3 "$schema": "http://json-schema.org/draft-04/schema#",
Chris@63 4 "description": "schema for a serialised request compatible with JSON-RPC",
Chris@37 5 "type": "object",
Chris@37 6 "properties": {
Chris@63 7 "method": {
Chris@37 8 "type": "string"
Chris@37 9 },
Chris@63 10 "params": {
Chris@61 11 "anyOf": [
Chris@86 12 { "$ref": "http://vamp-plugins.org/piper/json/schema/listrequest#" },
Chris@86 13 { "$ref": "http://vamp-plugins.org/piper/json/schema/loadrequest#" },
Chris@86 14 { "$ref": "http://vamp-plugins.org/piper/json/schema/configurationrequest#" },
Chris@86 15 { "$ref": "http://vamp-plugins.org/piper/json/schema/processrequest#" },
Chris@86 16 { "$ref": "http://vamp-plugins.org/piper/json/schema/finishrequest#" }
Chris@61 17 ]
Chris@63 18 },
Chris@63 19 "id": {
Chris@63 20 "anyOf": [
Chris@63 21 { "type": "string" },
Chris@63 22 { "type": "number" }
Chris@63 23 ]
Chris@63 24 },
Chris@63 25 "jsonrpc": {
Chris@63 26 "type": "string"
Chris@63 27 }
Chris@37 28 },
Chris@63 29 "required": [ "method" ],
Chris@37 30 "additionalProperties": false
Chris@37 31 }
Chris@37 32