{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dhl/json-schema/dhl-subscription-update-schema.json",
  "title": "SubscriptionUpdate",
  "description": "Scheme for updating a subscription",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dhl-mail-communication-tracking-push-post-parcel-germany-openapi.yml#/components/schemas/SubscriptionUpdate",
  "type": "object",
  "required": [
    "numberOfRecords",
    "exportFormat",
    "language"
  ],
  "properties": {
    "numberOfRecords": {
      "maximum": 10000,
      "minimum": 1,
      "type": "integer",
      "description": "The number of documents within a batch.",
      "format": "int32"
    },
    "exportFormat": {
      "type": "string",
      "description": "The format in which the documents should be.",
      "enum": [
        "application/json",
        "application/xml"
      ]
    },
    "language": {
      "type": "string",
      "description": "The language in which the documents should be.",
      "enum": [
        "de",
        "en"
      ]
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "The email to be used for notifications."
    }
  }
}