annotate schema/pluginconfiguration.json @ 67:ada4cd9daaba docrefactor

Pull out serialisedarray schema
author Chris Cannam
date Wed, 05 Oct 2016 09:58:49 +0100
parents 4c3ac59c9089
children 0c8629d9855d
rev   line source
Chris@28 1 {
Chris@28 2 "id": "http://vamp-plugins.org/json/schema/pluginconfiguration#",
Chris@28 3 "$schema": "http://json-schema.org/draft-04/schema#",
Chris@28 4 "description": "schema for a serialised bundle of configuration data associated with a Vamp Plugin",
Chris@28 5 "type": "object",
Chris@28 6 "properties": {
Chris@28 7 "parameterValues": {
Chris@28 8 "type": "object",
Chris@28 9 "patternProperties": {
Chris@28 10 "^[a-zA-Z0-9_-]+$": {
Chris@28 11 "type": "number"
Chris@28 12 }
Chris@28 13 },
Chris@28 14 "additionalProperties": false
Chris@28 15 },
Chris@28 16 "currentProgram": {
Chris@28 17 "type": "string"
Chris@28 18 },
Chris@28 19 "channelCount": {
Chris@28 20 "type": "integer"
Chris@28 21 },
Chris@28 22 "stepSize": {
Chris@28 23 "type": "integer"
Chris@28 24 },
Chris@28 25 "blockSize": {
Chris@28 26 "type": "integer"
Chris@28 27 }
Chris@28 28 },
Chris@28 29 "required": [ "channelCount", "stepSize", "blockSize" ],
Chris@28 30 "additionalProperties": false
Chris@28 31 }
Chris@28 32