-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschedule.schema.json
More file actions
45 lines (44 loc) · 1.13 KB
/
schedule.schema.json
File metadata and controls
45 lines (44 loc) · 1.13 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
35
36
37
38
39
40
41
42
43
44
45
//// this is the file to base the webapp off of
// All timestamps in ms since program start
// All durations in ms
{
"id": "{projectid}-program-{uuid}",
"name": "A short description of the program, including parameter values, duration, etc.",
"revision": 0, //Software revision
"parameters": {
"{parametername}": [ // Schedule is loaded in phase by phase
{
"type": "piecewise", // Step through values until end
"end": 10000,
"values": [
{
"value": 23.4,
"timestamp": 0
},
{
"value": 24.6,
"timestamp": 123456
},
// More values...
]
},
{
"type": "periodic", // Step through values until end
"period": 10000,
"end": 1234567,
"values": [
{
"value": 23.4,
"duration": 1000
},
{
"value": 24.6,
"duration": 1000
},
// More values...
]
}
// More phases...
]
}
}