Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vehicle impact to RestrictionRoadEvent #6

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions schemas/v1.1/RoadEventFeature.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,11 @@
"title": "Unit of Measurement Enumerated Type",
"description": "Unit of measurement, used when providing a unit to accompany a value",
"enum": ["feet", "inches", "centimeters", "pounds", "tons", "kilograms"]
},
"VehicleImpact": {
"title": "Vehicle Impact Enumerated Type",
"description": "The impact to vehicular lanes along a single road in a single direction",
"enum": ["all-lanes-closed", "some-lanes-closed", "all-lanes-open", "alternating-one-way", "some-lanes-closed-merge-left", "some-lanes-closed-merge-right", "all-lanes-open-shift-left", "all-lanes-open-shift-right", "some-lanes-closed-split", "flagging", "temporary-traffic-signal", "unknown"]
}
}
}
23 changes: 23 additions & 0 deletions spec-content/enumerated-types/VehicleImpact.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# VehicleImpact Enumerated Type
The impact to vehicular lanes along a single road in a single direction.

## Values
Value | Description
--- | ---
`all-lanes-closed` | All lanes are closed
`some-lanes-closed` | Some lanes are closed
`all-lanes-open` | All lanes are open
`alternating-one-way` | The roadway is alternating one way
`some-lanes-closed-merge-left` | Some lanes merge to the left
`some-lanes-closed-merge-right` | Some lanes merge to the right
`all-lanes-open-shift-left` | All lanes are open, shift to the left
`all-lanes-open-shift-right` | All lanes are open, shift to the right
`some-lanes-closed-split` | Some lanes end and split & merge to the right and left
`flagging` | A flagging operation is in effect
`temporary-traffic-signal` | A temporary traffic signal is in operation
`unknown` | The vehicle impact is unknown

## Used By
Property | Object
--- | ---
`vehicle_impact` | [RestrictionRoadEvent](/spec-content/objects/RestrictionRoadEvent.md)
5 changes: 3 additions & 2 deletions spec-content/objects/RestrictionRoadEvent.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ Name | Type | Description | Conformance | Notes
`core_details` | [RoadEventCoreDetails](/spec-content/objects/RoadEventCoreDetails.md) | Describes the basic characterisitics of a road event. | Required |
`restrictions` | Array; [[Restriction](/spec-content/objects/Restriction.md)] | A list of zero or more road restrictions that apply to the roadway segment described by this road event. | Conditional: required if `lanes` property is not provided. | Restrictions can also be provided on an individual lane.
`lanes` | Array; \[[Lane](/spec-content/objects/Lane.md)\] | A list of individual lanes within a road event (roadway segment). | Conditional: required if `restrictions` property is not provided. | Please see [Business Rule](/Creating_a_TDx_Feed.md#business-rules) #2.
`vehicle_impact` | [VehicleImpact](/spec-content/enumerated-types/VehicleImpact.md) | The impact to vehicular lanes along a single road in a single direction. | Optional |


## Used By
Property | Object
--- | ---
`properties` | [RoadEventFeature](/spec-content/objects/RoadEventFeature.md)

`properties` | [RoadEventFeature](/spec-content/objects/RoadEventFeature.md)