{
  "name": "DeAutofinancier Vehicle Search",
  "version": "1.0",
  "description": "Machine-readable description of the DeAutofinancier vehicle search interface.",
  "endpoint": {
    "url": "https://www.deautofinancier.nl/api/vehicles/search",
    "method": "GET",
    "contentType": "application/json"
  },
  "taxonomyUrl": "https://www.deautofinancier.nl/.well-known/vehicle-taxonomy",
  "capabilities": {
    "supportsMultiValueFilters": true,
    "supportsPagination": true,
    "supportsSorting": true,
    "supportsPartialMatches": false
  },
  "parameters": {
    "make": {
      "type": "string",
      "description": "Vehicle manufacturer",
      "taxonomy": "make"
    },
    "model": {
      "type": "string",
      "description": "Vehicle model",
      "taxonomy": "model"
    },
    "vehicleCategory": {
      "type": "string",
      "description": "Vehicle category",
      "taxonomy": "vehicleCategory"
    },
    "yearMin": {
      "type": "integer",
      "description": "Minimum build year"
    },
    "yearMax": {
      "type": "integer",
      "description": "Maximum build year"
    },
    "odometerMin": {
      "type": "integer",
      "description": "Minimum odometer reading in kilometers"
    },
    "odometerMax": {
      "type": "integer",
      "description": "Maximum odometer reading in kilometers"
    },
    "priceMin": {
      "type": "number",
      "description": "Minimum vehicle price in EUR"
    },
    "priceMax": {
      "type": "number",
      "description": "Maximum vehicle price in EUR"
    },
    "financeProduct": {
      "type": "string",
      "description": "Financing product",
      "taxonomy": "financeProduct"
    },
    "monthlyPaymentMin": {
      "type": "number",
      "description": "Minimum monthly payment in EUR"
    },
    "monthlyPaymentMax": {
      "type": "number",
      "description": "Maximum monthly payment in EUR"
    },
    "fuelType": {
      "type": "string",
      "description": "Fuel type",
      "taxonomy": "fuelType"
    },
    "transmission": {
      "type": "string",
      "description": "Transmission type",
      "taxonomy": "transmission"
    },
    "bodyType": {
      "type": "string",
      "description": "Vehicle body type",
      "taxonomy": "bodyType"
    },
    "color": {
      "type": "string",
      "description": "Vehicle color",
      "taxonomy": "color"
    },
    "page": {
      "type": "integer",
      "description": "Requested result page",
      "default": 1,
      "minimum": 1
    },
    "pageSize": {
      "type": "integer",
      "description": "Number of results per page",
      "default": 10,
      "allowedValues": [
        10,
        25,
        50,
        100
      ]
    },
    "sort": {
      "type": "string",
      "description": "Result ordering",
      "allowedValues": [
        "relevance",
        "price-asc",
        "price-desc",
        "monthly-payment-asc",
        "monthly-payment-desc",
        "year-asc",
        "year-desc",
        "odometer-asc",
        "odometer-desc",
        "listed-asc",
        "listed-desc"
      ]
    }
  },
  "multiValueParameters": [
    "make",
    "model",
    "fuelType",
    "bodyType",
    "color",
    "transmission"
  ]
}