The Work Zone Data Exchange (WZDx) Specification aims to make harmonized work zone data provided by infrastructure owners and operators (IOOs) available for third party use, making travel on public roads safer and more efficient through ubiquitous access to data on work zone activity.
This pull request addresses the relationship refactoring in Issue #197.
Below is a summary of the major changes for the refactoring:
Deprecate existing relationship object
Add new related_road_events object which has attributes specific for the use cases within WZDx
Added RelatedRoadEventTypes that address various use cases within WZDx including: road event sequence, related detours/work zones, recurring work zones, and moving operations.
Updated examples to show use of new related_road_events object
A summary of the new object and enumerations include:
related_road_events property on the RoadEvent object (replaces relationship)
A list describing one or more road events which are related to this road event, such as a work zone project it is part of or another road event that occurs before or after it in sequence.
Optional
RelatedRoadEvents Object
The RelatedRoadEvents object is used to identify another road event that is related to a road event.
Describes a type of related road event, such as a work zone project, recurrent work zone, or detour-type road event.
Value
Description
first-in-sequence
The first road event in a sequence of road events that together describe a full work zone or detour
next-in-sequence
The next (subsequent) road event in a sequence of road events that together describe a full work zone or detour
first-occurrence
The first road event of the first occurrence of a recurrent work zone. End users will need to iterate using the first road event to find all relevant road events to a related work zone
next-occurrence
The first road event of the next occurrence of a recurrent work zone. End users will need to iterate using the first road event to find all relevant road events to a related work zone
related-work-zone
First road event of related work zones (i.e. not part of a sequence of road events or recurrent work zone) that are relevant to the given road event. End users will need to iterate using the first road event to find all relevant road events to a related work zone
related-detour
First road event of related detours (i.e. not part of a sequence of road events) that are relevant to the given road event. End users will need to iterate using the first road event to find all relevant road events to a related detour
planned-moving-operation
First road event of a related planned moving operation work zones (i.e. not part of a sequence of road events) that are relevant to the given road event. End users will need to iterate using the first road event to find all relevant road events to a related work zone
active-moving-operation
First road event of a related active moving operation work zones (i.e. not part of a sequence of road events) that are relevant to the given road event. End users will need to iterate using the first road event to find all relevant road events to a related work zone
This pull request addresses the relationship refactoring in Issue #197.
Below is a summary of the major changes for the refactoring:
related_road_events
object which has attributes specific for the use cases within WZDxrelated_road_events
objectA summary of the new object and enumerations include:
related_road_events
property on the RoadEvent object (replacesrelationship
)related_road_events
RelatedRoadEvents Object
The RelatedRoadEvents object is used to identify another road event that is related to a road event.
type
id
type
property.Used By
related_road_events
RelatedRoadEventType Enumerated Type
Describes a type of related road event, such as a work zone project, recurrent work zone, or detour-type road event.
first-in-sequence
next-in-sequence
first-occurrence
next-occurrence
related-work-zone
related-detour
planned-moving-operation
active-moving-operation
Used By
type