forked from zephyr-data-specs/GMNS
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsignal_phase_mvmt.schema.json
72 lines (72 loc) · 2.21 KB
/
signal_phase_mvmt.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
{
"primaryKey": "signal_phase_mvmt_id",
"missingValues": [
"NaN",
""
],
"fieldsMatch": "subset",
"foreignKeys": [
{
"fields": "timing_phase_id",
"reference": {
"resource": "signal_timing_phase",
"fields": "timing_phase_id"
}
},
{
"fields": "mvmt_id",
"reference": {
"resource": "movement",
"fields": "mvmt_id"
}
},
{
"fields": "link_id",
"reference": {
"resource": "link",
"fields": "link_id"
}
}
],
"fields": [
{
"name": "signal_phase_mvmt_id",
"type": "any",
"description": "Primary key.",
"constraints": {
"required": true
}
},
{
"name": "timing_phase_id",
"type": "any",
"description": "Associated entry in the timing phase table.",
"constraints": {
"required": true
}
},
{
"name": "mvmt_id",
"type": "any",
"description": "Foreign key. Either Movement_ID (for phases used by vehicles), or Link_id (for phases used by pedestrians) is required."
},
{
"name": "link_id",
"type": "any",
"description": "Foreign key. Either Movement_ID (for phases used by vehicles), or Link_id (for phases used by pedestrians) is required."
},
{
"name": "protection",
"type": "string",
"description": "Optional. Indicates whether the phase is protected, permitted, or right turn on red.",
"categories": [
"protected",
"permitted",
"rtor"
]
}
],
"name": "signal_phase_mvmt.schema.json",
"description": "Associates Movements and pedestrian Links (e.g., crosswalks) with signal phases. A signal phase may be associated with several movements. A Movement may also run on more than one phase.",
"$schema": "https://datapackage.org/profiles/2.0/tableschema.json"
}