view schema/processinput.json @ 63:8f3ba64ec888 jsonrpc

Start reworking request-response into json-rpc format
author Chris Cannam
date Wed, 05 Oct 2016 09:19:05 +0100
parents a444a851bd67
children 4e9ea8f177b6
line wrap: on
line source
{
    "id": "http://vamp-plugins.org/json/schema/processinput#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "schema for a serialised input into a plugin process call",
    "type": "object",
    "properties": {
	"timestamp": {
	    "$ref": "http://vamp-plugins.org/json/schema/realtime#"
	},
	"inputBuffers": {
	    "type": "array",
	    "items": {
                "anyOf": [
                    {
			"type": "array",
			"items": { "type": "number" }
		    },
                    {
		        "type": "string",
                        "pattern": "^[a-zA-Z0-9+/]*=*$"
		    }
                ]
	    }
	}
    },
    "additionalProperties": false
}