{
  "fictional": true,
  "scope": "Pooled central eligible interchangeable units. No food-specific shelf life or supplier approval determined. Unserved demand expires each service window.",
  "rows": [
    {
      "day": 1,
      "quantity": 50
    },
    {
      "day": 2,
      "quantity": 70
    },
    {
      "day": 3,
      "quantity": 60
    }
  ],
  "outletContext": [
    {
      "day": 1,
      "A": 30,
      "B": 20
    },
    {
      "day": 2,
      "A": 40,
      "B": 30
    },
    {
      "day": 3,
      "A": 30,
      "B": 30
    }
  ],
  "primaryPlannedReceipt": {
    "day": 2,
    "quantity": 80
  },
  "baseline": {
    "opening": 100,
    "backupQuantity": 50,
    "backupArrivalDay": 2,
    "disruption": "primary-site",
    "backupQualification": "confirmed",
    "backupOrigin": "independent"
  },
  "expected": {
    "ordinaryNoActivation": {
      "gaps": [
        0,
        0,
        0
      ],
      "ending": 0
    },
    "primaryLossNoBackup": {
      "gaps": [
        0,
        20,
        60
      ],
      "totalGap": 80
    },
    "qualifiedBackupDay2": {
      "gaps": [
        0,
        0,
        30
      ],
      "totalGap": 30
    },
    "qualifiedBackupDay3": {
      "gaps": [
        0,
        20,
        10
      ],
      "totalGap": 30
    },
    "commonOriginSharedBackup": {
      "gaps": [
        0,
        20,
        60
      ],
      "totalGap": 80
    },
    "commonOriginIndependentBackup": {
      "gaps": [
        0,
        0,
        30
      ],
      "totalGap": 30
    },
    "unresolvedQualification": {
      "gaps": [
        0,
        20,
        60
      ],
      "totalGap": 80
    },
    "backupDay4": {
      "gaps": [
        0,
        20,
        60
      ],
      "totalGap": 80,
      "afterHorizonQuantity": 50
    }
  },
  "limits": [
    "No invented incident likelihood, avoided-loss forecast or guaranteed supplier capability.",
    "Two named suppliers can share upstream origin.",
    "Pooled availability does not establish outlet-level movement or actual menu substitutions."
  ],
  "equalHorizonTotalsCounterexample": {
    "opening": 100,
    "backupQuantity": 80,
    "backupArrivalDay": 3,
    "requirements": [
      50,
      70,
      60
    ],
    "gaps": [
      0,
      20,
      0
    ],
    "served": 160,
    "endingEligible": 20,
    "totalSupply": 180,
    "totalRequirement": 180,
    "sameReceiptDay2": {
      "totalGap": 0,
      "ending": 0
    }
  },
  "manualOutletAllocationExamples": {
    "day": 2,
    "centralAvailable": 50,
    "requirements": {
      "A": 40,
      "B": 30
    },
    "first": {
      "servedA": 40,
      "servedB": 10,
      "gapA": 0,
      "gapB": 20
    },
    "second": {
      "servedA": 20,
      "servedB": 30,
      "gapA": 20,
      "gapB": 0
    },
    "warning": "No priority policy or transport feasibility supplied; examples only."
  },
  "openingBoundaryWithoutReceipts": {
    "opening180": {
      "totalGap": 0
    },
    "opening179": {
      "gaps": [
        0,
        0,
        1
      ],
      "totalGap": 1
    }
  }
}