{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/silvercar/json-schema/silvercar-admin-customer-request-schema.json",
  "title": "AdminCustomerRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/silvercar-customers-api-openapi.yml#/components/schemas/AdminCustomerRequest",
  "type": "object",
  "required": [
    "first_name",
    "last_name",
    "phone_number",
    "language"
  ],
  "properties": {
    "email": {
      "type": "string",
      "description": "Email could be required based on the communication_preference location setting"
    },
    "first_name": {
      "type": "string"
    },
    "language": {
      "type": "string",
      "enum": [
        "en",
        "fr"
      ]
    },
    "last_name": {
      "type": "string"
    },
    "phone_number": {
      "type": "string"
    }
  }
}