-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathlink_tod.schema.json
139 lines (139 loc) · 4.41 KB
/
link_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
133
134
135
136
137
138
139
{
"primaryKey": "link_tod_id",
"missingValues": [
"NaN",
""
],
"fieldsMatch": "subset",
"foreignKeys": [
{
"fields": "link_id",
"reference": {
"resource": "link",
"fields": "link_id"
}
},
{
"fields": "timeday_id",
"reference": {
"resource": "time_set_definitions",
"fields": "timeday_id"
}
}
],
"fields": [
{
"name": "link_tod_id",
"type": "any",
"description": "Primary key",
"constraints": {
"required": true
}
},
{
"name": "link_id",
"type": "any",
"description": "Required. Foreign key, link 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": "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.Saturation capacity (pce / hr / lane)",
"constraints": {
"minimum": 0
}
},
{
"name": "free_speed",
"type": "number",
"description": "Optional. Free flow speed in long_distance units per hour ",
"constraints": {
"minimum": 0,
"maximum": 200
},
"warnings": {
"minimum": 1,
"maximum": 120
}
},
{
"name": "lanes",
"type": "integer",
"description": "Optional. Number of permanent lanes (not including turn pockets) in the direction of travel open to motor vehicles. It does not include bike lanes, shoulders or parking lanes.",
"constraints": {
"minimum": 0
}
},
{
"name": "bike_facility",
"type": "string",
"description": "Optional. Types of bicycle accommodation based on the National Bikeway Network Data Template Table 1-A. See https://data.transportation.gov/stories/s/National-Bicycle-Network/88zh-3rqb/",
"categories": [
"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",
"categories": [
"unknown",
"none",
"shoulder",
"sidewalk",
"offstreet_path"
]
},
{
"name": "parking",
"type": "string",
"description": "Optional. Type of parking: unknown, none, parallel, angle, other",
"categories": [
"unknown",
"none",
"parallel",
"angle",
"other"
]
},
{
"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": "toll",
"type": "number",
"description": "toll in currency units.",
"warnings": {
"minimum": 0,
"maximum": 10000
}
}
],
"name": "link_tod.schema.json",
"description": "Handles day-of-week and time-of-day restrictions on links",
"$schema": "https://datapackage.org/profiles/2.0/tableschema.json"
}