{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dhl/json-schema/dhl-dp-processing-detail-rep-schema.json",
  "title": "DpProcessingDetailRep",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dhl-deutsche-post-print-mailing-dispatch-preparation-post-parcel-germany-openapi.yml#/components/schemas/DpProcessingDetailRep",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "Id of the processing."
    },
    "description": {
      "type": "string",
      "description": "A text describing the processing.",
      "maxLength": 255,
      "minLength": 0
    },
    "processingState": {
      "type": "integer",
      "format": "int32",
      "description": "The status of the processing. See lookup resource 'ProcessingState' for available values."
    },
    "processingType": {
      "type": "integer",
      "format": "int32",
      "description": "The type of the processing. See lookup resource 'ProcessingType' for available values."
    },
    "optimizerType": {
      "type": "integer",
      "format": "int32",
      "description": "The type of the optimizer. See lookup resource 'OptimizerType' for available values."
    },
    "mailingItemsQuantity": {
      "type": "integer",
      "format": "int32",
      "description": "Amount of items of the mailing."
    },
    "mailingItemsErrors": {
      "type": "integer",
      "format": "int32",
      "description": "Amount of erroneous items of the mailing."
    },
    "logInfoQuantity": {
      "type": "integer",
      "format": "int32",
      "description": "Amount of registered informative log entries."
    },
    "logWarnQuantity": {
      "type": "integer",
      "format": "int32",
      "description": "Amount of registered warnings within log entries."
    },
    "logErrorQuantity": {
      "type": "integer",
      "format": "int32",
      "description": "Amount of registered error log entries."
    },
    "createdOn": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time of the creation."
    },
    "changedOn": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time of the last change."
    },
    "simulation": {
      "type": "boolean",
      "default": false,
      "description": "The simulation mode for a single processing. If true, documents for the released processing will be created with simulated content. Further, invoice and order are neither created nor submitted."
    },
    "inputState": {
      "type": "integer",
      "format": "int32",
      "description": "State of input data processing step."
    },
    "internalDataProcessingState": {
      "type": "integer",
      "format": "int32",
      "description": "State of internal data processing step."
    },
    "documentsCreationState": {
      "type": "integer",
      "format": "int32",
      "description": "State of documents creation processing step."
    },
    "orderTransmissionState": {
      "type": "integer",
      "format": "int32",
      "description": "State of order transmission processing step."
    },
    "orderResponseState": {
      "type": "integer",
      "format": "int32",
      "description": "State of order response processing step."
    },
    "processingOutputState": {
      "type": "integer",
      "format": "int32",
      "description": "State of order output processing step."
    }
  },
  "required": [
    "description"
  ]
}