{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crisphive-com/json-schema/crisphive-com-put-v1-vehicles-id-request-schema.json",
  "title": "PutV1VehiclesIdRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/crisphive-com-openapi-generated.yml#/components/schemas/PutV1VehiclesIdRequest",
  "type": "object",
  "properties": {
    "brand": {
      "type": "string",
      "description": "nil = keep; \"\" clears the field"
    },
    "current_mileage": {
      "type": "integer"
    },
    "model": {
      "type": "string"
    },
    "name": {
      "type": "string",
      "description": "nil = keep; min=1 rejects an explicit \"\" (a vehicle needs a name)"
    },
    "owner_id": {
      "type": "string",
      "description": "nil = keep the current owner; \"\" clears it; a UUID sets it"
    },
    "plate_number": {
      "type": "string",
      "description": "nil = keep; \"\" clears the field"
    },
    "status": {
      "type": "string",
      "description": "inactive, idle, on_job, maintenance"
    },
    "vehicle_type": {
      "type": "string",
      "description": "van, truck, car"
    },
    "year": {
      "type": "integer"
    }
  }
}