-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompendia.json
More file actions
34 lines (34 loc) · 1.63 KB
/
compendia.json
File metadata and controls
34 lines (34 loc) · 1.63 KB
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
{
"metadata": {
"o2r": { //standard o2r metadata structure
"interaction": [
{
"figure_id": "String", //unique within ERC
"type": "timeseries/map",
"title": "String",
"x_axis_label": "String", //label to put into the time series visualization
"y_axis_label": "String", //label to put into the time series visualization
"x_axis_parameter": "String", //name of the parameter in the json received from the ocpu
"y_axis_parameter": "String", //name of the parameter in the json received from the ocpu
"widgets": [ //type of parameter change interaction
{
"type": "slider",
"default_value": "numeric",
"min_value": "numeric",
"max_value": "numeric",
"param_name": "String", //name of the parameter in R function
"steps_size": "numeric",
"description": "String" //caption of the slider
}
],
"endpoint": "openCPU/link/for/function", //endpoint calling the function for the figure/computation
//all information to this point are entered by author while uploading ERC
"original": {
"values": "Object",
"image": "path/to/the/created/image"
}
}
]
}
}
}