view json/schema/serialisedarray.json @ 216:72a3b8faba89 tip master

programParameters should not have a pattern enforced on its keys - a program name can be anything
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 08 Apr 2020 14:57:24 +0100
parents ffe01c8286c4
children
line wrap: on
line source
{
    "id": "http://vamp-plugins.org/piper/json/schema/serialisedarray#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "schema for alternate serialisations of an array of floating-point values",
    "anyOf": [
        {
	    "type": "array",
	    "items": { "type": "number" }
	},
        {
	    "type": "string",
            "media": {
                "binaryEncoding": "base64",
                "type": "application/octet-stream"
            }
	}
    ]
}