The Relationship
object is used to identify both sequential and hierarchical relationships between a road events and other entities. For example, a relationship can be used to link multiple road events to a common "parent", such as a project or phase, or identify a sequence of road events that make up a larger work zone.
All properties that use the Relationship object are deprecated as of WZDx v4.1 and along with those properties it will be removed from the specification in the next major release.
Name | Type | Description | Conformance | Notes |
---|---|---|---|---|
first |
Array; [String] | Indicates the first (can be multiple) road event in a sequence of road events. All values in this array should be a road event ID—they should match the id property on a RoadEventFeature within the same WZDx GeoJSON document. |
Optional | |
next |
Array; [String] | Indicates the next (can be multiple) road event in a sequence of road events. All values in this array should be a road event ID—they should match the id property on a RoadEventFeature within the same WZDx GeoJSON document. |
Optional | |
parents |
Array; [String] | Indicates entities that the road event with this relationship is a part of, such as a work zone project or phase. Values can but do not have to correspond to a WZDx entity. | Optional | |
children |
Array; [String] | Indicates entities that are part of the road event with this relationship, such as a detour or piece of equipment. Values can but do not have to correspond to a WZDx entity. | Optional |
Property | Object |
---|---|
relationship |
RoadEventCoreDetails |
The value of all elements in the Relationship
's first
or next
properties must match the value of the id
property of a RoadEventFeature that is included in the same WZDx GeoJSON document.