-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathqwc-ext-service.json
66 lines (66 loc) · 1.62 KB
/
qwc-ext-service.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/qwc-services/qwc-ext-service/raw/master/schemas/qwc-ext-service.json",
"title": "QWC External Link Service",
"type": "object",
"properties": {
"$schema": {
"title": "JSON Schema",
"description": "Reference to JSON schema of this config",
"type": "string",
"format": "uri",
"default": "https://github.com/qwc-services/qwc-ext-service/raw/master/schemas/qwc-ext-service.json"
},
"service": {
"title": "Service name",
"type": "string",
"const": "ext"
},
"config": {
"title": "Config options",
"type": "object",
"properties": {
"get_link_timeout": {
"description": "Timeout for get link requests, in seconds. Default: 10.",
"type": "number"
},
"post_link_timeout": {
"description": "Timeout for post link requests, in seconds. Default: 30.",
"type": "number"
}
}
},
"resources": {
"title": "Resources",
"type": "object",
"properties": {
"external_links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url"
]
}
}
},
"required": [
"external_links"
]
}
},
"required": [
"service",
"config",
"resources"
]
}