---
title: "RemainingTime"
url: "https://developers.vzconnect.com/apis/logbook-api-v1/versions/ea989433-4e89-4d02-91b7-d8d691be26a1/schemas/RemainingTime"
---

> Full API specification: https://developers.vzconnect.com/apis/logbook-api-v1/versions/ea989433-4e89-4d02-91b7-d8d691be26a1.md

# RemainingTime

Hours of Service (HOS) for a driver against the ruleset or cycle. When the driver has no status within the last 6 months, only _links.remainingtime is returned and all other properties are absent.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Logbook API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
components:
  schemas:
    HoursAgainstRuleSet:
      type: object
      description: Driving time left for today and on-duty time left in the rule
        cycle, in hours. Values default to 0 when the information is not
        available.
      properties:
        DrivingLeftForToday:
          type: number
          format: double
          description: Driving time in hours left for today.
          example: 11.666667
        CycleTimeLeft:
          type: number
          format: double
          description: On-duty time in hours left in the current rule cycle.
          example: 59.9833336
    RemainingTimeLinks:
      type: object
      description: Supplemental API links available for additional reference. The
        remainingtime link is always returned; driver, vehicle and
        logbooksettings are returned only when the driver has a status in the
        last 6 months.
      nullable: true
      properties:
        remainingtime:
          $ref: "#/components/schemas/HyperlinkRef"
        driver:
          $ref: "#/components/schemas/HyperlinkRef"
        vehicle:
          $ref: "#/components/schemas/HyperlinkRef"
        logbooksettings:
          $ref: "#/components/schemas/HyperlinkRef"
    HyperlinkRef:
      type: object
      properties:
        href:
          type: string
          description: The hyperlink reference URL.
    RemainingTime:
      type: object
      description: Hours of Service (HOS) for a driver against the ruleset or cycle.
        When the driver has no status within the last 6 months, only
        _links.remainingtime is returned and all other properties are absent.
      properties:
        DriverNumber:
          type: string
          description: Driver Number is the unique identifier for Drivers created within
            REVEAL. If the provided Driver Number does not exist within the
            REVEAL account, a 404 error is returned.
          example: c_3379569
        FirstName:
          type: string
          description: The first name of the driver as recorded within the REVEAL vehicle
            profile.
          example: Driver First Name
        LastName:
          type: string
          description: The last name of the driver as recorded within the REVEAL vehicle
            profile.
          example: Driver Last Name
        VehicleNumber:
          type: string
          nullable: true
          description: Vehicle Number is the unique identifier for Vehicles created within
            REVEAL. Null when no vehicle is associated with the last status.
          example: "34343423"
        VehicleName:
          type: string
          nullable: true
          description: The Vehicle Name as recorded within the REVEAL vehicle profile.
            Null when no vehicle is associated with the last status.
          example: Vehicle85
        RuleCycle:
          type: integer
          description: Shows the last Rule Cycle for the Driver (number of days).
          example: 8
        HoursAgainstRuleSet:
          $ref: "#/components/schemas/HoursAgainstRuleSet"
        LastStatus:
          type: string
          description: "The driver's last status received from the app, either entered by
            the driver through the LogBook App or proposed by an admin within
            the REVEAL account. Returned as the status name: OffDuty, Driving
            (on duty and driving, set automatically when the vehicle is driven),
            OnDutyNotDriving (logging Hours of Service but not driving),
            SleeperBerth (in the sleeper cabin, not driving) and, in rare cases,
            NoStatus or Diagnostic."
          example: OnDutyNotDriving
        LastStatusDateTimeUTC:
          type: string
          format: date-time
          description: The timestamp of the status change. Taken from the device time and
            sent to REVEAL as a UTC time. The remaining time can be calculated
            considering the last status time and date.
          example: 2019-08-07T06:48:02.88
        HoursRemainingSinceLastStatus:
          type: object
          description: "Time remaining since the last status, expressed in minutes (not
            hours). Daily Driving Minutes: the time this driver has left to
            drive today, at the point the status change was struck. Daily On
            Duty Minutes: the time this driver has left on duty today, at the
            point the status change was struck. Values default to 0 when the
            information is not available."
          properties:
            DailyDrivingMinutes:
              type: integer
              description: Daily driving time remaining, in minutes.
              example: 700
            DailyOnDutyMinutes:
              type: integer
              description: Daily on duty time remaining, in minutes.
              example: 900
        _links:
          $ref: "#/components/schemas/RemainingTimeLinks"
```
