{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dhl/json-schema/dhl-shipment-label-schema.json",
  "title": "shipmentLabel",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dhl-shipment-label-dhl-global-forwarding-openapi.yml#/components/schemas/shipmentLabel",
  "required": [
    "housebillNumber"
  ],
  "properties": {
    "shipmentID": {
      "type": "string",
      "description": "DHL Shipment ID. Required for Ocean freight shipment.",
      "maxLength": 50
    },
    "housebillNumber": {
      "type": "string",
      "description": "DHL Shipment Housebill number",
      "maxLength": 35
    },
    "additionalInformation": {
      "type": "string",
      "description": "The text that will appear in the label under Additional Information section",
      "maxLength": 275
    },
    "mimeType": {
      "type": "string",
      "description": "Define the output format either 'pdf' or 'zpl' file type , if this field left blank system will default to 'pdf'",
      "maxLength": 5,
      "enum": [
        "pdf",
        "zpl"
      ]
    },
    "acceptContentType": {
      "type": "string",
      "description": "Define the output content type whether it will be JSON 'application/json' or binary 'application/octet-stream', if this field left blank system will default to 'application/octet-stream'",
      "maxLength": 25,
      "enum": [
        "application/json",
        "application/octet-stream"
      ]
    }
  }
}