-
Notifications
You must be signed in to change notification settings - Fork 62
/
RoadRestrictionFeed.json
55 lines (55 loc) · 1.64 KB
/
RoadRestrictionFeed.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
{
"$id": "https://raw.githubusercontent.com/usdot-jpo-ode/wzdx/main/schemas/4.0/RoadRestrictionFeed.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "WZDx v4.0 Road Restriction Feed",
"description": "The GeoJSON output of a WZDx road restriction data feed (v4.0)",
"type": "object",
"properties": {
"feed_info": {
"$ref": "https://raw.githubusercontent.com/usdot-jpo-ode/wzdx/main/schemas/4.0/FeedInfo.json"
},
"type": {
"description": "The GeoJSON type",
"enum": [
"FeatureCollection"
]
},
"features": {
"description": "An array of GeoJSON Feature objects which represent WZDx restriction road events",
"type": "array",
"items": {
"allOf": [
{
"properties": {
"properties": {
"properties": {
"core_details": {
"properties": {
"event_type": {
"const": "restriction"
}
},
"required": ["event_type"]
}
},
"required": ["core_details"]
}
},
"required": ["properties"]
},
{
"$ref": "https://raw.githubusercontent.com/usdot-jpo-ode/wzdx/main/schemas/4.0/RoadEventFeature.json"
}
]
}
},
"bbox": {
"$ref": "https://raw.githubusercontent.com/usdot-jpo-ode/wzdx/main/schemas/4.0/BoundingBox.json"
}
},
"required": [
"feed_info",
"type",
"features"
]
}