{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carhunt-fr/json-schema/carhunt-fr-estimate-in-schema.json",
  "title": "EstimateIn",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/carhunt-fr-pro-openapi.json#/components/schemas/EstimateIn",
  "properties": {
    "make": {
      "type": "string",
      "maxLength": 50,
      "minLength": 1,
      "title": "Make"
    },
    "model": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "title": "Model"
    },
    "year": {
      "type": "integer",
      "maximum": 2030.0,
      "minimum": 1990.0,
      "title": "Year"
    },
    "mileage": {
      "type": "integer",
      "maximum": 1000000.0,
      "minimum": 0.0,
      "title": "Mileage"
    },
    "energy": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 50
        },
        {
          "type": "null"
        }
      ],
      "title": "Energy"
    },
    "gearbox": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 50
        },
        {
          "type": "null"
        }
      ],
      "title": "Gearbox"
    },
    "motorization": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Motorization"
    },
    "finition": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 80
        },
        {
          "type": "null"
        }
      ],
      "title": "Finition"
    },
    "asking_price": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Asking Price",
      "description": "Prix demandé, pour situer une offre de négociation"
    }
  },
  "type": "object",
  "required": [
    "make",
    "model",
    "year",
    "mileage"
  ]
}