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.
Creative Commons Zero v1.0 Universal
92
stars
62
forks
source link
Require restriction_type for a lane_restriction #87
This PR resolves issue #81, which notes the necessity of requiring restriction_type on a lane_restriction to avoid the (unlikely) scenario of "empty" restrictions showing up as empty objects a WZDx feed. See the issues discussion for a code example.
There is no downside to having this required as a lane restriction is useless without the type and including lane restrictions in general is not required.
The proposed change involves just a single line in the lane_restrictions table, modifying the restriction_type field to be Required rather than Optional
This PR resolves issue #81, which notes the necessity of requiring
restriction_type
on alane_restriction
to avoid the (unlikely) scenario of "empty" restrictions showing up as empty objects a WZDx feed. See the issues discussion for a code example.There is no downside to having this required as a lane restriction is useless without the type and including lane restrictions in general is not required.
The proposed change involves just a single line in the
lane_restrictions
table, modifying therestriction_type
field to be Required rather than Optional