changeset 25:1bf1ea70e386

Move to schema subdir
author Chris Cannam
date Tue, 08 Mar 2016 13:53:47 +0000
parents 61975048614a
children b3a5950ebb3f
files basic.json enums.json feature.json featureset.json outputdescriptor.json realtime.json schema/basic.json schema/enums.json schema/feature.json schema/featureset.json schema/outputdescriptor.json schema/realtime.json schema/valueextents.json valueextents.json
diffstat 14 files changed, 139 insertions(+), 139 deletions(-) [+]
line wrap: on
line diff
--- a/basic.json	Tue Mar 08 13:48:52 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-{
-    "id": "http://vamp-plugins.org/json/schema/basic#",
-    "$schema": "http://json-schema.org/draft-04/schema#",
-    "description": "schema for the basic part of various Vamp descriptors",
-    "type": "object",
-    "properties": {
-	"identifier": { "type": "string" },
-	"name": { "type": "string" },
-	"description": { "type": "string" }
-    },
-    "required": [ "identifier" ],
-    "additionalProperties": false
-}
--- a/enums.json	Tue Mar 08 13:48:52 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-{
-    "id": "http://vamp-plugins.org/json/schema/enums#",
-    "$schema": "http://json-schema.org/draft-04/schema#",
-    "description": "schema for Vamp serialisation enums",
-    "definitions": {
-	"input_domain": {
-	    "enum": [ "TimeDomain", "FrequencyDomain" ]
-	},
-	"sample_type": {
-	    "enum": [ "OneSamplePerStep", "FixedSampleRate", "VariableSampleRate" ]
-	},
-	"adapter_flags": {
-	    "enum": [ "AdaptNone", "AdaptInputDomain", "AdaptChannelCount",
-		      "AdaptBufferSize", "AdaptAllSafe", "AdaptAll" ]
-	}
-    }
-}
--- a/feature.json	Tue Mar 08 13:48:52 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-{
-    "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
-}
-
-	
--- a/featureset.json	Tue Mar 08 13:48:52 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-{
-    "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
-}
--- a/outputdescriptor.json	Tue Mar 08 13:48:52 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-{
-    "id": "http://vamp-plugins.org/json/schema/outputdescriptor#",
-    "$schema": "http://json-schema.org/draft-04/schema#",
-    "description": "schema for a Vamp::Plugin::OutputDescriptor serialisation",
-    "type": "object",
-    "properties": {
-	"basic": {
-	    "$ref": "http://vamp-plugins.org/json/schema/basic#"
-	},
-	"unit": {
-	    "type": "string"
-	},
-	"binCount": {
-	    "type": "integer"
-	},
-	"binNames": {
-	    "type": "array",
-	    "items": { "type": "string" }
-	},
-	"extents": {
-	    "type": "object",
-	    "properties": {
-		"min": { "type": "number" },
-		"max": { "type": "number" }
-	    },
-	    "required": [ "min", "max" ],
-	    "additionalProperties": false
-	},
-	"quantizeStep": {
-	    "type": "number"
-	},
-	"sampleType": {
-	    "$ref": "http://vamp-plugins.org/json/schema/enums#/definitions/sample_type"
-	},
-	"sampleRate": {
-	    "type": "number"
-	},
-	"hasDuration": {
-	    "type": "boolean"
-	}
-    },
-    "required": [ "basic", "sampleType", "hasDuration" ],
-    "additionalProperties": false
-}
-
--- a/realtime.json	Tue Mar 08 13:48:52 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-{
-    "id": "http://vamp-plugins.org/json/schema/realtime#",
-    "$schema": "http://json-schema.org/draft-04/schema#",
-    "description": "schema for a Vamp::RealTime serialisation",
-    "type": "object",
-    "properties": {
-	"s": { "type": "integer" },
-	"n": { "type": "integer" }
-    },
-    "required": [ "s", "n" ],
-    "additionalProperties": false
-}
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/basic.json	Tue Mar 08 13:53:47 2016 +0000
@@ -0,0 +1,13 @@
+{
+    "id": "http://vamp-plugins.org/json/schema/basic#",
+    "$schema": "http://json-schema.org/draft-04/schema#",
+    "description": "schema for the basic part of various Vamp descriptors",
+    "type": "object",
+    "properties": {
+	"identifier": { "type": "string" },
+	"name": { "type": "string" },
+	"description": { "type": "string" }
+    },
+    "required": [ "identifier" ],
+    "additionalProperties": false
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/enums.json	Tue Mar 08 13:53:47 2016 +0000
@@ -0,0 +1,17 @@
+{
+    "id": "http://vamp-plugins.org/json/schema/enums#",
+    "$schema": "http://json-schema.org/draft-04/schema#",
+    "description": "schema for Vamp serialisation enums",
+    "definitions": {
+	"input_domain": {
+	    "enum": [ "TimeDomain", "FrequencyDomain" ]
+	},
+	"sample_type": {
+	    "enum": [ "OneSamplePerStep", "FixedSampleRate", "VariableSampleRate" ]
+	},
+	"adapter_flags": {
+	    "enum": [ "AdaptNone", "AdaptInputDomain", "AdaptChannelCount",
+		      "AdaptBufferSize", "AdaptAllSafe", "AdaptAll" ]
+	}
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/feature.json	Tue Mar 08 13:53:47 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/schema/featureset.json	Tue Mar 08 13:53:47 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/schema/outputdescriptor.json	Tue Mar 08 13:53:47 2016 +0000
@@ -0,0 +1,45 @@
+{
+    "id": "http://vamp-plugins.org/json/schema/outputdescriptor#",
+    "$schema": "http://json-schema.org/draft-04/schema#",
+    "description": "schema for a Vamp::Plugin::OutputDescriptor serialisation",
+    "type": "object",
+    "properties": {
+	"basic": {
+	    "$ref": "http://vamp-plugins.org/json/schema/basic#"
+	},
+	"unit": {
+	    "type": "string"
+	},
+	"binCount": {
+	    "type": "integer"
+	},
+	"binNames": {
+	    "type": "array",
+	    "items": { "type": "string" }
+	},
+	"extents": {
+	    "type": "object",
+	    "properties": {
+		"min": { "type": "number" },
+		"max": { "type": "number" }
+	    },
+	    "required": [ "min", "max" ],
+	    "additionalProperties": false
+	},
+	"quantizeStep": {
+	    "type": "number"
+	},
+	"sampleType": {
+	    "$ref": "http://vamp-plugins.org/json/schema/enums#/definitions/sample_type"
+	},
+	"sampleRate": {
+	    "type": "number"
+	},
+	"hasDuration": {
+	    "type": "boolean"
+	}
+    },
+    "required": [ "basic", "sampleType", "hasDuration" ],
+    "additionalProperties": false
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/realtime.json	Tue Mar 08 13:53:47 2016 +0000
@@ -0,0 +1,13 @@
+{
+    "id": "http://vamp-plugins.org/json/schema/realtime#",
+    "$schema": "http://json-schema.org/draft-04/schema#",
+    "description": "schema for a Vamp::RealTime serialisation",
+    "type": "object",
+    "properties": {
+	"s": { "type": "integer" },
+	"n": { "type": "integer" }
+    },
+    "required": [ "s", "n" ],
+    "additionalProperties": false
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema/valueextents.json	Tue Mar 08 13:53:47 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
+}
+
--- a/valueextents.json	Tue Mar 08 13:48:52 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-{
-    "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
-}
-