{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/silvercar/json-schema/silvercar-contactless-contract-driver-response-schema.json",
  "title": "ContactlessContractDriverResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/silvercar-contactless-api-openapi.yml#/components/schemas/ContactlessContractDriverResponse",
  "type": "object",
  "required": [
    "agreement_url",
    "customer_name",
    "dealership_name",
    "first_name",
    "fuel",
    "fuel_percentage",
    "last_name",
    "metric",
    "odometer",
    "signature"
  ],
  "properties": {
    "agreement_url": {
      "type": "string"
    },
    "customer_name": {
      "type": "string",
      "description": "The full name of the customer that is attached to the contract"
    },
    "dealership_name": {
      "type": "string",
      "description": "The dealership's name where the contract was started at"
    },
    "first_name": {
      "type": "string",
      "description": "The driver's first name"
    },
    "fuel": {
      "type": [
        "string",
        "null"
      ]
    },
    "fuel_percentage": {
      "type": [
        "number",
        "null"
      ],
      "format": "float"
    },
    "last_name": {
      "type": "string",
      "description": "The driver's last name"
    },
    "metric": {
      "type": "boolean"
    },
    "odometer": {
      "type": [
        "object",
        "null"
      ],
      "required": [
        "value",
        "unit"
      ],
      "properties": {
        "value": {
          "type": "number",
          "format": "float"
        },
        "unit": {
          "type": "string"
        }
      }
    },
    "signature": {
      "type": "boolean"
    }
  }
}