comparison json/schema/loadrequest.json @ 86:1f4ed70d8f1e piperurl

Switch json/schema to piper/json/schema in URLs
author Chris Cannam
date Wed, 02 Nov 2016 10:49:45 +0000
parents f044f6a309e0
children
comparison
equal deleted inserted replaced
84:2ca3f7587550 86:1f4ed70d8f1e
1 { 1 {
2 "id": "http://vamp-plugins.org/json/schema/loadrequest#", 2 "id": "http://vamp-plugins.org/piper/json/schema/loadrequest#",
3 "$schema": "http://json-schema.org/draft-04/schema#", 3 "$schema": "http://json-schema.org/draft-04/schema#",
4 "description": "schema for a request to load a feature extractor; may be served in the params field of a load-method rpcrequest", 4 "description": "schema for a request to load a feature extractor; may be served in the params field of a load-method rpcrequest",
5 "type": "object", 5 "type": "object",
6 "properties": { 6 "properties": {
7 "key": { 7 "key": {
11 "type": "number" 11 "type": "number"
12 }, 12 },
13 "adapterFlags": { 13 "adapterFlags": {
14 "type": "array", 14 "type": "array",
15 "items": { 15 "items": {
16 "$ref": "http://vamp-plugins.org/json/schema/enums#/definitions/adapter_flags" 16 "$ref": "http://vamp-plugins.org/piper/json/schema/enums#/definitions/adapter_flags"
17 } 17 }
18 } 18 }
19 }, 19 },
20 "required": [ "key", "inputSampleRate" ], 20 "required": [ "key", "inputSampleRate" ],
21 "additionalProperties": false 21 "additionalProperties": false