← Files Supplier Leadtime DatesARCHIVED FILE

EXAMPLE.json

1.13 KB · Nov 3, 2026 · 12:13 UTC

↓ Download file

{
  "input": {
    "orderDate": "2026-10-01",
    "requiredBy": "2026-10-20",
    "bufferDays": 3,
    "quotes": [
      {
        "id": "Q1",
        "productionDays": 7,
        "transitDays": 5
      },
      {
        "id": "Q2",
        "productionDays": 15,
        "transitDays": 5
      }
    ]
  },
  "expected": {
    "summary": "1 supplied leadtimes fit the deadline and buffer.",
    "rows": [
      {
        "quoteRef": "Q1",
        "estimatedDispatch": "2026-10-08",
        "estimatedArrival": "2026-10-13",
        "totalCalendarDays": 12,
        "deadlineSlackDays": 7,
        "afterBufferSlackDays": 4,
        "status": "withinDeadlineWithBuffer"
      },
      {
        "quoteRef": "Q2",
        "estimatedDispatch": "2026-10-16",
        "estimatedArrival": "2026-10-21",
        "totalCalendarDays": 20,
        "deadlineSlackDays": -1,
        "afterBufferSlackDays": -4,
        "status": "afterDeadline"
      }
    ],
    "warnings": [
      "Supplied leadtimes use calendar days from the order date. Weekends, holidays, acceptance delays, customs and service interruptions are not modeled; arrival is not guaranteed."
    ]
  }
}

SHA-256: 4f4e6e57ba95f72dd10131d030d59ea13dde891bbea44c9d7aac0fe131b9218d