File tree Expand file tree Collapse file tree 1 file changed +63
-3
lines changed Expand file tree Collapse file tree 1 file changed +63
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"$id" : " csv-config" ,
3
3
"$schema" : " https://json-schema.org/draft/2020-12/schema" ,
4
- "description" : " Schema for CSV config files. TODO: Fill out the rest of this schema will all config properties " ,
4
+ "description" : " Schema for CSV config files" ,
5
5
"type" : " object" ,
6
6
"properties" : {
7
+ "patientIdCsvPath" : {
8
+ "type" : " string"
9
+ },
10
+ "notificationInfo" : {
11
+ "$ref" : " #/$defs/notificationInfo"
12
+ },
7
13
"extractors" : {
8
14
"type" : " array" ,
9
15
"items" : {
12
18
}
13
19
},
14
20
"$defs" : {
21
+ "notificationInfo" : {
22
+ "type" : " object" ,
23
+ "properties" : {
24
+ "host" : {
25
+ "type" : " string" ,
26
+ "format" : " hostname"
27
+ },
28
+ "port" : {
29
+ "type" : " integer"
30
+ },
31
+ "from" : {
32
+ "type" : " string"
33
+ },
34
+ "to" : {
35
+ "type" : " string" ,
36
+ "format" : " email"
37
+ },
38
+ "tlsRejectUnauthorized" : {
39
+ "type" : " boolean"
40
+ }
41
+ },
42
+ "required" : [
43
+ " host" ,
44
+ " port" ,
45
+ " from" ,
46
+ " to"
47
+ ]
48
+ },
15
49
"extractor" : {
16
50
"type" : " object" ,
17
51
"properties" : {
52
+ "label" : {
53
+ "type" : " string"
54
+ },
55
+ "type" : {
56
+ "type" : " string"
57
+ },
58
+ "constructorArgs" : {
59
+ "$ref" : " #/$defs/constructorArgs"
60
+ }
61
+ }
62
+ },
63
+ "constructorArgs" : {
64
+ "type" : " object" ,
65
+ "properties" : {
66
+ "filePath" : {
67
+ "type" : " string"
68
+ },
69
+ "clinicalSiteID" : {
70
+ "type" : " string"
71
+ },
72
+ "clinicalSiteSystem" : {
73
+ "type" : " string"
74
+ },
18
75
"type" : {
19
76
"type" : " string"
20
77
}
21
78
},
22
- "required" : [" type " ]
79
+ "required" : [" filePath " ]
23
80
}
24
81
},
25
- "required" : [" extractors" ]
82
+ "required" : [
83
+ " extractors" ,
84
+ " patientIdCsvPath"
85
+ ]
26
86
}
You can’t perform that action at this time.
0 commit comments