annotate schema/request.json @ 67:ada4cd9daaba docrefactor

Pull out serialisedarray schema
author Chris Cannam
date Wed, 05 Oct 2016 09:58:49 +0100
parents 60c53d43a32b
children 8f3ba64ec888
rev   line source
Chris@37 1 {
Chris@37 2 "id": "http://vamp-plugins.org/json/schema/request#",
Chris@37 3 "$schema": "http://json-schema.org/draft-04/schema#",
Chris@37 4 "description": "schema for a simple serialised request",
Chris@37 5 "type": "object",
Chris@37 6 "properties": {
Chris@49 7 "type": {
Chris@37 8 "type": "string"
Chris@37 9 },
Chris@37 10 "content": {
Chris@61 11 "anyOf": [
Chris@61 12 { "$ref": "http://vamp-plugins.org/json/schema/loadrequest#" },
Chris@61 13 { "$ref": "http://vamp-plugins.org/json/schema/configurationrequest#" },
Chris@61 14 { "$ref": "http://vamp-plugins.org/json/schema/processrequest#" },
Chris@61 15 { "$ref": "http://vamp-plugins.org/json/schema/finishrequest#" }
Chris@61 16 ]
Chris@37 17 }
Chris@37 18 },
Chris@49 19 "required": [ "type" ],
Chris@37 20 "additionalProperties": false
Chris@37 21 }
Chris@37 22