forked from dtemkin-volpe/GMNS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsegment_tod.schema.json
132 lines (132 loc) · 4.53 KB
/
segment_tod.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
{
"primaryKey": "segment_tod_id",
"missingValues": [
"NaN",
""
],
"fields": [
{
"name": "segment_tod_id",
"type": "any",
"description": "Primary key.",
"constraints": {
"required": true
}
},
{
"name": "segment_id",
"type": "any",
"foreign_key": "segment.segment_id",
"description": "Foreign key to segment table.",
"constraints": {
"required": true
}
},
{
"name": "timeday_id",
"type": "any",
"foreign_key": "time_set_definitions.timeday_id",
"description": "Conditionally required (either timeday_id or time_day). Foreign key to time_set_definitions."
},
{
"name": "time_day",
"type": "string",
"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": "capacity",
"type": "number",
"description": "Optional. Capacity (veh/hr/ln)",
"constraints": {
"minimum": 0
}
},
{
"name": "free_speed",
"type": "number",
"description": "Optional. Free flow speed in short_length units per hour ",
"constraints": {
"minimum": 0,
"maximum": 200
},
"warnings": {
"minimum": 1,
"maximum": 120
}
},
{
"name": "lanes",
"type": "integer",
"description": "Optional. Number of lanes in the direction of travel (must be consistent with link lanes + lanes added)."
},
{
"name": "l_lanes_added",
"type": "integer",
"description": "Optional. # of lanes added on the left of the road link (negative indicates a lane drop)."
},
{
"name": "r_lanes_added",
"type": "integer",
"description": "Optional. # of lanes added on the right of the road link (negative indicates a lane drop)."
},
{
"name": "bike_facility",
"type": "string",
"description": "Optional. Types of bicycle accommodation based on the National Bikeway Network Data Template (Table 1-A at https://nmtdev.ornl.gov/assets/templates/NBN_DataTemplates_final.pdf)",
"constraints": {
"enum": [
"unseparated bike lane",
"buffered bike lane",
"separated bike lane",
"counter-flow bike lane",
"paved shoulder",
"shared lane",
"shared use path",
"off-road unpaved trail",
"other",
"none"
]
}
},
{
"name": "ped_facility",
"type": "string",
"description": "Optional. Type of pedestrian accommodation: unknown,none,shoulder,sidewalk,offstreet_path.",
"constraints": {
"enum": [
"unknown",
"none",
"shoulder",
"sidewalk",
"offstreet_path"
]
}
},
{
"name": "parking",
"type": "string",
"description": "Optional. Type of parking: unknown,none,shoulder,sidewalk,offstreet_path.",
"constraints": {
"enum": [
"unknown",
"none",
"shoulder",
"sidewalk",
"offstreet_path"
]
}
},
{
"name": "toll",
"type": "number",
"description": "Optional. Toll in currency units"
},
{
"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": "segment_tod.schema.json",
"description": "An optional file that handles day-of-week and time-of-day restrictions on segments. It is used for part-time changes in segment capacity and number of lanes."
}