{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/main/json-schema/grubhub-dropoffimagedetails-schema.json",
  "title": "DropoffImageDetails",
  "x-generated": "2026-09-17",
  "x-method": "derived",
  "x-source": "openapi/grubhub-connect-endpoints-openapi.yml#/components/schemas/DropoffImageDetails",
  "required": [
    "photo_capture_location",
    "photo_capture_time",
    "photo_expiration_time",
    "photo_url"
  ],
  "type": "object",
  "properties": {
    "photo_url": {
      "type": "string",
      "description": "A URL to the dropoff photo taken by the driver upon completing the delivery.",
      "example": "http://www.grubhub.com/example.png"
    },
    "photo_capture_time": {
      "type": "string",
      "description": "The timestamp at which the dropoff photo was captured. Formatted as an ISO-8601 timestamp.",
      "format": "date-time",
      "example": "2024-05-28T00:00:00Z"
    },
    "photo_capture_location": {
      "$ref": "#/$defs/GeoLocation"
    },
    "photo_expiration_time": {
      "type": "string",
      "description": "The timestamp when the dropoff photo will expire. Formatted as an ISO-8601 timestamp.",
      "format": "date-time",
      "example": "2024-05-28T00:00:00Z"
    }
  },
  "$defs": {
    "GeoLocation": {
      "required": [
        "lat",
        "lng"
      ],
      "type": "object",
      "properties": {
        "lat": {
          "type": "number",
          "description": "The latitude of the location.",
          "format": "double",
          "example": 41.88320791307697
        },
        "lng": {
          "type": "number",
          "description": "The longitude of the location.",
          "format": "double",
          "example": -87.63142796027925
        }
      },
      "description": "The last known location of the courier."
    }
  }
}