{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/deliveree/json-schema/deliveree-post-public-api-v10-deliveries-request-schema.json",
  "title": "PostPublicApiV10DeliveriesRequest",
  "x-generated": "2026-11-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/deliveree-openapi-generated.yml#/components/schemas/PostPublicApiV10DeliveriesRequest",
  "type": "object",
  "properties": {
    "vehicle_type_id": {
      "type": "integer"
    },
    "booking_payment_type": {
      "type": "string"
    },
    "note": {
      "type": "string"
    },
    "time_type": {
      "type": "string"
    },
    "pickup_time": {
      "type": "string",
      "format": "date-time"
    },
    "job_order_number": {
      "type": "string"
    },
    "allow_parking_fees": {
      "type": "boolean"
    },
    "allow_tolls_fees": {
      "type": "boolean"
    },
    "allow_waiting_time_fees": {
      "type": "boolean"
    },
    "send_first_to_driver": {
      "type": "boolean"
    },
    "marked_as_favorite": {
      "type": "boolean"
    },
    "locations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string"
          },
          "latitude": {
            "type": "number"
          },
          "longitude": {
            "type": "number"
          },
          "recipient_name": {
            "type": "string"
          },
          "recipient_phone": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "is_payer": {
            "type": "boolean"
          }
        }
      }
    },
    "require_signatures": {
      "type": "boolean"
    },
    "extra_services": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "extra_requirement_id": {
            "type": "integer"
          },
          "selected_amount": {
            "type": "integer"
          }
        }
      }
    },
    "estimate_transit_times_attributes": {
      "type": "array",
      "items": {}
    },
    "discount_code": {
      "type": "string"
    },
    "booking_location_tracking_attributes": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}