-
Notifications
You must be signed in to change notification settings - Fork 62
/
WorkZoneFeed.json
60 lines (60 loc) · 1.77 KB
/
WorkZoneFeed.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
{
"$id": "https://raw.githubusercontent.com/usdot-jpo-ode/wzdx/main/schemas/4.2/WorkZoneFeed.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "WZDx v4.2 Work Zone Feed",
"description": "The GeoJSON output of a WZDx Work Zone Feed (v4.2)",
"type": "object",
"properties": {
"feed_info": {
"$ref": "https://raw.githubusercontent.com/usdot-jpo-ode/wzdx/main/schemas/4.2/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.2/RoadEventFeature.json"
}
]
}
},
"bbox": {
"$ref": "https://raw.githubusercontent.com/usdot-jpo-ode/wzdx/main/schemas/4.2/BoundingBox.json"
},
"road_event_feed_info": {
"$ref": "https://raw.githubusercontent.com/usdot-jpo-ode/wzdx/main/schemas/4.2/FeedInfo.json"
}
},
"required": ["type", "features"],
"anyOf": [
{
"required": ["feed_info"]
},
{
"required": ["road_event_feed_info"]
}
]
}