# flat representation

Domain: VSS-v0.1

Vehicle.LowVoltageSystemState:
  datatype: string
  type: sensor
  allowed:
    - 'UNDEFINED', # State of low voltage system not known
    - 'LOCK',      # Low voltage system off, steering lock or equivalent engaged
    - 'OFF',       # Low voltage system off, steering lock or equivalent not engaged
    - 'ACC',       # Vehicle Accessories on/living
    - 'ON',        # Engine start enabled (e.g. ignition on, diesel pre-heating, electrical drive released)
    - 'START'      # Engine starter relay closed (not applicable for electrical vehicles)

  description: State of the supply voltage of the control units (usually 12V).

Vehicle.CurrentLocation.GNSSReceiver.FixType:
  datatype: string
  type: sensor
  allowed: 
          - 'NONE',
          - 'TWO_D',
          - 'TWO_D_SATELLITE_BASED_AUGMENTATION',
          - 'TWO_D_GROUND_BASED_AUGMENTATION',
          - 'TWO_D_SATELLITE_AND_GROUND_BASED_AUGMENTATION',
          - 'THREE_D',
          - 'THREE_D_SATELLITE_BASED_AUGMENTATION',
          - 'THREE_D_GROUND_BASED_AUGMENTATION',
          - 'THREE_D_SATELLITE_AND_GROUND_BASED_AUGMENTATION'
  description: Fix status of GNSS receiver.

Vehicle.CurrentLocation.Longitude:
  datatype: double
  type: sensor
  min: -180
  max: 180
  unit: degrees
  description: Current longitude of vehicle in WGS 84 geodetic coordinates, as measured at the position of GNSS receiver antenna.

Vehicle.VersionVSS.Major:
  datatype: uint32
  type: attribute
  default: 0
  description: Supported Version of VSS - Major version.

Vehicle.TripMeterReading:
  datatype: float
  type: actuator
  unit: km
  description: Trip meter reading.
  comment: The trip meter is an odometer that can be manually reset by the driver

Vehicle.Speed:
  datatype: float
  type: sensor
  unit: km/h
  description: Vehicle speed.

