annotate schema/loadrequest.json @ 67:ada4cd9daaba docrefactor

Pull out serialisedarray schema
author Chris Cannam
date Wed, 05 Oct 2016 09:58:49 +0100
parents 6ed502816e14
children 0c8629d9855d
rev   line source
Chris@29 1 {
Chris@29 2 "id": "http://vamp-plugins.org/json/schema/loadrequest#",
Chris@29 3 "$schema": "http://json-schema.org/draft-04/schema#",
Chris@39 4 "description": "schema for a serialised load request for a Vamp Plugin; normally served as the content field of an object matching the plain request schema",
Chris@29 5 "type": "object",
Chris@29 6 "properties": {
Chris@43 7 "pluginKey": {
Chris@29 8 "type": "string"
Chris@29 9 },
Chris@29 10 "inputSampleRate": {
Chris@29 11 "type": "number"
Chris@29 12 },
Chris@29 13 "adapterFlags": {
Chris@33 14 "type": "array",
Chris@33 15 "items": {
Chris@33 16 "$ref": "http://vamp-plugins.org/json/schema/enums#/definitions/adapter_flags"
Chris@33 17 }
Chris@29 18 }
Chris@29 19 },
Chris@43 20 "required": [ "pluginKey", "inputSampleRate" ],
Chris@29 21 "additionalProperties": false
Chris@29 22 }
Chris@29 23