{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/swiss-post/main/json-schema/swiss-post-post-orders-orderkey-approval-response-schema.json",
  "title": "PostOrdersOrderkeyApprovalResponse",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/swiss-post-openapi-generated.yml#/components/schemas/PostOrdersOrderkeyApprovalResponse",
  "type": "object",
  "properties": {
    "orderKey": {
      "type": "string",
      "description": "Identifier of the approved order"
    },
    "errors": {
      "type": "array",
      "description": "Array of error objects if approval failed"
    },
    "warnings": {
      "type": "array",
      "description": "Array of warning objects"
    }
  }
}