-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
117 lines (111 loc) · 3.48 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
{
"name": "Data Model Browser",
"namespace": "Vanderbilt\\DataModelBrowserExternalModule",
"framework-version": 6,
"authors": [
{
"name": "Eva Bascompte Moragas",
"email": "[email protected]",
"institution": "Vanderbilt University Medical Center"
}
],
"permissions": [],
"links": {
"project": [
{
"name": "Data Model Browser",
"icon": "fas fa-database",
"url": "browser.php?NOAUTH",
"target": "_blank"
}
]
},
"no-auth-pages":["browser","downloadFile","startDDProjects","functions", "main","options/downloadPDF_AJAX"],
"description": "This module’s main use is to create an auto-generated, web-browsable version of a Data Exchange Standard, a common data model for sharing.",
"project-settings": [
{
"key": "des-projectname",
"name": "Enter the Project name",
"required": true,
"type": "text"
},
{
"key": "des-privacy-description",
"name": "<div>Select a privacy type for the Data Model Browser:</div><br><div class='alert alert-info' style='border-color:#bce8f1 !important'><ul><li><strong>Public</strong> (no login required; anyone with the link can view the Browser page)</li><li><strong>This Project's users only</strong> (REDCap login required; only this project's users can view the Browser page)</li><li><strong>Another Project's users </strong> (REDCap login required; only users from another project can view the Browser page. You can only select other projects where you have Project Setup rights.)</li></ul></div>",
"type": "descriptive"
},
{
"key": "des-privacy",
"name": "Privacy type",
"required": true,
"choices": [
{
"name": "Public",
"value": "public"
},
{
"name": "This Project's users only",
"value": "main"
},
{
"name": "Another Project's users",
"value": "other"
}
],
"type":"radio"
},
{
"key": "projects",
"name": "Select the project/s whose people can access the FAQ",
"type": "sub_settings",
"repeatable":true,
"branchingLogic": {
"field": "des-privacy",
"op":"=",
"value": "other"
},
"sub_settings":[
{
"key": "des-project",
"name": "Project",
"type": "project-id"
}
]
}
,{
"key": "users",
"name": "User Permissions",
"type": "sub_settings",
"repeatable": true,
"sub_settings": [
{
"key": "user-permission",
"name": "<div>Select a REDCap user to add to all Hub projects. </div><div>This will automatically add the user to the 5+ REDCap projects that power the Hub. The user will have \"Project Design and Setup\" rights on those projects. After initial setup, users will need to be added manually to all Hub projects.</div><br><div><font style='color:red;font-style:italic'>*This list shows all users on this REDCap project. Add users to this project before installing if you want to be able to select their usernames in this list.</font></div>",
"type": "user-list"
}
]
}
],
"crons": [
{
"cron_name": "createpdf",
"cron_description": "Cron that runs once a day to check if there are changes and create a JSON/PDF",
"method": "createpdf",
"cron_hour": "23",
"cron_minute": "50"
},
{
"cron_name": "regeneratepdf",
"cron_description": "Cron that regenerates the PDF if the checkbox has been selected",
"method": "regeneratepdf",
"cron_frequency": "60",
"cron_max_run_time": "60"
}
],
"compatibility": {
"php-version-min": "7.3.29",
"php-version-max": "",
"redcap-version-min": "12.2.7",
"redcap-version-max": ""
}
}