annotate json/schema/loadrequest.json @ 216:72a3b8faba89 tip master

programParameters should not have a pattern enforced on its keys - a program name can be anything
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 08 Apr 2020 14:57:24 +0100
parents ffe01c8286c4
children
rev   line source
c@171 1 {
c@178 2 "id": "http://vamp-plugins.org/piper/json/schema/loadrequest#",
c@171 3 "$schema": "http://json-schema.org/draft-04/schema#",
c@171 4 "description": "schema for a request to load a feature extractor; may be served in the params field of a load-method rpcrequest",
c@171 5 "type": "object",
c@171 6 "properties": {
c@171 7 "key": {
c@171 8 "type": "string"
c@171 9 },
c@171 10 "inputSampleRate": {
c@171 11 "type": "number"
c@171 12 },
c@171 13 "adapterFlags": {
c@171 14 "type": "array",
c@171 15 "items": {
c@178 16 "$ref": "http://vamp-plugins.org/piper/json/schema/enums#/definitions/adapter_flags"
c@171 17 }
c@171 18 }
c@171 19 },
c@171 20 "required": [ "key", "inputSampleRate" ],
c@171 21 "additionalProperties": false
c@171 22 }
c@171 23