-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathqwc-permalink-service.json
62 lines (62 loc) · 1.97 KB
/
qwc-permalink-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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/qwc-services/qwc-permalink-service/master/schemas/qwc-permalink-service.json",
"title": "QWC Permalink Service",
"type": "object",
"properties": {
"$schema": {
"title": "JSON Schema",
"description": "Reference to JSON schema of this config",
"type": "string",
"format": "uri",
"default": "https://raw.githubusercontent.com/qwc-services/qwc-permalink-service/master/schemas/qwc-permalink-service.json"
},
"service": {
"title": "Service name",
"type": "string",
"const": "permalink"
},
"config": {
"title": "Config options",
"type": "object",
"properties": {
"db_url": {
"description": "DB connection URL. Defaults to postgresql:///?service=qwc_configdb.",
"type": "string"
},
"qwc_config_schema": {
"description": "The name of the DB schema which stores the qwc config. Default: qwc_config",
"type": "string"
},
"permalinks_table": {
"description": "Permalink table. Defaults to qwc_config.permalinks.",
"type": "string"
},
"user_permalink_table": {
"description": "User permalink table. Defaults to qwc_config.user_permalinks.",
"type": "string"
},
"user_bookmark_table": {
"description": "User bookmarks table. Defaults to qwc_config.user_bookmarks.",
"type": "string"
},
"bookmarks_sort_order": {
"description": "Bookmarks sort order, defaults to \"date, description\".",
"type": "string"
},
"default_expiry_period": {
"description": "Default expiry period for permalinks, in days. Default: null (no expiry)",
"type": "number"
}
},
"required": [
"db_url",
"permalinks_table"
]
}
},
"required": [
"service",
"config"
]
}