{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dhl/json-schema/dhl-pwsp-processing-results-values-mailing-item-rep-schema.json",
  "title": "PwspProcessingResultsValuesMailingItemRep",
  "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/PwspProcessingResultsValuesMailingItemRep",
  "type": "object",
  "properties": {
    "originalId": {
      "type": "integer",
      "format": "int32",
      "description": "Original mailing item identifier (chosen by you)"
    },
    "id": {
      "type": "integer",
      "format": "int32",
      "description": "Generated order number within all mailing items. 'Sendungsnummer'"
    },
    "containerId": {
      "type": "integer",
      "format": "int32",
      "description": "The id of the container the mailing item is registered."
    },
    "palletId": {
      "type": "integer",
      "format": "int32",
      "description": "The id of the pallet the mailing item is registered."
    },
    "firstOfContainer": {
      "type": "boolean",
      "description": "Shows if the mailing item is the first item within the container."
    },
    "lastOfContainer": {
      "type": "boolean",
      "description": "Shows if the mailing item is the last item within the container."
    },
    "firstOfPallet": {
      "type": "boolean",
      "description": "Shows if the mailing item is the first item in the pallet."
    },
    "lastOfPallet": {
      "type": "boolean",
      "description": "Shows if the mailing item is the last  item in the pallet."
    },
    "dmc": {
      "type": "string",
      "description": "IT franking datamatrix code"
    },
    "greeting": {
      "type": "string",
      "description": "Mailing item greeting."
    },
    "zip": {
      "type": "string",
      "description": "Mailing item zip (plz)"
    },
    "street": {
      "type": "string",
      "description": "Mailing item street."
    },
    "houseNumber": {
      "type": "string",
      "description": "Mailing item house number."
    },
    "city": {
      "type": "string",
      "description": "Mailing item city."
    },
    "postage": {
      "type": "integer",
      "format": "int64",
      "description": "Contains the postage in Euro Cent of this single mailing item ('IT franking')."
    },
    "product": {
      "type": "string",
      "description": "Mailing item base format ('IT franking')."
    },
    "inductionMonth": {
      "type": "string",
      "description": "Month of induction ('IT franking'). According to DV Freimachung Handlingbroschüre version starting from 2023 the date format has to be MM.YY"
    },
    "inductionDate": {
      "type": "string",
      "format": "date",
      "description": "Date of induction ('IT franking')."
    },
    "inscription": {
      "type": "string",
      "description": "String which should be printed on the mailing  ('IT franking')."
    },
    "frankingId": {
      "type": "string",
      "description": "Franking ID code ('IT franking')."
    },
    "errorMessages": {
      "type": "array",
      "description": "Error message for this mailing item.",
      "items": {
        "type": "string"
      }
    }
  }
}