{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dhl/json-schema/dhl-shipment-request-schema.json",
  "title": "ShipmentRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dhl-mydhl-api-xml-dhl-express-openapi.yml#/components/schemas/ShipmentRequest",
  "type": "object",
  "properties": {
    "Request": {
      "$ref": "#/$defs/Request"
    },
    "RegionCode": {
      "$ref": "#/$defs/RegionCode"
    },
    "LanguageCode": {
      "$ref": "#/$defs/LanguageCode"
    },
    "LatinResponseInd": {
      "$ref": "#/$defs/YesNo"
    },
    "Billing": {
      "$ref": "#/$defs/Billing"
    },
    "Consignee": {
      "$ref": "#/$defs/Consignee"
    },
    "Dutiable": {
      "$ref": "#/$defs/Dutiable"
    },
    "UseDHLInvoice": {
      "$ref": "#/$defs/YesNo"
    },
    "DHLInvoiceLanguageCode": {
      "$ref": "#/$defs/InvLanguageCode"
    },
    "DHLInvoiceType": {
      "$ref": "#/$defs/InvoiceType"
    },
    "ExportDeclaration": {
      "$ref": "#/$defs/ExportDeclaration"
    },
    "Reference": {
      "$ref": "#/$defs/Reference"
    },
    "ShipmentDetails": {
      "$ref": "#/$defs/ShipmentDetails"
    },
    "Shipper": {
      "$ref": "#/$defs/Shipper"
    },
    "SpecialService": {
      "$ref": "#/$defs/SpecialService"
    },
    "Notification": {
      "$ref": "#/$defs/Notification"
    },
    "EProcShip": {
      "$ref": "#/$defs/YesNo"
    },
    "Airwaybill": {
      "$ref": "#/$defs/AWBNumber"
    },
    "DocImages": {
      "$ref": "#/$defs/DocImages"
    },
    "LabelImageFormat": {
      "$ref": "#/$defs/LabelImageFormat"
    },
    "RequestArchiveDoc": {
      "$ref": "#/$defs/YesNo"
    },
    "NumberOfArchiveDoc": {
      "$ref": "#/$defs/NumberOfArchiveDoc"
    },
    "RequestQRCode": {
      "$ref": "#/$defs/YesNo"
    },
    "RequestTransportLabel": {
      "$ref": "#/$defs/YesNo"
    },
    "Label": {
      "$ref": "#/$defs/Label"
    },
    "ODDLinkReq": {
      "$ref": "#/$defs/YesNo"
    },
    "DGs": {
      "$ref": "#/$defs/DGs"
    },
    "GetPriceEstimate": {
      "$ref": "#/$defs/YesNo"
    },
    "SinglePieceImage": {
      "$ref": "#/$defs/YesNo"
    },
    "ShipmentIdentificationNumber": {
      "$ref": "#/$defs/AWBNumber"
    },
    "UseOwnShipmentIdentificationNumber": {
      "type": "string",
      "description": "Customer able to provide SID if set to Y. The default is N.\n\t\t\t\t\t\tY or 1 = allows you to define your own AWB in the tag above N or 0 = Auto-allocates the AWB from DHL Express",
      "maxLength": 1,
      "enum": [
        "Y",
        "N"
      ]
    },
    "Importer": {
      "$ref": "#/$defs/Importer"
    },
    "Exporter": {
      "$ref": "#/$defs/Exporter"
    },
    "Seller": {
      "$ref": "#/$defs/Seller"
    },
    "Payer": {
      "$ref": "#/$defs/Payer"
    },
    "Manufacturer": {
      "$ref": "#/$defs/Manufacturer"
    },
    "UltimateConsignee": {
      "$ref": "#/$defs/UltimateConsignee"
    },
    "Buyer": {
      "$ref": "#/$defs/Buyer"
    },
    "StrictValidation": {
      "$ref": "#/$defs/YesNo"
    },
    "RequestShipmentDataValidation": {
      "$ref": "#/$defs/YesNo"
    },
    "DHLShipmentReceiptLanguageCode": {
      "$ref": "#/$defs/DHLShipmentReceiptLanguageCode"
    },
    "DHLShipmentReceiptLanguageScriptCode": {
      "$ref": "#/$defs/DHLShipmentReceiptLanguageScriptCode"
    },
    "DHLShipmentReceiptLanguageCountryCode": {
      "$ref": "#/$defs/DHLShipmentReceiptLanguageCountryCode"
    },
    "Broker": {
      "$ref": "#/$defs/Broker"
    },
    "LinkLabelsByPieces": {
      "$ref": "#/$defs/YesNo"
    }
  },
  "required": [
    "Request",
    "LanguageCode",
    "Billing",
    "Consignee",
    "ShipmentDetails",
    "Shipper"
  ],
  "$defs": {
    "AES4EIN": {
      "type": "string",
      "description": "AES4",
      "minLength": 1,
      "maxLength": 11
    },
    "AWBNumber": {
      "type": "string",
      "description": "Airway bill number",
      "maxLength": 10
    },
    "AccountNumber": {
      "type": "string",
      "description": "DHL Account Number",
      "maxLength": 9
    },
    "AddDeclText": {
      "type": "string",
      "description": "Additional Declaration Text",
      "maxLength": 140
    },
    "AdditionalInformation": {
      "type": "object",
      "properties": {
        "CustomerBarcodes": {
          "$ref": "#/$defs/CustomerBarcodes"
        },
        "CustomerAdditionalInformation": {
          "$ref": "#/$defs/CustomerAdditionalInformation"
        },
        "CustomerDescription": {
          "$ref": "#/$defs/CustomerDescription"
        }
      }
    },
    "AdditionalInformationText": {
      "type": "string",
      "description": "Declaration text"
    },
    "AdditionalInformationType": {
      "type": "array",
      "description": "Additional Informations for export line item",
      "items": {
        "properties": {
          "AdditionalInformationText": {
            "$ref": "#/$defs/AdditionalInformationText"
          }
        }
      },
      "minItems": 1,
      "maxItems": 8,
      "required": [
        "AdditionalInformationText"
      ]
    },
    "AddressLine": {
      "type": "string",
      "description": "Address Line",
      "minLength": 1,
      "maxLength": 45
    },
    "Billing": {
      "type": "object",
      "description": "The Billing element contains the billing information of the shipment",
      "properties": {
        "ShipperAccountNumber": {
          "$ref": "#/$defs/AccountNumber"
        },
        "ShippingPaymentType": {
          "$ref": "#/$defs/ShipmentPaymentType"
        },
        "BillingAccountNumber": {
          "$ref": "#/$defs/AccountNumber"
        },
        "DutyAccountNumber": {
          "$ref": "#/$defs/AccountNumber"
        }
      },
      "required": [
        "ShipperAccountNumber",
        "ShippingPaymentType"
      ]
    },
    "Broker": {
      "type": "object",
      "properties": {
        "CompanyName": {
          "$ref": "#/$defs/CompanyNameValidator"
        },
        "AddressLine1": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine2": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine3": {
          "$ref": "#/$defs/AddressLine"
        },
        "City": {
          "$ref": "#/$defs/City"
        },
        "Division": {
          "$ref": "#/$defs/Division"
        },
        "DivisionCode": {
          "$ref": "#/$defs/DivisionCode"
        },
        "PostalCode": {
          "$ref": "#/$defs/PostalCode"
        },
        "CountryCode": {
          "$ref": "#/$defs/CountryCode"
        },
        "CountryName": {
          "$ref": "#/$defs/CountryName"
        },
        "Contact": {
          "$ref": "#/$defs/Contact"
        },
        "Suburb": {
          "$ref": "#/$defs/Suburb"
        },
        "StreetName": {
          "$ref": "#/$defs/StreetName"
        },
        "BuildingName": {
          "$ref": "#/$defs/BuildingName"
        },
        "StreetNumber": {
          "$ref": "#/$defs/StreetNumber"
        },
        "RegistrationNumbers": {
          "$ref": "#/$defs/RegistrationNumbers"
        },
        "BusinessPartyTypeCode": {
          "$ref": "#/$defs/BusinessPartyTypeCode"
        }
      },
      "required": [
        "CompanyName",
        "AddressLine1",
        "City",
        "CountryCode",
        "CountryName",
        "Contact",
        "RegistrationNumbers"
      ]
    },
    "BuildingName": {
      "type": "string",
      "format": "xsd-token",
      "minLength": 1,
      "maxLength": 50,
      "pattern": "\\S+( \\S+)*"
    },
    "BusinessPartyTypeCode": {
      "type": "string",
      "description": "Business Party Trader type",
      "minLength": 2,
      "maxLength": 2
    },
    "Buyer": {
      "type": "object",
      "properties": {
        "CompanyName": {
          "$ref": "#/$defs/CompanyNameValidator"
        },
        "AddressLine1": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine2": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine3": {
          "$ref": "#/$defs/AddressLine"
        },
        "City": {
          "$ref": "#/$defs/City"
        },
        "Division": {
          "$ref": "#/$defs/Division"
        },
        "DivisionCode": {
          "$ref": "#/$defs/DivisionCode"
        },
        "PostalCode": {
          "$ref": "#/$defs/PostalCode"
        },
        "CountryCode": {
          "$ref": "#/$defs/CountryCode"
        },
        "CountryName": {
          "$ref": "#/$defs/CountryName"
        },
        "Contact": {
          "$ref": "#/$defs/Contact"
        },
        "Suburb": {
          "$ref": "#/$defs/Suburb"
        },
        "StreetName": {
          "$ref": "#/$defs/StreetName"
        },
        "BuildingName": {
          "$ref": "#/$defs/BuildingName"
        },
        "StreetNumber": {
          "$ref": "#/$defs/StreetNumber"
        },
        "RegistrationNumbers": {
          "$ref": "#/$defs/RegistrationNumbers"
        },
        "BusinessPartyTypeCode": {
          "$ref": "#/$defs/BusinessPartyTypeCode"
        }
      },
      "required": [
        "CompanyName",
        "AddressLine1",
        "City",
        "CountryCode",
        "CountryName",
        "Contact",
        "RegistrationNumbers"
      ]
    },
    "Caption": {
      "type": "string",
      "description": "Customer barcode Caption",
      "maxLength": 20
    },
    "City": {
      "type": "string",
      "description": "City name",
      "maxLength": 45
    },
    "CommodityCode": {
      "type": "string",
      "description": "Commodity codes for shipment type",
      "minLength": 2,
      "maxLength": 18
    },
    "CompanyNameValidator": {
      "type": "string",
      "description": "Name of company / business",
      "minLength": 2,
      "maxLength": 100
    },
    "Consignee": {
      "type": "object",
      "description": "Consignee element contains the details of the Consignee (Receiver of the shipment). This element should be declared once in the shipment validation request message",
      "properties": {
        "CompanyName": {
          "$ref": "#/$defs/CompanyNameValidator"
        },
        "AddressLine1": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine2": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine3": {
          "$ref": "#/$defs/AddressLine"
        },
        "City": {
          "$ref": "#/$defs/City"
        },
        "Division": {
          "$ref": "#/$defs/Division"
        },
        "DivisionCode": {
          "$ref": "#/$defs/DivisionCode"
        },
        "PostalCode": {
          "$ref": "#/$defs/PostalCode"
        },
        "CountryCode": {
          "$ref": "#/$defs/CountryCode"
        },
        "CountryName": {
          "$ref": "#/$defs/CountryName"
        },
        "Contact": {
          "$ref": "#/$defs/Contact"
        },
        "Suburb": {
          "$ref": "#/$defs/Suburb"
        },
        "StreetName": {
          "$ref": "#/$defs/StreetName"
        },
        "BuildingName": {
          "$ref": "#/$defs/BuildingName"
        },
        "StreetNumber": {
          "$ref": "#/$defs/StreetNumber"
        },
        "RegistrationNumbers": {
          "$ref": "#/$defs/RegistrationNumbers"
        },
        "BusinessPartyTypeCode": {
          "$ref": "#/$defs/BusinessPartyTypeCode"
        }
      },
      "required": [
        "CompanyName",
        "AddressLine1",
        "City",
        "CountryCode",
        "CountryName",
        "Contact"
      ]
    },
    "Contact": {
      "type": "object",
      "description": "The Contact element contains the receiver’s contact information. It must be declared in the consignee element",
      "properties": {
        "PersonName": {
          "$ref": "#/$defs/PersonName"
        },
        "PhoneNumber": {
          "$ref": "#/$defs/PhoneNumber"
        },
        "PhoneExtension": {
          "$ref": "#/$defs/PhoneExtension"
        },
        "Email": {
          "$ref": "#/$defs/EmailAddress"
        },
        "MobilePhoneNumber": {
          "$ref": "#/$defs/MobilePhoneNumber"
        }
      },
      "required": [
        "PersonName",
        "PhoneNumber"
      ]
    },
    "CountryCode": {
      "type": "string",
      "description": "ISO country codes",
      "minLength": 2,
      "maxLength": 2
    },
    "CountryName": {
      "type": "string",
      "description": "ISO country name",
      "maxLength": 35
    },
    "CurrencyCode": {
      "type": "string",
      "description": "ISO currency code",
      "minLength": 3,
      "maxLength": 3,
      "pattern": "[^ ].*[^ ]"
    },
    "CustData": {
      "type": "string",
      "description": "CustData",
      "minLength": 1,
      "maxLength": 250
    },
    "CustomerAdditionalInformation": {
      "type": "array",
      "minItems": 0,
      "maxItems": 6,
      "items": {
        "properties": {
          "Caption": {
            "$ref": "#/$defs/Caption"
          },
          "Description": {
            "$ref": "#/$defs/Description"
          }
        }
      }
    },
    "CustomerBarcodes": {
      "type": "array",
      "minItems": 0,
      "maxItems": 2,
      "items": {
        "properties": {
          "BarcodeType": {
            "type": "string",
            "description": "This element identifies the Customer barcode type. It is an optional field"
          },
          "BarcodeContent": {
            "type": "string",
            "description": "This element identifies the Customer barcode content. It is an optional field"
          },
          "TextBelowBarcode": {
            "type": "string",
            "description": "This element identifies the Customer barcode text below barcode. It is an optional field"
          }
        }
      }
    },
    "CustomerDataText": {
      "type": "string",
      "description": "Customs Invoice - Customer Data Text in COMMERCIAL_INVOICE_04 template",
      "maxLength": 45
    },
    "CustomerDataTextEntries": {
      "type": "object",
      "description": "Customer Data Texts that would like to be printed in COMMERCIAL_INVOICE_04 template",
      "properties": {
        "CustomerDataTextEntry": {
          "$ref": "#/$defs/CustomerDataTextEntry"
        }
      },
      "maxItems": 6
    },
    "CustomerDataTextEntry": {
      "type": "array",
      "description": "Customer Data Texts that would like to be printed in COMMERCIAL_INVOICE_04 template",
      "minItems": 1,
      "maxItems": 6,
      "items": {
        "properties": {
          "CustomerDataTextNumber": {
            "$ref": "#/$defs/CustomerDataTextNumber"
          },
          "CustomerDataText": {
            "$ref": "#/$defs/CustomerDataText"
          }
        }
      }
    },
    "CustomerDataTextNumber": {
      "type": "string",
      "description": "Customer Data Texts Number",
      "format": "xsd-token",
      "minLength": 1,
      "maxLength": 1,
      "pattern": "([1-6])*"
    },
    "CustomerDescription": {
      "type": "string",
      "description": "Additional Information Customer Description",
      "maxLength": 80
    },
    "CustomerLogo": {
      "type": "object",
      "description": "CustomerLogo",
      "properties": {
        "LogoImage": {
          "$ref": "#/$defs/LogoImage"
        },
        "LogoImageFormat": {
          "$ref": "#/$defs/LogoImageFormat"
        }
      },
      "required": [
        "LogoImage",
        "LogoImageFormat"
      ]
    },
    "CustomsDocument": {
      "type": "array",
      "description": "Export Declaration's level Customs Document entry",
      "minItems": 1,
      "maxItems": 50,
      "items": {
        "properties": {
          "CustomsDocumentType": {
            "$ref": "#/$defs/CustomsDocumentType"
          },
          "CustomsDocumentID": {
            "$ref": "#/$defs/CustomsDocumentID"
          }
        }
      }
    },
    "CustomsDocumentID": {
      "type": "string",
      "description": "Export Declaration line's Customs Document ID",
      "maxLength": 35
    },
    "CustomsDocumentType": {
      "type": "string",
      "description": "Export Declaration line's Customs Document Type (CHA:Power of Attorney,\n\t\t\tPOA:Power of Attorney (Customer-based),PPY:Proof Of Payment,ROD:Receipt on Delivery,\n\t\t\tT2M:T2M Transport Accompanying Document,TAD:TAD Transport Accompanying Document T1,\n\t\t\tTCS:Transportation Charges Statement, ELP:Export Licenses and Permits)",
      "maxLength": 3
    },
    "CustomsDocuments": {
      "type": "object",
      "description": "Export Declaration's level Customs Document details.Document type required for the clearance of goods at Invoice level",
      "properties": {
        "CustomsDocument": {
          "$ref": "#/$defs/CustomsDocument"
        }
      }
    },
    "CustomsInvoiceTemplate": {
      "type": "string",
      "description": "DHL Customs Invoice Template",
      "enum": [
        "COMMERCIAL_INVOICE_04",
        "COMMERCIAL_INVOICE_P_10",
        "COMMERCIAL_INVOICE_L_10",
        "RET_COM_INVOICE_A4_01"
      ]
    },
    "CustomsPaperwork": {
      "type": "object",
      "description": "Customs Invoice Reference entry",
      "properties": {
        "CustomsPaperworkType": {
          "$ref": "#/$defs/CustomsPaperworkType"
        },
        "CustomsPaperworkID": {
          "$ref": "#/$defs/CustomsPaperworkType"
        }
      },
      "required": [
        "CustomsPaperworkType",
        "CustomsPaperworkID"
      ]
    },
    "CustomsPaperworkType": {
      "type": "string",
      "description": "Export Declaration line items's Customs Paperwork Type (CHA:Power of Attorney,\n\t\t\tPOA:Power of Attorney (Customer-based),PPY:Proof Of Payment,ROD:Receipt on Delivery,\n\t\t\tT2M:T2M Transport Accompanying Document,TAD:TAD Transport Accompanying Document T1,\n\t\t\tTCS:Transportation Charges Statement,ELP:Export Licenses and Permits,MTO: Military Transport Orders)",
      "minLength": 2,
      "maxLength": 3
    },
    "CustomsPaperworks": {
      "type": "object",
      "description": "Export Declaration Line Item's Customs Paperworks",
      "properties": {
        "CustomsPaperwork": {
          "$ref": "#/$defs/CustomsPaperwork"
        }
      },
      "maxItems": 50
    },
    "DG": {
      "type": "array",
      "description": "Dangerous Goods",
      "minItems": 1,
      "items": {
        "properties": {
          "DG_ContentID": {
            "type": "string",
            "description": "The DG_ContentID element contains the Dangerous Goods Content ID that included in the shipment"
          },
          "DG_LabelDesc": {
            "type": "string",
            "description": "The DG_LabelDesc element contains the Dangerous Goods Label Description that included in the shipment. It is recommended to leave it empty and it will be lookup via label rendering for the updated description",
            "maxLength": 200
          },
          "DG_NetWeight": {
            "$ref": "#/$defs/Weight"
          },
          "DG_UOM": {
            "$ref": "#/$defs/DG_UOM"
          },
          "DG_UNCodes": {
            "type": "array",
            "description": "array of DG_UNCode element contains the Dangerous Goods with Excepted Quantities attributes using UN code that included in the shipment",
            "items": {
              "properties": {
                "DG_UNCode": {
                  "$ref": "#/$defs/DG_UNCode"
                }
              }
            },
            "minItems": 1,
            "maxItems": 10,
            "required": [
              "DG_UNCode"
            ]
          }
        }
      },
      "required": [
        "DG_ContentID"
      ]
    },
    "DG_UNCode": {
      "type": "string",
      "description": "The DG_UNCode element contains the Dangerous Goods with Excepted Quantities attributes using UN code that included in the shipment"
    },
    "DG_UOM": {
      "type": "string",
      "description": "DG_UOM",
      "enum": [
        "KG",
        "LB"
      ]
    },
    "DGs": {
      "type": "object",
      "description": "Multiple Dangerous Goods Item",
      "properties": {
        "DG": {
          "$ref": "#/$defs/DG"
        }
      }
    },
    "DHLShipmentReceiptLanguageCode": {
      "type": "string",
      "description": "DHL Shipment Receipt Language Code. Default is eng - English",
      "minLength": 3,
      "maxLength": 3
    },
    "DHLShipmentReceiptLanguageCountryCode": {
      "type": "string",
      "description": "DHL Shipment Receipt Language Country Code",
      "minLength": 2,
      "maxLength": 2
    },
    "DHLShipmentReceiptLanguageScriptCode": {
      "type": "string",
      "description": "DHL Shipment Receipt Language Script Code",
      "minLength": 4,
      "maxLength": 4
    },
    "Date": {
      "type": "string",
      "description": "Date only",
      "format": "date",
      "pattern": "[0-9][0-9][0-9][0-9](-)[0-9][0-9](-)[0-9][0-9]"
    },
    "DeclaredValue": {
      "type": "number",
      "description": "DeclaredValue"
    },
    "Description": {
      "type": "string",
      "description": "Customer barcode Description",
      "maxLength": 40
    },
    "DimensionUnit": {
      "type": "string",
      "description": "Dimension Unit C (centimeter)",
      "minLength": 1,
      "maxLength": 1,
      "enum": [
        "C",
        "I"
      ]
    },
    "Division": {
      "type": "string",
      "description": "Division (e.g. state, prefecture, etc.) name",
      "maxLength": 35
    },
    "DivisionCode": {
      "type": "string",
      "description": "Division (e.g. state, prefecture, etc.) code",
      "maxLength": 35
    },
    "DocImage": {
      "type": "array",
      "description": "DocImage",
      "minItems": 0,
      "items": {
        "properties": {
          "Type": {
            "$ref": "#/$defs/Type"
          },
          "Image": {
            "$ref": "#/$defs/Image"
          },
          "ImageFormat": {
            "$ref": "#/$defs/ImageFormat"
          }
        }
      },
      "required": [
        "Type",
        "Image",
        "ImageFormat"
      ]
    },
    "DocImages": {
      "type": "object",
      "description": "DocImages",
      "properties": {
        "DocImage": {
          "$ref": "#/$defs/DocImage"
        }
      }
    },
    "DocumentFunction": {
      "type": "string",
      "description": "Document function describes for what purpose was the document details captured and are planned to be used.\n\t\t\t",
      "format": "xsd-token",
      "pattern": "\\S+( \\S+)*",
      "enum": [
        "IMPORT",
        "EXPORT",
        "BOTH"
      ]
    },
    "Dutiable": {
      "type": "object",
      "description": "For non-domestic shipments, the Dutiable element provides information which defines the types of duties to be levied",
      "properties": {
        "DeclaredValue": {
          "$ref": "#/$defs/DeclaredValue"
        },
        "DeclaredCurrency": {
          "$ref": "#/$defs/CurrencyCode"
        },
        "ExportLicense": {
          "$ref": "#/$defs/ExportLicense"
        },
        "ImportLicense": {
          "$ref": "#/$defs/ImportLicense"
        },
        "TermsOfTrade": {
          "$ref": "#/$defs/TermsOfTrade"
        },
        "Filing": {
          "$ref": "#/$defs/Filing"
        }
      },
      "required": [
        "DeclaredCurrency"
      ]
    },
    "EmailAddress": {
      "type": "string",
      "description": "Email address containing '@'",
      "maxLength": 70
    },
    "ExportDeclaration": {
      "type": "object",
      "description": "For non-domestic shipments, the ExportDeclaration element provides information which is used to aid in the export of a shipment",
      "properties": {
        "SignatureName": {
          "$ref": "#/$defs/SignatureName"
        },
        "SignatureTitle": {
          "$ref": "#/$defs/SignatureTitle"
        },
        "ExportReason": {
          "type": "string",
          "description": "This element contains the reason for exporting. It is an optional element",
          "maxLength": 30
        },
        "ExportReasonCode": {
          "$ref": "#/$defs/ExportReasonCode"
        },
        "InvoiceNumber": {
          "$ref": "#/$defs/InvoiceNumber"
        },
        "InvoiceDate": {
          "type": "string",
          "description": "This element contains the Custom Invoice date. It is a mandatory element for custom invoice details",
          "format": "date"
        },
        "Remarks": {
          "type": "string",
          "description": "This element contains the Remarks . It is an optional element for custom invoice details"
        },
        "OtherCharges": {
          "$ref": "#/$defs/OtherCharges"
        },
        "TermsOfPayment": {
          "type": "string",
          "description": "This element contains the Terms of payment of the shipment. It is an optional element"
        },
        "PayerGSTVAT": {
          "type": "string",
          "description": "object"
        },
        "SignatureImage": {
          "$ref": "#/$defs/SignatureImage"
        },
        "ReceiverReference": {
          "type": "string",
          "description": "This element contains the Receiver’s Reference details for custom invoice. It is an optional element"
        },
        "ExporterId": {
          "type": "string",
          "description": "This element contains the Exporter ID details for custom invoice. It is an optional element"
        },
        "ExporterCode": {
          "type": "string",
          "description": "This element contains the Exporter Code of the shipment. It is an optional element"
        },
        "PackageMarks": {
          "type": "string",
          "description": "This element contains the Package Marks details of the shipment. It is an optional element"
        },
        "OtherRemarks2": {
          "type": "string",
          "description": "This element contains the Other Remarks 2 for custom invoice. It is an optional element"
        },
        "OtherRemarks3": {
          "type": "string",
          "description": "This element contains the Other Remarks 3 for custom invoice. It is an optional element"
        },
        "RUBankINN": {
          "type": "string",
          "description": "This element contains the Russia Bank INN details of the shipment. It is an optional element. Note: this is applicable for Russia Country/Region"
        },
        "RUBankKPP": {
          "type": "string",
          "description": "This element contains the Russia Bank KPP details of the shipment. It is an optional element. Note: this is applicable for Russia Country/Region"
        },
        "RUBankOKPO": {
          "type": "string",
          "description": "This element contains the Russia Bank OKPO details of the shipment. It is an optional element. Note: this is applicable for Russia Country/Region"
        },
        "RUBankOGRN": {
          "type": "string",
          "description": "This element contains the Russia Bank OGRN details of the shipment. It is an optional element. Note: this is applicable for Russia Country/Region"
        },
        "RUBankSettlementAcctNumUSDEUR": {
          "type": "string",
          "description": "This element contains the Russia Bank Settlement Account Number in USD/EUR currency details of the shipment. It is an optional element. Note: this is applicable for Russia Country/Region"
        },
        "RUBankSettlementAcctNumRUR": {
          "type": "string",
          "description": "This element contains the Russia Bank Settlement Account Number in RUR currency details of the shipment. It is an optional element. Note: this is applicable for Russia Country/Region"
        },
        "RUBankName": {
          "type": "string",
          "description": "This element contains the Russia Bank Name details of the shipment. It is an optional element. Note: this is applicable for Russia Country/Region"
        },
        "AddDeclText1": {
          "type": "string",
          "description": "This element contains the additional declaration text 1. It is an optional element",
          "maxLength": 700
        },
        "AddDeclText2": {
          "$ref": "#/$defs/AddDeclText"
        },
        "AddDeclText3": {
          "$ref": "#/$defs/AddDeclText"
        },
        "ExportLineItem": {
          "$ref": "#/$defs/ExportLineItem"
        },
        "ShipmentDocument": {
          "$ref": "#/$defs/ShipmentDocument"
        },
        "InvoiceInstructions": {
          "$ref": "#/$defs/InvoiceInstructions"
        },
        "CustomerDataTextEntries": {
          "$ref": "#/$defs/CustomerDataTextEntries"
        },
        "PlaceOfIncoterm": {
          "$ref": "#/$defs/PlaceOfIncoterm"
        },
        "ShipmentPurpose": {
          "$ref": "#/$defs/ShipmentPurpose"
        },
        "DocumentFunction": {
          "$ref": "#/$defs/DocumentFunction"
        },
        "CustomsDocuments": {
          "$ref": "#/$defs/CustomsDocuments"
        },
        "InvoiceTotalNetWeight": {
          "$ref": "#/$defs/Weight"
        },
        "InvoiceTotalGrossWeight": {
          "$ref": "#/$defs/Weight"
        },
        "InvoiceReferences": {
          "$ref": "#/$defs/InvoiceReferences"
        },
        "InvoiceIndicativeCustomsValues": {
          "$ref": "#/$defs/InvoiceIndicativeCustomsValues"
        }
      },
      "required": [
        "InvoiceNumber",
        "InvoiceDate",
        "ExportLineItem"
      ]
    },
    "ExportLicense": {
      "type": "string",
      "description": "ExportLicense",
      "maxLength": 16
    },
    "ExportLineItem": {
      "type": "array",
      "description": "Specifics about each of the line item",
      "minItems": 1,
      "maxItems": 999,
      "items": {
        "type": "object",
        "properties": {
          "LineNumber": {
            "$ref": "#/$defs/LineNumber"
          },
          "Quantity": {
            "$ref": "#/$defs/Quantity"
          },
          "QuantityUnit": {
            "$ref": "#/$defs/QuantityUnit"
          },
          "Description": {
            "type": "string",
            "description": "This element contains the description of the line item. It is a mandatory field. The maximum length is 75 characters",
            "minLength": 1,
            "maxLength": 512
          },
          "Value": {
            "type": "number",
            "description": "This element identifies the value in money levied for each quantity of the particular line item. It is a mandatory field. Note: Total value of the all quantity per each line item will be calculated automatically by backend system",
            "minLength": 0,
            "maxLength": 999999999999999,
            "multipleOf": 0.001
          },
          "CommodityCode": {
            "$ref": "#/$defs/CommodityCode"
          },
          "Weight": {
            "description": "This element contains information about weight of the line item.It is an optional field",
            "properties": {
              "Weight": {
                "$ref": "#/$defs/Weight"
              },
              "WeightUnit": {
                "$ref": "#/$defs/WeightUnit"
              }
            },
            "required": [
              "Weight",
              "WeightUnit"
            ]
          },
          "GrossWeight": {
            "description": "This element contains information about gross weight of the line item. It is an mandatory field",
            "properties": {
              "Weight": {
                "$ref": "#/$defs/Weight"
              },
              "WeightUnit": {
                "$ref": "#/$defs/WeightUnit"
              }
            },
            "required": [
              "Weight",
              "WeightUnit"
            ]
          },
          "License": {
            "description": "This element contains the shipper export licence information of the paticular item.It is an optional field",
            "properties": {
              "LicenseNumber": {
                "$ref": "#/$defs/LicenseNumber"
              },
              "ExpiryDate": {
                "type": "string",
                "description": "Shipper export license",
                "format": "date"
              }
            },
            "required": [
              "LicenseNumber",
              "ExpiryDate"
            ]
          },
          "ManufactureCountryCode": {
            "$ref": "#/$defs/CountryCode"
          },
          "ManufactureCountryName": {
            "$ref": "#/$defs/CountryName"
          },
          "AdditionalInformation": {
            "$ref": "#/$defs/AdditionalInformationType"
          },
          "ImportCommodityCode": {
            "$ref": "#/$defs/CommodityCode"
          },
          "ItemReferences": {
            "$ref": "#/$defs/ItemReferences"
          },
          "CustomsPaperworks": {
            "$ref": "#/$defs/CustomsPaperworks"
          },
          "TaxesPaid": {
            "$ref": "#/$defs/TaxesPaid"
          }
        }
      },
      "required": [
        "LineNumber",
        "Quantity",
        "QuantityUnit",
        "Description",
        "Value",
        "Weight",
        "GrossWeight",
        "ManufactureCountryCode"
      ]
    },
    "ExportReasonCode": {
      "type": "string",
      "description": "Export reason code (P:Permanent,R:Return (For Repair),T:Temporary,M:Used Exhibition Goods To Origin,I:Intercompany Use,\n\t\t\tC:Commercial Purpose Or Sale,E:Personal Belongings or Personal Use,S:Sample,G:Gift,U:Return To Origin,W:Warranty Replacement,\n\t\t\tD:Diplmatic Goods,F:Defenece Material)\n\t\t\t",
      "minLength": 1,
      "maxLength": 1
    },
    "Exporter": {
      "type": "object",
      "properties": {
        "CompanyName": {
          "$ref": "#/$defs/CompanyNameValidator"
        },
        "AddressLine1": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine2": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine3": {
          "$ref": "#/$defs/AddressLine"
        },
        "City": {
          "$ref": "#/$defs/City"
        },
        "Division": {
          "$ref": "#/$defs/Division"
        },
        "DivisionCode": {
          "$ref": "#/$defs/DivisionCode"
        },
        "PostalCode": {
          "$ref": "#/$defs/PostalCode"
        },
        "CountryCode": {
          "$ref": "#/$defs/CountryCode"
        },
        "CountryName": {
          "$ref": "#/$defs/CountryName"
        },
        "Contact": {
          "$ref": "#/$defs/Contact"
        },
        "Suburb": {
          "$ref": "#/$defs/Suburb"
        },
        "StreetName": {
          "$ref": "#/$defs/StreetName"
        },
        "BuildingName": {
          "$ref": "#/$defs/BuildingName"
        },
        "StreetNumber": {
          "$ref": "#/$defs/StreetNumber"
        },
        "RegistrationNumbers": {
          "$ref": "#/$defs/RegistrationNumbers"
        },
        "BusinessPartyTypeCode": {
          "$ref": "#/$defs/BusinessPartyTypeCode"
        }
      },
      "required": [
        "CompanyName",
        "AddressLine1",
        "City",
        "CountryCode",
        "CountryName",
        "Contact",
        "RegistrationNumbers"
      ]
    },
    "FTSR": {
      "type": "string",
      "description": "FTSR",
      "minLength": 5,
      "maxLength": 10,
      "enum": [
        "30.2(d)(2)",
        30.36,
        "30.37(a)",
        "30.37(b)",
        "30.37(e)",
        "30.37(f)",
        "30.37(g)",
        "30.37(h)",
        "30.37(j)",
        "30.37(k)",
        30.39,
        "30.40(a)",
        "30.40(b)",
        "30.40(c)",
        "30.40(d)"
      ]
    },
    "Filing": {
      "type": "object",
      "description": "The Filing element represents the filing type for the shipment",
      "properties": {
        "FTSR": {
          "$ref": "#/$defs/FTSR"
        },
        "ITN": {
          "$ref": "#/$defs/ITN"
        },
        "AES4EIN": {
          "$ref": "#/$defs/AES4EIN"
        }
      }
    },
    "GlobalProductCode": {
      "type": "string",
      "description": "The GlobalProductCode Element is global product code for the shipment. It is the optional field in the Shipment Details segment. It is an optional field. Please refer to Reference Data (Global Product Codes)",
      "minLength": 1,
      "maxLength": 6,
      "pattern": "([A-Z0-9])*"
    },
    "ITN": {
      "type": "string",
      "description": "ITN",
      "minLength": 15,
      "maxLength": 15,
      "pattern": "X[0-9]{14}"
    },
    "Image": {
      "type": "string",
      "description": "Image",
      "format": "base-64-binary",
      "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
    },
    "ImageFormat": {
      "type": "string",
      "description": "Image Format",
      "maxLength": 5,
      "enum": [
        "PDF",
        "PNG",
        "TIFF",
        "GIF",
        "JPEG"
      ]
    },
    "ImportLicense": {
      "type": "string",
      "description": "ImportLicense",
      "maxLength": 16
    },
    "Importer": {
      "type": "object",
      "properties": {
        "CompanyName": {
          "$ref": "#/$defs/CompanyNameValidator"
        },
        "AddressLine1": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine2": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine3": {
          "$ref": "#/$defs/AddressLine"
        },
        "City": {
          "$ref": "#/$defs/City"
        },
        "Division": {
          "$ref": "#/$defs/Division"
        },
        "DivisionCode": {
          "$ref": "#/$defs/DivisionCode"
        },
        "PostalCode": {
          "$ref": "#/$defs/PostalCode"
        },
        "CountryCode": {
          "$ref": "#/$defs/CountryCode"
        },
        "CountryName": {
          "$ref": "#/$defs/CountryName"
        },
        "Contact": {
          "$ref": "#/$defs/Contact"
        },
        "Suburb": {
          "$ref": "#/$defs/Suburb"
        },
        "StreetName": {
          "$ref": "#/$defs/StreetName"
        },
        "BuildingName": {
          "$ref": "#/$defs/BuildingName"
        },
        "StreetNumber": {
          "$ref": "#/$defs/StreetNumber"
        },
        "RegistrationNumbers": {
          "$ref": "#/$defs/RegistrationNumbers"
        },
        "BusinessPartyTypeCode": {
          "$ref": "#/$defs/BusinessPartyTypeCode"
        }
      },
      "required": [
        "CompanyName",
        "AddressLine1",
        "City",
        "CountryCode",
        "CountryName",
        "Contact",
        "RegistrationNumbers"
      ]
    },
    "InvLanguageCode": {
      "type": "string",
      "description": "\n\t\t\tInvoice Language Code\n\t\t\tbg=Bugalrian br=Portuguse Brazil bs=Bosnian\n\t\t\tcs=Czech da=Danish de=German el=Greek en=English ep=English with SVP\n\t\t\tet=Estonian fi=Finnish fr=French he=Hebrew hr=Croatian hu=Hungaria\n\t\t\tis=Icelandic it=Italian lt=Lithuanian lv=Latvian mk=Macedon nl=Dutch\n\t\t\tno=Norwegian pl=Polish pt=Portuguse ro=Romanian ru=Russian\n\t\t\tsi=Slovenian sk=Slovak sp=Spanish Latam SVP sq=Albanian sr=Serbian\n\t\t\tsv=Swedish tr=Turkish uk=Ukranian\n\t\t",
      "maxLength": 2,
      "enum": [
        "bg",
        "br",
        "cs",
        "da",
        "de",
        "el",
        "en",
        "ep",
        "et",
        "fi",
        "fr",
        "he",
        "hr",
        "hu",
        "is",
        "it",
        "lt",
        "lv",
        "mk",
        "nl",
        "no",
        "pl",
        "pt",
        "ro",
        "ru",
        "si",
        "sk",
        "sp",
        "sq",
        "sr",
        "sv",
        "tr",
        "uk"
      ]
    },
    "InvoiceIndicativeCustomsValues": {
      "type": "object",
      "description": "Indicative Customs Values",
      "properties": {
        "ImportCustomsDutyValue": {
          "type": "number",
          "description": "The pre-calculated import customs duties value for the shipment. It is an optional field",
          "minimum": 0,
          "maximum": 999999999999999,
          "multipleOf": 0.001
        },
        "ImportTaxesValue": {
          "type": "number",
          "description": "The pre-calculated import taxes (VAT/GST) value for the shipment. It is an optional field",
          "minimum": 0,
          "maximum": 999999999999999,
          "multipleOf": 0.001
        }
      }
    },
    "InvoiceInstructions": {
      "type": "string",
      "description": "Shipment Instructions for Customs Invoice printing purposes in COMMERCIAL_INVOICE_04 template",
      "maxLength": 300
    },
    "InvoiceNumber": {
      "type": "string",
      "minLength": 1,
      "maxLength": 35
    },
    "InvoiceReference": {
      "type": "array",
      "description": "Customs Invoice Reference entry",
      "minItems": 1,
      "maxItems": 100,
      "items": {
        "properties": {
          "InvoiceReferenceType": {
            "$ref": "#/$defs/InvoiceReferenceType"
          },
          "InvoiceReferenceNumber": {
            "$ref": "#/$defs/InvoiceReferenceNumber"
          }
        }
      }
    },
    "InvoiceReferenceNumber": {
      "type": "string",
      "description": "Invoice Reference Number",
      "maxLength": 35
    },
    "InvoiceReferenceType": {
      "type": "string",
      "description": "Invoice Reference Type (ACL: Parent Shipment ID for BBX, \n\t\t\t\tCID: Customer Identifier, CN:Contract Number,CU:Consignor reference number, ITN: US Export declaration reference ID,\n\t\t\t\tUCN:Movement Reference number,MRN:Movement Reference number,OID: Order ID, PON: Purchase Order ID, \n\t\t\t\tRMA: Return Materials Authorization (RMA) Number, AAM: AWB Ref #,\n\t\t\t\tABT:Goods Declaration number, ACL: Parent shipment ID for bulk shipment identification,ADA: Buyer Reference number,AES:AES Post Clearance,\n\t\t\t\tAFD:1496 Item number, ANT:Consignee Reference number,BKN:Booking Number,BOL:Bill of Lading Number,CDN:Customs Declaration number,\n\t\t\t\tCOD:Cash On Delivery, DSC:Weltpaket Reference, FF:Freight forwarder's reference number, FN:Freight bill number, FTR:Post Clearance Exemption US,\n\t\t\t\tHWB: Shipment Identifiers, IBC: Inbound center reference number, IPP:Insurance Policy Provider, LLR:Load list reference, MAB:Master Airwaybill Number,\n\t\t\t\tMWB: MAWB Reference number, NLR: ECCN - No License Required indicator (NLR), OBC: Outbound center reference number, PD: Vendor Reference Number,\n\t\t\t\tPRN: Pickup request number, RMA: RMA Number, RTL: Return Leg waybill number, SID: Shipment ID 15 Digit CODA, SS:Seller Reference number,\n\t\t\t\tSWN:Original Waybill number (Return))\n\t\t\t",
      "minLength": 2,
      "maxLength": 3
    },
    "InvoiceReferences": {
      "type": "object",
      "description": "Customs Invoice References",
      "properties": {
        "InvoiceReference": {
          "$ref": "#/$defs/InvoiceReference"
        }
      }
    },
    "InvoiceType": {
      "type": "string",
      "description": "DHL Invoice Types CMI(Commercail Invoice), PFI (Proforma Invoice), RET(Returns Invoice)",
      "maxLength": 3,
      "enum": [
        "CMI",
        "PFI",
        "RET"
      ]
    },
    "ItemReference": {
      "type": "array",
      "description": "Customs Invoice Reference entry",
      "items": {
        "properties": {
          "ItemReferenceType": {
            "$ref": "#/$defs/ItemReferenceType"
          },
          "ItemReferenceNumber": {
            "$ref": "#/$defs/ItemReferenceType"
          }
        }
      },
      "required": [
        "ItemReferenceType",
        "ItemReferenceNumber"
      ]
    },
    "ItemReferenceType": {
      "type": "string",
      "description": "Item Reference Type(AFE: Export Control Classification Number (ECCN), AAJ:Delivery Order number, ABW: Stock Keeping Unit, \n\t\t\tALX: Model, BRD: Brand,DGC: Dangerous Goods Content Identifier, DTC: DDTC Eligibility indicator, DTM: DDTC UOM, DTQ: DDTC Quantity, DTR: DDTC Registraton No,\n\t\t\tITR: DDTC ITAR Exemption No. MAK: Make, MID: Manufacturers IDentification code, OED: Original Export Date, OET: Original Export OB Tracking ID,\n\t\t\tOID: Order ID, OOR: Original Outbound Carrier, PAN: Part No, PON: Purchase Order Number, SON: Sales order No, SE:Serial number, SME: DDTC SME Indicator,\n\t\t\tUSM: DDTC USML Category Code, AAM: AWB Ref #,\n\t\t\tCFR:ECCN License Exemption (CFR#), DOM:Domestic indicator CoO (US), FOR:Foreign indicator CoO (US),\n\t\t\tUSG: Global Usage, MAT: Global Material, NLR:ECCN No License Required Indicator)\n\t\t\t",
      "minLength": 2,
      "maxLength": 3
    },
    "ItemReferences": {
      "type": "object",
      "description": "Export Declaration Line Item's References",
      "properties": {
        "ItemReference": {
          "$ref": "#/$defs/ItemReference"
        }
      },
      "maxItems": 100
    },
    "Label": {
      "type": "object",
      "description": "Label",
      "properties": {
        "HideAccount": {
          "$ref": "#/$defs/YesNo"
        },
        "LabelTemplate": {
          "$ref": "#/$defs/LabelTemplate"
        },
        "ReceiptTemplate": {
          "$ref": "#/$defs/ReceiptTemplate"
        },
        "ShipmentReceiptWithLabels": {
          "$ref": "#/$defs/YesNo"
        },
        "CustomsInvoiceTemplate": {
          "$ref": "#/$defs/CustomsInvoiceTemplate"
        },
        "Logo": {
          "$ref": "#/$defs/YesNo"
        },
        "CustomerLogo": {
          "$ref": "#/$defs/CustomerLogo"
        },
        "Resolution": {
          "$ref": "#/$defs/Resolution"
        },
        "CustomerBarcodeType": {
          "type": "string",
          "description": "The CustomerBarcodeType element consists of customer’s barcode type to be printed in Transport label using these 8X4_CustBarCode_PDF and 8X4_CustBarCode_thermal templates"
        },
        "CustomerBarcodeCode": {
          "type": "string",
          "description": "The CustomerBarcodeCode element consists of customer’s barcode code to be printed in Transport label using these 8X4_CustBarCode_PDF and 8X4_CustBarCode_thermal templates"
        },
        "CustomerBarcodeText": {
          "type": "string",
          "description": "The CustomerBarcodeText element consists of customer’s barcode text to be printed in Transport label using these 8X4_CustBarCode_PDF and 8X4_CustBarCode_thermal templates"
        },
        "QRCodeTemplate": {
          "$ref": "#/$defs/QRCodeTemplate"
        },
        "QRCodeImageFormat": {
          "$ref": "#/$defs/QRCodeImageFormat"
        },
        "ShipmentReceiptDeclarationText": {
          "$ref": "#/$defs/ShipmentReceiptDeclarationText"
        }
      }
    },
    "LabelImageFormat": {
      "type": "string",
      "description": "LabelImageFormat",
      "minLength": 3,
      "maxLength": 4,
      "enum": [
        "PDF",
        "ZPL2",
        "EPL2"
      ]
    },
    "LabelTemplate": {
      "type": "string",
      "description": "LabelTemplate",
      "enum": [
        "8X4_A4_PDF",
        "8X4_thermal",
        "8X4_A4_TC_PDF",
        "6X4_thermal",
        "6X4_A4_PDF",
        "8X4_CI_PDF",
        "8X4_CI_thermal",
        "8X4_RU_A4_PDF",
        "6X4_PDF",
        "8X4_PDF",
        "8X4_CustBarCode_PDF",
        "8X4_CustBarCode_thermal",
        "8X4_CustBarCode_AdditionalInfo_PDF",
        "8X4_CustBarCode_AdditionalInfo_thermal",
        "8X4_LBBX_PDF",
        "8X4_LBBX_thermal",
        "ECOM26_64_001",
        "ECOM26_64_002",
        "ECOM26_64_004",
        "ECOM26_74CI_001",
        "ECOM26_84_002",
        "ECOM26_84_002_CL",
        "ECOM26_84_002_CO",
        "ECOM26_84_003",
        "ECOM26_A4_001",
        "ECOM26_A6_001",
        "ECOM26_A6_003",
        "ECOM26_64_LBBX_001"
      ]
    },
    "LanguageCode": {
      "type": "string",
      "description": "ISO Language Code",
      "maxLength": 2
    },
    "LicenseNumber": {
      "type": "string",
      "description": "Export license number",
      "maxLength": 16
    },
    "LineNumber": {
      "type": "number",
      "description": "The LineNumber element contains the serial number for particular item.It’s value should not be more than 200. It is a mandatory field",
      "format": "positive-integer",
      "pattern": "^[1-9]\\d*$",
      "minimum": 1,
      "maximum": 999
    },
    "LocalProductCode": {
      "type": "string",
      "description": "The LocalProductCode Element is local product code for the shipment. It is the optional field in the Shipment Details segment",
      "minLength": 1,
      "maxLength": 4,
      "pattern": "([A-Z0-9])*"
    },
    "LogoImage": {
      "type": "string",
      "description": "LogoImage",
      "format": "base-64-binary",
      "maxLength": 1048576,
      "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
    },
    "LogoImageFormat": {
      "type": "string",
      "description": "LogoImage Format",
      "enum": [
        "PNG",
        "GIF",
        "JPEG",
        "JPG"
      ]
    },
    "Manufacturer": {
      "type": "object",
      "properties": {
        "CompanyName": {
          "$ref": "#/$defs/CompanyNameValidator"
        },
        "AddressLine1": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine2": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine3": {
          "$ref": "#/$defs/AddressLine"
        },
        "City": {
          "$ref": "#/$defs/City"
        },
        "Division": {
          "$ref": "#/$defs/Division"
        },
        "DivisionCode": {
          "$ref": "#/$defs/DivisionCode"
        },
        "PostalCode": {
          "$ref": "#/$defs/PostalCode"
        },
        "CountryCode": {
          "$ref": "#/$defs/CountryCode"
        },
        "CountryName": {
          "$ref": "#/$defs/CountryName"
        },
        "Contact": {
          "$ref": "#/$defs/Contact"
        },
        "Suburb": {
          "$ref": "#/$defs/Suburb"
        },
        "StreetName": {
          "$ref": "#/$defs/StreetName"
        },
        "BuildingName": {
          "$ref": "#/$defs/BuildingName"
        },
        "StreetNumber": {
          "$ref": "#/$defs/StreetNumber"
        },
        "RegistrationNumbers": {
          "$ref": "#/$defs/RegistrationNumbers"
        },
        "BusinessPartyTypeCode": {
          "$ref": "#/$defs/BusinessPartyTypeCode"
        }
      },
      "required": [
        "CompanyName",
        "AddressLine1",
        "City",
        "CountryCode",
        "CountryName",
        "Contact",
        "RegistrationNumbers"
      ]
    },
    "Message": {
      "type": "string",
      "description": "Message",
      "maxLength": 250
    },
    "MessageReference": {
      "type": "string",
      "description": "Reference to the requested Message",
      "minLength": 28,
      "maxLength": 32
    },
    "MetaData": {
      "type": "object",
      "description": "MetaData header",
      "properties": {
        "SoftwareName": {
          "type": "string",
          "description": "The Software Name element is used to identify the software name used by customer or third party vendor. It is mandatory field",
          "maxLength": 30
        },
        "SoftwareVersion": {
          "type": "string",
          "description": "The Software Version element is used to identify the software version used by customer or third party vendor. It is mandatory field",
          "maxLength": 10
        }
      },
      "required": [
        "SoftwareName",
        "SoftwareVersion"
      ]
    },
    "MobilePhoneNumber": {
      "type": "string",
      "description": "Mobile Phone Number",
      "format": "xsd-token",
      "minLength": 1,
      "maxLength": 70,
      "pattern": "\\S+( \\S+)*"
    },
    "Money": {
      "type": "number",
      "description": "Monetary amount (with 2 decimal precision)\n\t\t\t"
    },
    "Notification": {
      "type": "object",
      "description": "The Notification element contains the notification address and customized message to the designated recipient address for the shipment",
      "properties": {
        "EmailAddress": {
          "$ref": "#/$defs/EmailAddress"
        },
        "Message": {
          "$ref": "#/$defs/Message"
        }
      }
    },
    "Number": {
      "type": "string",
      "description": "registration number",
      "format": "xsd-token",
      "minLength": 1,
      "maxLength": 35,
      "pattern": "\\S+( \\S+)*"
    },
    "NumberIssuerCountryCode": {
      "type": "string",
      "description": "Registration Number Issuing Country Code",
      "format": "xsd-token",
      "minLength": 2,
      "maxLength": 2,
      "pattern": "\\S+( \\S+)*"
    },
    "NumberOfArchiveDoc": {
      "type": "number",
      "description": "NumberOfArchiveDoc Value",
      "format": "positive-integer",
      "pattern": "^[1-9]\\d*$",
      "maximum": 2,
      "enum": [
        1,
        2
      ]
    },
    "NumberTypeCode": {
      "type": "string",
      "description": "Registration Number type code: SDT:IOSS (Import One-Stop-Shop),\n\t\t\tSDT:LVG\t(Overseas Registered Supplier),SDT:VOEC (VAT on E-Commerce),\n\t\t\tVAT:VAT/GST (VAT Registration),FTZ:FTZ (Free Trade Zone ID),DAN:DAN (Deferment Account Duties Only),\n\t\t\tTAN:TAN\t(Deferment Account Tax Only),DTF:DTF (Deferment Account Duties, Taxes and Fees Only), RGP:REX (EU Registered Exporters ID),\n\t\t\tDLI:Driver's License,NID:National Identity Card,PAS:Passport, MID:Manufacturer ID",
      "format": "xsd-token",
      "minLength": 1,
      "maxLength": 3,
      "pattern": "\\S+( \\S+)*"
    },
    "OriginFacilityCode": {
      "type": "string",
      "description": "OriginFacilityCode",
      "maxLength": 3
    },
    "OriginServiceAreaCode": {
      "type": "string",
      "description": "OriginServiceAreaCode",
      "maxLength": 3
    },
    "OtherCharge": {
      "type": "array",
      "description": "Other Charge caption and its charge value",
      "minItems": 1,
      "maxItems": 5,
      "items": {
        "properties": {
          "OtherChargeCaption": {
            "$ref": "#/$defs/OtherChargeCaption"
          },
          "OtherChargeValue": {
            "$ref": "#/$defs/OtherChargeValue"
          },
          "OtherChargeType": {
            "$ref": "#/$defs/OtherChargeType"
          }
        }
      }
    },
    "OtherChargeCaption": {
      "type": "string",
      "description": "Other Charges Caption"
    },
    "OtherChargeType": {
      "type": "string",
      "description": "Other Charge type (ADMIN:Administration Charge/Fee/Cost,DELIV:Delivery Charge/Fee/Cost,\n\t\t\t\tDOCUM:Documentation Charge/Fee/Cost,EXPED:Expedite Charge/Fee/Cost,EXCHA:Export Charge/Fee/Cost,\n\t\t\t\tFRCST:Freight/Shipping Charge/Fee/Cost,SSRGE:Fuel Surcharge,LOGST:Logistic Charge/Fee/Cost,\n\t\t\t\tSOTHR:Other Charge/Fee/Cost,SPKGN:Packaging/Packing Charge/Fee/Cost,PICUP:Pickup Charge/Fee/Cost,\n\t\t\t\tHRCRG:Handling Charge/Fee/Cost,VATCR:Charge/Fee/Cost,INSCH:Insurance Cost (Fee)\n\t\t\t\tREVCH:Reverse Charge,",
      "minLength": 5,
      "maxLength": 5
    },
    "OtherChargeValue": {
      "type": "number",
      "description": "Other Charges Value"
    },
    "OtherCharges": {
      "type": "object",
      "description": "Other Charges caption and its charges value details",
      "properties": {
        "OtherCharge": {
          "$ref": "#/$defs/OtherCharge"
        }
      }
    },
    "PackageType": {
      "type": "string",
      "description": "Package Type (EE: DHL Express Envelope, OD:Other DHL Packaging, CP:Customer-provided, JB-Jumbo box, JJ-Junior jumbo Box, DF-DHL Flyer, YP-Your packaging)",
      "minLength": 2,
      "maxLength": 2,
      "enum": [
        "BD",
        "BP",
        "CP",
        "DC",
        "DF",
        "DM",
        "ED",
        "EE",
        "FR",
        "JB",
        "JD",
        "JJ",
        "JP",
        "OD",
        "PA",
        "YP"
      ]
    },
    "ParentShipmentPackagesCount": {
      "type": "number",
      "format": "positive-integer",
      "pattern": "^[1-9]\\d*$",
      "minimum": 1
    },
    "Password": {
      "type": "string",
      "description": "Password used for verifying the sender",
      "minLength": 8,
      "maxLength": 20
    },
    "Payer": {
      "type": "object",
      "properties": {
        "CompanyName": {
          "$ref": "#/$defs/CompanyNameValidator"
        },
        "AddressLine1": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine2": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine3": {
          "$ref": "#/$defs/AddressLine"
        },
        "City": {
          "$ref": "#/$defs/City"
        },
        "Division": {
          "$ref": "#/$defs/Division"
        },
        "DivisionCode": {
          "$ref": "#/$defs/DivisionCode"
        },
        "PostalCode": {
          "$ref": "#/$defs/PostalCode"
        },
        "CountryCode": {
          "$ref": "#/$defs/CountryCode"
        },
        "CountryName": {
          "$ref": "#/$defs/CountryName"
        },
        "Contact": {
          "$ref": "#/$defs/Contact"
        },
        "Suburb": {
          "$ref": "#/$defs/Suburb"
        },
        "StreetName": {
          "$ref": "#/$defs/StreetName"
        },
        "BuildingName": {
          "$ref": "#/$defs/BuildingName"
        },
        "StreetNumber": {
          "$ref": "#/$defs/StreetNumber"
        },
        "RegistrationNumbers": {
          "$ref": "#/$defs/RegistrationNumbers"
        },
        "BusinessPartyTypeCode": {
          "$ref": "#/$defs/BusinessPartyTypeCode"
        }
      },
      "required": [
        "CompanyName",
        "AddressLine1",
        "City",
        "CountryCode",
        "CountryName",
        "Contact",
        "RegistrationNumbers"
      ]
    },
    "PaymentMethod": {
      "type": "string",
      "description": "Payment method code",
      "minLength": 3,
      "maxLength": 3
    },
    "PaymentMethods": {
      "type": "object",
      "description": "Payment methods",
      "properties": {
        "PaymentMethod": {
          "$ref": "#/$defs/PaymentMethod"
        }
      },
      "required": [
        "PaymentMethod"
      ]
    },
    "PersonName": {
      "type": "string",
      "description": "Name",
      "minLength": 2,
      "maxLength": 255
    },
    "PhoneExtension": {
      "type": "string",
      "description": "Phone Extension",
      "maxLength": 5
    },
    "PhoneNumber": {
      "type": "string",
      "description": "Phone Number",
      "minLength": 1,
      "maxLength": 70,
      "pattern": ".*[^\\s].*"
    },
    "Piece": {
      "type": "array",
      "description": "Element encapsulating pieces information",
      "minItems": 1,
      "maxItems": 999,
      "items": {
        "properties": {
          "PieceID": {
            "$ref": "#/$defs/PieceID"
          },
          "PackageType": {
            "$ref": "#/$defs/PackageType"
          },
          "Weight": {
            "$ref": "#/$defs/Weight"
          },
          "Width": {
            "$ref": "#/$defs/Piece_Dimension"
          },
          "Height": {
            "$ref": "#/$defs/Piece_Dimension"
          },
          "Depth": {
            "$ref": "#/$defs/Piece_Dimension"
          },
          "PieceContents": {
            "$ref": "#/$defs/PieceContents"
          },
          "PieceReference": {
            "$ref": "#/$defs/Reference"
          },
          "AdditionalInformation": {
            "$ref": "#/$defs/AdditionalInformation"
          },
          "ParentPieceIdentificationNumber": {
            "$ref": "#/$defs/PieceID"
          },
          "PieceIdentificationNumber": {
            "$ref": "#/$defs/PieceID"
          },
          "UseOwnPieceIdentificationNumber": {
            "type": "string",
            "description": "Customer able to provide PID if set to Y. The\n\t\t\t\t\t\tdefault is N",
            "maxLength": 1,
            "enum": [
              "Y",
              "N"
            ]
          },
          "PieceIdentificationNumberDataIdentifier": {
            "type": "string",
            "description": "object",
            "format": "xsd-token",
            "minLength": 1,
            "maxLength": 4,
            "pattern": "\\S+( \\S+)*"
          }
        }
      },
      "required": [
        "Weight",
        "Width",
        "Height",
        "Depth"
      ]
    },
    "PieceContents": {
      "type": "string",
      "description": "Piece contents description",
      "maxLength": 70
    },
    "PieceID": {
      "type": "string",
      "description": "Piece ID",
      "maxLength": 35
    },
    "Piece_Dimension": {
      "type": "number",
      "description": "Piece Dimension: Width, Depth and Height Positive number with 3 decimal places precision. Positive number with 10 amount of digits."
    },
    "Pieces": {
      "type": "object",
      "description": "Element encapsulating pieces information",
      "properties": {
        "Piece": {
          "$ref": "#/$defs/Piece"
        }
      },
      "required": [
        "Piece"
      ]
    },
    "PlaceOfIncoterm": {
      "type": "string",
      "description": "Declaration text",
      "maxLength": 256
    },
    "PostalCode": {
      "type": "string",
      "description": "Full postal/zip code for address",
      "maxLength": 12
    },
    "QRCodeImageFormat": {
      "type": "string",
      "description": "QRCode Image Format",
      "enum": [
        "PNG"
      ]
    },
    "QRCodeTemplate": {
      "type": "string",
      "description": "QR Code template",
      "enum": [
        "QR_1_00_LL_PNG_001"
      ]
    },
    "Quantity": {
      "type": "number",
      "description": "Quantity",
      "format": "positive-integer",
      "pattern": "^[1-9]\\d*$"
    },
    "QuantityUnit": {
      "type": "string",
      "description": "\n\t\t\tUOM Description\n\t\t\tBOX Boxes\n\t\t\t2GM Centigram\n\t\t\t2M Centimeters\n\t\t\t2M3 Cubic Centimeters\n\t\t\t3M3 Cubic Feet\n\t\t\tM3 Cubic Meters\n\t\t\tDPR Dozen Pairs\n\t\t\tDOZ Dozen\n\t\t\t2NO Each\n\t\t\tPCS Pieces\n\t\t\tGM Grams\n\t\t\tGRS Gross\n\t\t\tKG Kilograms\n\t\t\tL Liters\n\t\t\tM Meters\n\t\t\t3GM Milligrams\n\t\t\t3L Milliliters\n\t\t\tX No Unit Required\n\t\t\tNO Number\n\t\t\t2KG Ounces\n\t\t\tPRS Pairs\n\t\t\t2L Gallons\n\t\t\t3KG Pounds\n\t\t\tCM2 Square Centimeters\n\t\t\t2M2 Square Feet\n\t\t\t3M2 Square Inches\n\t\t\tM2 Square Meters\n\t\t\t4M2 Square Yards\n\t\t\t3M Yards\n\t\t",
      "maxLength": 8
    },
    "ReceiptTemplate": {
      "type": "string",
      "description": "ReceiptTemplate",
      "maxLength": 30,
      "enum": [
        "SHIPRCPT_EN_001",
        "SHIP_RECPT_A4_RU_PDF"
      ]
    },
    "Reference": {
      "type": "array",
      "description": "This element identifies the reference information. It is an optional field in the shipment validation request. Only the first reference will be taken currently",
      "minItems": 0,
      "maxItems": 99,
      "items": {
        "properties": {
          "ReferenceID": {
            "$ref": "#/$defs/ReferenceID"
          },
          "ReferenceType": {
            "$ref": "#/$defs/ReferenceType"
          }
        }
      },
      "required": [
        "ReferenceID"
      ]
    },
    "ReferenceID": {
      "type": "string",
      "description": "Shipper reference ID",
      "minLength": 1,
      "maxLength": 35
    },
    "ReferenceType": {
      "type": "string",
      "description": "Shipment reference type",
      "minLength": 2,
      "maxLength": 3
    },
    "RegionCode": {
      "type": "string",
      "description": "RegionCode",
      "minLength": 2,
      "maxLength": 2,
      "enum": [
        "AP",
        "EU",
        "AM"
      ]
    },
    "RegistrationNumber": {
      "type": "array",
      "minItems": 1,
      "maxItems": 10,
      "items": {
        "type": "object",
        "properties": {
          "Number": {
            "$ref": "#/$defs/Number"
          },
          "NumberTypeCode": {
            "$ref": "#/$defs/NumberTypeCode"
          },
          "NumberIssuerCountryCode": {
            "$ref": "#/$defs/NumberIssuerCountryCode"
          }
        }
      },
      "required": [
        "Number",
        "NumberTypeCode",
        "NumberIssuerCountryCode"
      ]
    },
    "RegistrationNumbers": {
      "type": "object",
      "properties": {
        "RegistrationNumber": {
          "$ref": "#/$defs/RegistrationNumber"
        }
      }
    },
    "Request": {
      "type": "object",
      "description": "Generic request header",
      "properties": {
        "ServiceHeader": {
          "$ref": "#/$defs/ServiceHeader"
        },
        "MetaData": {
          "$ref": "#/$defs/MetaData"
        }
      },
      "required": [
        "ServiceHeader"
      ]
    },
    "Resolution": {
      "type": "number",
      "description": "Resolution",
      "format": "positive-integer",
      "pattern": "^[1-9]\\d*$",
      "minimum": 200,
      "maximum": 300
    },
    "Seller": {
      "type": "object",
      "properties": {
        "CompanyName": {
          "$ref": "#/$defs/CompanyNameValidator"
        },
        "AddressLine1": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine2": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine3": {
          "$ref": "#/$defs/AddressLine"
        },
        "City": {
          "$ref": "#/$defs/City"
        },
        "Division": {
          "$ref": "#/$defs/Division"
        },
        "DivisionCode": {
          "$ref": "#/$defs/DivisionCode"
        },
        "PostalCode": {
          "$ref": "#/$defs/PostalCode"
        },
        "CountryCode": {
          "$ref": "#/$defs/CountryCode"
        },
        "CountryName": {
          "$ref": "#/$defs/CountryName"
        },
        "Contact": {
          "$ref": "#/$defs/Contact"
        },
        "Suburb": {
          "$ref": "#/$defs/Suburb"
        },
        "StreetName": {
          "$ref": "#/$defs/StreetName"
        },
        "BuildingName": {
          "$ref": "#/$defs/BuildingName"
        },
        "StreetNumber": {
          "$ref": "#/$defs/StreetNumber"
        },
        "RegistrationNumbers": {
          "$ref": "#/$defs/RegistrationNumbers"
        },
        "BusinessPartyTypeCode": {
          "$ref": "#/$defs/BusinessPartyTypeCode"
        }
      },
      "required": [
        "CompanyName",
        "AddressLine1",
        "City",
        "CountryCode",
        "CountryName",
        "Contact",
        "RegistrationNumbers"
      ]
    },
    "ServiceHeader": {
      "type": "object",
      "description": "Standard routing header",
      "properties": {
        "MessageTime": {
          "type": "string",
          "description": "Time this message is sent",
          "format": "date-time"
        },
        "GMTOffset": {
          "type": "string",
          "description": "The GMToffset element is a simple type of element which gives the time difference between the service areas time and GMT"
        },
        "MessageReference": {
          "$ref": "#/$defs/MessageReference"
        },
        "SiteID": {
          "$ref": "#/$defs/SiteID"
        },
        "Password": {
          "$ref": "#/$defs/Password"
        }
      },
      "required": [
        "MessageTime",
        "MessageReference",
        "SiteID",
        "Password"
      ]
    },
    "ShipmentCharges": {
      "type": "number",
      "description": "ShipmentCharges",
      "minimum": 0,
      "maximum": 999999999999999999,
      "multipleOf": 0.001
    },
    "ShipmentContents": {
      "type": "string",
      "description": "Shipment contents description",
      "minLength": 1,
      "maxLength": 90
    },
    "ShipmentDetails": {
      "type": "object",
      "description": "The ShipmentDetails element contains the details of the shipment. It must be declared once in the request message",
      "properties": {
        "Pieces": {
          "$ref": "#/$defs/Pieces"
        },
        "WeightUnit": {
          "$ref": "#/$defs/WeightUnit"
        },
        "GlobalProductCode": {
          "$ref": "#/$defs/GlobalProductCode"
        },
        "LocalProductCode": {
          "$ref": "#/$defs/LocalProductCode"
        },
        "Date": {
          "$ref": "#/$defs/Date"
        },
        "Contents": {
          "$ref": "#/$defs/ShipmentContents"
        },
        "DimensionUnit": {
          "$ref": "#/$defs/DimensionUnit"
        },
        "IsDutiable": {
          "$ref": "#/$defs/YesNo"
        },
        "CurrencyCode": {
          "$ref": "#/$defs/CurrencyCode"
        },
        "CustData": {
          "$ref": "#/$defs/CustData"
        },
        "ShipmentCharges": {
          "$ref": "#/$defs/ShipmentCharges"
        },
        "ParentShipmentIdentificationNumber": {
          "$ref": "#/$defs/AWBNumber"
        },
        "ParentShipmentGlobalProductCode": {
          "$ref": "#/$defs/GlobalProductCode"
        },
        "ParentShipmentPackagesCount": {
          "$ref": "#/$defs/ParentShipmentPackagesCount"
        }
      },
      "required": [
        "Pieces",
        "WeightUnit",
        "GlobalProductCode",
        "Date",
        "Contents"
      ]
    },
    "ShipmentDocument": {
      "type": "object",
      "description": "Shipment Document",
      "properties": {
        "ShipmentDocumentReference": {
          "type": "string",
          "description": "This element contains export declaration’s shipment document reference value.It is an optional field",
          "minLength": 0,
          "maxLength": 35
        },
        "DocumentTypeName": {
          "type": "string",
          "description": "This element contains export declaration’s shipment document type name value.It is an optional field",
          "minLength": 0,
          "maxLength": 3
        }
      }
    },
    "ShipmentPaymentType": {
      "type": "string",
      "description": "Shipment payment type (S:Shipper)",
      "minLength": 1,
      "maxLength": 1,
      "enum": [
        "S",
        "R",
        "T"
      ]
    },
    "ShipmentPurpose": {
      "type": "string",
      "description": "Indicates if the Trading Transaction Type, shipment was sent for Personal (Gift) or Commercial (Sale) reasons\n\t\t\t",
      "format": "xsd-token",
      "pattern": "\\S+( \\S+)*",
      "enum": [
        "PERSONAL",
        "COMMERCIAL"
      ]
    },
    "ShipmentReceiptDeclarationText": {
      "type": "string",
      "description": "Declaration text that can be printed in certain shipment receipt template",
      "minLength": 1,
      "maxLength": 700
    },
    "Shipper": {
      "type": "object",
      "description": "Shipper element contains the details of the Shipper. This element should be declared once in the Shipment validation Request message",
      "properties": {
        "CompanyName": {
          "$ref": "#/$defs/CompanyNameValidator"
        },
        "AddressLine1": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine2": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine3": {
          "$ref": "#/$defs/AddressLine"
        },
        "City": {
          "$ref": "#/$defs/City"
        },
        "Division": {
          "$ref": "#/$defs/Division"
        },
        "DivisionCode": {
          "$ref": "#/$defs/DivisionCode"
        },
        "PostalCode": {
          "$ref": "#/$defs/PostalCode"
        },
        "OriginServiceAreaCode": {
          "$ref": "#/$defs/OriginServiceAreaCode"
        },
        "OriginFacilityCode": {
          "$ref": "#/$defs/OriginFacilityCode"
        },
        "CountryCode": {
          "$ref": "#/$defs/CountryCode"
        },
        "CountryName": {
          "$ref": "#/$defs/CountryName"
        },
        "Contact": {
          "$ref": "#/$defs/Contact"
        },
        "Suburb": {
          "$ref": "#/$defs/Suburb"
        },
        "StreetName": {
          "$ref": "#/$defs/StreetName"
        },
        "BuildingName": {
          "$ref": "#/$defs/BuildingName"
        },
        "StreetNumber": {
          "$ref": "#/$defs/StreetNumber"
        },
        "RegistrationNumbers": {
          "$ref": "#/$defs/RegistrationNumbers"
        },
        "BusinessPartyTypeCode": {
          "$ref": "#/$defs/BusinessPartyTypeCode"
        }
      },
      "required": [
        "CompanyName",
        "AddressLine1",
        "City",
        "CountryCode",
        "CountryName",
        "Contact",
        "RegistrationNumbers"
      ]
    },
    "SignatureImage": {
      "type": "string",
      "description": "SignatureImage",
      "format": "base-64-binary",
      "maxLength": 1048576,
      "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
    },
    "SignatureName": {
      "type": "string",
      "description": "Signature name",
      "maxLength": 35
    },
    "SignatureTitle": {
      "type": "string",
      "description": "Signature title",
      "maxLength": 35
    },
    "SiteID": {
      "type": "string",
      "description": "Site ID used for verifying the sender",
      "minLength": 6,
      "maxLength": 20
    },
    "SpecialService": {
      "type": "array",
      "description": "The SpecialService Element provides various special services for the shipment. It is an optional field. Please refer to the Reference Data and use appropriate Service codes enabled for the Country/Region",
      "minItems": 0,
      "maxItems": 10,
      "items": {
        "properties": {
          "SpecialServiceType": {
            "$ref": "#/$defs/SpecialServiceType"
          },
          "ChargeValue": {
            "$ref": "#/$defs/Money"
          },
          "CurrencyCode": {
            "$ref": "#/$defs/CurrencyCode"
          },
          "PaymentMethods": {
            "$ref": "#/$defs/PaymentMethods"
          }
        }
      }
    },
    "SpecialServiceType": {
      "type": "string",
      "description": "Special Service codes",
      "maxLength": 6
    },
    "StreetName": {
      "type": "string",
      "format": "xsd-token",
      "minLength": 1,
      "maxLength": 250,
      "pattern": "\\S+( \\S+)*"
    },
    "StreetNumber": {
      "type": "string",
      "format": "xsd-token",
      "minLength": 1,
      "maxLength": 50,
      "pattern": "\\S+( \\S+)*"
    },
    "Suburb": {
      "type": "string",
      "description": "Suburb name",
      "maxLength": 45
    },
    "TaxesPaid": {
      "type": "string",
      "description": "Indication if Taxes has been paid for the line item",
      "enum": [
        "Y",
        "N"
      ]
    },
    "TermsOfTrade": {
      "type": "string",
      "description": "TermsOfTrade",
      "minLength": 3,
      "maxLength": 3
    },
    "Type": {
      "type": "string",
      "description": "Image Type",
      "minLength": 3,
      "maxLength": 3,
      "enum": [
        "HWB",
        "INV",
        "PNV",
        "COO",
        "NAF",
        "CIN",
        "DCL"
      ]
    },
    "UltimateConsignee": {
      "type": "object",
      "properties": {
        "CompanyName": {
          "$ref": "#/$defs/CompanyNameValidator"
        },
        "AddressLine1": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine2": {
          "$ref": "#/$defs/AddressLine"
        },
        "AddressLine3": {
          "$ref": "#/$defs/AddressLine"
        },
        "City": {
          "$ref": "#/$defs/City"
        },
        "Division": {
          "$ref": "#/$defs/Division"
        },
        "DivisionCode": {
          "$ref": "#/$defs/DivisionCode"
        },
        "PostalCode": {
          "$ref": "#/$defs/PostalCode"
        },
        "CountryCode": {
          "$ref": "#/$defs/CountryCode"
        },
        "CountryName": {
          "$ref": "#/$defs/CountryName"
        },
        "Contact": {
          "$ref": "#/$defs/Contact"
        },
        "Suburb": {
          "$ref": "#/$defs/Suburb"
        },
        "StreetName": {
          "$ref": "#/$defs/StreetName"
        },
        "BuildingName": {
          "$ref": "#/$defs/BuildingName"
        },
        "StreetNumber": {
          "$ref": "#/$defs/StreetNumber"
        },
        "RegistrationNumbers": {
          "$ref": "#/$defs/RegistrationNumbers"
        },
        "BusinessPartyTypeCode": {
          "$ref": "#/$defs/BusinessPartyTypeCode"
        }
      },
      "required": [
        "CompanyName",
        "AddressLine1",
        "City",
        "CountryCode",
        "CountryName",
        "Contact",
        "RegistrationNumbers"
      ]
    },
    "Weight": {
      "type": "number",
      "description": "Weight of piece or shipment",
      "minLength": 0,
      "maxLength": 999999999999999,
      "multipleOf": 0.001
    },
    "WeightUnit": {
      "type": "string",
      "description": "Unit of weight measurement (K:KiloGram)",
      "minLength": 0,
      "maxLength": 1,
      "enum": [
        "K",
        "L"
      ]
    },
    "YesNo": {
      "type": "string",
      "description": "Boolean flag",
      "minLength": 1,
      "maxLength": 1,
      "enum": [
        "Y",
        "N"
      ]
    }
  }
}