{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://smklog.com/developers/schemas/holiday-deadlines.schema.json",
  "title": "HolidayDeadlines",
  "type": "object",
  "description": "The carriers’ own recommended send-by dates for delivery by the 2026 winter holidays, each marked on_track or too_late for today in New York.",
  "required": [
    "season",
    "today",
    "season_over",
    "coverage",
    "carriers",
    "note"
  ],
  "properties": {
    "season": {
      "type": "string",
      "description": "Which season the dates are for"
    },
    "today": {
      "type": "string",
      "format": "date",
      "description": "Today in New York (America/New_York), YYYY-MM-DD"
    },
    "season_over": {
      "type": "boolean",
      "description": "True after Dec 24, 2026; carriers is then empty"
    },
    "coverage": {
      "type": "string",
      "description": "Which lanes the dates are for"
    },
    "carriers": {
      "type": "array",
      "description": "USPS, FedEx and UPS",
      "items": {
        "type": "object",
        "required": [
          "carrier",
          "deliver_by",
          "source",
          "services"
        ],
        "properties": {
          "carrier": {
            "type": "string",
            "enum": [
              "USPS",
              "FedEx",
              "UPS"
            ]
          },
          "deliver_by": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "The day the dates aim at: Dec 25 for USPS, Dec 24 for FedEx; null for UPS"
          },
          "source": {
            "type": "string",
            "description": "Where and when SMKlog read the dates"
          },
          "note": {
            "type": "string",
            "description": "Why a carrier lists no dates"
          },
          "services": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "service"
              ],
              "properties": {
                "service": {
                  "type": "string"
                },
                "ship_by": {
                  "type": "string",
                  "format": "date",
                  "description": "Send on or before this date"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "on_track",
                    "too_late"
                  ],
                  "description": "on_track while today is on or before ship_by"
                },
                "ship_by_by_transit_days": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string",
                    "format": "date"
                  },
                  "description": "FedEx Ground and Home Delivery: the date by the service’s days in transit on the lane, 1 to 5"
                },
                "status_by_transit_days": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string",
                    "enum": [
                      "on_track",
                      "too_late"
                    ]
                  },
                  "description": "The status of each of those dates"
                }
              }
            }
          }
        }
      }
    },
    "note": {
      "type": "string",
      "description": "What the dates are and are not"
    }
  },
  "x-provenance": {
    "method": "published",
    "publisher": "SMKlog (SMKLOG-2022 LLC)",
    "source": "https://quote-api.smklog.com/openapi.json",
    "published": "2026-11-26"
  }
}
