Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 2 KB

Relationship.md

File metadata and controls

22 lines (17 loc) · 2 KB

Relationship Object

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.

This object was initially developed for the WZDx Specification.

All properties that use the Relationship object are deprecated as of TDx v1.1 and along with those properties it will be removed from the specification in the next major release.

Properties

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 TDx 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 TDx GeoJSON document. Optional
parents Array; [String] Indicates entities that the road event with this relationship is a part of, such as a project or phase. Values can but do not have to correspond to a TDx 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 TDx entity. Optional

Used By

Property Object
relationship RoadEventCoreDetails

Important Notes

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 TDx GeoJSON document.