{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/main/json-schema/grubhub-responsewrapperprogressdeliveryresponse-schema.json",
  "title": "ResponseWrapperProgressDeliveryResponse",
  "x-generated": "2026-09-17",
  "x-method": "derived",
  "x-source": "openapi/grubhub-connect-endpoints-openapi.yml#/components/schemas/ResponseWrapperProgressDeliveryResponse",
  "type": "object",
  "properties": {
    "response": {
      "$ref": "#/$defs/ProgressDeliveryResponse"
    },
    "errors": {
      "type": "array",
      "description": "A list of errors returned.",
      "items": {
        "$ref": "#/$defs/PublicApiError"
      }
    }
  },
  "$defs": {
    "ProgressDeliveryResponse": {
      "required": [
        "expected_progression_time"
      ],
      "type": "object",
      "properties": {
        "expected_progression_time": {
          "type": "string",
          "description": "The expected timestamp at which the delivery will be progressed to the requested state. Formatted as an ISO-8601 timestamp.",
          "format": "date-time",
          "example": "2024-05-28T00:00:00Z"
        }
      },
      "description": "The response information of a delivery progression request."
    },
    "PublicApiError": {
      "required": [
        "code",
        "message"
      ],
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "A code representing the type of error that occurred."
        },
        "message": {
          "type": "string",
          "description": "A detailed description of the error that occurred."
        }
      },
      "description": "An error returned by the delivery API."
    }
  }
}