# HG changeset patch # User Chris Cannam # Date 1457960641 0 # Node ID a1072b81d50a23b7e5843a5c9d6ba871347509e1 # Parent d86881046395573c04ce6493cf0301e36ef7e44c Feature set is a map, i.e. an object, with output number as key and feature list as value diff -r d86881046395 -r a1072b81d50a schema/featureset.json --- a/schema/featureset.json Wed Mar 09 15:23:41 2016 +0000 +++ b/schema/featureset.json Mon Mar 14 13:04:01 2016 +0000 @@ -2,10 +2,12 @@ "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#" } + "type": "object", + "patternProperties": { + "^[0-9]+$": { + "type": "array", + "items": { "$ref": "http://vamp-plugins.org/json/schema/feature#" } + } }, "additionalProperties": false }