-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsegment_lane.schema.json
86 lines (86 loc) · 2.78 KB
/
segment_lane.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
{
"primaryKey": "segment_lane_id",
"missingValues": [
"NaN",
""
],
"fieldsMatch": "subset",
"foreignKeys": [
{
"fields": "segment_id",
"reference": {
"resource": "segment",
"fields": "segment_id"
}
}
],
"fields": [
{
"name": "segment_lane_id",
"type": "any",
"description": "Primary key.",
"constraints": {
"required": true
}
},
{
"name": "segment_id",
"type": "any",
"description": "Required. Foreign key to the associated segment.",
"constraints": {
"required": true
}
},
{
"name": "lane_num",
"type": "integer",
"description": "Required. -1, 1, 2 (use left-to-right numbering). 0 signifies a lane that is dropped on the segment.",
"constraints": {
"required": true,
"minimum": -10,
"maximum": 10
}
},
{
"name": "parent_lane_id",
"type": "any",
"description": "Optional. If a lane drops or changes characteristics on the segment, the lane_id for that lane."
},
{
"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": "r_barrier",
"type": "string",
"description": "Optional. Whether a barrier exists to prevent vehicles from changing lanes to the right (default is none)",
"categories": [
"none",
"regulatory",
"physical"
]
},
{
"name": "l_barrier",
"type": "string",
"description": "Optional. Whether a barrier exists to prevent vehicles from changing lanes to the left (default is none)",
"categories": [
"none",
"regulatory",
"physical"
]
},
{
"name": "width",
"type": "number",
"description": "Optional. Width of the lane (short_length units)",
"constraints": {
"minimum": 0
}
}
],
"name": "segment_lane.schema.json",
"description": "Defines added and dropped lanes, and changes to lane parameters. If a lane is added, it has no parent. If it is changed or dropped, the parent_lane_id field keys to the associated lane on the lane table.",
"$schema": "https://datapackage.org/profiles/2.0/tableschema.json"
}