view json/schema/serialisedarray.json @ 86:1f4ed70d8f1e piperurl

Switch json/schema to piper/json/schema in URLs
author Chris Cannam
date Wed, 02 Nov 2016 10:49:45 +0000
parents f044f6a309e0
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"
            }
	}
    ]
}