title: Delivery Route
type: object
x-tags:
  - Foundation
description: Represents the route between an outlet and a destination.
required:
  - destination
  - estimated_travel_time_in_minutes
  - estimated_travel_distance_in_meters
properties:
  destination:
    $ref: ./Address.yaml
    description: |-
      The intended destination.

      The address `coordinates` must be supplied.
  estimated_travel_time_in_minutes:
    type: integer
    minimum: 1
    description: The time (in minutes) to travel between the outlet and the destination.
  estimated_travel_distance_in_meters:
    type: integer
    minimum: 1
    description: The distance (in meters) between the outlet and the destination.
