{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fedex/json-schema/fedex-ratc-response-vo-schema.json",
  "title": "RatcResponseVO",
  "description": "This is a wrapper class for outputVO.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fedex-rate-api-openapi.yml#/components/schemas/RatcResponseVO",
  "type": "object",
  "properties": {
    "transactionId": {
      "type": "string",
      "description": "The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492"
    },
    "customerTransactionId": {
      "type": "string",
      "description": "This element has a unique identifier added in your request, helps you match the request to the reply.<br>Example: XXXX_XXX123XXXXX"
    },
    "output": {
      "$ref": "#/$defs/BaseProcessOutputVO"
    }
  },
  "$defs": {
    "AccountNumber": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "description": "This is the account number. Maximum Length is 9. <br>Example: Your account number"
        }
      },
      "description": "This is the Account number details.<br><i>Note:<ul><li>If the paymentType is Sender, then the account number is optional in shippingChargesPayment.</li></ul>"
    },
    "Address": {
      "type": "object",
      "properties": {
        "city": {
          "type": "string",
          "description": "This is a placeholder for City Name. <br> Example: Beverly Hills"
        },
        "stateOrProvinceCode": {
          "type": "string",
          "description": "This is a placeholder for State or Province code.State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2. <br> Example: CA <br><a onclick='loadDocReference(\"canadaprovincecodes\")'>Click here to see State Or Province Code</a>"
        },
        "postalCode": {
          "type": "string",
          "description": "Indicate the Postal code. This is optional for non postal-aware countries. Maximum length is 10.<br> Example: 65247<br><a onclick='loadDocReference(\"postalawarecountries\")'>Click here to see Postal aware countries</a>"
        },
        "countryCode": {
          "type": "string",
          "description": "This is the two-letter country code. Maximum length is 2.<br>Example: US<br><a onclick='loadDocReference(\"countrycodes\")'>Click here to see Country Codes</a>"
        },
        "residential": {
          "type": "boolean",
          "description": "Indicate whether this address is residential (as opposed to commercial). <br> Valid values are TRUE and FALSE."
        }
      },
      "description": "This is detailed information on physical location. May be used as an actual physical address (place to which one could go), or as a container of address parts which should be handled as a unit (such as a city-state-ZIP combination within the U.S.)."
    },
    "Alert": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "Specifies the alert code."
        },
        "alertType": {
          "type": "string",
          "description": "Specifies the alert type.",
          "enum": [
            "NOTE",
            "WARNING"
          ]
        },
        "message": {
          "type": "string",
          "description": "Specifies the alert message."
        }
      },
      "description": "Specifies the alerts."
    },
    "AncillaryFeeAndTax": {
      "description": "Identifies the total amount of the shipment-lvel fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.",
      "type": "object",
      "properties": {
        "type": {
          "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
          "type": "string",
          "enum": [
            "CLEARANCE_ENTRY_FEE",
            "GOODS_AND_SERVICES_TAX",
            "HARMONIZED_SALES_TAX",
            "OTHER"
          ]
        },
        "description": {
          "description": "Identifies the amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
          "type": "string"
        },
        "amount": {
          "description": "list of AncillaryFees And Taxes",
          "allOf": [
            {
              "$ref": "#/$defs/Money_1"
            }
          ]
        }
      }
    },
    "AncillaryFeesAndTaxes": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number",
          "description": "Specifies the list of ancillary fees And Taxes",
          "format": "double"
        },
        "description": {
          "type": "string",
          "description": "Identifies the amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes."
        },
        "type": {
          "type": "string",
          "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes."
        }
      }
    },
    "BaseProcessOutputVO": {
      "$ref": "#/$defs/RateOutputVO"
    },
    "BrokerDetailBroker_RateReply": {
      "allOf": [
        {
          "$ref": "#/$defs/Party"
        },
        {
          "required": [
            "address"
          ],
          "properties": {
            "address": {
              "description": "These are Broker address details."
            }
          }
        }
      ]
    },
    "BrokerDetail_RateReply": {
      "required": [
        "broker",
        "type"
      ],
      "type": "object",
      "properties": {
        "broker": {
          "$ref": "#/$defs/BrokerDetailBroker_RateReply"
        },
        "type": {
          "type": "string",
          "description": "This is Broker Type.",
          "enum": [
            "EXPORT",
            "IMPORT"
          ]
        },
        "brokerAddress": {
          "$ref": "#/$defs/Brokeraddress"
        }
      },
      "description": "These are Broker Detail for the rate quote."
    },
    "Brokeraddress": {
      "type": "object",
      "properties": {
        "streetLines": {
          "type": "array",
          "description": "This is the combination of number, street name, etc. <br>Note: At least one line is required and streetlines more than 3 will be ignored. Empty lines should not be included. Maximum Length per line is 35.<br>Example: [10 FedEx Parkway, Suite 302, .etc.]",
          "items": {
            "type": "string"
          }
        },
        "city": {
          "type": "string",
          "description": "This is city name.<br> Example: Beverly Hills"
        },
        "stateOrProvinceCode": {
          "type": "string",
          "description": "This is the state Or Province Code. State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2.<br> Example: CA<br><a onclick='loadDocReference(\"canadaprovincecodes\")'>Click here to see State Or Province Code</a>"
        },
        "postalCode": {
          "type": "string",
          "description": "This is the postal code. <br> Example: 90210<br><a onclick='loadDocReference(\"postalawarecountries\")'>Click here to see Postal aware countries</a>"
        },
        "countryCode": {
          "type": "string",
          "description": "This is the country code.<br>US<br><a onclick='loadDocReference(\"countrycodes\")'>Click here to see Country Codes</a>"
        },
        "residential": {
          "type": "boolean",
          "description": "Indicate whether this address is residential (as opposed to commercial). <br> Valid values are TRUE and FALSE."
        },
        "classification": {
          "type": "string",
          "description": "Specify the classification of the address. <br> Example: residential"
        },
        "geographicCoordinates": {
          "type": "string",
          "description": "Specify the geographic coordinates.<br> Example: geographicCoordinates"
        },
        "urbanizationCode": {
          "type": "string",
          "description": "Specify the urbanization code."
        },
        "countryName": {
          "type": "string",
          "description": "Specify the country name.<br> Example: India"
        }
      },
      "description": "This is the broker address used for this shipment."
    },
    "Commit": {
      "description": "Specifies the delivery commitment details date/time.",
      "allOf": [
        {
          "$ref": "#/$defs/CommitDetail_1"
        }
      ]
    },
    "CommitDetail_1": {
      "type": "object",
      "properties": {
        "daysInTransit": {
          "type": "string",
          "description": "Code indicating the number of transit days.<br> Example: EIGHTEEN_DAYS",
          "enum": [
            "EIGHT_DAYS",
            "EIGHTEEN_DAYS",
            "ELEVEN_DAYS",
            "FIFTEEN_DAYS",
            "FIVE_DAYS",
            "FOUR_DAYS",
            "FOURTEEN_DAYS",
            "NINE_DAYS",
            "NINETEEN_DAYS",
            "ONE_DAY",
            "SEVEN_DAYS",
            "SEVENTEEN_DAYS",
            "SIX_DAYS",
            "SIXTEEN_DAYS",
            "TEN_DAYS",
            "THIRTEEN_DAYS",
            "THREE_DAYS",
            "TWELVE_DAYS",
            "TWENTY_DAYS",
            "TWO_DAYS",
            "SMARTPOST_TRANSIT_DAYS",
            "UNKNOWN"
          ]
        },
        "guaranteedType": {
          "type": "string",
          "description": "Indicates if there is a guaranteed delivery option applied to the rate.  This is for freight rates only.<br> Valid values<br>GUARANTEED_MORNING - guaranteed delivery on morning of date specified.<br>GUARANTEED_CLOSE_OF_BUSINESS - guaranteed delivery on date specified by close of day<br> Example: GUARANTEED_MORNING",
          "enum": [
            "GUARANTEED_MORNING",
            "GUARANTEED_CLOSE_OF_BUSINESS"
          ]
        },
        "smartPostCommitTime": {
          "type": "string",
          "description": "CommitTime for SmartPost shipments."
        },
        "dateDetail": {
          "$ref": "#/$defs/DateDetail"
        },
        "delayDetails": {
          "$ref": "#/$defs/DelayDetail"
        },
        "saturdayDelivery": {
          "type": "boolean",
          "description": "Specifies the saturdayDelivery."
        },
        "alternativeCommodityNames": {
          "type": "array",
          "description": "Specifies the alternate names of commodities.",
          "items": {
            "type": "string",
            "description": "Specifies the items."
          }
        },
        "transitDays": {
          "$ref": "#/$defs/TransitDays"
        },
        "label": {
          "type": "string",
          "description": "This is an informational message to inform client Deliverydate is unavailable. If commitTimestamp and transitTime are unavailable, then this is populated in the response in the client language.<br>Example: Deliverydate unavailable"
        },
        "commitMessageDetails": {
          "type": "string",
          "description": "Messages concerning the ability to provide an accurate delivery commitment on an International commit quote. These could be messages providing information about why a commitment could not be returned or a successful message. <br> Example: Message"
        },
        "commodityName": {
          "type": "string",
          "description": "The Commodity applicable to this commitment.<br> Example: DOCUMENTS"
        }
      },
      "description": "The delivery commitment details"
    },
    "CurrencyExchangeRate": {
      "type": "object",
      "properties": {
        "fromCurrency": {
          "type": "string",
          "description": "The currency code for the original (converted FROM) currency."
        },
        "intoCurrency": {
          "type": "string",
          "description": "The currency code for the final (converted INTO) currency."
        },
        "rate": {
          "type": "number",
          "description": "Multiplier used to convert fromCurrency units to intoCurrency units.",
          "format": "double"
        }
      },
      "description": "Specifies the currency exchange performed on financial amounts for this rate."
    },
    "CustomerMessage": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "This is a message code.<br> Example:SERVICE.TYPE.INTERNATIONAL.MESSAGE"
        },
        "message": {
          "type": "string",
          "description": "This is a message description.<br> Example: Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees"
        }
      },
      "description": "This the Customer Message returned in the reply."
    },
    "DateDetail": {
      "type": "object",
      "properties": {
        "dayOfWeek": {
          "type": "string",
          "description": "specific day of week in short format<br>Example: MON, TUE"
        },
        "dayFormat": {
          "type": "string",
          "description": "This is expected delivery date in format [YYYY-MM-DDTHH:mm:ss]<br>Example: 2020-07-16T10:30:00"
        }
      },
      "description": "These are date and time details."
    },
    "DelayDetail": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "description": "delay date.  format [YYYY-MM-DD]",
          "format": "[YYYY-MM-DD]"
        },
        "dayOfWeek": {
          "type": "string",
          "description": "The delay day of the week"
        },
        "level": {
          "type": "string",
          "description": "The attribute of the shipment that caused the delay(e.g. Country, City, LocationId, Zip, service area, special handling)"
        },
        "point": {
          "type": "string",
          "description": "The point in transit where the delay is occurring (e.g. Origin, Destination, Broker location)"
        },
        "type": {
          "type": "string",
          "description": "The reason for the delay (e.g. holiday, weekend, etc.)."
        },
        "description": {
          "type": "string",
          "description": "The name of the holiday in that country that is causing the delay."
        }
      },
      "description": "Information about why a shipment delivery is delayed and at what level"
    },
    "EdtCharge": {
      "type": "object",
      "properties": {
        "edtTaxDetail": {
          "$ref": "#/$defs/EdtTaxDetail"
        },
        "harmonizedCode": {
          "type": "string",
          "description": "This is to specify the Harmonized Tariff System (HTS) code to meet U.S. and foreign governments' customs requirements. These are mainly used to estimate the duties and taxes.<br>Example: A six digit code for Almonds fresh or dried is 080211. The HTS code for pistachios in shell is 080251. The HTS code for fish is HS203.<br>To research the classification for your commodity, use the FedEx Global Trade Manager online at <a href='http://www.fedex.com/gtm' target='_blank'>fedex.com/gtm</a>. You can find the commodities and its respective codes by logging into FedEx and selecting harmonized code option. You will find country-specific information to determine whether your commodity is considered to be a document or non-document for your destination. <br>For additional information about harmonized code, refer to <a href='https://www.usitc.gov/documents/hts_external_guide.pdf' target='_blank'>harmonized code</a>."
        }
      },
      "description": "estimated duties and tax charge"
    },
    "EdtCommodityTax": {
      "description": "The shipment/package Duties and taxes.",
      "type": "object",
      "properties": {
        "harmonizedCode": {
          "description": "Harmonized code is used by customer to classify the product being shipped and define the duties and taxes to be paid.",
          "type": "string"
        },
        "taxes": {
          "$ref": "#/$defs/EdtTaxDetail_1"
        },
        "total": {
          "description": "Total of Duties and taxes",
          "allOf": [
            {
              "$ref": "#/$defs/Money_1"
            }
          ]
        }
      }
    },
    "EdtTaxDetail": {
      "type": "object",
      "properties": {
        "edtTaxType": {
          "type": "string",
          "description": "Specifies the Estimated duties and taxes type. <br> Example: TaxType"
        },
        "amount": {
          "type": "number",
          "description": "Specifies the amount for the estimated duties and taxes type.<br> Example: 785.12",
          "format": "double"
        },
        "taxableValue": {
          "type": "number",
          "description": "Specifies the Estimated duties and taxes taxable Value.<br> Example: 562.23",
          "format": "double"
        },
        "name": {
          "type": "string",
          "description": "Indicates the name for the Etd tax."
        },
        "description": {
          "type": "string",
          "description": "Indicates the description for the Etd tax."
        },
        "formula": {
          "type": "string",
          "description": "Indicates the formula."
        },
        "effectiveDate": {
          "type": "string",
          "description": "Specifies the Estimated duties and taxes effective date. Format [YYYY-MM-DD].<br>  Example: 2019-12-06"
        }
      },
      "description": "Specifies the Estimated duties and taxes detail."
    },
    "EdtTaxDetail_1": {
      "description": "Estimated duties and taxes detail.",
      "type": "object",
      "properties": {
        "taxType": {
          "description": "Estimated taxes type",
          "type": "string",
          "enum": [
            "ADDITIONAL_TAXES",
            "CONSULAR_INVOICE_FEE",
            "CUSTOMS_SURCHARGES",
            "DUTY",
            "EXCISE_TAX",
            "FOREIGN_EXCHANGE_TAX",
            "GENERAL_SALES_TAX",
            "IMPORT_LICENSE_FEE",
            "INTERNAL_ADDITIONAL_TAXES",
            "INTERNAL_SENSITIVE_PRODUCTS_TAX",
            "OTHER",
            "SENSITIVE_PRODUCTS_TAX",
            "STAMP_TAX",
            "STATISTICAL_TAX",
            "TRANSPORT_FACILITIES_TAX"
          ]
        },
        "taxcode": {
          "type": "string"
        },
        "effectiveDate": {
          "description": "Estimated duties and taxes effective date. Format [YYYY-MM-DD].",
          "type": "string"
        },
        "name": {
          "description": "The localized name of the surcharge.",
          "type": "string"
        },
        "taxableValue": {
          "description": "Estimated duties and taxes taxable Value.",
          "allOf": [
            {
              "$ref": "#/$defs/Money_1"
            }
          ]
        },
        "description": {
          "description": "FedEx pays the Duty and Tax charges on your behalf to ensure we can deliver your shipment as quickly as possible",
          "type": "string"
        },
        "formula": {
          "description": "Indicates the formula.",
          "type": "string"
        },
        "amount": {
          "description": "Amount for the estimated duties and taxes type.",
          "allOf": [
            {
              "$ref": "#/$defs/Money_1"
            }
          ]
        },
        "taxRates": {
          "description": "Estimated duties and taxes taxRates",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "value": {
                "type": "string"
              },
              "currency": {
                "type": "string"
              },
              "quantity": {
                "format": "double",
                "type": "number"
              },
              "unitOfMeasure": {
                "type": "string"
              }
            }
          }
        },
        "appliedPreferentialTradeAgreement": {
          "description": "provides details about PTA applied between countries for specific product. ",
          "type": "object",
          "properties": {
            "id": {
              "description": "",
              "type": "string"
            },
            "name": {
              "description": "",
              "type": "string"
            },
            "description": {
              "description": "",
              "type": "string"
            }
          }
        }
      }
    },
    "Money": {
      "allOf": [
        {
          "$ref": "#/$defs/Money_1"
        },
        {
          "properties": {
            "amount": {
              "type": "number",
              "description": "Indicates the declared amount value for the shipment."
            },
            "currency": {
              "type": "string",
              "description": "Indicates the currency associated with the amount."
            }
          }
        }
      ]
    },
    "Money_1": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number",
          "description": "Indicates the amount. Example: 12.45",
          "format": "double"
        },
        "currency": {
          "type": "string",
          "description": "Indicate the three-character ISO currency code. <br>Example: USD<br><a onclick='loadDocReference(\"currencycodes\")'>Click here to see Currency Codes</a>"
        }
      },
      "description": "Indicate the amount details. This is optional, but if indicated, amount and currency must be provided."
    },
    "OperationalDetail": {
      "type": "object",
      "properties": {
        "originLocationIds": {
          "type": "array",
          "description": "Indicate the location ID of the origin of shipment. <br> Example: YBZA",
          "items": {
            "type": "string"
          }
        },
        "commitDays": {
          "type": "array",
          "description": "Indicate the delivery commitment day.<br> Example: MON",
          "items": {
            "type": "string"
          }
        },
        "serviceCode": {
          "type": "string",
          "description": "Indicate the service code. <br> Example: 06"
        },
        "airportId": {
          "type": "string",
          "description": "Specify the Airport Id. <br> Example: MEM"
        },
        "scac": {
          "type": "string",
          "description": "Indicate the Standard Carrier Alpha Code (SCAC) is a privately controlled US code used to identify vessel operating common carriers (VOCC). It is typically two to four letters long."
        },
        "originServiceAreas": {
          "type": "array",
          "description": "Specify origin service area.<br> Example: AM",
          "items": {
            "type": "string"
          }
        },
        "deliveryDay": {
          "type": "string",
          "description": "Specify the delivery commitment day. <br> Example: SAT"
        },
        "originLocationNumbers": {
          "type": "array",
          "description": "Specify the origin location ID.<br> Example: 6121",
          "items": {
            "type": "integer",
            "format": "int32"
          }
        },
        "destinationPostalCode": {
          "type": "string",
          "description": "Indicate the destination postal code.<br> Example: 38017"
        },
        "commitDate": {
          "type": "string",
          "description": "Indicate the shipment Commit Date. <br> Example: 2019-07-22T08:30:00"
        },
        "astraDescription": {
          "type": "string",
          "description": "Indicate the ASTRA description for the label. <br> Example: XXXL1ST"
        },
        "deliveryDate": {
          "type": "string",
          "description": "Indicate the delivery date. <br> Example: 2019-07-22T08:30:00"
        },
        "deliveryEligibilities": {
          "type": "array",
          "description": "Indicate the delivery eligibilities.",
          "items": {
            "type": "string"
          }
        },
        "ineligibleForMoneyBackGuarantee": {
          "type": "boolean",
          "description": "indicate if ineligible For Money Back Guarantee."
        },
        "MaximumTransitTime": {
          "type": "string",
          "description": "Specify Maximum transit time. <br> Example: THREE_DAYS"
        },
        "astraPlannedServiceLevel": {
          "type": "string",
          "description": "Indicate Astra Planned Service Level. <br> Example: astraPlannedServicelevel"
        },
        "destinationLocationIds": {
          "type": "array",
          "description": "Indicate Destination Location Ids. <br> Example: HKAA",
          "items": {
            "type": "string"
          }
        },
        "destinationLocationStateOrProvinceCodes": {
          "type": "array",
          "description": "Indicate destination location State Or Province code. <br> Example: TN<br><a onclick='loadDocReference(\"canadaprovincecodes\")'>Click here to see State Or Province Code</a>",
          "items": {
            "type": "string"
          }
        },
        "transitTime": {
          "type": "string",
          "description": "Indicate the Transit Time in days. <br> Example: THREE_DAYS"
        },
        "packagingCode": {
          "type": "string",
          "description": "Indicate the Packaging Code. <br> Example: M1M1M1"
        },
        "destinationLocationNumbers": {
          "type": "array",
          "description": "Indicate the Destination Location Numbers. <br> Example: 386",
          "items": {
            "type": "integer",
            "format": "int32"
          }
        },
        "publishedDeliveryTime": {
          "type": "string",
          "description": "Indicate the Published Delivery Time. <br> Example: THREE_DAYS"
        },
        "countryCodes": {
          "type": "array",
          "description": "Indicate the Country Code.<br>Example: [ US, IN]<br><a onclick='loadDocReference(\"countrycodes\")'>Click here to see Country Codes</a>",
          "items": {
            "type": "string"
          }
        },
        "stateOrProvinceCodes": {
          "type": "array",
          "description": "Specifies state Or Province Code. State code is required for US, CA, PR and not required for other countries. Conditional. Max length is 2. <br> Example: TN",
          "items": {
            "type": "string"
          }
        },
        "ursaPrefixCode": {
          "type": "string",
          "description": "This is FedEx URSA Prefix Code. <br> Example: PrefixCode"
        },
        "ursaSuffixCode": {
          "type": "string",
          "description": "This is URSA Suffix Code. <br> Example: SuffixCode"
        },
        "destinationServiceAreas": {
          "type": "array",
          "description": "This is Destination Service Areas. <br> Example: A2",
          "items": {
            "type": "string"
          }
        },
        "originPostalCodes": {
          "type": "array",
          "description": "This is Origin Postal Codes. <br> Example: M1M1M1",
          "items": {
            "type": "string"
          }
        },
        "customTransitTime": {
          "type": "string",
          "description": "This is Custom Transit Time in days. <br> Example: THREE_DAYS"
        }
      },
      "description": "Indicate the Operational Details."
    },
    "PackageRateDetail": {
      "type": "object",
      "properties": {
        "ratedWeightMethod": {
          "type": "string",
          "description": "Indicates which weight was used for the rate, e.g. actual or dimensional. <br> Example: dimensional"
        },
        "totalTaxes": {
          "type": "number",
          "description": "Specifies the sum of all taxes on this package.<br> Example: 1257.25",
          "format": "double"
        },
        "totalFreightDiscounts": {
          "type": "number",
          "description": "The total discounts used in the rate calculation.<br> Example: 1257.2<br><a onclick='loadDocReference(\"discounts\")'>Click here to see Discounts</a>",
          "format": "double"
        },
        "baseCharge": {
          "type": "number",
          "description": "Identifies the manner in which the chargeRate for this line item was applied.<br> Example: 125",
          "format": "double"
        },
        "totalRebates": {
          "type": "number",
          "description": "The total sum of all rebates applied to this package.Example: 12",
          "format": "double"
        },
        "rateType": {
          "type": "string",
          "description": "Specifies the type used for this specific set of rate data."
        },
        "billingWeight": {
          "allOf": [
            {
              "$ref": "#/$defs/Weight"
            },
            {
              "description": "Specifies the weight that was used to calculate the rate."
            }
          ]
        },
        "netFreight": {
          "type": "number",
          "description": "Specifies the sum of freight charges.<br> Example: 10",
          "format": "double"
        },
        "surcharges": {
          "type": "array",
          "description": "Specifies the list of all surcharges that apply to this package.",
          "items": {
            "$ref": "#/$defs/Surcharge"
          }
        },
        "totalSurcharges": {
          "type": "number",
          "description": "The sum of all surcharges on the package.<br> Example: 569",
          "format": "double"
        },
        "netFedExCharge": {
          "type": "number",
          "description": "Specifies the sum of packages netFreight and totalSurcharges (not including totalTaxes).<br> Example: 125.32",
          "format": "double"
        },
        "netCharge": {
          "type": "number",
          "description": "Specifies the sum of packages netFreight, totalSurcharges and totalTaxes. <br>Example: 563.98",
          "format": "double"
        },
        "freightDiscounts": {
          "type": "array",
          "description": "All rate discounts that apply to this shipment.<br><a onclick='loadDocReference(\"discounts\")'>Click here to see Discounts</a>",
          "items": {
            "$ref": "#/$defs/RateDiscount"
          }
        }
      },
      "description": "Data for a package's rates, as calculated per a specific rate type."
    },
    "Party": {
      "type": "object",
      "properties": {
        "address": {
          "$ref": "#/$defs/Address"
        },
        "accountNumber": {
          "$ref": "#/$defs/AccountNumber"
        }
      },
      "description": "Indicate the party to a transaction including the physical address, contact information and account number information."
    },
    "ProductName": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "Specifies the type of the product.<br> Example: medium"
        },
        "encoding": {
          "type": "string",
          "description": "Specifies the encoding standard. <br> Example: utf-8."
        },
        "value": {
          "type": "string",
          "description": "Specifies the value of the Product.<br> Example: FedEx International First®."
        }
      },
      "description": "Provides the product details."
    },
    "RateDiscount": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number",
          "description": "Indicates the details of the charges are to be added to the COD collect amount. <br> Example: 95",
          "format": "double"
        },
        "name": {
          "type": "string",
          "description": "Specifies the name of all of the discounts that apply to the package.<br><a onclick='loadDocReference(\"discounts\")'>Click here to see Discounts</a>"
        },
        "description": {
          "type": "string",
          "description": "Specifies the discounts on this package."
        },
        "type": {
          "type": "string",
          "description": "Specifies the type of discount."
        },
        "percent": {
          "type": "number",
          "description": "Specifies the percentage of discount.",
          "format": "double"
        }
      }
    },
    "RateDiscount_1": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number",
          "description": "Indicates the amount for the rate discount.<br> Example: 87.5",
          "format": "double"
        },
        "name": {
          "type": "string",
          "description": "Indicate the name of the discount.<a href=\"/developer-portal/en-us/reference-guide.html#discounts\" target=\"_blank\">Click here to see Discounts</a> <br> Example: name"
        },
        "description": {
          "type": "string",
          "description": "Indicates the description for the rate discount.<br> Example: Description"
        },
        "type": {
          "type": "string",
          "description": "Indicates the type. <br> Example: type"
        },
        "percent": {
          "type": "number",
          "description": "Indicates the percentage of the rate discount. <br> Example: 10.5",
          "format": "double"
        }
      }
    },
    "RateDiscount_2": {
      "type": "object",
      "properties": {
        "rateDiscountType": {
          "description": "Indicates the type.",
          "type": "string",
          "enum": [
            "BONUS",
            "COUPON",
            "EARNED",
            "INCENTIVE",
            "OTHER",
            "VOLUME"
          ]
        },
        "description": {
          "description": "Indicates the description for the rate discount.",
          "type": "string"
        },
        "amount": {
          "description": "Indicates the amount for the rate discount.",
          "allOf": [
            {
              "$ref": "#/$defs/Money_1"
            }
          ]
        },
        "percent": {
          "format": "double",
          "type": "number"
        }
      }
    },
    "RateOutputVO": {
      "type": "object",
      "properties": {
        "rateReplyDetails": {
          "type": "array",
          "description": "This object will hold the rate and shipment data returned for a request.",
          "items": {
            "$ref": "#/$defs/RateReplyDetail"
          }
        },
        "quoteDate": {
          "type": "string",
          "description": "The date on which the rate is quoted.<br> Example: 2019-09-18"
        },
        "isEncoded": {
          "type": "boolean",
          "description": "Specifies the encoded form of the rate. <br> Example: false"
        },
        "alerts": {
          "type": "array",
          "description": "The alert code, alert type, and alert message obtained when a rate quote is requested.",
          "items": {
            "$ref": "#/$defs/Alert"
          }
        }
      },
      "description": "This is the response object for a rate quote request."
    },
    "RateReplyDetail": {
      "type": "object",
      "properties": {
        "serviceType": {
          "type": "string",
          "description": "This is the service type associated with this rate (i.e. Priority Overnight, Home Delivery, etc.)<br>For Ground/SmartPost this will be a direct copy of the service specified in the request. For domestic Express, the service may have been bumped, so it may not match the value specified on the request. For International Express the service may be bumped and not mapped.<br>Example: FEDEX_GROUND<br><a onclick='loadDocReference(\"servicetypes\")'>Click here to see Service Types</a>"
        },
        "serviceName": {
          "type": "string",
          "description": "This is the service name associated with this rate. <br> Example: FedEx Ground"
        },
        "packagingType": {
          "type": "string",
          "description": "Packaging type associated with this particular rate.  For Ground/SmartPost will always be YOUR_PACKAGING.  For domestic Express, the packaging may have been bumped so it may not match the value specified on the request.  For international Express the packaging may be bumped and not mapped.<br>Example: YOUR_PACKAGING <br><a href=\"/developer-portal/en-us/reference-guide.html#packagetypes\" target=\"_blank\">Click here to see Package Types</a>"
        },
        "customerMessages": {
          "type": "array",
          "description": "These are messages concerning the ability to provide an accurate delivery commitment on an International commit quote. These could be providing information about why a commitment could not be returned or a successful message<br>Example:<br><ul><li>REQUEST_COMPLETED<br>Request completed successfully</li><li>SERVICE.TYPE.INTERNATIONAL.MESSAGE:<br>Rate does not include duties & taxes, clearance entry fees or other import fees. The payor of duties/taxes/fees will be responsible for any applicable Clearance Entry Fees.</li><li>NATIONAL.HOLIDAY.OBSERVED:<br>National Holiday Observed on Ship Date.</li><li>INCONSISTENT.COMMODITY.DESCRIPTION:<br>The description and harmonized code for the specified commodity are not consistent.</li></ul>",
          "items": {
            "$ref": "#/$defs/CustomerMessage"
          }
        },
        "ratedShipmentDetails": {
          "type": "array",
          "description": "This object provides the shipment and package rating data in a rate request reply.",
          "items": {
            "$ref": "#/$defs/RatedShipmentDetail"
          }
        },
        "operationalDetail": {
          "$ref": "#/$defs/OperationalDetail"
        },
        "signatureOptionType": {
          "type": "string",
          "description": "Indicates the signature Option for this service. <br> Example: SERVICE_DEFAULT"
        },
        "serviceDescription": {
          "$ref": "#/$defs/ServiceDescription"
        },
        "brokerDetail": {
          "$ref": "#/$defs/BrokerDetail_RateReply"
        },
        "commit": {
          "$ref": "#/$defs/Commit"
        },
        "serviceSubOptionDetail": {
          "$ref": "#/$defs/ServiceSubOptionDetail"
        }
      },
      "description": "This objcet lists the rate data by service. If a service was specified in the request, there will be a single entry; if service was omitted in the request, there will be a separate entry in this for each service being compared."
    },
    "RatedPackageDetail": {
      "type": "object",
      "properties": {
        "effectiveNetDiscount": {
          "type": "number",
          "description": "This is the  list net charge minus actual net charge.<br> Example: 1.0",
          "format": "double"
        },
        "packageRateDetail": {
          "$ref": "#/$defs/PackageRateDetail"
        },
        "groupNumber": {
          "type": "integer",
          "description": "This is group number, used only with package groups as a unique identifier of each group of identical packages.",
          "format": "int32"
        }
      }
    },
    "RatedShipmentDetail": {
      "type": "object",
      "properties": {
        "rateType": {
          "type": "string",
          "description": "Type used for this specific set of rate data.<br>Example: ACCOUNT",
          "enum": [
            "ACCOUNT",
            "ACTUAL",
            "CURRENT",
            "CUSTOM",
            "LIST",
            "INCENTIVE",
            "PREFERRED",
            "PREFERRED_INCENTIVE",
            "PREFERRED_CURRENCY"
          ]
        },
        "totalNetTransportationAndPickupCharge": {
          "description": "Sum of totalNetCharge from pickupRateDetail and shipmentRateDetail. This charge will be populated regardless of pickup.",
          "allOf": [
            {
              "$ref": "#/$defs/Money"
            }
          ]
        },
        "totalNetFedExTransportationAndPickupCharge": {
          "description": "Sum of totalNetFedExCharge from pickupRateDetail and shipmentRateDetail. This charge will be populated regardless of a pickup.",
          "allOf": [
            {
              "$ref": "#/$defs/Money"
            }
          ]
        },
        "pickupRateDetail": {
          "description": "Charges associated with a scheduled shipment pickup",
          "type": "object",
          "properties": {
            "rateType": {
              "description": "Type used for this specific set of rate data.",
              "type": "string",
              "enum": [
                "INCENTIVE",
                "NEGOTIATED",
                "PAYOR_ACCOUNT_PACKAGE",
                "PAYOR_ACCOUNT_SHIPMENT",
                "PAYOR_CUSTOM_PACKAGE",
                "PAYOR_CUSTOM_SHIPMENT",
                "PAYOR_LIST_PACKAGE",
                "PAYOR_LIST_SHIPMENT",
                "PAYOR_RETAIL_PACKAGE",
                "PAYOR_RETAIL_SHIPMENT",
                "PREFERRED_ACCOUNT_PACKAGE",
                "PREFERRED_ACCOUNT_SHIPMENT",
                "PREFERRED_CUSTOM_PACKAGE",
                "PREFERRED_CUSTOM_SHIPMENT",
                "PREFERRED_INCENTIVE",
                "PREFERRED_LIST_PACKAGE",
                "PREFERRED_LIST_SHIPMENT",
                "PREFERRED_NEGOTIATED",
                "PREFERRED_RETAIL_PACKAGE",
                "PREFERRED_RETAIL_SHIPMENT",
                "RATED_ACCOUNT_PACKAGE",
                "RATED_ACCOUNT_SHIPMENT",
                "RATED_CUSTOM_PACKAGE",
                "RATED_CUSTOM_SHIPMENT",
                "RATED_LIST_PACKAGE",
                "RATED_LIST_SHIPMENT",
                "RATED_RETAIL_PACKAGE",
                "RATED_RETAIL_SHIPMENT",
                "UNKNOWN"
              ]
            },
            "rateScale": {
              "type": "string",
              "description": "Indicates the rate scale used."
            },
            "rateZone": {
              "description": "Indicates the rate zone used (based on origin and destination).",
              "type": "string"
            },
            "ratingBasis": {
              "description": "Allows clients to determine whether to add charges at the package level when Per Piece Rating details are returned.<br><ul><li>SHIPMENT_WEIGHT_BASED - Indicates shipment weight is used to calculate the rate.</li><br><li>FLAT_RATE_PER_PAK - Indicates shipment is rated based on number of packs, weight would be considered for overweight surcharge but not for calculating shipment rate.</li><br><li>PACK_WEIGHT_BASED - Indicates individual package weight would be rated and aggregated to get shipment rate weight.</li></ul>",
              "type": "string",
              "enum": [
                "SHIPMENT_WEIGHT_BASED",
                "FLAT_RATE_PER_PAK",
                "PACK_WEIGHT_BASED",
                "UNKNOWN"
              ]
            },
            "pricingCode": {
              "description": "Identifies the type of pricing used for this shipment.",
              "type": "string",
              "enum": [
                "ACTUAL",
                "ALTERNATE",
                "BASE",
                "HUNDREDWEIGHT",
                "HUNDREDWEIGHT_ALTERNATE",
                "INTERNATIONAL_DISTRIBUTION",
                "INTERNATIONAL_ECONOMY_SERVICE",
                "LTL_FREIGHT",
                "PACKAGE",
                "SHIPMENT",
                "SHIPMENT_FIVE_POUND_OPTIONAL",
                "SHIPMENT_OPTIONAL",
                "SPECIAL",
                "UNKNOWN"
              ]
            },
            "minimumChargeType": {
              "description": "provides the minimum charge type applicable to the rates.",
              "type": "string",
              "enum": [
                "CUSTOMER",
                "CUSTOMER_FREIGHT_WEIGHT",
                "EARNED_DISCOUNT",
                "MIXED",
                "RATE_SCALE",
                "UNKNOWN"
              ]
            },
            "currencyExchangeRate": {
              "$ref": "#/$defs/CurrencyExchangeRate"
            },
            "specialRatingApplied": {
              "type": "array",
              "description": "Indicates which special rating cases applied to this shipment.",
              "items": {
                "type": "string",
                "enum": [
                  "FEDEX_ONE_RATE",
                  "FIXED_FUEL_SURCHARGE",
                  "IMPORT_PRICING"
                ]
              }
            },
            "fuelSurchargePercent": {
              "description": "Specify a fuel surcharge percentage.",
              "format": "double",
              "type": "number"
            },
            "pickupBaseChargeDescription": {
              "description": "Will indicate the pickup charge description of the on call pickup",
              "type": "string",
              "enum": [
                "Regularly Scheduled Pickup Mon-Fri",
                "Automated Pickup Mon-Fri",
                "Same Day OC Pickup Mon-Fri (CS)",
                "Same Day OC Pickup Mon-Fri (Online)",
                "Fut. Day OC Pickup Mon-Fri (CS)",
                "Fut. Day OC Pickup Mon-Fri (Online)",
                "Regularly Scheduled Pickup Sat",
                "Automated Pickup Sat",
                "Same Day OC Pickup Sat (CS)",
                "Same Day OC Pickup Sat (Online)",
                "Fut. Day OC Pickup Sat (CS)",
                "Fut. Day OC Pickup Sat (Online)",
                "Regularly Scheduled Pickup Sun",
                "Automated Pickup Sun",
                "Same Day OC Pickup Sun (CS)",
                "Same Day OC Pickup Sun (Online)",
                "Fut. Day OC Pickup Sun (CS)",
                "Fut. Day OC Pickup Sun (Online)",
                "Residential On-Call Pickup Surcharge",
                "Pickup Area Surcharge",
                "Extended Pickup Area Surcharge",
                "Remote Pickup Area Surcharge",
                "Fuel Surcharge"
              ]
            },
            "totalBaseCharge": {
              "description": "Total base charges for the shipment.",
              "allOf": [
                {
                  "$ref": "#/$defs/Money_1"
                }
              ]
            },
            "totalFreightDiscounts": {
              "description": "The total discounts used in the rate calculation.<br> Example: 1257.26",
              "allOf": [
                {
                  "$ref": "#/$defs/Money_1"
                }
              ]
            },
            "totalNetFreight": {
              "description": "This shipment's totalNetFreight.",
              "allOf": [
                {
                  "$ref": "#/$defs/Money_1"
                }
              ]
            },
            "totalSurcharges": {
              "description": "The sum of all surcharges on the package.",
              "allOf": [
                {
                  "$ref": "#/$defs/Money_1"
                }
              ]
            },
            "totalNetFedExCharge": {
              "description": "This shipment's totalNetFedExCharge, which is totalNetFreight plus totalSurcharges (not including totalTaxes).",
              "allOf": [
                {
                  "$ref": "#/$defs/Money_1"
                }
              ]
            },
            "totalTaxes": {
              "description": "The sum of all taxes on this package.<br> Example: 1257.25",
              "allOf": [
                {
                  "$ref": "#/$defs/Money_1"
                }
              ]
            },
            "totalNetCharge": {
              "description": "Total net charges for the shipment.",
              "allOf": [
                {
                  "$ref": "#/$defs/Money_1"
                }
              ]
            },
            "totalRebates": {
              "description": "The total sum of all rebates applied to this package.",
              "allOf": [
                {
                  "$ref": "#/$defs/Money_1"
                }
              ]
            },
            "totalDutiesAndTaxes": {
              "description": "The sum of shipment/package Duties and taxes.",
              "allOf": [
                {
                  "$ref": "#/$defs/Money_1"
                }
              ]
            },
            "totalAncillaryFeesAndTaxes": {
              "description": "Identifies the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
              "allOf": [
                {
                  "$ref": "#/$defs/Money_1"
                }
              ]
            },
            "totalDutiesTaxesAndFees": {
              "description": "The total amount of the duties and taxes plus the total ancillary fees and taxes.",
              "allOf": [
                {
                  "$ref": "#/$defs/Money_1"
                }
              ]
            },
            "totalNetChargeWithDutiesAndTaxes": {
              "description": "Total netChargesWithDutiesAndTaxes for the shipment.",
              "allOf": [
                {
                  "$ref": "#/$defs/Money_1"
                }
              ]
            },
            "freightDiscounts": {
              "description": "All rate discounts that apply to this shipment",
              "type": "array",
              "items": {
                "$ref": "#/$defs/RateDiscount_2"
              }
            },
            "rebates": {
              "description": "The all rebates applied to this package.",
              "type": "array",
              "items": {
                "$ref": "#/$defs/Rebate"
              }
            },
            "surcharges": {
              "description": "The amount of surcharges applied to this shipment.",
              "type": "array",
              "items": {
                "$ref": "#/$defs/Surcharge_2"
              }
            },
            "taxes": {
              "description": "List of taxes.",
              "type": "array",
              "items": {
                "$ref": "#/$defs/Tax_2"
              }
            },
            "dutiesAndTaxes": {
              "description": "List of The shipment/package Duties and taxes.",
              "type": "array",
              "items": {
                "$ref": "#/$defs/EdtCommodityTax"
              }
            },
            "ancillaryFeesAndTaxes": {
              "description": "Identifies the total amount of the shipment-lvel fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.",
              "type": "array",
              "items": {
                "$ref": "#/$defs/AncillaryFeeAndTax"
              }
            },
            "variableHandlingCharges": {
              "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
              "allOf": [
                {
                  "$ref": "#/$defs/VariableHandlingCharges_1"
                }
              ]
            },
            "totalVariableHandlingCharges": {
              "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
              "allOf": [
                {
                  "$ref": "#/$defs/VariableHandlingCharges_1"
                }
              ]
            }
          }
        },
        "ratedWeightMethod": {
          "type": "string",
          "description": "Indicates which weight was used for the rate.<br>Example: 'ACTUAL'",
          "enum": [
            "ACTUAL",
            "AVERAGE_PACKAGE_WEIGHT_MINIMUM",
            "DEFAULT_WEIGHT_APPLIED",
            "BALLOON",
            "DIM",
            "FREIGHT_MINIMUM",
            "MIXED",
            "OVERSIZE",
            "OVERSIZE_1",
            "OVERSIZE_2",
            "OVERSIZE_3",
            "PACKAGING_MINIMUM",
            "WEIGHT_BREAK"
          ]
        },
        "totalDutiesTaxesAndFees": {
          "type": "number",
          "description": "The total amount of the duties and taxes plus the total ancillary fees and taxes.<br> Example: 445.54",
          "format": "double"
        },
        "totalDiscounts": {
          "type": "number",
          "description": "This is the total discount.<br> Example: 445.54<br><a href='/api/en-us/reference-guide.html#discounts' target='_blank'>Click here to see FedEx Discounts</a>",
          "format": "double"
        },
        "totalDutiesAndTaxes": {
          "type": "number",
          "description": "The sum of shipment/package Duties and taxes.<br> Example: 445.54",
          "format": "double"
        },
        "variableHandlingCharges": {
          "$ref": "#/$defs/VariableHandlingCharges"
        },
        "edtCharges": {
          "type": "array",
          "description": "These are the estimation and duty  charges.",
          "items": {
            "$ref": "#/$defs/EdtCharge"
          }
        },
        "totalAncillaryFeesAndTaxes": {
          "type": "number",
          "description": "Indicates the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
          "format": "double"
        },
        "ratedPackages": {
          "type": "array",
          "description": "These are the package-level data for this rate type.",
          "items": {
            "$ref": "#/$defs/RatedPackageDetail"
          }
        },
        "totalNetFedExCharge": {
          "type": "number",
          "description": "This shipment's totalNetFedExChargeList, which is totalNetFreight plus totalSurcharges (not including totalTaxes).",
          "format": "double"
        },
        "quoteNumber": {
          "type": "string",
          "description": "Indicates the unique identifier for a specific rate quotation.<br> Example: XX1123XX"
        },
        "shipmentLegRateDetails": {
          "type": "array",
          "description": "This is data for a single leg of a shipment's total/summary rates, as calculated per a specific rate type.",
          "items": {
            "allOf": [
              {
                "$ref": "#/$defs/ShipmentLegRateDetail_1"
              }
            ]
          }
        },
        "freightChargeBasis": {
          "type": "string",
          "description": "This identifies the manner in which the chargeRate was applied, for Freight.<br> Valid values are: <ul><li>CWT - Charge rate applies per weight.</li><li>FLAT - Charge rate is a flat-rate amount.</li><li>MINIMUM</li></ul>",
          "enum": [
            "CWT",
            "FLAT",
            "MINIMUM"
          ]
        },
        "totalVariableHandlingCharges": {
          "$ref": "#/$defs/VariableHandlingCharges"
        },
        "totalVatCharge": {
          "type": "number",
          "description": "This is total value added tax charges (VAT).",
          "format": "double"
        },
        "ancillaryFeesAndTaxes": {
          "type": "array",
          "description": "This is the total amount of the shipment-level fees and taxes that are not based on transportation charges of commodity-level estimated duties and taxes.",
          "items": {
            "$ref": "#/$defs/AncillaryFeesAndTaxes"
          }
        },
        "preferredEdtCharges": {
          "type": "array",
          "description": "Specifies the Edt charges.",
          "items": {
            "$ref": "#/$defs/EdtCharge"
          }
        },
        "totalNetCharge": {
          "type": "number",
          "description": "This is net charges for the shipment.",
          "format": "double"
        },
        "totalBaseCharge": {
          "type": "number",
          "description": "This is total base charges for the shipment.",
          "format": "double"
        },
        "totalNetChargeWithDutiesAndTaxes": {
          "type": "number",
          "description": "This is total net Charges with Duties And Taxes for the shipment.",
          "format": "double"
        },
        "shipmentRateDetail": {
          "$ref": "#/$defs/ShipmentRateDetail"
        }
      },
      "description": "This object provides the shipment and package rating data in a rate request reply."
    },
    "Rebate": {
      "type": "object",
      "properties": {
        "rebateType": {
          "description": "The type of rebate.",
          "type": "string",
          "enum": [
            "BONUS",
            "EARNED",
            "OTHER"
          ]
        },
        "description": {
          "description": "The description of the rebate",
          "type": "string"
        },
        "amount": {
          "description": "provides the calculated rebate amount based on customer details, transaction information, and applicable rules. ",
          "allOf": [
            {
              "$ref": "#/$defs/Money_1"
            }
          ]
        },
        "percent": {
          "format": "double",
          "type": "number"
        }
      }
    },
    "ServiceDescription": {
      "type": "object",
      "properties": {
        "serviceType": {
          "type": "string",
          "description": "This is the service type.<br>Example: INTERNATIONAL_FIRST<br><a onclick='loadDocReference(\"servicetypes\")'>Click here to see Service Types</a>"
        },
        "code": {
          "type": "string",
          "description": "Specifies the service code.<br> Example: 92"
        },
        "names": {
          "type": "array",
          "description": "Specifies the service name.",
          "items": {
            "$ref": "#/$defs/ProductName"
          }
        },
        "astraDescription": {
          "type": "string",
          "description": "Specifies astra description. <br> Example: INTL1ST"
        },
        "description": {
          "type": "string",
          "description": "Specifies description of the service. <br> Example: FedEx Ground"
        },
        "serviceId": {
          "type": "string",
          "description": "Specifies the service Id. <br> Example: EP1000000135"
        },
        "serviceCategory": {
          "type": "string",
          "description": "Specifies service category. <br> Example: parcel"
        }
      },
      "description": "Indicates the provides the Service Description details."
    },
    "ServiceSubOptionDetail": {
      "type": "object",
      "properties": {
        "smartPostIndiciaType": {
          "type": "string",
          "description": "This identifies the indicia used during rate quote.",
          "enum": [
            "MEDIA_MAIL",
            "PARCEL_RETURN",
            "PARCEL_SELECT",
            "PRESORTED_BOUND_PRINTED_MATTER",
            "PRESORTED_STANDARD"
          ]
        }
      },
      "description": "These are supporting detail for applied options identified in a rate quote."
    },
    "ShipmentLegRateDetail_1": {
      "type": "object",
      "properties": {
        "discounts": {
          "type": "array",
          "description": "Specifies the list of discounts. <br><a onclick='loadDocReference(\"discounts\")'>Click here to see Discounts</a>",
          "items": {
            "$ref": "#/$defs/RateDiscount_1"
          }
        },
        "pricingCode": {
          "type": "string",
          "description": "Identifies the type of pricing used for this shipment.<br> Example: ACTUAL"
        },
        "legDescription": {
          "type": "string",
          "description": "Human-readable text describing the shipment leg.<br> Example: legDescription"
        },
        "surcharges": {
          "type": "array",
          "description": "Specifies the list of surcharges.<br>Valid value is:<li>PEAK</li><li>PEAK_ADDTIONAL_HANDLING</li><li>PEAK_OVERSIZE</li><li>PEAK_RESIDENTIAL_DELIVERY</li>",
          "items": {
            "$ref": "#/$defs/Surcharge_1"
          }
        },
        "specialRatingApplied": {
          "type": "array",
          "description": "Indicates which special rating cases applied to this shipment.",
          "items": {
            "type": "string"
          }
        },
        "taxes": {
          "type": "array",
          "description": "Specifies the list of taxes.",
          "items": {
            "$ref": "#/$defs/Tax_1"
          }
        },
        "rateScale": {
          "type": "string",
          "description": "Indicates the rate scale used. <br> Example: *USER IMS20160104  LD067110"
        },
        "totalNetCharge": {
          "type": "number",
          "description": "This shipment's totalNetCharge and totalDutiesTaxesAndFees. Some duties and taxes are only provided if estimated duties and taxes were calculated for this shipment AND duties, taxes and transportation charges are all paid by the same sender's account.<br> Example: 87.5",
          "format": "double"
        },
        "totalBaseCharge": {
          "type": "number",
          "description": "Specifies the total base charge list.<br> Example: 87.5",
          "format": "double"
        },
        "currencyExchangeRate": {
          "$ref": "#/$defs/CurrencyExchangeRate"
        },
        "totalBillingWeight": {
          "description": "Sum of billing weight for the shipment.",
          "allOf": [
            {
              "$ref": "#/$defs/Weight_1"
            }
          ]
        },
        "currency": {
          "type": "string",
          "description": "Indicate the three-character ISO currency code. <br>Example: USD<br><a onclick='loadDocReference(\"currencycodes\")'>Click here to see Currency Codes</a>"
        }
      }
    },
    "ShipmentRateDetail": {
      "type": "object",
      "properties": {
        "currencyExchangeRate": {
          "$ref": "#/$defs/CurrencyExchangeRate"
        },
        "currency": {
          "type": "string",
          "description": "Indicates the currency associated with the amount."
        },
        "rateZone": {
          "type": "string",
          "description": "Indicates the rate zone used."
        },
        "ratingBasis": {
          "type": "string",
          "description": "Allows clients to determine whether to add charges at the package level when Per Piece Rating details are returned.<br><ul><li>SHIPMENT_WEIGHT_BASED - Indicates shipment weight is used to calculate the rate.</li><br><li>FLAT_RATE_PER_PAK - Indicates shipment is rated based on number of packs, weight would be considered for overweight surcharge but not for calculating shipment rate.</li><br><li>PACK_WEIGHT_BASED - Indicates individual package weight would be rated and aggregated to get shipment rate weight.</li></ul> Example : SHIPMENT_WEIGHT_BASED.",
          "enum": [
            "SHIPMENT_WEIGHT_BASED",
            "FLAT_RATE_PER_PACK",
            "PACK_WEIGHT_BASED"
          ]
        },
        "pricingCode": {
          "type": "string",
          "description": "Indicates the type of pricing code."
        },
        "totalFreightDiscount": {
          "type": "number",
          "description": "Indicates the total discounts used in the rate calculation. Example: 856.32",
          "format": "double"
        },
        "specialRatingApplied": {
          "type": "array",
          "description": "Indicates which special rating cases applied to this shipment.",
          "items": {
            "type": "string"
          }
        },
        "totalSurcharges": {
          "type": "number",
          "description": "This is sum of all surcharges on the package. Example: 586.25",
          "format": "double"
        },
        "freightDiscount": {
          "type": "array",
          "description": "This is total discount used in the rate calculation.<br><a onclick='loadDocReference(\"discounts\")'>Click here to see Discounts</a>",
          "items": {
            "$ref": "#/$defs/RateDiscount"
          }
        },
        "fuelSurchargePercent": {
          "type": "number",
          "description": "This is fuel surcharge percentage.",
          "format": "double"
        },
        "totalBillingWeight": {
          "description": "This is total of billing weight for the shipment.",
          "allOf": [
            {
              "$ref": "#/$defs/Weight_1"
            }
          ]
        },
        "totalDimWeight": {
          "description": "This is total of dimensional weight for the shipment.",
          "allOf": [
            {
              "$ref": "#/$defs/Weight_1"
            }
          ]
        },
        "dimDivisor": {
          "type": "integer",
          "description": "Identifies the type of divisor that was applied.<br> Example: 10",
          "format": "int32"
        },
        "surCharges": {
          "type": "array",
          "description": "Indicates the surcharges applied to this shipment.",
          "items": {
            "$ref": "#/$defs/Surcharge"
          }
        },
        "taxes": {
          "description": "List of taxes.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tax"
          }
        }
      },
      "description": "This is shipment level rate data."
    },
    "Surcharge": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "Specifies the surcharge type.<br>Example: FUEL <br><a onclick='loadDocReference(\"surcharges\")'>Click here to see more on Surcharges.</a>"
        },
        "description": {
          "type": "string",
          "description": "Specifies the description of the surcharge. Indicates delivery and returns information for FedEx Ground Economy services.<br>Example: Fuel Surcharge"
        },
        "amount": {
          "type": "number",
          "description": "Specify the declared monetary value/amount of the shipment.<br> Example: 5.42",
          "format": "double"
        },
        "level": {
          "type": "string",
          "description": "Specifies the level of surcharge. <br> Example: level"
        },
        "name": {
          "type": "string",
          "description": "The localized name of the surcharge. <br> Example: name"
        }
      },
      "description": "Specifies the surcharges."
    },
    "Surcharge_1": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number",
          "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes. <br> Example: 87.5",
          "format": "double"
        },
        "level": {
          "type": "string",
          "description": "The level of surcharge. <br> Example: level"
        },
        "name": {
          "type": "string",
          "description": "The localized name of the surcharge. <br> Example: name"
        },
        "description": {
          "type": "string",
          "description": "The description of the surcharge. <br> Example: description"
        },
        "type": {
          "type": "string",
          "description": "The type of surcharge. <br> Example: type"
        }
      }
    },
    "Surcharge_2": {
      "type": "object",
      "properties": {
        "surchargeType": {
          "description": "The type of surcharge.",
          "type": "string",
          "enum": [
            "ACCOUNT_NUMBER_PROCESSING_FEE",
            "ADDITIONAL_HANDLING",
            "ADDRESS_CORRECTION",
            "ANCILLARY_FEE",
            "APPOINTMENT_DELIVERY",
            "BLIND_SHIPMENT",
            "BROKER_SELECT_OPTION",
            "CANADIAN_DESTINATION",
            "CHARGEABLE_PALLET_WEIGHT",
            "COD",
            "CUT_FLOWERS",
            "DANGEROUS_GOODS",
            "DELIVERY_AREA",
            "DELIVERY_CONFIRMATION",
            "DELIVERY_ON_INVOICE_ACCEPTANCE",
            "DEMAND",
            "DEMAND_ADDITIONAL_HANDLING",
            "DEMAND_OVERSIZE",
            "DEMAND_RESIDENTIAL_DELIVERY",
            "DETENTION",
            "DOCUMENTATION_FEE",
            "DRY_ICE",
            "EMAIL_LABEL",
            "ENHANCED_SECURITY",
            "EUROPE_FIRST",
            "EXCESS_VALUE",
            "EXCLUSIVE_USE",
            "EXHIBITION",
            "EXPEDITED",
            "EXPORT",
            "EXTRA_LABOR",
            "EXTRA_SURFACE_HANDLING_CHARGE",
            "EXTREME_LENGTH",
            "FEDEX_INTRACOUNTRY_FEES",
            "FEDEX_TAG",
            "FICE",
            "FLATBED",
            "FREIGHT_DIRECT_BASIC_BY_APPOINTMENT_DELIVERY",
            "FREIGHT_DIRECT_BASIC_BY_APPOINTMENT_PICKUP",
            "FREIGHT_DIRECT_BASIC_DELIVERY",
            "FREIGHT_DIRECT_BASIC_PICKUP",
            "FREIGHT_DIRECT_PREMIUM_DELIVERY",
            "FREIGHT_DIRECT_PREMIUM_PICKUP",
            "FREIGHT_DIRECT_STANDARD_DELIVERY",
            "FREIGHT_DIRECT_STANDARD_PICKUP",
            "FREIGHT_GUARANTEE",
            "FREIGHT_ON_VALUE",
            "FREIGHT_TO_COLLECT",
            "FUEL",
            "HIGH_COST_SERVICE_AREA_DESTINATION",
            "HIGH_COST_SERVICE_AREA_ORIGIN",
            "HIGH_DENSITY",
            "HOLD_AT_LOCATION",
            "HOLIDAY_DELIVERY",
            "HOLIDAY_GUARANTEE",
            "HOME_DELIVERY_APPOINTMENT",
            "HOME_DELIVERY_DATE_CERTAIN",
            "HOME_DELIVERY_EVENING",
            "INSIDE_DELIVERY",
            "INSIDE_PICKUP",
            "INSURED_VALUE",
            "INTERHAWAII",
            "LIFTGATE_DELIVERY",
            "LIFTGATE_PICKUP",
            "LIMITED_ACCESS_DELIVERY",
            "LIMITED_ACCESS_PICKUP",
            "MARKING_OR_TAGGING",
            "METRO_DELIVERY",
            "METRO_PICKUP",
            "MONITORING_AND_INTERVENTION",
            "NON_BUSINESS_TIME",
            "NON_MACHINABLE",
            "OFFSHORE",
            "ON_CALL_PICKUP",
            "ON_DEMAND_CARE",
            "OTHER",
            "OUT_OF_DELIVERY_AREA",
            "OUT_OF_PICKUP_AREA",
            "OVER_DIMENSION",
            "OVER_LENGTH",
            "OVERSIZE",
            "OVERWEIGHT",
            "PALLET_SHRINKWRAP",
            "PALLETS_PROVIDED",
            "PEAK",
            "PEAK_ADDITIONAL_HANDLING",
            "PEAK_OVERSIZE",
            "PEAK_RESIDENTIAL_DELIVERY",
            "PERMIT",
            "PIECE_COUNT_VERIFICATION",
            "PORT",
            "PRE_DELIVERY_NOTIFICATION",
            "PRIORITY_ALERT",
            "PROTECTION_FROM_FREEZING",
            "REGIONAL_MALL_DELIVERY",
            "REGIONAL_MALL_PICKUP",
            "REROUTE",
            "RESCHEDULE",
            "RESIDENTIAL_DELIVERY",
            "RESIDENTIAL_PICKUP",
            "RETURN_LABEL",
            "SATURDAY_DELIVERY",
            "SATURDAY_PICKUP",
            "SHIPMENT_ASSEMBLY",
            "SIGNATURE_OPTION",
            "SINGLE_PIECE",
            "SORT_AND_SEGREGATE",
            "SPECIAL_DELIVERY",
            "SPECIAL_EQUIPMENT",
            "STORAGE",
            "SUNDAY_DELIVERY",
            "TARP",
            "THIRD_PARTY_BILLING",
            "THIRD_PARTY_CONSIGNEE",
            "TRANSMART_SERVICE_FEE",
            "USPS",
            "WEIGHING"
          ]
        },
        "level": {
          "description": "The level of surcharge.",
          "type": "string",
          "enum": [
            "PACKAGE",
            "SHIPMENT"
          ]
        },
        "description": {
          "description": "The description of the surcharge.",
          "type": "string"
        },
        "amount": {
          "description": "Identifies the total amount of the shipment-level fees and taxes that are not based on transportation charges or commodity-level estimated duties and taxes.",
          "allOf": [
            {
              "$ref": "#/$defs/Money_1"
            }
          ]
        }
      }
    },
    "Tax": {
      "description": "Tax surcharge details",
      "type": "object",
      "properties": {
        "amount": {
          "description": "Tax amount. <br> Example: 408.97",
          "format": "double",
          "type": "number"
        },
        "name": {
          "description": "The localized name of the tax. <br> Example: Denmark VAT",
          "type": "string"
        },
        "description": {
          "description": "The description of the Surcharge/Tax. <br> Example: Denmark VAT",
          "type": "string"
        },
        "type": {
          "description": "The type of Surcharge/Tax. <br> Example: VAT",
          "type": "string"
        }
      }
    },
    "Tax_1": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number",
          "description": "Specifies the list of tax amounts. <br> Example : 87.5",
          "format": "double"
        },
        "name": {
          "type": "string",
          "description": "Specifies the localized name of the tax.<br> Example: Name"
        },
        "description": {
          "type": "string",
          "description": "Specifies the description of the Surcharge/Tax. <br> Example: description"
        },
        "type": {
          "type": "string",
          "description": "Specifies the type of Surcharge/Tax.<br> Example: type"
        }
      },
      "description": "Specifies the Tax surcharge details"
    },
    "Tax_2": {
      "description": "Tax surcharge details",
      "type": "object",
      "properties": {
        "taxType": {
          "description": "Specifies the type of Surcharge/Tax.",
          "type": "string",
          "enum": [
            "EXPORT",
            "GST",
            "HST",
            "INTRACOUNTRY",
            "OTHER",
            "PST",
            "SST",
            "VAT"
          ]
        },
        "description": {
          "description": "Specifies the description of the Surcharge/Tax.",
          "type": "string"
        },
        "amount": {
          "description": "Specifies the list of tax amounts.",
          "allOf": [
            {
              "$ref": "#/$defs/Money_1"
            }
          ]
        }
      }
    },
    "TransitDays": {
      "description": "These are number of days the package/shipment is to be in transit. Applies to Ground and LTL Freight; indicates minimum transit time for SmartPost.",
      "type": "object",
      "properties": {
        "description": {
          "description": "Specifies the number of days the package/shipment is to be in transit. <br> Example: 2 Business Days",
          "type": "string"
        },
        "minimumTransitTime": {
          "type": "string",
          "description": "Code indicating the number of transit days.<br> Example: TW0_DAYS",
          "enum": [
            "EIGHT_DAYS",
            "EIGHTEEN_DAYS",
            "ELEVEN_DAYS",
            "FIFTEEN_DAYS",
            "FIVE_DAYS",
            "FOUR_DAYS",
            "FOURTEEN_DAYS",
            "NINE_DAYS",
            "NINETEEN_DAYS",
            "ONE_DAY",
            "SEVEN_DAYS",
            "SEVENTEEN_DAYS",
            "SIX_DAYS",
            "SIXTEEN_DAYS",
            "TEN_DAYS",
            "THIRTEEN_DAYS",
            "THREE_DAYS",
            "TWELVE_DAYS",
            "TWENTY_DAYS",
            "TWO_DAYS",
            "SMARTPOST_TRANSIT_DAYS",
            "UNKNOWN"
          ]
        },
        "maximumTransitTime": {
          "type": "string"
        }
      }
    },
    "VariableHandlingCharges": {
      "type": "object",
      "properties": {
        "totalCustomerCharge": {
          "type": "number",
          "description": "Specifies the total customer assessed handling charges.<br> Example: 445.54",
          "format": "double"
        },
        "variableHandlingCharge": {
          "type": "number",
          "description": "The variable handling charge amount calculated based on the requested variable handling charge detail. <br> Example: 403.2",
          "format": "double"
        }
      },
      "description": "The variable handling charge amount calculated based on the requested variable handling charge detail."
    },
    "VariableHandlingCharges_1": {
      "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
      "type": "object",
      "properties": {
        "variableHandlingCharge": {
          "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail",
          "allOf": [
            {
              "$ref": "#/$defs/Money_1"
            }
          ]
        },
        "fixedVariableHandlingCharge": {
          "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail.",
          "allOf": [
            {
              "$ref": "#/$defs/Money_1"
            }
          ]
        },
        "percentVariableHandlingCharge": {
          "description": "Optional. The variable handling charge amount calculated based on the requested variable handling charge detail",
          "allOf": [
            {
              "$ref": "#/$defs/Money_1"
            }
          ]
        },
        "totalCustomerCharge": {
          "description": "Specifies the total customer assessed handling charges.<br> Example: 445.54",
          "allOf": [
            {
              "$ref": "#/$defs/Money_1"
            }
          ]
        }
      }
    },
    "Weight": {
      "allOf": [
        {
          "$ref": "#/$defs/Weight_1"
        },
        {
          "required": [
            "units",
            "value"
          ],
          "properties": {
            "units": {
              "type": "string"
            },
            "value": {
              "type": "number"
            }
          }
        }
      ]
    },
    "Weight_1": {
      "type": "object",
      "properties": {
        "units": {
          "type": "string",
          "description": "Specifies the package weight unit. For Dry Ice the unit of measure is KG.",
          "enum": [
            "KG",
            "LB"
          ]
        },
        "value": {
          "type": "number",
          "description": "Specifies the package weight.<br> Example: 68.25",
          "format": "double"
        }
      },
      "description": "These are the weight details."
    }
  }
}