{
    "name": "Prestige Pull Your Part - Demo API",
    "description": "Dummy data for an auto recycler chain: yard locations & hours, car inventory, part pricing, part types and part interchange option trees.",
    "endpoints": {
        "GET /api/yards": "All yards with hours + open-now status. Filters: state, city, search, openNow=true|false, at=<datetime>",
        "GET /api/yards/{yardId|yardCode}": "One yard, e.g. /api/yards/HOU",
        "GET /api/yards/{yardId|yardCode}/hours": "Operating hours (yard, office, car buying), holidays and open-now status",
        "GET /api/inventory": "Vehicles on yards. Filters: yardId, state, city, make, model, year, yearFrom, yearTo, color, status (0,1,2), engine, vin, search, arrivedWithinDays, sort (newest|oldest|year|yearDesc|make), page, pageSize",
        "GET /api/inventory/{stockNumber|vin}": "One vehicle",
        "GET /api/part-pricing": "Part price list. Filters: yardId (uses that yard's price list), priceList, category, partType, search, maxPrice, page, pageSize",
        "GET /api/part-pricing/categories": "Part categories (yardId or priceList optional)",
        "GET /api/part-pricing/price-lists": "Price lists and which yards use them",
        "GET /api/part-types": "Part type list. Filter: search",
        "GET /api/part-types/{partType}": "One part type with its wizard questions and prices",
        "GET /api/part-types/{partType}/options?year=&make=&model=": "Part options tree (raw). Optional: engine, parent (0 = first level, or a SeqNbr for its children)",
        "GET /api/part-types/{partType}/wizard?year=&make=&model=": "Step-by-step wizard over the same tree. Pass selected={SeqNbr} for the next step",
        "GET /api/parts/availability?inventoryNumber=": "Yards/vehicles that carry an interchange InventoryNumber, with price. Optional: yardId, status (default 0, or all)",
        "GET /api/vehicles/makes": "Supported makes",
        "GET /api/vehicles/models?make=": "Models for a make (years, engines, body styles)",
        "GET /api/vehicles/years?make=&model=": "Model years for a make/model"
    },
    "examples": [
        "/api/yards?state=TX",
        "/api/yards/HOU/hours",
        "/api/inventory?yardId=HOU&make=HONDA&model=CIVIC&status=0",
        "/api/part-pricing?yardId=CHI&category=ENGINES",
        "/api/part-types/601/options?year=2014&make=HONDA&model=CIVIC",
        "/api/part-types/601/wizard?year=2014&make=HONDA&model=CIVIC"
    ]
}