Raw schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The user's request in their own words, e.g. '2020 or newer Chevy Silverado 4x4 under $35k near 75201'"
},
"make": {
"type": "string",
"description": "Manufacturer, e.g. \"Toyota\". Optional - it is parsed from `query` when omitted. Pass it only to override what the text says."
},
"model": {
"type": "string",
"description": "Model line, e.g. \"RAV4 Hybrid\". Optional; parsed from `query` when omitted."
},
"trim": {
"type": "string",
"description": "Trim level, e.g. \"XLE\". Narrows hard, so omit unless the buyer named one."
},
"year_min": {
"type": "integer",
"description": "Earliest model year to accept, inclusive. Four digits."
},
"year_max": {
"type": "integer",
"description": "Latest model year to accept, inclusive. Omit for \"2019 or newer\"."
},
"price_max_cents": {
"type": "integer",
"description": "Budget ceiling in cents. $35,000 is 3500000. Enforced as a maximum."
},
"mileage_max": {
"type": "integer",
"description": "Maximum odometer miles, e.g. 60000."
},
"zip": {
"type": "string",
"description": "5-digit US zip code to search near (required for local results)"
},
"radius_miles": {
"type": "integer",
"description": "Search radius, default 50"
},
"condition": {
"type": "string",
"enum": [
"new",
"used",
"cpo",
"any"
],
"description": "\"cpo\" is manufacturer certified pre-owned. \"any\" searches all three; omitting it does not exclude used cars."
},
"fuel": {
"type": "string",
"description": "gas, hybrid, plug-in hybrid, electric, diesel"
},
"body": {
"type": "string",
"description": "sedan, suv, truck, coupe, hatchback, minivan, van, wagon, convertible"
},
"client_ref": {
"type": "string",
"description": "Optional stable, non-identifying reference for this end user (any opaque string; we hash it). Lets us count repeat askers without knowing who they are."
}
}
}