-
Notifications
You must be signed in to change notification settings - Fork 16
/
signal_timing_plan.schema.json
64 lines (64 loc) · 1.89 KB
/
signal_timing_plan.schema.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
{
"primaryKey": "timing_plan_id",
"missingValues": [
"NaN",
""
],
"fieldsMatch": "subset",
"foreignKeys": [
{
"fields": "controller_id",
"reference": {
"resource": "signal_controller",
"fields": "controller_id"
}
},
{
"fields": "timeday_id",
"reference": {
"resource": "time_set_definitions",
"fields": "timeday_id"
}
}
],
"fields": [
{
"name": "timing_plan_id",
"type": "any",
"description": "Primary key.",
"constraints": {
"required": true
}
},
{
"name": "controller_id",
"type": "any",
"description": "Required. Foreign key (signal_controller table).",
"constraints": {
"required": true
}
},
{
"name": "timeday_id",
"type": "any",
"description": "Conditionally required (either timeday_id or time_day). Foreign key to time_set_definitions."
},
{
"name": "time_day",
"type": "any",
"description": "Conditionally required (either timeday_id or time_day). XXXXXXXX_HHMM_HHMM, where XXXXXXXX is a bitmap of days of the week, Sunday-Saturday, Holiday. The HHMM are the start and end times."
},
{
"name": "cycle_length",
"type": "number",
"description": "Cycle length in seconds.",
"constraints": {
"minimum": 0,
"maximum": 600
}
}
],
"name": "signal_timing_plan.schema.json",
"description": "For signalized nodes, establishes timing plans.",
"$schema": "https://datapackage.org/profiles/2.0/tableschema.json"
}