/
map-activations-get-response-schema.json
48 lines (48 loc) · 1.39 KB
/
map-activations-get-response-schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Activations endpoint",
"description": "List of all currently pending activations",
"type": "object",
"patternProperties": {
"^[0-9]+$": {
"type": "object",
"additionalPropertes": false,
"properties": {
"activation":{
"$ref": "activation-response-schema.json"
},
"action:":{
"^[a-z A-Z 0-9 \\- _]+$": {
"description": "Names of outputs",
"patternProperties":{
"^(0|([1-9][0-9]*))$":{
"description": "Index of channels",
"required":[
"input",
"channel_index"
],
"properties": {
"input":{
"description": "Name of the input the channel to be connected belongs to. null for disconnected.",
"pattern": "^[a-z A-Z 0-9 \\- _]+$",
"type": [
"string",
"null"
]
},
"channel_index":{
"description": "Index of channel to be connected.",
"type": [
"integer",
"null"
]
}
}
}
}
}
}
}
}
}
}