forked from zephyr-data-specs/GMNS
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmovement.schema.json
148 lines (148 loc) · 4.62 KB
/
movement.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"primaryKey": "mvmt_id",
"missingValues": [
"NaN",
""
],
"fieldsMatch": "subset",
"foreignKeys": [
{
"fields": "node_id",
"reference": {
"resource": "node",
"fields": "node_id"
}
},
{
"fields": "ib_link_id",
"reference": {
"resource": "link",
"fields": "link_id"
}
},
{
"fields": "ob_link_id",
"reference": {
"resource": "link",
"fields": "link_id"
}
}
],
"fields": [
{
"name": "mvmt_id",
"type": "any",
"description": "Primary key.",
"constraints": {
"required": true
}
},
{
"name": "node_id",
"type": "any",
"description": "The node representing the junction.",
"constraints": {
"required": true
}
},
{
"name": "name",
"type": "string",
"description": "Optional."
},
{
"name": "ib_link_id",
"type": "any",
"description": "Inbound link id.",
"constraints": {
"required": true
}
},
{
"name": "start_ib_lane",
"type": "integer",
"description": "Innermost lane number the movement applies to at the inbound end."
},
{
"name": "end_ib_lane",
"type": "integer",
"description": "Outermost lane number the movement applies to at the inbound end. Blank indicates a movement with a single inbound lane."
},
{
"name": "ob_link_id",
"type": "any",
"description": "Outbound link id.",
"constraints": {
"required": true
}
},
{
"name": "start_ob_lane",
"type": "integer",
"description": "Innermost lane number the movement applies to at the outbound end."
},
{
"name": "end_ob_lane",
"type": "integer",
"description": "Outermost lane number the movement applies to at the outbound end. Blank indicates a movement with a single outbound lane."
},
{
"name": "type",
"type": "string",
"description": "Optional. Describes the type of movement (left, right, thru, etc.).",
"categories": [
"left",
"right",
"uturn",
"thru",
"merge",
"diverge"
],
"constraints": {
"required": true
}
},
{
"name": "penalty",
"type": "number",
"description": "Turn penalty (seconds)"
},
{
"name": "capacity",
"type": "number",
"description": "Saturation capacity in passenger car equivalents per hour."
},
{
"name": "ctrl_type",
"type": "string",
"description": "Optional. .",
"categories": [
"no_control",
"yield",
"stop",
"stop_2_way",
"stop_4_way",
"signal_with_RTOR",
"signal"
]
},
{
"name": "mvmt_code",
"type": "string",
"description": "Optional. Movement code (e.g., SBL). Syntax is DDTN, where DD is the direction (e.g., SB, NB, EB, WB, NE, NW, SE, SW). T is the turning movement (e.g., R, L, T) and N is an optional turning movement number (e.g., distinguishing between bearing right and a sharp right at a 6-way intersection)"
},
{
"name": "allowed_uses",
"type": "string",
"description": "Optional. Set of allowed uses that should appear in either the use_definition or use_group tables; comma-separated."
},
{
"name": "geometry",
"type": "any",
"description": "Optional. Movement geometry, in well-known text (WKT) format. Optionally, other formats supported by geopandas (GeoJSON, PostGIS) may be used if specified in geometry_field_format in gmns.spec.json"
}
],
"name": "movement.schema.json",
"description": "Describes how inbound and outbound links connect at an intersection.",
"$schema": "https://datapackage.org/profiles/2.0/tableschema.json"
}