view json/schema/serialisedarray.json @ 80:420e9248e7b9

README
author Chris Cannam
date Fri, 07 Oct 2016 15:55:51 +0100
parents f044f6a309e0
children 1f4ed70d8f1e
line wrap: on
line source
{
    "id": "http://vamp-plugins.org/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"
            }
	}
    ]
}