PreTripPlanning

public struct PreTripPlanning : Hashable

Represents the legal requirements to be considered before a trip for all vehicles types.

  • The attribute specifies if local regulations require a warning triangle to be carried in the vehicle.

    Declaration

    Swift

    public var isWarningTriangleRequired: Bool
  • The attribute specifies if local regulations require a first aid kit to be carried in the vehicle.

    Declaration

    Swift

    public var isFirstAidKitRequired: Bool
  • The attribute specifies if local regulations require a safety vest to be carried in the vehicle.

    Declaration

    Swift

    public var isSafetyVestRequired: Bool
  • The attribute specifies if local regulations require spare light bulbs to be carried in the vehicle.

    Declaration

    Swift

    public var areSpareLightBulbsRequired: Bool
  • The attribute specifies if local regulations require an alcohol tester to be carried in the vehicle.

    Declaration

    Swift

    public var isAlcoholTesterRequired: Bool
  • The attribute specifies if local regulations require a fire extinguisher to be carried in the vehicle.

    Declaration

    Swift

    public var isFireExtinguisherRequired: Bool
  • The attribute specifies if local regulations require a tow rope to be carried in the vehicle.

    Declaration

    Swift

    public var isTowRopeRequired: Bool
  • The attribute specifies if local regulations require winter tires used during winter season.

    Declaration

    Swift

    public var areWinterTiresRequired: Bool
  • Indicates the start date and end date of a winter season in traffic regulations of the administrative area. Represented in TimeDomain format in prefix notation that follows the ISO 20524-1:2020 standard.

    Declaration

    Swift

    public var winterSeasonPeriod: String?
  • Creates a new instance.

    Declaration

    Swift

    public init(isWarningTriangleRequired: Bool = false, isFirstAidKitRequired: Bool = false, isSafetyVestRequired: Bool = false, areSpareLightBulbsRequired: Bool = false, isAlcoholTesterRequired: Bool = false, isFireExtinguisherRequired: Bool = false, isTowRopeRequired: Bool = false, areWinterTiresRequired: Bool = false, winterSeasonPeriod: String? = nil)