---
title: "DriverResource"
url: "https://developers.vzconnect.com/apis/driver-api/versions/dd59d93e-671c-494a-b1e2-63fbd7c9d7da/schemas/DriverResource"
---

> Full API specification: https://developers.vzconnect.com/apis/driver-api/versions/dd59d93e-671c-494a-b1e2-63fbd7c9d7da.md

# DriverResource

A driver together with related API links.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Driver API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
components:
  schemas:
    Driver:
      type: object
      description: A driver record within a REVEAL account.
      required:
        - CreatedDateUTC
        - DriverNumber
        - EmailAddress
        - FirstName
        - LastName
        - EnableMobileAccess
        - PhoneNumber
        - DriverId
      properties:
        CreatedDateUTC:
          type: string
          format: date-time
          description: The date the driver was created within the REVEAL account.
          example: 2016-08-08T17:51:04.093
        DriverNumber:
          type: string
          nullable: true
          description: The Driver Number is the unique identifier that will be used to
            reference the driver within the API. The Driver Number is not a
            mandatory field within the REVEAL account, but is required for the
            API.
          example: "100096"
        EmailAddress:
          type: string
          description: The email address for the driver. The driver email address is
            optional. It is mandatory for utilizing driver related applications
            such as the Field App or LogBook. A driver's email address must be
            unique within an account.
          example: user@example.com
        FirstName:
          type: string
          description: The first name of the driver.
          example: Chris
        LastName:
          type: string
          description: The last name of the driver.
          example: Abernathy
        EnableMobileAccess:
          type: boolean
          default: false
          description: Boolean field for true or false. Default is false. True indicates
            the driver will have access to mobile applications.
          example: false
        PhoneNumber:
          type: string
          nullable: true
          description: The phone number for the driver.
          example: "5551234567"
        DriverId:
          type: integer
          description: An integer that serves as a primary key, uniquely identifying each
            record in the table.
          example: 1
    Link:
      type: object
      description: An API hyperlink reference.
      properties:
        Href:
          type: string
          description: The URL of the related resource.
    DriverResource:
      type: object
      description: A driver together with related API links.
      required:
        - Driver
        - Links
      properties:
        Driver:
          $ref: "#/components/schemas/Driver"
        Links:
          type: object
          description: Always returned. Href values are empty strings when the driver has
            no Driver Number.
          required:
            - KeyFobs
            - Self
          properties:
            KeyFobs:
              allOf:
                - $ref: "#/components/schemas/Link"
              description: The driver's key fob(s) can be found using the key fob API link.
            Self:
              $ref: "#/components/schemas/Link"
```
