{
  "source": "current frontend API consumption contracts",
  "apis": {
    "/api/wip/overview/summary": {
      "required_keys": [
        "dataUpdateDate",
        "runLots",
        "queueLots",
        "holdLots"
      ],
      "notes": "summary header and cards depend on these fields"
    },
    "/api/wip/overview/matrix": {
      "required_keys": [
        "workcenters",
        "packages",
        "matrix",
        "workcenter_totals"
      ],
      "notes": "matrix table rendering contract"
    },
    "/api/wip/hold-detail/summary": {
      "required_keys": [
        "workcenterCount",
        "packageCount",
        "lotCount"
      ],
      "notes": "hold detail summary cards contract"
    },
    "/api/resource/history/summary": {
      "required_keys": [
        "kpi",
        "trend",
        "heatmap",
        "workcenter_comparison"
      ],
      "notes": "resource history chart summary contract"
    },
    "/api/resource/history/detail": {
      "required_keys": [
        "data"
      ],
      "notes": "detail table contract (plus truncated/max_records metadata when present)"
    }
  }
}
