Values.RouteViolatedConstraintsSourceThis property contains a summary of violated constraints.
type nonrec t = {allHazardsRestricted : SensitiveBoolean.t option;This restriction applies to truck cargo, where the resulting route excludes roads on which hazardous materials are prohibited from being transported.
*)axleCount : RouteNoticeDetailRange.t option;Total number of axles of the vehicle.
*)hazardousCargos : RouteHazardousCargoTypeList.t option;List of Hazardous cargo contained in the vehicle.
*)maxHeight : DimensionCentimeters.t option;The maximum height of the vehicle.
*)maxKpraLength : DimensionCentimeters.t option;The maximum Kpra length of the vehicle. Unit: centimeters
*)maxLength : DimensionCentimeters.t option;The maximum length of the vehicle.
*)maxPayloadCapacity : WeightKilograms.t option;The maximum load capacity of the vehicle. Unit: kilograms
*)maxWeight : RouteWeightConstraint.t option;The maximum weight of the route. Unit: kilograms
*)maxWeightPerAxle : WeightKilograms.t option;The maximum weight per axle of the vehicle. Unit: kilograms
*)maxWeightPerAxleGroup : WeightPerAxleGroup.t option;The maximum weight per axle group of the vehicle. Unit: kilograms
*)maxWidth : DimensionCentimeters.t option;The maximum width of the vehicle.
*)occupancy : RouteNoticeDetailRange.t option;The number of occupants in the vehicle. Default value: 1
*)restrictedTimes : String_.t option;Access radius restrictions based on time.
*)timeDependent : SensitiveBoolean.t option;The time dependent constraint.
*)trailerCount : RouteNoticeDetailRange.t option;Number of trailers attached to the vehicle. Default value: 0
*)travelMode : SensitiveBoolean.t option;Travel mode corresponding to the leg.
*)truckRoadType : String_.t option;Truck road type identifiers. BK1 through BK4 apply only to Sweden. A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico. There are currently no other supported values as of 26th April 2024.
*)truckType : RouteTruckType.t option;The type of truck: LightTruck for smaller delivery vehicles, StraightTruck for rigid body trucks, or Tractor for tractor-trailer combinations.
*)tunnelRestrictionCode : TunnelRestrictionCode.t option;The tunnel restriction code. Tunnel categories in this list indicate the restrictions which apply to certain tunnels in Great Britain. They relate to the types of dangerous goods that can be transported through them. Tunnel Category B Risk Level: Limited risk Restrictions: Few restrictions Tunnel Category C Risk Level: Medium risk Restrictions: Some restrictions Tunnel Category D Risk Level: High risk Restrictions: Many restrictions occur Tunnel Category E Risk Level: Very high risk Restrictions: Restricted tunnel
*)}val make :
?allHazardsRestricted:??? ->
?axleCount:??? ->
?hazardousCargos:??? ->
?maxHeight:??? ->
?maxKpraLength:??? ->
?maxLength:??? ->
?maxPayloadCapacity:??? ->
?maxWeight:??? ->
?maxWeightPerAxle:??? ->
?maxWeightPerAxleGroup:??? ->
?maxWidth:??? ->
?occupancy:??? ->
?restrictedTimes:??? ->
?timeDependent:??? ->
?trailerCount:??? ->
?travelMode:??? ->
?truckRoadType:??? ->
?truckType:??? ->
?tunnelRestrictionCode:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of SensitiveBoolean.t
| `Enum of string
| `List of [> `Enum of string ] list
| `Long of DimensionCentimeters.t
| `String of String_.t
| `Structure of
(string
* [> `Enum of string
| `Integer of RouteNoticeDetailRangeMinInteger.t
| `Long of WeightKilograms.t ])
list ])
list ]