{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/main/json-schema/grubhub-timepreferences-schema.json",
  "title": "TimePreferences",
  "x-generated": "2026-09-17",
  "x-method": "derived",
  "x-source": "openapi/grubhub-connect-endpoints-openapi.yml#/components/schemas/TimePreferences",
  "type": "object",
  "properties": {
    "pickup_time": {
      "type": "string",
      "description": "The preferred pickup time for the courier. Formatted as an ISO-8601 timestamp.",
      "format": "date-time",
      "example": "2024-03-14T19:22:51.999Z"
    },
    "dropoff_time": {
      "type": "string",
      "description": "The preferred dropoff time for the courier. Formatted as an ISO-8601 timestamp.",
      "format": "date-time",
      "example": "2024-03-14T19:22:51.999Z"
    }
  },
  "description": "The preferred pickup or dropoff time for the courier. Only use one of them."
}