view 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
line wrap: on
line source
{
    "id": "http://vamp-plugins.org/json/schema/request#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "schema for a simple serialised request",
    "type": "object",
    "properties": {
	"type": {
	    "type": "string"
	},
	"content": {
            "anyOf": [
                { "$ref": "http://vamp-plugins.org/json/schema/loadrequest#" },
                { "$ref": "http://vamp-plugins.org/json/schema/configurationrequest#" },
                { "$ref": "http://vamp-plugins.org/json/schema/processrequest#" },
                { "$ref": "http://vamp-plugins.org/json/schema/finishrequest#" }
            ]                
	}
    },
    "required": [ "type" ],
    "additionalProperties": false
}