-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDatasource.json
More file actions
95 lines (95 loc) · 2.43 KB
/
Datasource.json
File metadata and controls
95 lines (95 loc) · 2.43 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"$ref": "#/definitions/Datasource",
"definitions": {
"Datasource": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z_][a-z0-9_]*$",
"description": "Unique datasource identifier"
},
"label": {
"type": "string",
"description": "Display label"
},
"driver": {
"type": "string",
"description": "Underlying driver type"
},
"config": {
"type": "object",
"additionalProperties": {},
"description": "Driver specific configuration"
},
"capabilities": {
"type": "object",
"properties": {
"transactions": {
"type": "boolean",
"default": false
},
"queryFilters": {
"type": "boolean",
"default": false
},
"queryAggregations": {
"type": "boolean",
"default": false
},
"querySorting": {
"type": "boolean",
"default": false
},
"queryPagination": {
"type": "boolean",
"default": false
},
"queryWindowFunctions": {
"type": "boolean",
"default": false
},
"querySubqueries": {
"type": "boolean",
"default": false
},
"joins": {
"type": "boolean",
"default": false
},
"fullTextSearch": {
"type": "boolean",
"default": false
},
"readOnly": {
"type": "boolean",
"default": false
},
"dynamicSchema": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false,
"description": "Capability overrides"
},
"description": {
"type": "string",
"description": "Internal description"
},
"active": {
"type": "boolean",
"default": true,
"description": "Is datasource enabled"
}
},
"required": [
"name",
"driver",
"config"
],
"additionalProperties": false
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}