{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/viatovia/json-schema/viatovia-assign-driver-request-schema.json",
  "title": "AssignDriverRequest",
  "x-generated": "2026-12-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fleet-openapi.json#/components/schemas/AssignDriverRequest",
  "type": "object",
  "properties": {
    "driver": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 255
        },
        "phone": {
          "type": "string",
          "maxLength": 32
        },
        "email": {
          "type": [
            "string",
            "null"
          ],
          "format": "email"
        },
        "vehicle_plate": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 32
        }
      },
      "required": [
        "name",
        "phone"
      ]
    },
    "meeting_point": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 255
    },
    "pickup_instructions": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 1000
    }
  },
  "required": [
    "driver"
  ]
}