-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsignal_detector.schema.json
112 lines (112 loc) · 3.2 KB
/
signal_detector.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
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
{
"primaryKey": "detector_id",
"missingValues": [
"NaN",
""
],
"fieldsMatch": "subset",
"foreignKeys": [
{
"fields": "controller_id",
"reference": {
"resource": "signal_controller",
"fields": "controller_id"
}
},
{
"fields": "link_id",
"reference": {
"resource": "link",
"fields": "link_id"
}
},
{
"fields": "ref_node_id",
"reference": {
"resource": "node",
"fields": "node_id"
}
}
],
"fields": [
{
"name": "detector_id",
"type": "any",
"description": "Primary key.",
"constraints": {
"required": true
}
},
{
"name": "controller_id",
"type": "any",
"description": "Required. Foreign key to signal_controller table.",
"constraints": {
"required": true
}
},
{
"name": "signal_phase_num",
"type": "integer",
"description": "Required. Number of the associated phase.",
"constraints": {
"required": true
}
},
{
"name": "link_id",
"type": "any",
"description": "Foreign key. The link covered by the detector.",
"constraints": {
"required": true
}
},
{
"name": "start_lane",
"type": "integer",
"description": "Left-most lane covered by the detector.",
"constraints": {
"required": true
}
},
{
"name": "end_lane",
"type": "integer",
"description": "Right-most lane covered by the detector (blank if only one lane)."
},
{
"name": "ref_node_id",
"type": "any",
"description": "The detector is on the approach to this node.",
"constraints": {
"required": true
}
},
{
"name": "det_zone_lr",
"type": "number",
"description": "Required. Distance from from the stop bar to detector in short_length units.",
"constraints": {
"required": true
}
},
{
"name": "det_zone_front",
"type": "number",
"description": "Optional. Linear reference of front of detection zone in short_length units."
},
{
"name": "det_zone_back",
"type": "number",
"description": "Optional. Linear reference of back of detection zone in short_length units."
},
{
"name": "det_type",
"type": "string",
"description": "Optional. Type of detector."
}
],
"name": "signal_detector.schema.json",
"description": "A signal detector is associated with a controller, a phase and a group of lanes.",
"$schema": "https://datapackage.org/profiles/2.0/tableschema.json"
}