-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.schema.json
87 lines (87 loc) · 3.62 KB
/
config.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
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "cheddardog.config.schema",
"type": "object",
"title": "cheddardog configuration schmea",
"required": ["refresh", "send"],
"properties": {
"refresh": {
"$id": "#/properties/refresh",
"type": "object",
"title": "Refresh Configuration",
"description": "Cheddardog uses this refresh configuration to determine which accounts to refresh.",
"required": ["accounts"],
"properties": {
"accounts": {
"$id": "#/properties/refresh/properties/accounts",
"type": "array",
"title": "Account List",
"description": "The account list defines which accounts to refresh.",
"default": [
"American Express",
"Bank of America",
"Schwab",
"Vanguard"
],
"uniqueItems": true,
"items": {
"$id": "#/properties/refresh/properties/accounts/items",
"type": "string",
"title": "Account display name",
"description": "The display name of one of the supported accounts.",
"enum": [
"American Express",
"Bank of America",
"Etrade",
"Fidelity",
"Schwab",
"Vanguard"
]
}
}
}
},
"send": {
"$id": "#/properties/send",
"type": "object",
"title": "Send Configuration",
"description": "Cheddardog uses this send configuration to determine what to send to who",
"required": ["from", "to"],
"properties": {
"from": {
"$id": "#/properties/send/from",
"type": "string",
"title": "From email address",
"description": "Who the report email comes from.",
"format": "email"
},
"to": {
"$id": "#/properties/send/to",
"anyOf": [
{
"$id": "#/properties/send/to/singleRecipient",
"type": "string",
"title": "Recipient",
"description": "Email address of the one mailbox that will receive the report.",
"format": "email"
},
{
"$id": "#/properties/send/to/multiRecipients",
"type": "array",
"title": "Recipient list",
"description": "List of email addresses that will receive the report.",
"uniqueItems": true,
"items": {
"$id": "#/properties/send/to/multiRecipients/items",
"type": "string",
"title": "Recipient",
"description": "Email address of the one mailbox that will receive the report.",
"format": "email"
}
}
]
}
}
}
}
}