Mercurial > hg > piper
annotate schema/serialisedarray.json @ 67:ada4cd9daaba docrefactor
Pull out serialisedarray schema
author | Chris Cannam |
---|---|
date | Wed, 05 Oct 2016 09:58:49 +0100 |
parents | |
children |
rev | line source |
---|---|
Chris@67 | 1 { |
Chris@67 | 2 "id": "http://vamp-plugins.org/json/schema/serialisedarray#", |
Chris@67 | 3 "$schema": "http://json-schema.org/draft-04/schema#", |
Chris@67 | 4 "description": "schema for alternate serialisations of an array of floating-point values", |
Chris@67 | 5 "anyOf": [ |
Chris@67 | 6 { |
Chris@67 | 7 "type": "array", |
Chris@67 | 8 "items": { "type": "number" } |
Chris@67 | 9 }, |
Chris@67 | 10 { |
Chris@67 | 11 "type": "string", |
Chris@67 | 12 "media": { |
Chris@67 | 13 "binaryEncoding": "base64", |
Chris@67 | 14 "type": "application/octet-stream" |
Chris@67 | 15 } |
Chris@67 | 16 } |
Chris@67 | 17 ] |
Chris@67 | 18 } |
Chris@67 | 19 |
Chris@67 | 20 |