{
  "company": "Aster Ridge Fabrication (fictional)",
  "as_of": "2026-04-18",
  "buffer_days": 7,
  "summary": {
    "reviewed": 9,
    "due": 3,
    "covered": 2,
    "check_first": 2,
    "watch": 1
  },
  "rows": [
    {
      "part": "AR-1042",
      "description": "Hydraulic fitting, ½ in",
      "last_purchase": "2026-03-22",
      "typical_gap_days": 30,
      "typical_qty": 40,
      "lead_days": 12,
      "lead_source": "vendor confirmation",
      "on_hand": null,
      "open_po": null,
      "crucial": true,
      "next_expected": "2026-04-21",
      "days_to_next": 3,
      "status": "due",
      "status_label": "Due for review",
      "why": "Next purchase expected in 3 days; lead time plus buffer is 19 days; nothing on hand or on order."
    },
    {
      "part": "AR-2210",
      "description": "Gasket kit, pump housing",
      "last_purchase": "2026-02-27",
      "typical_gap_days": 45,
      "typical_qty": 30,
      "lead_days": 21,
      "lead_source": "receipt history",
      "on_hand": 6,
      "open_po": null,
      "crucial": false,
      "next_expected": "2026-04-13",
      "days_to_next": -5,
      "status": "due",
      "status_label": "Due for review",
      "why": "Next purchase was expected 5 days ago; lead time plus buffer is 28 days; 6 on hand covers only about 9 days."
    },
    {
      "part": "AR-3307",
      "description": "Bearing, flange mount",
      "last_purchase": "2026-02-26",
      "typical_gap_days": 60,
      "typical_qty": 12,
      "lead_days": 35,
      "lead_source": "receipt history",
      "on_hand": null,
      "open_po": null,
      "crucial": true,
      "next_expected": "2026-04-27",
      "days_to_next": 9,
      "status": "due",
      "status_label": "Due for review",
      "why": "Next purchase expected in 9 days; lead time plus buffer is 42 days; nothing on hand or on order."
    },
    {
      "part": "AR-1180",
      "description": "Pressure switch",
      "last_purchase": "2026-03-30",
      "typical_gap_days": 40,
      "typical_qty": 10,
      "lead_days": 18,
      "lead_source": "vendor median",
      "on_hand": null,
      "open_po": "PO 5512",
      "crucial": false,
      "next_expected": "2026-05-09",
      "days_to_next": 21,
      "status": "order",
      "status_label": "On order",
      "why": "Open PO 5512, due Apr 22, already covers the next purchase."
    },
    {
      "part": "AR-4415",
      "description": "Nozzle tip, 2.5 mm",
      "last_purchase": "2026-03-21",
      "typical_gap_days": 28,
      "typical_qty": 100,
      "lead_days": 10,
      "lead_source": "receipt history",
      "on_hand": 140,
      "open_po": null,
      "crucial": false,
      "next_expected": "2026-04-18",
      "days_to_next": 0,
      "status": "stock",
      "status_label": "Stock covers",
      "why": "Next purchase expected today, but 140 on hand covers about 39 days, more than the 17-day window."
    },
    {
      "part": "AR-2876",
      "description": "Hose assembly, 10 ft",
      "last_purchase": "2026-04-05",
      "typical_gap_days": 35,
      "typical_qty": 8,
      "lead_days": 14,
      "lead_source": "receipt history",
      "on_hand": null,
      "open_po": null,
      "crucial": false,
      "next_expected": "2026-05-10",
      "days_to_next": 22,
      "status": "watch",
      "status_label": "Watch",
      "why": "Next purchase expected in 22 days, inside two 21-day windows."
    },
    {
      "part": "AR-5021",
      "description": "Control relay",
      "last_purchase": "2026-04-09",
      "typical_gap_days": 90,
      "typical_qty": 6,
      "lead_days": 25,
      "lead_source": "vendor confirmation",
      "on_hand": null,
      "open_po": null,
      "crucial": false,
      "next_expected": "2026-07-08",
      "days_to_next": 81,
      "status": "ok",
      "status_label": "Not due",
      "why": "Next purchase expected in about 12 weeks."
    },
    {
      "part": "AR-3950",
      "description": "Valve seat, stainless",
      "last_purchase": "2026-01-10",
      "typical_gap_days": 30,
      "typical_qty": 20,
      "lead_days": 16,
      "lead_source": "receipt history",
      "on_hand": null,
      "open_po": null,
      "crucial": false,
      "next_expected": "2026-02-09",
      "days_to_next": -68,
      "status": "lapsed",
      "status_label": "Lapsed",
      "why": "Overdue by 68 days, more than two typical gaps; demand may have stopped. Review before buying."
    },
    {
      "part": "AR-6603",
      "description": "Sight glass, 3 in",
      "last_purchase": "2026-01-18",
      "typical_gap_days": null,
      "typical_qty": 2,
      "lead_days": 20,
      "lead_source": "item record",
      "on_hand": null,
      "open_po": null,
      "crucial": false,
      "status": "single",
      "status_label": "One-time purchase",
      "why": "Bought once in 12 months: a purchase, not a pattern. Never flagged to buy."
    }
  ]
}
