forked from canonical/charm-relation-interfaces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
requirer.json
44 lines (44 loc) · 1.39 KB
/
requirer.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
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://canonical.github.io/charm-relation-interfaces/interfaces/mongodb_client/schemas/requirer.json",
"title": "`mongodb_client` requirer schema",
"description": "The `mongodb_client` root schema comprises the entire requirer databag for this interface.",
"type": "object",
"default": {},
"required": [
"database"
],
"additionalProperties": true,
"properties": {
"database": {
"title": "Database Name",
"description": "The database name requested by the requirer",
"type": "string",
"default": "",
"examples": [
"myapp"
]
},
"requested-secrets": {
"title": "Requested Secrets",
"description": "Any provider field which should be transfered as Juju Secret",
"type": "array",
"items": {
"type": "string"
}
},
"extra-user-roles": {
"title": "Extra-user-roles",
"description": "Any extra user roles requested by the requirer",
"type": "string",
"default": "default",
"examples": [
"default,admin"
]
}
},
"examples": [{
"database": "myapp",
"extra-user-roles": "default,admin"
}]
}