forked from OpenFn/adaptors
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration-schema.json
46 lines (46 loc) · 1.09 KB
/
configuration-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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"baseUrl": {
"title": "Base URL",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The base URL (http://www.example.com)",
"format": "uri",
"minLength": 1,
"default": "http://localhost",
"examples": ["https://dev.newlogic-demo.com"]
},
"username": {
"title": "Username",
"type": "string",
"description": "Username",
"default": "admin",
"examples": ["test@openfn.org"]
},
"password": {
"title": "Password",
"type": "string",
"description": "Password",
"default": "admin",
"writeOnly": true,
"examples": ["@some(!)Str0ngp4ss0w0rd"]
},
"database": {
"title": "Database Name",
"type": "string",
"default": "devel",
"description": "Database Name",
"examples": ["devel"]
}
},
"type": "object",
"additionalProperties": true,
"required": ["password", "username", "database", "baseUrl"]
}