-
Notifications
You must be signed in to change notification settings - Fork 16
/
curb_seg.schema.json
84 lines (84 loc) · 2.42 KB
/
curb_seg.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
{
"primaryKey": "curb_seg_id",
"missingValues": [
"NaN",
""
],
"fieldsMatch": "subset",
"foreignKeys": [
{
"fields": "link_id",
"reference": {
"resource": "link",
"fields": "link_id"
}
},
{
"fields": "ref_node_id",
"reference": {
"resource": "node",
"fields": "node_id"
}
}
],
"fields": [
{
"name": "curb_seg_id",
"type": "any",
"description": "Primary key.",
"constraints": {
"required": true
}
},
{
"name": "link_id",
"type": "any",
"description": "Required. Foreign key to road_links. The link that the segment is located on.",
"constraints": {
"required": true
}
},
{
"name": "ref_node_id",
"type": "any",
"description": "Required. Foreign key to node where distance is 0.",
"constraints": {
"required": true
}
},
{
"name": "start_lr",
"type": "number",
"description": "Required. Distance from `ref_node_id` in short_length units.",
"constraints": {
"required": true,
"minimum": 0
}
},
{
"name": "end_lr",
"type": "number",
"description": "Required. Distance from `ref_node_id`in short_length units.",
"constraints": {
"required": true,
"minimum": 0
}
},
{
"name": "regulation",
"type": "string",
"description": "Optional. Regulation on this curb segment."
},
{
"name": "width",
"type": "number",
"description": "Optional. Width (short_length units) of the curb segment.",
"constraints": {
"minimum": 0
}
}
],
"name": "curb_seg.schema.json",
"description": "A portion of a link defined by `link_id`,`ref_node_id`, `start_lr`, and `end_lr`. Provides a space for curbside regulations. Segments and lanes should be use for travel facilities",
"$schema": "https://datapackage.org/profiles/2.0/tableschema.json"
}