{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/doordash/refs/heads/main/json-schema/doordash-classic-delivery-schema.json",
"title": "ClassicDelivery",
"description": "ClassicDelivery schema from DoorDash API",
"type": "object",
"properties": {
"external_delivery_id": {
"type": "string",
"description": "The unique external delivery ID.",
"example": "D-12345"
},
"delivery_status": {
"type": "string",
"description": "The current status of the delivery.",
"enum": [
"created",
"confirmed",
"enroute_to_pickup",
"arrived_at_pickup",
"picked_up",
"enroute_to_dropoff",
"arrived_at_dropoff",
"delivered",
"cancelled",
"returned"
],
"example": "created"
},
"fee": {
"type": "integer",
"description": "The delivery fee in cents.",
"example": 42
},
"currency": {
"type": "string",
"description": "The currency code.",
"example": "USD"
},
"tip": {
"type": "integer",
"description": "The tip amount in cents.",
"example": 42
},
"pickup_address": {
"type": "string",
"description": "The pickup address.",
"example": "901 Market St, San Francisco, CA 94105"
},
"dropoff_address": {
"type": "string",
"description": "The dropoff address.",
"example": "901 Market St, San Francisco, CA 94105"
},
"pickup_time_estimated": {
"type": "string",
"format": "date-time",
"description": "The estimated pickup time.",
"example": "2026-06-02T14:30:00Z"
},
"pickup_time_actual": {
"type": "string",
"format": "date-time",
"description": "The actual pickup time.",
"example": "2026-06-02T14:30:00Z"
},
"dropoff_time_estimated": {
"type": "string",
"format": "date-time",
"description": "The estimated dropoff time.",
"example": "2026-06-02T14:30:00Z"
},
"dropoff_time_actual": {
"type": "string",
"format": "date-time",
"description": "The actual dropoff time.",
"example": "2026-06-02T14:30:00Z"
},
"dasher_id": {
"type": "integer",
"description": "The assigned Dasher's ID.",
"example": 42
},
"dasher_name": {
"type": "string",
"description": "The assigned Dasher's first name.",
"example": "Acme Pickup Store"
},
"tracking_url": {
"type": "string",
"format": "uri",
"description": "A URL for tracking the delivery.",
"example": "https://example.com/path/abc123"
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "When the delivery was created.",
"example": "2026-06-02T14:30:00Z"
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "When the delivery was last updated.",
"example": "2026-06-02T14:30:00Z"
}
}
}