{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/silvercar/json-schema/silvercar-admin-drivers-request-schema.json",
  "title": "AdminDriversRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/silvercar-drivers-api-openapi.yml#/components/schemas/AdminDriversRequest",
  "type": "object",
  "required": [
    "born_on",
    "country",
    "first_name",
    "last_name",
    "license_expires_on",
    "license_number",
    "license_subregion",
    "phone_number"
  ],
  "properties": {
    "email": {
      "type": "string",
      "description": "Email"
    },
    "first_name": {
      "type": "string",
      "description": "First Name"
    },
    "last_name": {
      "type": "string",
      "description": "Last Name"
    },
    "license_number": {
      "type": "string",
      "description": "The drivers license number"
    },
    "license_subregion": {
      "type": "string",
      "description": "The subregion of the drivers license"
    },
    "born_on": {
      "type": "string",
      "description": "The date of birth formatted like YYYY-MM-DD"
    },
    "license_expires_on": {
      "type": "string",
      "description": "The expiration date formatted like YYYY-MM-DD"
    },
    "country": {
      "type": "string",
      "description": "The country of the drivers license"
    },
    "phone_number": {
      "type": "string",
      "description": "The additional drivers' phone number unformatted"
    }
  }
}