Skip to content

Commit

Permalink
add L13.4 properties
Browse files Browse the repository at this point in the history
  • Loading branch information
slashmili committed Jun 12, 2024
1 parent 3c52754 commit f780fac
Showing 1 changed file with 80 additions and 0 deletions.
80 changes: 80 additions & 0 deletions hm-vehicle-data-api-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,9 @@ components:
current_limit:
$ref: '#/components/schemas/property_electric_current'
description: Limit for the charging current.
conserving_charge:
$ref: '#/components/schemas/property_active_state'
description: Indicates if the vehicle is conserving charge.
hybrid_operating_mode:
$ref: '#/components/schemas/property_hybrid_operating_mode'
description: Operating mode of the hybrid vehicle.
Expand Down Expand Up @@ -386,6 +389,9 @@ components:
battery_temperature_control_demand:
$ref: '#/components/schemas/property_battery_temperature_control_demand'
description: Current demand of HV battery temperature control system.
charging_scenario:
$ref: '#/components/schemas/property_charging_scenario'
description: Charging scenario.
battery_level:
$ref: '#/components/schemas/property_percentage'
description: Battery level percentage between 0.0-1.0
Expand All @@ -411,6 +417,9 @@ components:
preconditioning_error:
$ref: '#/components/schemas/property_preconditioning_error'
description: Preconditioning error if one is encountered
charging_rate_distance:
$ref: '#/components/schemas/property_distance_over_time'
description: Range increase per time unit during ongoing charging process based on the average energy comsumption for driving.
timers:
description: Timers
items:
Expand Down Expand Up @@ -797,6 +806,11 @@ components:
items:
$ref: '#/components/schemas/property_dashboard_light'
type: array
dynamic_warnings:
description: Dynamic warnings
items:
$ref: '#/components/schemas/property_dynamic_warning'
type: array
property_percentage:
additionalProperties: false
minProperties: 1
Expand Down Expand Up @@ -1366,6 +1380,7 @@ components:
- green_flashing
- initialising
- error
- blue
type: string
failure:
$ref: '#/components/schemas/custom_type_failure'
Expand Down Expand Up @@ -2263,6 +2278,9 @@ components:
engine_oil_service_status:
$ref: '#/components/schemas/property_service_status'
description: Engine oil service status
estimated_primary_powertrain_range:
$ref: '#/components/schemas/property_length'
description: Estimated primary powertrain range
diesel_exhaust_filter_status:
description: Diesel exhaust filter status
items:
Expand All @@ -2288,6 +2306,18 @@ components:
format: date-time
type: string
type: object
property_dynamic_warning:
additionalProperties: false
minProperties: 1
properties:
data:
$ref: '#/components/schemas/custom_type_dynamic_warning'
failure:
$ref: '#/components/schemas/custom_type_failure'
timestamp:
format: date-time
type: string
type: object
power_takeoff:
properties:
engaged:
Expand Down Expand Up @@ -2954,6 +2984,24 @@ components:
- unit
- value
type: object
custom_type_dynamic_warning:
additionalProperties: false
description: Dynamic warning
properties:
category:
description: Category of the warning
type: string
description:
description: Description of the warning
type: string
id:
description: Identifier of the warning
type: string
required:
- category
- id
- description
type: object
property_diesel_exhaust_filter_status:
additionalProperties: false
minProperties: 1
Expand Down Expand Up @@ -4348,6 +4396,7 @@ components:
- digital_communication_established
- digital_communication_ended
- station_ready
- active
type: string
failure:
$ref: '#/components/schemas/custom_type_failure'
Expand Down Expand Up @@ -4522,6 +4571,37 @@ components:
- id
- distance
type: object
property_charging_scenario:
additionalProperties: false
minProperties: 1
properties:
data:
enum:
- 'off'
- charging_to_departure_time_finished
- immediately_charging_finished
- optimised_charging_finished
- charging_to_departure_time_active
- immediately_charging_active
- optimised_charging_active
- charging_to_departure_time_waiting
- optimised_charging_waiting
- no_grid_voltage
- error_lock
- error_charging_system
- initialization_charging_communication
- immediately_optimised_charging_active
- immediately_optimised_charging_finished
- emergency_charging
- charging_interrupt_by_user
- plug_releasable
type: string
failure:
$ref: '#/components/schemas/custom_type_failure'
timestamp:
format: date-time
type: string
type: object
property_trip_meter:
additionalProperties: false
minProperties: 1
Expand Down

0 comments on commit f780fac

Please sign in to comment.