generated from susom/redcap-em-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
148 lines (148 loc) · 3.95 KB
/
config.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "RedcapOneDirectoryLookup",
"namespace": "Stanford\\RedcapOneDirectoryLookup",
"description": "EM to allow REDCap to look up users using OneDirectory(Elastic Cache)",
"documentation": "README.md",
"authors": [
{
"name": "Andrew Martin",
"email": "[email protected]",
"institution": "Stanford University"
},
{
"name": "Ihab Zeedia",
"email": "[email protected]",
"institution": "Stanford University"
}
],
"permissions": [
"redcap_data_entry_form_top",
"redcap_survey_page_top"
],
"enable-every-page-hooks-on-system-pages": false,
"links": {
"project": [
],
"control-center": [
]
},
"no-auth-pages": [
"ajax/get_users"
],
"project-settings": [
{
"key": "instance",
"name": "<b>Search Instance</b>",
"required": true,
"type": "sub_settings",
"repeatable": true,
"sub_settings": [
{
"key": "alert-if-exist",
"name": "<b>Alert user if data already saved before update<br>",
"required": true,
"type": "checkbox"
},
{
"key": "search-field",
"name": "<b>Field used to lookup users<br>",
"required": true,
"type": "field-list"
},
{
"key": "attribute_instance",
"name": "<b>Attribute Instance Map</b>",
"required": true,
"type": "sub_settings",
"repeatable": true,
"sub_settings": [
{
"key": "one-directory-attribute",
"name": "<b>Select OneDirectory Attribute</b>",
"required": false,
"type": "dropdown",
"choices": [
{
"name": "OneDirectoryId",
"value": "OneDirectoryId"
},
{
"name": "affiliate",
"value": "affiliate"
},
{
"name": "jobId",
"value": "jobId"
},
{
"name": "first_name",
"value": "first_name"
},
{
"name": "last_name",
"value": "last_name"
},
{
"name": "fullname",
"value": "fullname"
},
{
"name": "phone",
"value": "phone"
},
{
"name": "phone2",
"value": "phone2"
},
{
"name": "email",
"value": "email"
},
{
"name": "title",
"value": "title"
},
{
"name": "SUNet of SID",
"value": "suid"
}
]
},
{
"key": "mapped-field",
"name": "<b>Select Project field where to save the OneDirectory Attribute<br>",
"required": true,
"type": "field-list"
}
]
}
]
},
{
"key": "enable-project-debug-logging",
"name": "<b>Enable Debug Logging</b><br><i>(optional)</i> Requires installation and configuration of emLogger",
"required": false,
"type": "checkbox"
}
],
"system-settings": [
{
"key": "onedirectory-url",
"name": "<b>URL to Onedirectory server:</b>",
"required": true,
"type": "text"
},
{
"key": "enable-system-debug-logging",
"name": "<b>Enable Debug Logging (system-wide)</b><i>(optional)</i> Requires installation and configuration of emLogger",
"required": false,
"type": "checkbox"
}
],
"compatibility": {
"php-version-min": "",
"php-version-max": "",
"redcap-version-min": "",
"redcap-version-max": ""
}
}