> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mobway.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Odometer

> Data related to the odometer

## odometer

Odometer

* Description: total mileage traveled
* Format: numeric
* Unit: km
* Decimal places: 2
  * Data processed by mobway will always have up to 2 decimal places. However, the precision of the original data depends on the automaker. The data may have fewer than 2 decimal places when it ends in 0 due to the automatic formatting of the float type
* Range: 0 to 1000000 km
  * The odometer range was defined based on the value reached by vehicles during their lifecycle, including a safety margin
  * Data outside this range is considered erroneous
  * The value is replaced with a null value
  * A flag is generated indicating the error and the original value, in the following format:

```json theme={null}
{
  "odometer": {
    "value": 9118257.33,
    "flag": "out of range"
  }
}
```

* Minimum and maximum variation: 0 km and 0.111 km per second
  * The minimum odometer variation was defined because the value should never decrease. The maximum odometer variation was defined based on the distance traveled by a vehicle at 400 km/h, including a safety margin
  * Data with variation outside the allowed limit compared to the previous data point is considered erroneous
  * The value is replaced with a null value
  * A flag is generated indicating the error and the original value, in the following format:

```json theme={null}
{
  "odometer": {
    "value": 43345.71,
    "flag": "variation out of limit"
  }
}
```

* Missing data
  * A flag is generated indicating that the original data was missing, in the following format:

```json theme={null}
{
  "odometer": {
    "flag": "missing data"
  }
}
```

* Example:

```json theme={null}
{
  "odometer": 25678.00
}
```

## trip\_odometer

Trip Distance

* Description: total mileage traveled during the trip
* Format: numeric
* Unit: km
* Decimal places: 2
  * Data processed by mobway will always have up to 2 decimal places. However, the precision of the original data depends on the automaker. The data may have fewer than 2 decimal places when it ends in 0 due to the automatic formatting of the float type
* Range: 0 to 1500 km
  * The trip distance range was defined based on the value reached by vehicles during their lifecycle, including a safety margin
  * Data outside this range is considered erroneous
  * The value is replaced with a null value
  * A flag is generated indicating the error and the original value, in the following format:

```json theme={null}
{
  "trip_odometer": {
    "value": 8257.43,
    "flag": "out of range"
  }
}
```

* Maximum variation: 0.111 km per second
  * The maximum trip distance variation was defined based on the distance traveled by a vehicle at 400 km/h, including a safety margin
  * Data with variation outside the allowed limit compared to the previous data point is considered erroneous
  * The value is replaced with a null value
  * A flag is generated indicating the error and the original value, in the following format:

```json theme={null}
{
  "trip_odometer": {
    "value": 35.16,
    "flag": "variation out of limit"
  }
}
```

* Missing data
  * A flag is generated indicating that the original data was missing, in the following format:

```json theme={null}
{
  "trip_odometer": {
    "flag": "missing data"
  }
}
```

* Example:

```json theme={null}
{
  "trip_odometer": 578.93
}
```
