# HG changeset patch # User Chris Cannam # Date 1457960641 0 # Node ID c8098703fcc5ce61085f4add3ee8631bc58c6f6b # Parent 216a78d1fa52881518b61c19a8fc2c02fb089349 Feature set is a map, i.e. an object, with output number as key and feature list as value diff -r 216a78d1fa52 -r c8098703fcc5 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 }