{
  "input": {
    "requiredUnits": 100,
    "allocations": [
      {
        "id": "Q1",
        "allocatedUnits": 60,
        "capacityUnits": 60,
        "unitPrice": 2,
        "orderFee": 10
      },
      {
        "id": "Q2",
        "allocatedUnits": 40,
        "capacityUnits": 100,
        "unitPrice": 3,
        "orderFee": 5
      }
    ]
  },
  "expected": {
    "summary": "Allocated 100 of 100 units; scenario cost 255.",
    "rows": [
      {
        "id": "Q1",
        "allocatedUnits": 60,
        "capacityUnits": 60,
        "unitPrice": 2,
        "orderFee": 10,
        "appliedOrderFee": 10,
        "allocatedCost": 130,
        "allocatedTotalUnits": 100,
        "demandDifference": 0,
        "totalScenarioCost": 255,
        "matchesDemand": true
      },
      {
        "id": "Q2",
        "allocatedUnits": 40,
        "capacityUnits": 100,
        "unitPrice": 3,
        "orderFee": 5,
        "appliedOrderFee": 5,
        "allocatedCost": 125,
        "allocatedTotalUnits": 100,
        "demandDifference": 0,
        "totalScenarioCost": 255,
        "matchesDemand": true
      }
    ],
    "warnings": [
      "Compare supplied figures in one currency for the same specification. No supplier verification, negotiation, ordering or payment occurs.",
      "This evaluates your chosen allocation without finding a cheapest or most reliable allocation."
    ]
  }
}
