Skip to content

Commit d8d3f1d

Browse files
author
Matthew Gramigna
committed
Add common args; update email format; removed filePath mandate
1 parent 298069a commit d8d3f1d

File tree

1 file changed

+27
-4
lines changed

1 file changed

+27
-4
lines changed

src/helpers/schemas/config.schema.json

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"patientIdCsvPath": {
88
"type": "string"
99
},
10+
"commonExtractorArgs": {
11+
"$ref": "#/$defs/commonExtractorArgs"
12+
},
1013
"notificationInfo": {
1114
"$ref": "#/$defs/notificationInfo"
1215
},
@@ -18,6 +21,18 @@
1821
}
1922
},
2023
"$defs": {
24+
"commonExtractorArgs": {
25+
"type": "object",
26+
"properties": {
27+
"baseFhirUrl": {
28+
"type": "string",
29+
"format": "uri"
30+
},
31+
"requestHeaders": {
32+
"type": "object"
33+
}
34+
}
35+
},
2136
"notificationInfo": {
2237
"type": "object",
2338
"properties": {
@@ -32,8 +47,17 @@
3247
"type": "string"
3348
},
3449
"to": {
35-
"type": "string",
36-
"format": "email"
50+
"anyOf": [
51+
{
52+
"type": "string"
53+
},
54+
{
55+
"type": "array",
56+
"items": {
57+
"type": "string"
58+
}
59+
}
60+
]
3761
},
3862
"tlsRejectUnauthorized": {
3963
"type": "boolean"
@@ -75,8 +99,7 @@
7599
"type": {
76100
"type": "string"
77101
}
78-
},
79-
"required": ["filePath"]
102+
}
80103
}
81104
},
82105
"required": [

0 commit comments

Comments
 (0)