usdot-jpo-ode / wzdx

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
91 stars 62 forks source link

Update DeviceFeed schema to fix TrafficSignal #360

Closed mark-mockett closed 1 year ago

mark-mockett commented 1 year ago

This PR fixes an issue in the WZDx v4.1 release with the TrafficSignal device schema. The TrafficSignal device schema now appropriately requires that the device type in FieldDeviceCoreDetails be "traffic-signal" and allows a FieldDeviceFeature to contain a TrafficSignal object.

Dunge commented 1 year ago

This fix broke the schema for some validator tools by adding a trailing comma at line 557 after "mode".