Mercurial > hg > piper
changeset 24:61975048614a
Feature
author | Chris Cannam |
---|---|
date | Tue, 08 Mar 2016 13:48:52 +0000 |
parents | 9a1d22e14472 |
children | 1bf1ea70e386 |
files | feature.json featureset.json valueextents.json |
diffstat | 3 files changed, 51 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/feature.json Tue Mar 08 13:48:52 2016 +0000 @@ -0,0 +1,27 @@ +{ + "id": "http://vamp-plugins.org/json/schema/feature#", + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "schema for a Vamp::Plugin::Feature serialisation", + "type": "object", + "properties": { + "timestamp": { + "$ref": "http://vamp-plugins.org/json/schema/realtime#" + }, + "duration": { + "$ref": "http://vamp-plugins.org/json/schema/realtime#" + }, + "label": { + "type": "string" + }, + "values": { + "type": "array", + "items": { "type": "number" } + }, + "b64values": { + "type": "string" + } + }, + "additionalProperties": false +} + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/featureset.json Tue Mar 08 13:48:52 2016 +0000 @@ -0,0 +1,11 @@ +{ + "id": "http://vamp-plugins.org/json/schema/featureset#", + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "schema for a Vamp::Plugin::FeatureSet serialisation", + "type": "array", + "items": { + "type": "array", + "items": { "$ref": "http://vamp-plugins.org/json/schema/feature#" } + }, + "additionalProperties": false +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/valueextents.json Tue Mar 08 13:48:52 2016 +0000 @@ -0,0 +1,13 @@ +{ + "id": "http://vamp-plugins.org/json/schema/valueextents#", + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "schema for the extents structure in various Vamp descriptors", + "type": "object", + "properties": { + "min": { "type": "number" }, + "max": { "type": "number" } + }, + "required": [ "min", "max" ], + "additionalProperties": false +} +