{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dhl/json-schema/dhl-domestic-product-schema.json",
  "title": "DomesticProduct",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dhl-product-finder-dhl-ecommerce-americas-openapi.yml#/components/schemas/DomesticProduct",
  "type": "object",
  "properties": {
    "Labelrequest": {
      "type": "object",
      "description": "https://developer.dhl.com/api-reference/label-dhl-ecommerce-americas#operations-Label-createLabel"
    },
    "estimatedDeliveryDate": {
      "type": "object",
      "description": "EDD request configuration (O)",
      "properties": {
        "calculate": {
          "type": "boolean",
          "description": "Whether or not to calculate estimated delivery date (default: false) (O)",
          "enum": [
            true,
            false
          ]
        },
        "deliveryBy": {
          "type": "string",
          "maxLength": 10,
          "minLength": 10,
          "description": "Latest delivery by date in YYYY-MM-DD format (O)"
        },
        "expectedShipDate": {
          "type": "string",
          "maxLength": 10,
          "minLength": 10,
          "description": "Expected ship date in YYYY-MM-DD format; when provided, estimatedDeliveryMin and estimatedDeliveryMax will be calculated using this ship date (O)"
        },
        "expectedTransit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 99,
          "description": "Filter for maximum transit days (O)"
        }
      }
    },
    "rate": {
      "type": "object",
      "description": "Rate request configuration (O)",
      "properties": {
        "calculate": {
          "type": "boolean",
          "description": "Whether or not to calculate rates (default: false) (O)",
          "enum": [
            true,
            false
          ]
        },
        "currency": {
          "type": "string",
          "maxLength": 3,
          "minLength": 3,
          "description": "Currency for maxPrice and for rates returned; required if calculate is true (C)"
        },
        "rateDate": {
          "type": "string",
          "maxLength": 10,
          "minLength": 10,
          "description": "Rate date to be used for the rate calculation, in YYYY-MM-DD format. This field is deprecated. Rate date will always be set to the current date. (O)"
        },
        "maxPrice": {
          "type": "number",
          "format": "float",
          "maximum": 9999999,
          "description": "Filter for products that are under a maximum price (O)"
        }
      }
    }
  }
}