-
Notifications
You must be signed in to change notification settings - Fork 62
/
WZDxFeed.json
49 lines (49 loc) · 1.55 KB
/
WZDxFeed.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
{
"$id": "https://raw.githubusercontent.com/usdot-jpo-ode/wzdx/main/schemas/4.0/WZDxFeed.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "WZDx v4.0 WZDxFeed",
"description": "The GeoJSON output of a WZDx feed data feed (v4.0)",
"type": "object",
"properties": {
"road_event_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 road events",
"type": "array",
"items": {
"allOf": [
{
"properties": {
"properties": {
"properties": {
"core_details": {
"properties": {
"event_type": {
"enum": ["work-zone", "detour"]
}
},
"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": ["road_event_feed_info", "type", "features"]
}