{"definitions": {"Is.Restriction.HazMat.Permit": false, "Is.Restriction.General": ["any", ["==", ["get", "hgv"], "no"], ["any", ["all", ["==", ["get", "hgv"], "delivery"], ["==", ["get", "hgv_restriction"], "other"], ["has", "hgv_time_restrictions"]], ["all", ["!=", ["get", "hgv"], "delivery"], ["==", ["get", "hgv_restriction"], "other"]]]], "Is.Restriction.Weight": ["==", ["get", "hgv_restriction"], "weight"], "Is.Restriction.Height": ["==", ["get", "hgv_restriction"], "height"], "Is.Restriction.Width": ["==", ["get", "hgv_restriction"], "width"], "Is.Restriction.Length": ["==", ["get", "hgv_restriction"], "length"], "Is.Restriction.Wpag.1Axle": ["==", ["get", "hgv_restriction"], "wpag_single_axle"], "Is.Restriction.Wpag.2Axle": ["==", ["get", "hgv_restriction"], "wpag_tandem_axle"], "Is.Restriction.Wpag.3Axle": ["==", ["get", "hgv_restriction"], "wpag_triple_axle"], "Is.Restriction.Wpag.4Axle": ["==", ["get", "hgv_restriction"], "wpag_quad_axle"], "Is.Restriction.Wpag.5Axle": ["==", ["get", "hgv_restriction"], "wpag_quint_axle"], "Is.Restriction.Wpan.2Axles": ["any", ["==", ["get", "hgv_restriction"], "wpan_two_axles"], ["==", ["get", "hgv_restriction"], "wpan_two_or_more_axles"]], "Is.Restriction.Wpan.3Axles": ["any", ["==", ["get", "hgv_restriction"], "wpan_three_axles"], ["==", ["get", "hgv_restriction"], "wpan_three_or_more_axles"]], "Is.Restriction.Wpan.4Axles": ["any", ["==", ["get", "hgv_restriction"], "wpan_four_axles"], ["==", ["get", "hgv_restriction"], "wpan_four_or_more_axles"]], "Is.Restriction.Wpan.5Axles": ["any", ["==", ["get", "hgv_restriction"], "wpan_five_axles"], ["==", ["get", "hgv_restriction"], "wpan_five_or_more_axles"]], "Is.Restriction.Wpan.6Axles": ["any", ["==", ["get", "hgv_restriction"], "wpan_six_axles"], ["==", ["get", "hgv_restriction"], "wpan_six_or_more_axles"]], "Is.Restriction.Wpan.7Axles": ["==", ["get", "hgv_restriction"], "wpan_seven_axles"], "Is.Restriction.AxleGroup.1Axle": ["==", ["get", "hgv_restriction"], "axles_group_single_axle"], "Is.Restriction.AxleGroup.2Axle": ["==", ["get", "hgv_restriction"], "axles_group_tandem_axle"], "Is.Restriction.AxleGroup.3Axle": ["==", ["get", "hgv_restriction"], "axles_group_triple_axle"], "Is.Restriction.AxleGroup.4Axle": ["==", ["get", "hgv_restriction"], "axles_group_quad_axle"], "Is.Restriction.AxleGroup.5Axle": ["==", ["get", "hgv_restriction"], "axles_group_quint_axle"], "Is.Restriction.Wpa.SingleAxle": ["^=", ["ref", "Truck.Icon.Text"], "Single axle"], "Is.Restriction.Wpa.TandemAxle": ["^=", ["ref", "Truck.Icon.Text"], "Tandem axle"], "Is.Restriction.Wpa": ["all", ["==", ["get", "hgv_restriction"], "wpa"], ["!", ["ref", "Is.Restriction.Wpa.SingleAxle"]], ["!", ["ref", "Is.Restriction.Wpa.TandemAxle"]]], "Is.Restriction.AxleNumber": ["all", ["==", ["get", "hgv_restriction"], "axles"], ["any", ["==", ["ref", "Truck.Icon.Text"], "Two axles"], ["==", ["ref", "Truck.Icon.Text"], "Two or more axles"], ["==", ["ref", "Truck.Icon.Text"], "Three axles"], ["==", ["ref", "Truck.Icon.Text"], "Three or more axles"], ["==", ["ref", "Truck.Icon.Text"], "Four axles"], ["==", ["ref", "Truck.Icon.Text"], "Four or more axles"], ["==", ["ref", "Truck.Icon.Text"], "Five axles"], ["==", ["ref", "Truck.Icon.Text"], "Five or more axles"], ["==", ["ref", "Truck.Icon.Text"], "Six axles"], ["==", ["ref", "Truck.Icon.Text"], "Six or more axles"], ["==", ["ref", "Truck.Icon.Text"], "Seven axles"]]], "Is.Restriction.KpraLength": ["==", ["get", "hgv_restriction"], "kpra"], "Is.Restriction.Trailer": ["==", ["get", "hgv_restriction"], "trailers"], "Is.Haz.Mat": ["==", ["get", "hgv_restriction"], "hazmat"], "Is.Restriction.HazMat.Explosive": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Explosives"]], "Is.Restriction.HazMat.Gas": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Gas"]], "Is.Restriction.HazMat.Flammable": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Flammable"]], "Is.Restriction.HazMat.FlammableSolidCombustible": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Flammable solid combustible"]], "Is.Restriction.HazMat.Organic": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Organic"]], "Is.Restriction.HazMat.Poison": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Poison"]], "Is.Restriction.HazMat.Radioactive": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Radioactive"]], "Is.Restriction.HazMat.Corrosive": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Corrosive"]], "Is.Restriction.HazMat.Other": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Other"]], "Is.Restriction.HazMat.Any": ["all", ["ref", "Is.Haz.Mat"], ["any", ["==", ["ref", "Truck.Icon.Text"], "Any hazardous material"], ["==", ["ref", "Truck.Icon.Text"], "Hazardous material type unknown"]]], "Is.Restriction.HazMat.Unspecified": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Unspecified hazardous material type"]], "Is.Restriction.HazMat.PoisonInhalationHazard": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Poisonous inhalation hazard"]], "Is.Restriction.HazMat.HarmfulForWater": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Goods harmful for water"]], "Is.Restriction.HazMat.ExplosiveFlammable": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Explosive and flammable"]], "Is.Restriction.HazMat.TunnelCategoryMixed": ["all", ["ref", "Is.Haz.Mat"], ["any", ["==", ["ref", "Truck.Icon.Text"], "Tunnel category b1000c"], ["==", ["ref", "Truck.Icon.Text"], "Tunnel category b d"], ["==", ["ref", "Truck.Icon.Text"], "Tunnel category b e"], ["==", ["ref", "Truck.Icon.Text"], "Tunnel category c5000d"], ["==", ["ref", "Truck.Icon.Text"], "Tunnel category c d"], ["==", ["ref", "Truck.Icon.Text"], "Tunnel category c e"], ["==", ["ref", "Truck.Icon.Text"], "Tunnel category d e"]]], "Is.Restriction.HazMat.TunnelCategoryB": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Tunnel category b"]], "Is.Restriction.HazMat.TunnelCategoryC": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Tunnel category c"]], "Is.Restriction.HazMat.TunnelCategoryD": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Tunnel category d"]], "Is.Restriction.HazMat.TunnelCategoryE": ["all", ["ref", "Is.Haz.Mat"], ["==", ["ref", "Truck.Icon.Text"], "Tunnel category e"]], "Is.Restriction.Multiple": ["==", ["get", "hgv_restriction"], "multiple"], "Is.Restriction.Time": ["has", "hgv_time_restrictions"], "Is.Restriction.Time.Active": false, "Is.Restriction.Time.Inactive": false, "Truck.AttributeName": ["case", ["ref", "Truck.Icon.WithoutText"], "$layer", "hgv_restriction_shield_text"], "Truck.Icon.Text": ["get", "hgv_restriction_shield_text"], "Truck.Icon.CustomText": ["case", ["any", ["==", ["ref", "Truck.Icon.Text"], "Two axles"], ["==", ["ref", "Truck.Icon.Text"], "Two or more axles"]], "x2", ["any", ["==", ["ref", "Truck.Icon.Text"], "Three axles"], ["==", ["ref", "Truck.Icon.Text"], "Three or more axles"]], "x3", ["any", ["==", ["ref", "Truck.Icon.Text"], "Four axles"], ["==", ["ref", "Truck.Icon.Text"], "Four or more axles"]], "x4", ["any", ["==", ["ref", "Truck.Icon.Text"], "Five axles"], ["==", ["ref", "Truck.Icon.Text"], "Five or more axles"]], "x5", ["any", ["==", ["ref", "Truck.Icon.Text"], "Six axles"], ["==", ["ref", "Truck.Icon.Text"], "Six or more axles"]], "x6", ["==", ["ref", "Truck.Icon.Text"], "Seven axles"], "x7", null], "Truck.Icon.Text.Length": ["case", ["!=", ["ref", "Truck.Icon.CustomText"], null], ["length", ["ref", "Truck.Icon.CustomText"]], ["length", ["ref", "Truck.Icon.Text"]]], "Truck.Attribute.Is.Main": ["get", "is_main"], "Is.Restriction.Stacking.Diamond": ["==", ["ref", "Truck.Icon.Lookup.Shape"], "diamond"], "Is.Restriction.Stacking.Circle": ["==", ["ref", "Truck.Icon.Lookup.Shape"], "circle"], "Is.Diamond.Stacking.Inactive": ["all", ["ref", "Is.Restriction.Time.Inactive"], ["ref", "Is.Restriction.Stacking.Diamond"]], "Is.Diamond.Stacking.Active": ["any", ["all", ["ref", "Is.Restriction.Time.Active"], ["ref", "Is.Restriction.Stacking.Diamond"]], ["all", ["!", ["ref", "Show.TruckFeature.Restriction.Inactive"]], ["!", ["ref", "Is.Restriction.Time.Active"]], ["ref", "Is.Restriction.Stacking.Diamond"]]], "Is.Circle.Stacking.Inactive": ["all", ["ref", "Is.Restriction.Time.Inactive"], ["ref", "Is.Restriction.Stacking.Circle"]], "Is.Circle.Stacking.Active": ["any", ["all", ["ref", "Is.Restriction.Time.Active"], ["ref", "Is.Restriction.Stacking.Circle"]], ["all", ["!", ["ref", "Show.TruckFeature.Restriction.Inactive"]], ["!", ["ref", "Is.Restriction.Time.Active"]], ["ref", "Is.Restriction.Stacking.Circle"]]], "Is.Restriction.Delivery": ["==", ["get", "hgv_applied_to_delivery"], false]}}