{
  "openapi" : "3.1.0",
  "info" : {
    "title" : "API",
    "description" : "API Documentation",
    "version" : "1.0/connect-hub"
  },
  "servers" : [ {
    "url" : "http://connect-hub.platform"
  } ],
  "paths" : {
    "/connect-hub/comm/v1/alerts/list" : {
      "get" : {
        "tags" : [ "CommExecution" ],
        "summary" : "Page message incident and publication history",
        "description" : "Requires CommHub history READ. ACCEPTED means EventBridge handoff, not human task or acknowledgement. No event payload is loaded.",
        "operationId" : "commHubListExecutionAlerts",
        "parameters" : [ {
          "name" : "executionId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0,
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20,
            "maximum" : 100,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Bounded incident metadata",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommExecutionAlertPage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/attachments/download" : {
      "get" : {
        "tags" : [ "CommAttachment" ],
        "summary" : "Download an owned immutable upload",
        "description" : "Same tenant and original uploader are required. Reads verified immutable bytes with no-store and access audit.",
        "operationId" : "commHubDownloadAttachment",
        "parameters" : [ {
          "name" : "fileId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/octet-stream" : {
                "schema" : {
                  "type" : "string",
                  "format" : "binary"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          },
          "403" : {
            "description" : "Required communication authority, tenant or principal is missing",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/attachments/downloadForDelivery" : {
      "get" : {
        "tags" : [ "CommAttachment" ],
        "summary" : "Download the invoked receiver's immutable Attempt attachment",
        "description" : "Requires the frozen FileReportUserId and gateway producer URI authority. Invoked nonsuperseded Attempts remain readable through acceptance or uncertainty.",
        "operationId" : "commHubDownloadDeliveryAttachment",
        "parameters" : [ {
          "name" : "callbackId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "fileKey",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/octet-stream" : {
                "schema" : {
                  "type" : "string",
                  "format" : "binary"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          },
          "403" : {
            "description" : "Required communication authority, tenant or principal is missing",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/attachments/downloadSnapshot" : {
      "get" : {
        "tags" : [ "CommAttachment" ],
        "summary" : "Download a retained Attempt attachment",
        "description" : "Requires history READ and COMMHUB_DATA_UNMASK. Downloads this Attempt association, with no-store and access audit.",
        "operationId" : "commHubDownloadAttemptAttachment",
        "parameters" : [ {
          "name" : "attemptId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "attachmentId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/octet-stream" : {
                "schema" : {
                  "type" : "string",
                  "format" : "binary"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          },
          "403" : {
            "description" : "Required communication authority, tenant or principal is missing",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/attachments/getById" : {
      "get" : {
        "tags" : [ "CommAttachment" ],
        "summary" : "Read owned upload metadata",
        "description" : "Same tenant and original uploader are required. Possession of FileId or general history authority does not grant upload reuse.",
        "operationId" : "commHubGetAttachmentById",
        "parameters" : [ {
          "name" : "fileId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommAttachmentFile"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          },
          "403" : {
            "description" : "Required communication authority, tenant or principal is missing",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/attachments/list" : {
      "get" : {
        "tags" : [ "CommAttachment" ],
        "summary" : "Page accepted attachment identities and Attempt snapshot metadata",
        "description" : "History READ authority is required. SnapshotAvailable distinguishes prepared bytes; metadata does not prove delivery.",
        "operationId" : "commHubListExecutionAttachments",
        "parameters" : [ {
          "name" : "executionId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0,
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20,
            "maximum" : 200,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommAttachmentPage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          },
          "403" : {
            "description" : "Required communication authority, tenant or principal is missing",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/attachments/upload" : {
      "post" : {
        "tags" : [ "CommAttachment" ],
        "summary" : "Upload an immutable communication attachment",
        "description" : "The authenticated uploader owns subsequent reuse and direct download. Actual bytes are bounded by the deployment attachment limits. Returns only after durable file publication.",
        "operationId" : "commHubUploadAttachment",
        "requestBody" : {
          "content" : {
            "multipart/form-data" : {
              "schema" : {
                "type" : "object",
                "properties" : {
                  "File" : {
                    "type" : "string",
                    "format" : "binary"
                  }
                },
                "required" : [ "File" ]
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommAttachmentFile"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          },
          "403" : {
            "description" : "Required communication authority, tenant or principal is missing",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/bindings/deleteById" : {
      "post" : {
        "tags" : [ "CommBinding" ],
        "summary" : "Delete a execution binding by ID",
        "description" : "Delete an execution Binding using only BindingId. The owning Definition Revision advances and its remaining published configuration is validated. Accepted history is retained.",
        "operationId" : "commHubDeleteBindingById",
        "parameters" : [ {
          "name" : "bindingId",
          "in" : "query",
          "description" : "Identifier of the selected Binding.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        } ],
        "responses" : {
          "204" : {
            "description" : "Completed with no response body"
          },
          "400" : {
            "description" : "Invalid request fields",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/bindings/getById" : {
      "get" : {
        "tags" : [ "CommBinding" ],
        "summary" : "Load one execution binding",
        "description" : "CommHub READ. Loads Binding expressions/output contract only for one Binding belonging to the selected definition.",
        "operationId" : "commHubGetBindingById",
        "parameters" : [ {
          "name" : "definitionId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "bindingId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Binding detail",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommBinding"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/bindings/list" : {
      "get" : {
        "tags" : [ "CommBinding" ],
        "summary" : "List execution bindings for a definition",
        "description" : "List execution bindings for a definition",
        "operationId" : "commHubListBindings",
        "parameters" : [ {
          "name" : "definitionId",
          "in" : "query",
          "description" : "Identifier of the selected definition.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/CommBindingSummary"
                  }
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/bindings/preview" : {
      "post" : {
        "tags" : [ "CommBinding" ],
        "summary" : "Test an unsaved execution binding without sending",
        "description" : "Inspect condition, masked recipient address, selected template and Binding-linked DeliveryPolicy revision/bindings against saved configuration. Missing linked policies are diagnosed. HUB templates report undeclared roots as Diagnostics with Stage=Template, Variable=name and Code=VARIABLE_UNDECLARED. ConditionValid describes only the condition; inspect Diagnostics independently. No quota reservation, snapshot persistence, live guards or delivery. Explicit recipient IDs are returned as supplied.",
        "operationId" : "commHubPreviewBinding",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommBindingPreviewRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommBindingPreviewResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/bindings/save" : {
      "post" : {
        "tags" : [ "CommBinding" ],
        "summary" : "Create or replace a execution binding",
        "description" : "Create when the identifier is omitted or null; otherwise save the existing record. Editable fields are replaced. Omitted optional fields are cleared: policy links and overrides inherit, conditions are removed, documents become empty and archival obligations become NONE. A retry override requires all four fields. Creation defaults and clearing semantics are documented in the request schema.",
        "operationId" : "commHubSaveBinding",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommBindingSaveRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommBinding"
                }
              }
            }
          },
          "201" : {
            "description" : "Resource created",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommBinding"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/callbacks/result" : {
      "post" : {
        "tags" : [ "CommCallback" ],
        "summary" : "Accept an execution result callback",
        "description" : "Apply a provider receipt to the exact attempt identified by X-Comm-Callback-Id. Duplicate and obsolete receipts are acknowledged without repeating a transition; an illegal transition conflicts. Do not expose callback correlation identifiers in history responses.",
        "operationId" : "commHubAcceptExecutionCallback",
        "parameters" : [ {
          "name" : "X-Comm-Callback-Id",
          "in" : "header",
          "description" : "Action request parameter",
          "required" : true,
          "style" : "simple",
          "explode" : false,
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommExecutionCallbackRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommAcknowledgement"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "404" : {
            "description" : "Callback attempt not found"
          },
          "409" : {
            "description" : "Illegal receipt transition",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommAcknowledgement"
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/configuration-snapshots/getById" : {
      "get" : {
        "tags" : [ "CommConfigurationSnapshot" ],
        "summary" : "Get accepted configuration snapshot",
        "description" : "Return the immutable shared configuration captured at acceptance, with credential fields excluded or redacted.",
        "operationId" : "commHubGetConfigurationSnapshotById",
        "parameters" : [ {
          "name" : "snapshotId",
          "in" : "query",
          "description" : "Positive identifier of the selected resource.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful read-only query",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommConfigurationSnapshotDetail"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid identifier or pagination",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/configuration-snapshots/list" : {
      "get" : {
        "tags" : [ "CommConfigurationSnapshot" ],
        "summary" : "List accepted snapshots for a task definition",
        "description" : "Page through immutable accepted configuration snapshots belonging to the selected DefinitionId; Revision records the captured edit revision.",
        "operationId" : "commHubListConfigurationSnapshots",
        "parameters" : [ {
          "name" : "definitionId",
          "in" : "query",
          "description" : "Positive identifier of the selected resource.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "description" : "Zero-based page index from 0 to 99999.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0,
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "description" : "Page size from 1 to 200.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20,
            "maximum" : 200,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful read-only query",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommConfigurationSnapshotPage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid identifier or pagination",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/configuration-snapshots/tasks" : {
      "get" : {
        "tags" : [ "CommConfigurationSnapshot" ],
        "summary" : "List tasks using a configuration snapshot",
        "description" : "Page through tenant-local tasks that reference the selected immutable configuration snapshot.",
        "operationId" : "commHubListConfigurationSnapshotTasks",
        "parameters" : [ {
          "name" : "snapshotId",
          "in" : "query",
          "description" : "Positive identifier of the selected resource.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "description" : "Zero-based page index from 0 to 99999.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0,
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "description" : "Page size from 1 to 200.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20,
            "maximum" : 200,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful read-only query",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommConfigurationSnapshotTaskPage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid identifier or pagination",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/context-definitions/copy" : {
      "post" : {
        "tags" : [ "CommContextDefinition" ],
        "summary" : "Copy a context definition",
        "description" : "Create a new code from the expected source Revision in its current group. Owned child identities and audit metadata are new; external references remain shared.",
        "operationId" : "commHubCopyContextDefinition",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommResourceCopyRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "201" : {
            "description" : "Resource copied",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommContextDefinitionResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid code, source revision or group",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/context-definitions/deleteById" : {
      "post" : {
        "tags" : [ "CommContextDefinition" ],
        "summary" : "Delete a context definition by ID",
        "description" : "Delete an unreferenced context definition using only DefinitionId. Current Definition references block deletion. Accepted snapshots are retained.",
        "operationId" : "commHubDeleteContextDefinitionById",
        "parameters" : [ {
          "name" : "definitionId",
          "in" : "query",
          "description" : "Identifier of the selected definition.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        } ],
        "responses" : {
          "204" : {
            "description" : "Completed with no response body"
          },
          "400" : {
            "description" : "Invalid request fields",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/context-definitions/getById" : {
      "get" : {
        "tags" : [ "CommContextDefinition" ],
        "summary" : "Get a context definition by ID",
        "description" : "Get a context definition by ID",
        "operationId" : "commHubGetContextDefinitionById",
        "parameters" : [ {
          "name" : "definitionId",
          "in" : "query",
          "description" : "Identifier of the selected definition.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommContextDefinition"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/context-definitions/list" : {
      "get" : {
        "tags" : [ "CommContextDefinition" ],
        "summary" : "List context definitions",
        "description" : "List context definitions",
        "operationId" : "commHubListContextDefinitions",
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/CommContextDefinitionSummary"
                  }
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/context-definitions/previewExtraction" : {
      "post" : {
        "tags" : [ "CommContextDefinition" ],
        "summary" : "Preview unsaved context and variable extraction",
        "description" : "Resolve typed inline configurations without saving or sending. Returned Variables use display masking independent of MaskOnSend. The current global display policy protects nested object variables. Filter matches are selected on the original sample. Missing required values are diagnostics; ambiguous or malformed extraction fails.",
        "operationId" : "commHubPreviewContextExtraction",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommContextExtractionPreviewRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommContextExtractionPreviewResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/context-definitions/previewMasking" : {
      "post" : {
        "tags" : [ "CommContextDefinition" ],
        "summary" : "Preview stored Payload masking without saving input",
        "description" : "Preview current global display rules, or supplied Rules (JsonKey, ExactMatch, MaskRule), against a copy of Payload. Input is not persisted.",
        "operationId" : "commHubPreviewPayloadMasking",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommPayloadMaskingPreviewRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommPayloadMaskingPreviewResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/context-definitions/references" : {
      "get" : {
        "tags" : [ "CommContextDefinition" ],
        "summary" : "List current ContextDefinition references",
        "description" : "Complete current Definition summaries, including disabled Definitions. Ordered by DefinitionCode then DefinitionId. Existing resources without references return an empty page; unknown resources return 400. Payloads are excluded.",
        "operationId" : "commHubListContextDefinitionReferences",
        "parameters" : [ {
          "name" : "contextDefinitionId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "maximum" : 200,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Paged configuration reference summaries",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommDefinitionReferencePage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid ID, unknown resource or invalid pagination",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/context-definitions/save" : {
      "post" : {
        "tags" : [ "CommContextDefinition" ],
        "summary" : "Create or replace a context definition",
        "description" : "Create when the identifier is omitted or null; otherwise replace the existing Context configuration. Omitted optional fields including Contexts and Variables are cleared. Omit SamplePayload to preserve its stored original; explicit null clears it. Display masking is maintained in the CommHubMasking DataTable.",
        "operationId" : "commHubSaveContextDefinition",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommContextDefinitionSaveRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommContextDefinitionResult"
                }
              }
            }
          },
          "201" : {
            "description" : "Resource created",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommContextDefinitionResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/context-definitions/viewOriginalSamplePayload" : {
      "post" : {
        "tags" : [ "CommContextDefinition" ],
        "summary" : "Read original saved Context sample",
        "description" : "Explicit Context READ plus COMMHUB_DATA_UNMASK. Default Context detail remains masked. This is a retained sample only; no send occurs.",
        "operationId" : "commHubReadOriginalContextSamplePayload",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommOriginalContextSampleRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Original saved sample",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommOriginalContextSamplePayload"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid identifier or unknown fields",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "403" : {
            "description" : "Context READ or Unmask permission missing",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "404" : {
            "description" : "Context not visible in current tenant"
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/definitions/copy" : {
      "post" : {
        "tags" : [ "CommDefinition" ],
        "summary" : "Copy a task definition",
        "description" : "Copies a source definition and its execution bindings into a new disabled task code. External configuration references remain shared.",
        "operationId" : "commHubCopyDefinition",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommResourceCopyRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "201" : {
            "description" : "Definition copied",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommDefinition"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/definitions/deleteById" : {
      "post" : {
        "tags" : [ "CommDefinition" ],
        "summary" : "Delete a communication definition by ID",
        "description" : "Delete a disabled communication definition and its owned Bindings atomically, using only DefinitionId. Accepted Tasks, Executions, Attempts, attachments and configuration snapshots are retained.",
        "operationId" : "commHubDeleteDefinitionById",
        "parameters" : [ {
          "name" : "definitionId",
          "in" : "query",
          "description" : "Identifier of the selected definition.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        } ],
        "responses" : {
          "204" : {
            "description" : "Completed with no response body"
          },
          "400" : {
            "description" : "Invalid request fields",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/definitions/disable" : {
      "post" : {
        "tags" : [ "CommDefinition" ],
        "summary" : "Disable a communication definition",
        "description" : "Disable the definition for new send requests. Existing materialized messages retain their snapshots.",
        "operationId" : "commHubDisableDefinition",
        "parameters" : [ {
          "name" : "definitionId",
          "in" : "query",
          "description" : "Identifier of the selected definition.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "expectedRevision",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommDefinition"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/definitions/enable" : {
      "post" : {
        "tags" : [ "CommDefinition" ],
        "summary" : "Enable a communication definition",
        "description" : "Validate the aggregate and enable it for new sends. FALLBACK requires a unique channel and positive unique OrderNo within each canonical recipient role. ALL sends eligible candidates without delivery-order guarantees. Templates remain independently editable; newly accepted requests use saved content.",
        "operationId" : "commHubEnableDefinition",
        "parameters" : [ {
          "name" : "definitionId",
          "in" : "query",
          "description" : "Identifier of the selected definition.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "expectedRevision",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommDefinition"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/definitions/getById" : {
      "get" : {
        "tags" : [ "CommDefinition" ],
        "summary" : "Get a communication definition by ID",
        "description" : "Get a communication definition by ID",
        "operationId" : "commHubGetDefinitionById",
        "parameters" : [ {
          "name" : "definitionId",
          "in" : "query",
          "description" : "Identifier of the selected definition.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommDefinition"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/definitions/list" : {
      "get" : {
        "tags" : [ "CommDefinition" ],
        "summary" : "List communication definitions",
        "description" : "List communication definitions",
        "operationId" : "commHubListDefinitions",
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/CommDefinitionSummary"
                  }
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/definitions/save" : {
      "post" : {
        "tags" : [ "CommDefinition" ],
        "summary" : "Create or replace a communication definition",
        "description" : "Create when the identifier is omitted or null; otherwise replace the existing record. Omitted optional overrides are cleared and inherit defaults; supply all four retry fields together for an override or omit all four to inherit. Creation defaults and immutable fields are documented in the request schema.",
        "operationId" : "commHubSaveDefinition",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommDefinitionSaveRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommDefinition"
                }
              }
            }
          },
          "201" : {
            "description" : "Resource created",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommDefinition"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/delivery-policies/copy" : {
      "post" : {
        "tags" : [ "CommDeliveryPolicy" ],
        "summary" : "Copy a delivery policy",
        "description" : "Copy the expected source Revision into a new code in the same group. Time/cap child IDs are new. Quota usage is not copied; Bindings sharing the original policy retain their shared quota scope.",
        "operationId" : "commHubCopyDeliveryPolicy",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommResourceCopyRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "201" : {
            "description" : "Policy copied",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommDeliveryPolicyDetail"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid source, code, revision or group",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/delivery-policies/deleteById" : {
      "post" : {
        "tags" : [ "CommDeliveryPolicy" ],
        "summary" : "Delete an unreferenced delivery policy",
        "description" : "Delete an unreferenced delivery policy using only DeliveryPolicyId. Policy snapshots accepted earlier remain unchanged.",
        "operationId" : "commHubDeleteDeliveryPolicyById",
        "parameters" : [ {
          "name" : "deliveryPolicyId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "204" : {
            "description" : "Successful response"
          },
          "400" : {
            "description" : "Invalid request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "422" : {
            "description" : "Policy unavailable or referenced configuration",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/delivery-policies/getById" : {
      "get" : {
        "tags" : [ "CommDeliveryPolicy" ],
        "summary" : "Load delivery policy with intervals and caps",
        "description" : "Load delivery policy with intervals and caps. Policy snapshots accepted earlier remain unchanged.",
        "operationId" : "commHubGetDeliveryPolicyById",
        "parameters" : [ {
          "name" : "deliveryPolicyId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommDeliveryPolicyDetail"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "422" : {
            "description" : "Policy unavailable, duplicate code, stale revision or referenced definition",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/delivery-policies/list" : {
      "get" : {
        "tags" : [ "CommDeliveryPolicy" ],
        "summary" : "List delivery policy summaries",
        "description" : "List delivery policy summaries. Policy snapshots accepted earlier remain unchanged.",
        "operationId" : "commHubListDeliveryPolicies",
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/CommDeliveryPolicySummary"
                  }
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "422" : {
            "description" : "Policy unavailable, duplicate code, stale revision or referenced definition",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/delivery-policies/references" : {
      "get" : {
        "tags" : [ "CommDeliveryPolicy" ],
        "summary" : "List current DeliveryPolicy references",
        "description" : "Complete current Binding and related Definition, Service, Template and DeliveryPolicy summaries, including disabled configurations. Binding order is DefinitionCode, DefinitionId, OrderNo then BindingId. Existing resources without references return an empty page; unknown resources return 400. Payloads, template bodies and service Settings are excluded.",
        "operationId" : "commHubListDeliveryPolicyReferences",
        "parameters" : [ {
          "name" : "deliveryPolicyId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "maximum" : 200,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Paged configuration reference summaries",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommBindingReferencePage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid ID, unknown resource or invalid pagination",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/delivery-policies/save" : {
      "post" : {
        "tags" : [ "CommDeliveryPolicy" ],
        "summary" : "Create or replace a delivery policy",
        "description" : "Omit DeliveryPolicyId to create; otherwise replace using the expected Revision. Previously accepted snapshots remain unchanged.",
        "operationId" : "commHubSaveDeliveryPolicy",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommDeliveryPolicySaveRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Policy saved",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommDeliveryPolicyDetail"
                }
              }
            }
          },
          "201" : {
            "description" : "Policy created",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommDeliveryPolicyDetail"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "422" : {
            "description" : "Duplicate code, stale revision or unavailable policy",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/executions/actionEligibility" : {
      "get" : {
        "tags" : [ "CommExecution" ],
        "summary" : "Get message recovery action eligibility",
        "description" : "Return current eligibility and denial reasons for retry, verified-result receipt, cancellation and stopping retries. Eligibility is evaluated under the message lifecycle guards and never changes the message.",
        "operationId" : "commHubGetExecutionActionEligibility",
        "parameters" : [ {
          "name" : "executionId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Current eligibility",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommExecutionActionEligibility"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/executions/attempts" : {
      "get" : {
        "tags" : [ "CommExecution" ],
        "summary" : "List message delivery attempts",
        "description" : "List message delivery attempts",
        "operationId" : "commHubListExecutionAttempts",
        "parameters" : [ {
          "name" : "executionId",
          "in" : "query",
          "description" : "Identifier of the selected message.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "description" : "Zero-based page index from 0 to 99999.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0,
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "description" : "Page size from 1 to 200.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20,
            "maximum" : 200,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommExecutionAttemptPage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/executions/cancel" : {
      "post" : {
        "tags" : [ "CommExecution" ],
        "summary" : "Cancel a message",
        "description" : "Cancel a cancellable logical message. Duplicate cancellation is acknowledged; ineligible lifecycle transitions return a localized request error (400). Operator identity comes from the request context.",
        "operationId" : "commHubCancelExecution",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommExecutionActionRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommAcknowledgement"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/executions/error" : {
      "get" : {
        "tags" : [ "CommExecution" ],
        "summary" : "View masked execution error",
        "description" : "Requires history READ. Original free-text diagnostics are fully masked. Read one retained Attempt; never reconstruct historical errors. Omit AttemptId to select ActiveAttemptId. Available=false means no retained detail. AttemptId must belong to ExecutionId.",
        "operationId" : "commHubGetExecutionError",
        "parameters" : [ {
          "name" : "executionId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "attemptId",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Retained Attempt diagnostic and availability",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommErrorDetail"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid identifiers or request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "403" : {
            "description" : "History READ or Unmask permission missing",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "404" : {
            "description" : "Resource or selected relationship not found",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/executions/error/original" : {
      "post" : {
        "tags" : [ "CommExecution" ],
        "summary" : "View original execution error",
        "description" : "Explicit history READ plus COMMHUB_DATA_UNMASK. Original error evidence is audited and no-store. Omit AttemptId to select ActiveAttemptId. Available=false means no retained detail. AttemptId must belong to ExecutionId.",
        "operationId" : "commHubReadOriginalExecutionError",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommExecutionRequestSnapshotRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Retained Attempt diagnostic and availability",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommErrorDetail"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid identifiers or request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "403" : {
            "description" : "History READ or Unmask permission missing",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "404" : {
            "description" : "Resource or selected relationship not found",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/executions/events" : {
      "get" : {
        "tags" : [ "CommExecution" ],
        "summary" : "List message timeline events",
        "description" : "List message timeline events",
        "operationId" : "commHubListExecutionEvents",
        "parameters" : [ {
          "name" : "executionId",
          "in" : "query",
          "description" : "Identifier of the selected message.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "description" : "Zero-based page index from 0 to 99999.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0,
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "description" : "Page size from 1 to 200.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20,
            "maximum" : 200,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommExecutionEventPage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/executions/getById" : {
      "get" : {
        "tags" : [ "CommExecution" ],
        "summary" : "Get message details",
        "description" : "Return a logical message with masked address, optional redacted Payload, attempts and timeline. Nested histories are capped at 200 rows with HasMore flags; use the paged history actions for additional rows.",
        "operationId" : "commHubGetExecutionById",
        "parameters" : [ {
          "name" : "executionId",
          "in" : "query",
          "description" : "Identifier of the selected message.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommExecutionDetail"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "404" : {
            "description" : "Resource not found"
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/executions/list" : {
      "get" : {
        "tags" : [ "CommExecution" ],
        "summary" : "Search logical messages",
        "description" : "Search logical executions. Sort by InsertTime then ExecutionId in sortDirection (ASC or DESC, default DESC). From is inclusive and To is exclusive on InsertTime.",
        "operationId" : "commHubListExecutions",
        "parameters" : [ {
          "name" : "taskId",
          "in" : "query",
          "description" : "Identifier of the selected Task.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        }, {
          "name" : "recipientId",
          "in" : "query",
          "description" : "Identifier of the selected Recipient.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "channel",
          "in" : "query",
          "description" : "Optional Channel filter.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "status",
          "in" : "query",
          "description" : "Optional status filter.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "from",
          "in" : "query",
          "description" : "Inclusive time lower bound, ISO-8601 local date-time.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "description" : "Tenant-local date/time without an embedded offset."
          }
        }, {
          "name" : "to",
          "in" : "query",
          "description" : "Exclusive time upper bound, later than From.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "description" : "Tenant-local date/time without an embedded offset."
          }
        }, {
          "name" : "sortDirection",
          "in" : "query",
          "description" : "InsertTime and ExecutionId sort direction.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "default" : "DESC",
            "enum" : [ "ASC", "DESC" ]
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "description" : "Zero-based page index from 0 to 99999.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0,
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "description" : "Page size from 1 to 200.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20,
            "maximum" : 200,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommExecutionPage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/executions/operations" : {
      "get" : {
        "tags" : [ "CommExecution" ],
        "summary" : "Page document operation evidence",
        "description" : "Current tenant execution checkpoints, ordered by stable OperationId. Known success and UNKNOWN remain separate per file. Provider identities, claim tokens, hashes and generated artifact references are never exposed. DELIVERY returns an empty page.",
        "operationId" : "commHubListExecutionOperations",
        "parameters" : [ {
          "name" : "executionId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0,
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20,
            "maximum" : 200,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Paged safe checkpoint evidence",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommExecutionOperationPage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          },
          "404" : {
            "description" : "Execution not found"
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/executions/reconcile" : {
      "post" : {
        "tags" : [ "CommExecution" ],
        "summary" : "Query uncertain document outcomes",
        "description" : "With ExpectedRevision and RequestId, query UNKNOWN checkpoints only where both frozen and current driver capabilities support lookup. NOT_FOUND or PENDING never grants replay.",
        "operationId" : "commHubReconcileExecution",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommDocumentActionRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommAcknowledgement"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/executions/recover" : {
      "post" : {
        "tags" : [ "CommExecution" ],
        "summary" : "Resume existing document outputs",
        "description" : "With ExpectedRevision and RequestId, resume missing or definitively failed archive operations on the existing accepted inputs. An UNKNOWN operation requires reconciliation. Generation and deliveries are never replayed.",
        "operationId" : "commHubRecoverExecution",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommDocumentActionRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommAcknowledgement"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/executions/request" : {
      "get" : {
        "tags" : [ "CommExecution" ],
        "summary" : "View masked execution request",
        "description" : "Per-attempt Hub business envelope captured at the invocation fence; not an HTTP wire capture or proof of provider receipt. Excludes Settings/authentication/callback credentials and binary bytes. Omit AttemptId to select ActiveAttemptId. Default view applies CommHubMasking and fully masks rendered content. Older history or an uninvoked attempt may have Available=false.",
        "operationId" : "commHubGetExecutionRequest",
        "parameters" : [ {
          "name" : "executionId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "attemptId",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Retained request availability and masked document",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommRequestSnapshot"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request identifier or query value",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "403" : {
            "description" : "History READ permission required",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "404" : {
            "description" : "Resource not found",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/executions/request/download" : {
      "get" : {
        "tags" : [ "CommExecution" ],
        "summary" : "Download execution request JSON",
        "description" : "Downloads the same retained snapshot. Default original=false is masked. original=true requires history READ plus COMMHUB_DATA_UNMASK and is audited. No snapshot returns 404.",
        "operationId" : "commHubDownloadExecutionRequest",
        "parameters" : [ {
          "name" : "executionId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "attemptId",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "original",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "boolean",
            "default" : false
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "JSON attachment",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "string",
                  "format" : "binary"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request identifier or query value",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "403" : {
            "description" : "READ or Unmask permission missing",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "404" : {
            "description" : "Resource or snapshot not found",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/executions/request/original" : {
      "post" : {
        "tags" : [ "CommExecution" ],
        "summary" : "View original execution request",
        "description" : "Explicit history READ plus COMMHUB_DATA_UNMASK. Audited, no-store. Same snapshot and availability semantics as the masked endpoint.",
        "operationId" : "commHubReadOriginalExecutionRequest",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommExecutionRequestSnapshotRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Authorized retained request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommRequestSnapshot"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request identifier or query value",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "403" : {
            "description" : "READ or Unmask permission missing",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "404" : {
            "description" : "Resource not found",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/executions/result" : {
      "post" : {
        "tags" : [ "CommExecution" ],
        "summary" : "Record an operator-verified execution result",
        "description" : "Record an operator-verified result only for an uncertain execution. The authenticated operator supplies ExecutionId and ExpectedRevision; provider callbacks use the accepted Attempt callback header instead. VerificationReason and EvidenceReference are required and are audited with the authenticated operator. The receipt follows the normal receipt fence and cannot restart retry scheduling. Callers identify the message by id instead of holding the internal callback correlation.",
        "operationId" : "commHubRecordVerifiedExecutionResult",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommVerifiedExecutionResultRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Receipt accepted or ignored as duplicate/stale",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommAcknowledgement"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          },
          "422" : {
            "description" : "Operator verification prerequisites are missing or invalid",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/executions/retry" : {
      "post" : {
        "tags" : [ "CommExecution" ],
        "summary" : "Retry a message",
        "description" : "Request one operator retry of a failed logical message. Reason is required and recorded with the authenticated operator. Each action creates only one manual attempt and may exceed the automatic budget, but cannot bypass expiry, stopped retries, uncertain outcomes, completed acceptance-only tracking or an advanced fallback chain. It never restarts automatic retries.",
        "operationId" : "commHubRetryExecution",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommExecutionRetryRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommExecutionRetryResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/executions/stopRetries" : {
      "post" : {
        "tags" : [ "CommExecution" ],
        "summary" : "Stop retries for a message",
        "description" : "Disable future retries for the logical message without claiming to cancel a provider submission already in flight. Repeated requests are acknowledged.",
        "operationId" : "commHubStopExecutionRetries",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommExecutionActionRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommExecutionStopRetriesResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/files/download" : {
      "get" : {
        "tags" : [ "CommExecutionFile" ],
        "summary" : "Download one verified message output",
        "description" : "Requires CommHub history READ plus COMMHUB_DATA_UNMASK permission. The legacy messageFileId selector identifies an execution output file and must belong to the selected Execution. Streams the associated DMS document through the existing DMS API.",
        "operationId" : "commHubDownloadExecutionFile",
        "parameters" : [ {
          "name" : "executionId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "messageFileId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Associated DMS document",
            "content" : {
              "application/octet-stream" : {
                "schema" : {
                  "type" : "string",
                  "format" : "binary"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          },
          "403" : {
            "description" : "Required communication authority, tenant or principal is missing",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/files/list" : {
      "get" : {
        "tags" : [ "CommExecutionFile" ],
        "summary" : "Page immutable message output metadata",
        "description" : "Requires CommHub history READ. Files and RenderUsages are independently paged with the same zero-based PageIndex and PageSize (1 to 200, default 20), separate totals and PageCount equal to their maximum. No binary content is loaded.",
        "operationId" : "commHubListExecutionFiles",
        "parameters" : [ {
          "name" : "executionId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0,
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20,
            "maximum" : 200,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Bounded file metadata page",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommExecutionFilePage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          },
          "403" : {
            "description" : "Required communication authority, tenant or principal is missing",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/files/report" : {
      "post" : {
        "tags" : [ "CommExecutionFile" ],
        "summary" : "Report an immutable final output manifest",
        "description" : "Delivery Service reporting authority and frozen FileReportUserId are both required. Duplicate ReportId is replayed without DMS I/O. File archival never changes delivery status or resends a provider request.",
        "operationId" : "commHubReportDeliveryOutputFiles",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommDeliveryOutputFileReportRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Idempotent archive report result",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommDeliveryOutputFileReportResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          },
          "403" : {
            "description" : "Required communication authority, tenant or principal is missing",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/files/template/download" : {
      "get" : {
        "tags" : [ "CommExecutionFile" ],
        "summary" : "Download accepted template input for a delivery attempt",
        "description" : "Requires delivery-file producer authority and the frozen FileReportUserId. CallbackId identifies the accepted attempt; FileKey must exist in its frozen message payload. Template replacements do not change these bytes.",
        "operationId" : "commHubDownloadAcceptedTemplateFile",
        "parameters" : [ {
          "name" : "callbackId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "fileKey",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Accepted template bytes",
            "content" : {
              "application/octet-stream" : {
                "schema" : {
                  "type" : "string",
                  "format" : "binary"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          },
          "403" : {
            "description" : "Required communication authority, tenant or principal is missing",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/interactions/close" : {
      "post" : {
        "tags" : [ "CommInteraction" ],
        "summary" : "Close an interaction",
        "description" : "Close with ExpectedRevision and authenticated actor. Duplicate closure does not replace handling timestamps.",
        "operationId" : "commHubCloseInteraction",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommInteractionCloseRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommInteraction"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/interactions/files/download" : {
      "get" : {
        "tags" : [ "CommInteraction" ],
        "summary" : "Download an authorized interaction file",
        "description" : "Require READ plus Unmask, membership in the interaction retained files and current DMS authorization. Files are downloaded under the authenticated caller; no stored privileged URL is exposed.",
        "operationId" : "commHubDownloadInteractionFile",
        "parameters" : [ {
          "name" : "interactionId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "docId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "DMS document",
            "content" : {
              "application/octet-stream" : {
                "schema" : {
                  "type" : "string",
                  "format" : "binary"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          },
          "403" : {
            "description" : "Required communication authority, tenant or principal is missing",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/interactions/getById" : {
      "get" : {
        "tags" : [ "CommInteraction" ],
        "summary" : "Read a masked interaction",
        "description" : "Return masked content, file descriptors and current Revision. Original data and file downloads require READ plus Unmask.",
        "operationId" : "commHubGetInteractionById",
        "parameters" : [ {
          "name" : "interactionId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommInteraction"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          },
          "404" : {
            "description" : "Interaction not found"
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/interactions/link" : {
      "post" : {
        "tags" : [ "CommInteraction" ],
        "summary" : "Set explicit interaction attribution",
        "description" : "Set explicit attribution with ExpectedRevision. Omitted fields are cleared. Applied preference targets are immutable; pending preference effects may be applied once after authorization.",
        "operationId" : "commHubLinkInteraction",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommInteractionLinkRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommInteraction"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/interactions/list" : {
      "get" : {
        "tags" : [ "CommInteraction" ],
        "summary" : "List interaction summaries",
        "description" : "Database-paged summaries optionally match ExecutionId and HandledStatus. Sort by OccurredAt then InteractionId in sortDirection (ASC or DESC, default DESC). SQL selects only summary columns, excluding Content, OriginalJson and file metadata. Use detail for masked content and the protected original endpoint for original data.",
        "operationId" : "commHubListInteractions",
        "parameters" : [ {
          "name" : "executionId",
          "in" : "query",
          "description" : "Match the explicitly linked ExecutionId.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        }, {
          "name" : "handledStatus",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "enum" : [ "NEW", "ROUTED", "CLOSED" ]
          }
        }, {
          "name" : "sortDirection",
          "in" : "query",
          "description" : "OccurredAt and InteractionId sort direction.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "default" : "DESC",
            "enum" : [ "ASC", "DESC" ]
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0,
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20,
            "maximum" : 200,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommInteractionPage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/interactions/original" : {
      "post" : {
        "tags" : [ "CommInteraction" ],
        "summary" : "Read protected original interaction",
        "description" : "Require READ and Unmask before loading the encrypted initial request. Current attribution is read separately from detail. Access is audited and must not be cached.",
        "operationId" : "commHubReadOriginalInteraction",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommOriginalInteractionRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommOriginalInteraction"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          },
          "403" : {
            "description" : "Required communication authority, tenant or principal is missing",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/interactions/record" : {
      "post" : {
        "tags" : [ "CommInteraction" ],
        "summary" : "Record explicit customer activity",
        "description" : "Customer activity is separate from provider callback evidence. ACK does not update delivery receipts; BOUNCE is diagnostic. Authorized OPT_OUT/COMPLAINT may apply one recorded preference refusal; replay does not overwrite a later explicit allow. Record bounded source content and authorized DMS references. SourceSystem and SourceId are idempotent and bound to the authenticated source. Preference effects require an explicit authorized target.",
        "operationId" : "commHubRecordInteraction",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommInteractionRecordRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommInteraction"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/interactions/route" : {
      "post" : {
        "tags" : [ "CommInteraction" ],
        "summary" : "Assign an interaction",
        "description" : "Assign with ExpectedRevision. Duplicate assignment is acknowledged; a closed interaction cannot be reopened.",
        "operationId" : "commHubRouteInteraction",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommInteractionRouteRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommInteraction"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/preferences/getBySubjectId" : {
      "get" : {
        "tags" : [ "CommChannelPreference" ],
        "summary" : "Get customer channel preferences",
        "description" : "Return explicit CUSTOMER/channel rows and the deployment DefaultAllowed for missing rows. SubjectId identifies the recipient preference subject, not the authenticated user. Preferences do not express channel priority, quiet time or contact addresses. Delivery checks apply at materialization and again before provider dispatch; they cannot recall an already dispatched message.",
        "operationId" : "commHubGetChannelPreferencesBySubjectId",
        "parameters" : [ {
          "name" : "subjectId",
          "in" : "query",
          "description" : "Recipient preference subject identifier, 1 to 64 characters; CUSTOMER scope. Not a login user or contact address.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "maxLength" : 64,
            "minLength" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommChannelPreferenceMatrix"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/preferences/save" : {
      "post" : {
        "tags" : [ "CommChannelPreference" ],
        "summary" : "Save customer preferences",
        "description" : "Save only the supplied Rows atomically for the selected customer. Unmentioned channels keep their current state. Source records the origin, not the authenticated operator. Identical state and Source do not advance LastConfirmedTime. Preferences and DefaultAllowed are response fields, not request aliases.",
        "operationId" : "commHubSaveChannelPreferences",
        "parameters" : [ {
          "name" : "subjectId",
          "in" : "query",
          "description" : "Recipient preference subject identifier, 1 to 64 characters; CUSTOMER scope. Not a login user or contact address.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "maxLength" : 64,
            "minLength" : 1
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommChannelPreferenceSaveRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommChannelPreferenceMatrix"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/services/copy" : {
      "post" : {
        "tags" : [ "CommService" ],
        "summary" : "Copy a delivery service",
        "description" : "Create a new code from the expected source Revision in its current group. Owned child identities and audit metadata are new; external references remain shared.",
        "operationId" : "commHubCopyService",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommResourceCopyRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "201" : {
            "description" : "Resource copied",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommService"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid code, source revision or group",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/services/deleteById" : {
      "post" : {
        "tags" : [ "CommService" ],
        "summary" : "Delete a delivery service by ID",
        "description" : "Delete an unreferenced service using only ServiceId. Existing references, including disabled Bindings, block deletion. Accepted snapshots are retained.",
        "operationId" : "commHubDeleteServiceById",
        "parameters" : [ {
          "name" : "serviceId",
          "in" : "query",
          "description" : "Identifier of the selected service.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "204" : {
            "description" : "Completed with no response body"
          },
          "400" : {
            "description" : "Invalid request fields",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/services/driverTypes" : {
      "get" : {
        "tags" : [ "CommService" ],
        "summary" : "List registered delivery driver types",
        "description" : "Sorted registered drivers with fixed parameter types, required flags, supported sources, bounds, fallback descriptions, platform UI Label references and separate recipient bindings. These describe the driver's protocol, not editable ValueType configuration. Subject/Body come from templates. No settings, credentials or actual tenant defaults are returned.",
        "operationId" : "commHubListDriverTypes",
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommDriverTypeCatalog"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/services/getById" : {
      "get" : {
        "tags" : [ "CommService" ],
        "summary" : "Get a delivery service by ID",
        "description" : "Get a delivery service by ID",
        "operationId" : "commHubGetServiceById",
        "parameters" : [ {
          "name" : "serviceId",
          "in" : "query",
          "description" : "Identifier of the selected service.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommService"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/services/list" : {
      "get" : {
        "tags" : [ "CommService" ],
        "summary" : "List delivery services",
        "description" : "List delivery services",
        "operationId" : "commHubListServices",
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/CommServiceSummary"
                  }
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/services/references" : {
      "get" : {
        "tags" : [ "CommService" ],
        "summary" : "List current Service references",
        "description" : "Complete current Binding and related Definition, Service, Template and DeliveryPolicy summaries, including disabled configurations. Binding order is DefinitionCode, DefinitionId, OrderNo then BindingId. Existing resources without references return an empty page; unknown resources return 400. Payloads, template bodies and service Settings are excluded.",
        "operationId" : "commHubListServiceReferences",
        "parameters" : [ {
          "name" : "serviceId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "maximum" : 200,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Paged configuration reference summaries",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommBindingReferencePage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid ID, unknown resource or invalid pagination",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/services/save" : {
      "post" : {
        "tags" : [ "CommService" ],
        "summary" : "Create or replace a delivery service",
        "description" : "Create when the identifier is omitted or null; otherwise save the existing record. ServiceKind is derived from the selected DriverType's sole SupportedKinds value; caller input is ignored. All editable fields are replaced: omitted fields become null. Creation defaults and immutable fields are documented in the request schema. Delivery services intentionally have no lifecycle flag: every save is validated against each enabled referencing Binding.",
        "operationId" : "commHubSaveService",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommServiceSaveRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommService"
                }
              }
            }
          },
          "201" : {
            "description" : "Resource created",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommService"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/services/validateSettings" : {
      "post" : {
        "tags" : [ "CommService" ],
        "summary" : "Validate driver settings without saving",
        "description" : "ServiceKind is derived from the selected DriverType's sole SupportedKinds value; caller input is ignored. DOCUMENT requires Settings.FileReportUserName and Settings.FileReportUserId. Local settings/channel validation only; no network, uniqueness or referencing-Binding checks.",
        "operationId" : "commHubValidateServiceSettings",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommServiceSettingsValidationRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommServiceSettingsValidationResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/task-requests/getById" : {
      "get" : {
        "tags" : [ "CommTask" ],
        "summary" : "Get send request progress",
        "description" : "Look up materialization progress by RequestId, including asynchronous command status and whether task history remains available after housekeeping.",
        "operationId" : "commHubGetTaskRequestById",
        "parameters" : [ {
          "name" : "requestId",
          "in" : "query",
          "description" : "Identifier of the selected request.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTaskSubmissionResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "404" : {
            "description" : "Resource not found"
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/tasks/error" : {
      "get" : {
        "tags" : [ "CommTask" ],
        "summary" : "View masked task error",
        "description" : "Requires history READ. Original free-text diagnostics are fully masked. Read one retained Attempt; never reconstruct historical errors. Omit AttemptId to select ActiveAttemptId. Available=false means no retained detail. ExecutionId must belong to TaskId.",
        "operationId" : "commHubGetTaskError",
        "parameters" : [ {
          "name" : "taskId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "executionId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "attemptId",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Retained Attempt diagnostic and availability",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommErrorDetail"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid identifiers or request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "403" : {
            "description" : "History READ or Unmask permission missing",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "404" : {
            "description" : "Resource or selected relationship not found",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/tasks/error/original" : {
      "post" : {
        "tags" : [ "CommTask" ],
        "summary" : "View original task error",
        "description" : "Explicit history READ plus COMMHUB_DATA_UNMASK. Original error evidence is audited and no-store. Omit AttemptId to select ActiveAttemptId. Available=false means no retained detail. ExecutionId must belong to TaskId.",
        "operationId" : "commHubReadOriginalTaskError",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommTaskErrorRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Retained Attempt diagnostic and availability",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommErrorDetail"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid identifiers or request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "403" : {
            "description" : "History READ or Unmask permission missing",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "404" : {
            "description" : "Resource or selected relationship not found",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/tasks/getById" : {
      "get" : {
        "tags" : [ "CommTask" ],
        "summary" : "Get task details",
        "description" : "Return a task aggregate and up to 200 logical-execution summaries. ExecutionsHasMore indicates additional executions; query executions/list by TaskId to continue.",
        "operationId" : "commHubGetTaskById",
        "parameters" : [ {
          "name" : "taskId",
          "in" : "query",
          "description" : "Identifier of the selected task.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTaskDetail"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "404" : {
            "description" : "Resource not found"
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/tasks/list" : {
      "get" : {
        "tags" : [ "CommTask" ],
        "summary" : "Search tasks",
        "description" : "Search tasks",
        "operationId" : "commHubListTasks",
        "parameters" : [ {
          "name" : "requestId",
          "in" : "query",
          "description" : "Identifier of the selected Request.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "definitionCode",
          "in" : "query",
          "description" : "Optional DefinitionCode filter.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "refType",
          "in" : "query",
          "description" : "Optional RefType filter; combines with refNumber to disambiguate colliding reference numbers across types.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "refNumber",
          "in" : "query",
          "description" : "Optional RefNumber filter.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "status",
          "in" : "query",
          "description" : "Optional status filter.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "traceId",
          "in" : "query",
          "description" : "Identifier of the selected Trace.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "receivedFrom",
          "in" : "query",
          "description" : "Inclusive received-time lower bound, ISO-8601 local date-time.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "description" : "Tenant-local date/time without an embedded offset."
          }
        }, {
          "name" : "receivedTo",
          "in" : "query",
          "description" : "Exclusive received-time upper bound, after ReceivedFrom.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "description" : "Tenant-local date/time without an embedded offset."
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "description" : "Zero-based page index from 0 to 99999.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0,
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "description" : "Page size from 1 to 200.",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20,
            "maximum" : 200,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTaskPage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/tasks/original" : {
      "post" : {
        "tags" : [ "CommTask" ],
        "summary" : "View retained original task Payload",
        "description" : "Explicit READ plus COMMHUB_DATA_UNMASK authorization. Tenant-scoped original Payload only; no dispatch snapshot or credentials. Response cannot be cached.",
        "operationId" : "commHubReadOriginalTaskPayload",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommOriginalTaskPayloadRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Authorized original Payload",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommOriginalTaskPayload"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid identifier or unknown request fields",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "403" : {
            "description" : "READ or Unmask permission missing",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "404" : {
            "description" : "Task not visible in current tenant"
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/tasks/request" : {
      "get" : {
        "tags" : [ "CommTask" ],
        "summary" : "View masked task request",
        "description" : "Retained submit Request JSON. Multipart binary bytes are separate attachments. Default view applies CommHubMasking and fully masks rendered content. Older history or an uninvoked attempt may have Available=false.",
        "operationId" : "commHubGetTaskRequest",
        "parameters" : [ {
          "name" : "taskId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Retained request availability and masked document",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommRequestSnapshot"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request identifier or query value",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "403" : {
            "description" : "History READ permission required",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "404" : {
            "description" : "Resource not found",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/tasks/request/download" : {
      "get" : {
        "tags" : [ "CommTask" ],
        "summary" : "Download task request JSON",
        "description" : "Downloads the same retained snapshot. Default original=false is masked. original=true requires history READ plus COMMHUB_DATA_UNMASK and is audited. No snapshot returns 404.",
        "operationId" : "commHubDownloadTaskRequest",
        "parameters" : [ {
          "name" : "taskId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "original",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "boolean",
            "default" : false
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "JSON attachment",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "string",
                  "format" : "binary"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request identifier or query value",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "403" : {
            "description" : "READ or Unmask permission missing",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "404" : {
            "description" : "Resource or snapshot not found",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/tasks/request/original" : {
      "post" : {
        "tags" : [ "CommTask" ],
        "summary" : "View original task request",
        "description" : "Explicit history READ plus COMMHUB_DATA_UNMASK. Audited, no-store. Same snapshot and availability semantics as the masked endpoint.",
        "operationId" : "commHubReadOriginalTaskRequest",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommOriginalTaskPayloadRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Authorized retained request",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommRequestSnapshot"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request identifier or query value",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "403" : {
            "description" : "READ or Unmask permission missing",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          },
          "404" : {
            "description" : "Resource not found",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/tasks/submit" : {
      "post" : {
        "tags" : [ "CommTask" ],
        "summary" : "Submit and observe the initial dispatch round",
        "description" : "Bounded synchronous observation; 200 is an initial business result, not proof of delivery. Use Async for future ExecuteAt or TCC. Resolved recipient addresses and delivery parameters for matching Bindings are validated before acceptance; missing or invalid values return 400 without creating a Task.",
        "operationId" : "commHubSubmitTask",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommTaskSubmitRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Settled initial result",
            "headers" : {
              "Cache-Control" : {
                "style" : "simple",
                "explode" : false,
                "schema" : {
                  "type" : "string",
                  "enum" : [ "no-store" ]
                }
              },
              "Location" : {
                "description" : "Current submission progress URL.",
                "style" : "simple",
                "explode" : false,
                "schema" : {
                  "type" : "string"
                }
              }
            },
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTaskSubmissionResult"
                }
              }
            }
          },
          "202" : {
            "description" : "Accepted; inspect current progress through Location",
            "headers" : {
              "Cache-Control" : {
                "style" : "simple",
                "explode" : false,
                "schema" : {
                  "type" : "string",
                  "enum" : [ "no-store" ]
                }
              },
              "Location" : {
                "description" : "Current submission progress URL.",
                "style" : "simple",
                "explode" : false,
                "schema" : {
                  "type" : "string"
                }
              }
            },
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTaskSubmissionResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or resolved delivery parameter values; no Task is created",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Pre-acceptance rejection result with ErrorCode, ErrorMessage and TaskAvailable=false, or the platform error envelope."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/tasks/submitAsync" : {
      "post" : {
        "tags" : [ "CommTask" ],
        "summary" : "Accept a task for asynchronous processing",
        "description" : "Every accepted new or equivalent request returns 202 with Location. Acceptance is durable before response. Resolved recipient addresses and delivery parameters for matching Bindings are validated before acceptance; missing or invalid values return 400 without creating a Task.",
        "operationId" : "commHubSubmitTaskAsync",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommTaskSubmitRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "202" : {
            "description" : "Accepted; inspect current progress through Location",
            "headers" : {
              "Cache-Control" : {
                "style" : "simple",
                "explode" : false,
                "schema" : {
                  "type" : "string",
                  "enum" : [ "no-store" ]
                }
              },
              "Location" : {
                "description" : "Current submission progress URL.",
                "style" : "simple",
                "explode" : false,
                "schema" : {
                  "type" : "string"
                }
              }
            },
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTaskSubmissionResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or resolved delivery parameter values; no Task is created",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Pre-acceptance rejection result with ErrorCode, ErrorMessage and TaskAvailable=false, or the platform error envelope."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/tasks/submitWithFiles" : {
      "post" : {
        "tags" : [ "CommTask" ],
        "summary" : "Submit inline attachments and observe the initial dispatch round",
        "description" : "One Request application/json part and named Files[FileKey] binary parts; 200 is an initial business result and 202 is pending. Resolved recipient addresses and delivery parameters for matching Bindings are validated before acceptance; missing or invalid values return 400 without creating a Task.",
        "operationId" : "commHubSubmitTaskWithFiles",
        "requestBody" : {
          "content" : {
            "multipart/form-data" : {
              "schema" : {
                "type" : "object",
                "additionalProperties" : {
                  "type" : "string",
                  "format" : "binary"
                },
                "description" : "Exactly one Request JSON part and unique Files[FileKey] binary parts. FileKey matches [A-Za-z][A-Za-z0-9_]{0,59} and the UPLOAD attachment input; no numeric indexes or repeated Files part.",
                "properties" : {
                  "Request" : {
                    "$ref" : "#/components/schemas/CommTaskSubmitRequest"
                  }
                },
                "required" : [ "Request" ]
              },
              "encoding" : {
                "Request" : {
                  "contentType" : "application/json",
                  "style" : "form"
                }
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Settled initial result",
            "headers" : {
              "Cache-Control" : {
                "style" : "simple",
                "explode" : false,
                "schema" : {
                  "type" : "string",
                  "enum" : [ "no-store" ]
                }
              },
              "Location" : {
                "description" : "Current submission progress URL.",
                "style" : "simple",
                "explode" : false,
                "schema" : {
                  "type" : "string"
                }
              }
            },
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTaskSubmissionResult"
                }
              }
            }
          },
          "202" : {
            "description" : "Accepted; inspect current progress through Location",
            "headers" : {
              "Cache-Control" : {
                "style" : "simple",
                "explode" : false,
                "schema" : {
                  "type" : "string",
                  "enum" : [ "no-store" ]
                }
              },
              "Location" : {
                "description" : "Current submission progress URL.",
                "style" : "simple",
                "explode" : false,
                "schema" : {
                  "type" : "string"
                }
              }
            },
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTaskSubmissionResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or resolved delivery parameter values; no Task is created",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Pre-acceptance rejection result with ErrorCode, ErrorMessage and TaskAvailable=false, or the platform error envelope."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/tasks/submitWithFilesAsync" : {
      "post" : {
        "tags" : [ "CommTask" ],
        "summary" : "Accept inline attachments for asynchronous task processing",
        "description" : "Accept durable inline files and task input before returning 202. Equivalent replay does not upload again. Resolved recipient addresses and delivery parameters for matching Bindings are validated before acceptance; missing or invalid values return 400 without creating a Task.",
        "operationId" : "commHubSubmitTaskWithFilesAsync",
        "requestBody" : {
          "content" : {
            "multipart/form-data" : {
              "schema" : {
                "type" : "object",
                "additionalProperties" : {
                  "type" : "string",
                  "format" : "binary"
                },
                "description" : "Exactly one Request JSON part and unique Files[FileKey] binary parts. FileKey matches [A-Za-z][A-Za-z0-9_]{0,59} and the UPLOAD attachment input; no numeric indexes or repeated Files part.",
                "properties" : {
                  "Request" : {
                    "$ref" : "#/components/schemas/CommTaskSubmitRequest"
                  }
                },
                "required" : [ "Request" ]
              },
              "encoding" : {
                "Request" : {
                  "contentType" : "application/json",
                  "style" : "form"
                }
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "202" : {
            "description" : "Accepted; inspect current progress through Location",
            "headers" : {
              "Cache-Control" : {
                "style" : "simple",
                "explode" : false,
                "schema" : {
                  "type" : "string",
                  "enum" : [ "no-store" ]
                }
              },
              "Location" : {
                "description" : "Current submission progress URL.",
                "style" : "simple",
                "explode" : false,
                "schema" : {
                  "type" : "string"
                }
              }
            },
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTaskSubmissionResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or resolved delivery parameter values; no Task is created",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Pre-acceptance rejection result with ErrorCode, ErrorMessage and TaskAvailable=false, or the platform error envelope."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/templates/contents/text" : {
      "get" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "Read selected current or historical template text",
        "description" : "CommHub READ. Returns UTF-8 text from a binding owned by the selected template or immutable history revision.",
        "operationId" : "commHubReadTemplateText",
        "parameters" : [ {
          "name" : "templateId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "historyId",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        }, {
          "name" : "fileKey",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Selected template text",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTemplateText"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/templates/copy" : {
      "post" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "Copy a template",
        "description" : "Create a new code from the expected source Revision in its current group. Owned child identities and audit metadata are new; external references remain shared.",
        "operationId" : "commHubCopyTemplate",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommResourceCopyRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "201" : {
            "description" : "Resource copied",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTemplate"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid code, source revision or group",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/templates/delete" : {
      "post" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "Delete an unreferenced template",
        "description" : "Requires only TemplateId. Any current Binding reference blocks deletion, including disabled Bindings. Retained histories and accepted content are preserved.",
        "operationId" : "commHubDeleteTemplateById",
        "parameters" : [ {
          "name" : "templateId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "204" : {
            "description" : "Template deleted"
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/templates/extractVariables" : {
      "post" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "Extract Variables from unsaved template source",
        "description" : "Parse Subject/BODY with the same bounded policy for the selected TemplateLanguage as save/render. Return sorted external root names, excluding loop locals. Body requires ContentType; Hub source requires TemplateLanguage (FREEMARKER/HANDLEBARS); blank content returns an empty array. Invalid source returns a safe field/line/column error. No Context, persistence, DMS or receiver access.",
        "operationId" : "commHubExtractTemplateVariables",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommTemplateVariablesRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTemplateVariables"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/templates/files/download" : {
      "get" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "Download one current or historical template file",
        "description" : "CommHub READ. FileKey must belong to TemplateId and optional HistoryId. ContentId is never accepted as a download selector.",
        "operationId" : "commHubDownloadTemplateFile",
        "parameters" : [ {
          "name" : "templateId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "historyId",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        }, {
          "name" : "fileKey",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Template file bytes",
            "content" : {
              "application/octet-stream" : {
                "schema" : {
                  "type" : "string",
                  "format" : "binary"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/octet-stream" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/templates/files/upload" : {
      "post" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "Upload a new configuration template file",
        "description" : "CommHub WRITE. Upload stages immutable content in an eligible CommHub group; saving the template binds it and records history.",
        "operationId" : "commHubUploadTemplateFile",
        "parameters" : [ {
          "name" : "groupId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "requestBody" : {
          "content" : {
            "multipart/form-data" : {
              "schema" : {
                "type" : "object",
                "properties" : {
                  "file" : {
                    "type" : "string",
                    "format" : "binary"
                  }
                },
                "required" : [ "file" ]
              }
            }
          }
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTemplateFileUploadResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/templates/getById" : {
      "get" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "Get a template by ID",
        "description" : "Get a template by ID",
        "operationId" : "commHubGetTemplateById",
        "parameters" : [ {
          "name" : "templateId",
          "in" : "query",
          "description" : "Identifier of the selected template.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTemplateDetail"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/templates/history/detail" : {
      "get" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "Load one saved template revision",
        "description" : "CommHub READ. Returns the selected snapshot and file metadata; no binary content.",
        "operationId" : "commHubGetTemplateHistoryById",
        "parameters" : [ {
          "name" : "templateId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "historyId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTemplateHistoryDetail"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/templates/history/list" : {
      "get" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "List saved template revisions",
        "description" : "CommHub READ. Metadata-only revisions with zero-based pageIndex and pageSize from 1 to 200 (default 20); no snapshot or file payload.",
        "operationId" : "commHubListTemplateHistory",
        "parameters" : [ {
          "name" : "templateId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0,
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20,
            "maximum" : 200,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTemplateHistoryPage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.03"
        }
      }
    },
    "/connect-hub/comm/v1/templates/htmlPolicy" : {
      "get" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "Get supported inline CSS styles",
        "description" : "Exact CSS property registry, allowed keywords/functions, examples and limits shared by save, preview and send. Unsupported CSS fails with a human-readable reason and Body location. No save or send.",
        "operationId" : "commHubGetTemplateHtmlPolicy",
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTemplateHtmlPolicy"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/templates/list" : {
      "get" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "List templates",
        "description" : "List templates",
        "operationId" : "commHubListTemplates",
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/CommTemplateSummary"
                  }
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/templates/previewByCode" : {
      "post" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "Render a saved template preview",
        "description" : "Render a saved template selected by TemplateCode and Channel using variables from the required ContextDefinitionId. SamplePayload overrides the stored sample. Rejects undeclared template roots with B0138, including defaults and inactive branches; declared optional Variables may use defaults. Returns extraction diagnostics without sending a message.",
        "operationId" : "commHubPreviewTemplateByCode",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommTemplatePreviewByCodeRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTemplatePreviewResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/templates/previewById" : {
      "post" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "Render a template preview by ID",
        "description" : "Render the selected template by templateId using the required ContextDefinitionId and optional SamplePayload. Rejects undeclared template roots with B0138, including defaults and inactive branches; declared optional Variables may use defaults. Does not send a message.",
        "operationId" : "commHubPreviewTemplateById",
        "parameters" : [ {
          "name" : "templateId",
          "in" : "query",
          "description" : "Identifier of the selected template.",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64"
          }
        } ],
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommTemplatePreviewByIdRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTemplatePreviewResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/templates/previewContent" : {
      "post" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "Preview unsaved template content",
        "description" : "Render inline content with saved or inline Context. Undeclared template roots are rejected with B0138 even when defaulted or in inactive branches. Declared optional Variables can use defaults when sample values are absent. Output values are masked and HTML sanitized. No save or send.",
        "operationId" : "commHubPreviewTemplateContent",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommTemplateContentPreviewRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTemplateContentPreviewResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/templates/references" : {
      "get" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "List current Template references",
        "description" : "Complete current Binding and related Definition, Service, Template and DeliveryPolicy summaries, including disabled configurations. Binding order is DefinitionCode, DefinitionId, OrderNo then BindingId. Existing resources without references return an empty page; unknown resources return 400. Payloads, template bodies and service Settings are excluded.",
        "operationId" : "commHubListTemplateReferences",
        "parameters" : [ {
          "name" : "templateId",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "maximum" : 200,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Paged configuration reference summaries",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommBindingReferencePage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid ID, unknown resource or invalid pagination",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/templates/save" : {
      "post" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "Create or replace a template",
        "description" : "Create when the identifier is omitted or null; otherwise save the existing record. All editable fields are replaced: omitted fields become null. Creation defaults and immutable fields are documented in the request schema.",
        "operationId" : "commHubSaveTemplate",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommTemplateSaveRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTemplate"
                }
              }
            }
          },
          "201" : {
            "description" : "Resource created",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTemplate"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          },
          "500" : {
            "description" : "Communication service failure",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId; optional fields are host-managed."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/templates/validateHtml" : {
      "post" : {
        "tags" : [ "CommTemplate" ],
        "summary" : "Validate HTML source and inline CSS without saving",
        "description" : "Returns Valid and typed Diagnostics with safe Reason/Location for source syntax and CSS errors. HTTP 200 can contain Valid=false. No Context lookup, save or send. Valid source with dynamic CSS values still requires payload preview/runtime validation.",
        "operationId" : "commHubValidateTemplateHtml",
        "requestBody" : {
          "content" : {
            "application/json" : {
              "schema" : {
                "$ref" : "#/components/schemas/CommTemplateHtmlValidationRequest"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTemplateHtmlValidationResult"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    },
    "/connect-hub/comm/v1/timeline/list" : {
      "get" : {
        "tags" : [ "CommTimeline" ],
        "summary" : "Page customer/business communication timeline",
        "description" : "Read-only aggregate of EXECUTION lifecycle rows and INTERACTION customer activity. EntryType determines Type/State meaning; Pending includes only READY, SCHEDULED, SUBMITTED and ACCEPTED executions. Require CustomerId or paired RefType/RefNumber. Both anchors combine as an intersection. Times are UTC, lower bound inclusive and upper bound exclusive. The database pages Execution and Interaction summaries with deterministic ordering; original data is omitted.",
        "operationId" : "commHubListTimeline",
        "parameters" : [ {
          "name" : "customerId",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "refType",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "refNumber",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string"
          }
        }, {
          "name" : "occurredAtFrom",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "description" : "UTC represented as offset-free local date/time."
          }
        }, {
          "name" : "occurredAtTo",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "description" : "UTC represented as offset-free local date/time."
          }
        }, {
          "name" : "pageIndex",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 0,
            "maximum" : 99999,
            "minimum" : 0
          }
        }, {
          "name" : "pageSize",
          "in" : "query",
          "required" : false,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "integer",
            "format" : "int32",
            "default" : 20,
            "maximum" : 200,
            "minimum" : 1
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "Successful response",
            "content" : {
              "application/json" : {
                "schema" : {
                  "$ref" : "#/components/schemas/CommTimelinePage"
                }
              }
            }
          },
          "400" : {
            "description" : "Invalid request fields or parameter values",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "object",
                  "additionalProperties" : true,
                  "description" : "Platform error envelope with code, message, status, path and traceId."
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "26.02"
        }
      }
    }
  },
  "components" : {
    "schemas" : {
      "CommAcknowledgement" : {
        "type" : "object",
        "properties" : {
          "Accepted" : {
            "type" : "boolean"
          },
          "Duplicate" : {
            "type" : "boolean"
          },
          "Ignored" : {
            "type" : "boolean"
          },
          "Reason" : {
            "type" : "string"
          }
        }
      },
      "CommAttachmentFile" : {
        "type" : "object",
        "properties" : {
          "ContentHash" : {
            "type" : "string",
            "description" : "SHA-256 of the immutable uploaded bytes",
            "maxLength" : 64,
            "minLength" : 64
          },
          "FileId" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          },
          "FileName" : {
            "type" : "string",
            "maxLength" : 300
          },
          "MediaType" : {
            "type" : "string",
            "maxLength" : 100
          },
          "SizeBytes" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 0
          }
        },
        "required" : [ "ContentHash", "FileId", "FileName", "MediaType", "SizeBytes" ]
      },
      "CommAttachmentInput" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "FileKey and Source plus exactly its matching descriptor. External references select current bytes when a new delivery Attempt is prepared.",
        "properties" : {
          "CloudDisk" : {
            "$ref" : "#/components/schemas/CommCloudDiskAttachmentReference"
          },
          "Dms" : {
            "$ref" : "#/components/schemas/CommDmsAttachmentReference"
          },
          "FileId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "UPLOAD only: READY immutable file owned by the submitting caller. WithFiles may instead provide Files[FileKey].",
            "minimum" : 1
          },
          "FileKey" : {
            "type" : "string",
            "maxLength" : 60,
            "pattern" : "[A-Za-z][A-Za-z0-9_]{0,59}"
          },
          "FileName" : {
            "type" : "string",
            "description" : "Optional effective attachment file name override.",
            "maxLength" : 300
          },
          "RoleFilter" : {
            "type" : "string",
            "description" : "Optional comma-separated recipient roles; blank applies to all roles.",
            "maxLength" : 200
          },
          "SlotKey" : {
            "type" : [ "string", "null" ],
            "description" : "Declared slot membership. Omission or null uses FileKey; FileKey remains the unique per-file identity for multipart and downloads.",
            "maxLength" : 60,
            "pattern" : "[A-Za-z][A-Za-z0-9_]{0,59}"
          },
          "Source" : {
            "type" : "string",
            "enum" : [ "UPLOAD", "DMS", "CLOUD_DISK" ]
          }
        },
        "required" : [ "FileKey", "Source" ]
      },
      "CommAttachmentPage" : {
        "type" : "object",
        "properties" : {
          "ElementsInCurrentPage" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommAttachmentSnapshot"
            }
          },
          "NumberOfElementsInCurrentPage" : {
            "type" : "integer",
            "format" : "int32"
          },
          "TotalElements" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TotalPages" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "CommAttachmentSnapshot" : {
        "type" : "object",
        "properties" : {
          "AttachmentId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "AttemptId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "AttemptStatus" : {
            "type" : "string"
          },
          "ContentHash" : {
            "type" : "string"
          },
          "FileId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "FileKey" : {
            "type" : "string"
          },
          "FileName" : {
            "type" : "string"
          },
          "MediaType" : {
            "type" : "string"
          },
          "SizeBytes" : {
            "type" : "integer",
            "format" : "int64"
          },
          "SlotKey" : {
            "type" : "string"
          },
          "SnapshotAvailable" : {
            "type" : "boolean"
          },
          "Source" : {
            "type" : "string",
            "enum" : [ "UPLOAD", "DMS", "CLOUD_DISK" ]
          }
        }
      },
      "CommBinding" : {
        "type" : "object",
        "properties" : {
          "Attachments" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommBindingAttachment"
            }
          },
          "BindingId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Channel" : {
            "type" : "string"
          },
          "ConditionExpression" : {
            "type" : "string"
          },
          "DefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DeliveryPolicyId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Optional delivery policy; null means unrestricted time and frequency."
          },
          "Enabled" : {
            "type" : "string",
            "enum" : [ "Y", "N" ]
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "DataIO publication group identifier; rows of a locked group cannot be published."
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64",
            "readOnly" : true
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "format" : "date-time",
            "readOnly" : true
          },
          "MaxAttempts" : {
            "type" : "integer",
            "format" : "int32"
          },
          "OrderNo" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Fallback order within the same recipient role."
          },
          "OutputContract" : {
            "$ref" : "#/components/schemas/CommFileOutputContract"
          },
          "Parameters" : {
            "type" : "object",
            "additionalProperties" : {
              "$ref" : "#/components/schemas/CommParameter"
            }
          },
          "PreferencePolicy" : {
            "type" : "string",
            "enum" : [ "RESPECT", "BYPASS" ]
          },
          "ReceiptMode" : {
            "type" : "string",
            "enum" : [ "DELIVERED", "ACCEPTED" ]
          },
          "ReceiptTimeoutSeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RecipientAddressVariable" : {
            "type" : "string"
          },
          "RecipientIdVariable" : {
            "type" : "string"
          },
          "RecipientRole" : {
            "type" : "string"
          },
          "RecipientSource" : {
            "type" : "string",
            "enum" : [ "CONTEXT", "REQUEST" ]
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "RenderMode" : {
            "type" : "string",
            "enum" : [ "SERVICE", "HUB" ]
          },
          "RetryBackoffMultiplier" : {
            "type" : "number"
          },
          "RetryInitialDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RetryMaxDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Current aggregate sequence; Bindings expose the owning Definition revision."
          },
          "ServiceCode" : {
            "type" : "string"
          },
          "TemplateCode" : {
            "type" : "string"
          }
        }
      },
      "CommBindingAttachment" : {
        "type" : "object",
        "properties" : {
          "FileKey" : {
            "type" : "string"
          },
          "Required" : {
            "type" : "boolean"
          }
        }
      },
      "CommBindingAttachmentCheck" : {
        "type" : "object",
        "properties" : {
          "FileKey" : {
            "type" : "string"
          },
          "Required" : {
            "type" : "boolean"
          },
          "Status" : {
            "type" : "string"
          }
        }
      },
      "CommBindingAttachmentInput" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Per-document delivery instructions. Omission or an empty array removes existing instructions and sends no managed documents; null is invalid.",
        "properties" : {
          "FileKey" : {
            "type" : "string",
            "description" : "FileKey of a Task input attachment.",
            "maxLength" : 60
          },
          "Required" : {
            "type" : "boolean",
            "description" : "Reject Task submission when this attachment is unavailable for an enabled, condition-matched Binding. Optional missing inputs do not block acceptance."
          }
        },
        "required" : [ "FileKey", "Required" ]
      },
      "CommBindingPreviewInput" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "Attachments" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommBindingAttachmentInput"
            }
          },
          "Channel" : {
            "type" : "string"
          },
          "ConditionExpression" : {
            "type" : "string"
          },
          "DeliveryPolicyId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Enabled" : {
            "type" : "string"
          },
          "ExpectedRevision" : {
            "type" : "integer",
            "format" : "int64"
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "MaxAttempts" : {
            "type" : "integer",
            "format" : "int32"
          },
          "OrderNo" : {
            "type" : "integer",
            "format" : "int32"
          },
          "OutputContract" : {
            "$ref" : "#/components/schemas/CommFileOutputContractInput"
          },
          "Parameters" : {
            "type" : "object",
            "additionalProperties" : {
              "$ref" : "#/components/schemas/CommParameterInput"
            }
          },
          "PreferencePolicy" : {
            "type" : "string",
            "enum" : [ "RESPECT", "BYPASS" ]
          },
          "ReceiptMode" : {
            "type" : "string",
            "enum" : [ "DELIVERED", "ACCEPTED" ]
          },
          "ReceiptTimeoutSeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RecipientAddressVariable" : {
            "type" : "string"
          },
          "RecipientIdVariable" : {
            "type" : "string"
          },
          "RecipientRole" : {
            "type" : "string"
          },
          "RecipientSource" : {
            "type" : "string",
            "enum" : [ "CONTEXT", "REQUEST" ]
          },
          "RenderMode" : {
            "type" : "string",
            "enum" : [ "SERVICE", "HUB" ]
          },
          "RetryBackoffMultiplier" : {
            "type" : "number"
          },
          "RetryInitialDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RetryMaxDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "ServiceCode" : {
            "type" : "string"
          },
          "TemplateCode" : {
            "type" : "string",
            "description" : "Required for DELIVERY or DOCUMENT with GENERATE; optional for ARCHIVE-only DOCUMENT.",
            "maxLength" : 100
          }
        }
      },
      "CommBindingPreviewRecipient" : {
        "type" : "object",
        "properties" : {
          "RecipientAddress" : {
            "type" : "string"
          },
          "RecipientAddresses" : {
            "type" : "array",
            "description" : "Masked EMAIL To address array, when configured through request Addresses or a Context Variable array.",
            "items" : {
              "type" : "string",
              "description" : "Masked EMAIL To address array, when configured through request Addresses or a Context Variable array."
            }
          },
          "RecipientId" : {
            "type" : "string"
          },
          "SkipReason" : {
            "type" : "string"
          }
        }
      },
      "CommBindingPreviewRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "Attachments" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommAttachmentInput"
            }
          },
          "Binding" : {
            "$ref" : "#/components/schemas/CommBindingPreviewInput"
          },
          "DefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Recipients" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommTaskRecipient"
            }
          },
          "SamplePayload" : {
            "type" : "object",
            "additionalProperties" : true
          }
        }
      },
      "CommBindingPreviewResult" : {
        "type" : "object",
        "properties" : {
          "AttachmentMetadataEvaluated" : {
            "type" : "boolean",
            "description" : "Always false: preview never reads DMS or downloads documents."
          },
          "BindingEnabled" : {
            "type" : "boolean"
          },
          "ConditionMatched" : {
            "type" : "boolean"
          },
          "ConditionValid" : {
            "type" : "boolean"
          },
          "Diagnostics" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommConfigurationPreviewDiagnostic"
            }
          },
          "Documents" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommBindingAttachmentCheck"
            }
          },
          "DocumentsValid" : {
            "type" : "boolean",
            "description" : "False for document errors; null when supplied attachment metadata remains unverified; true when checks pass without unverified attachments. Not a delivery guarantee."
          },
          "EffectivePolicies" : {
            "$ref" : "#/components/schemas/CommEffectivePolicies"
          },
          "Parameters" : {
            "type" : "object",
            "additionalProperties" : true,
            "description" : "Merged, resolved delivery parameters with display masking applied. Values may be any native JSON literal, including null."
          },
          "Recipient" : {
            "$ref" : "#/components/schemas/CommBindingPreviewRecipient"
          },
          "RuntimeGuardsEvaluated" : {
            "type" : "boolean",
            "description" : "Always false: preferences, caps, quiet hours, TTL and fallback scheduling are not evaluated."
          },
          "Template" : {
            "$ref" : "#/components/schemas/CommBindingPreviewTemplate"
          }
        }
      },
      "CommBindingPreviewTemplate" : {
        "type" : "object",
        "properties" : {
          "Available" : {
            "type" : "boolean",
            "description" : "Null for provider-managed templates, whose availability is not checked locally."
          },
          "TemplateCode" : {
            "type" : "string"
          },
          "TemplateId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TemplateLanguage" : {
            "type" : "string",
            "description" : "Selected Hub source syntax; absent for provider-only templates.",
            "enum" : [ "FREEMARKER", "HANDLEBARS" ]
          }
        }
      },
      "CommBindingReference" : {
        "type" : "object",
        "description" : "Current Binding and related configuration summaries, including disabled configurations. No payload, template body or service Settings.",
        "properties" : {
          "Binding" : {
            "$ref" : "#/components/schemas/CommBindingSummary"
          },
          "Definition" : {
            "$ref" : "#/components/schemas/CommDefinitionSummary"
          },
          "DeliveryPolicy" : {
            "$ref" : "#/components/schemas/CommDeliveryPolicySummary"
          },
          "Service" : {
            "$ref" : "#/components/schemas/CommServiceSummary"
          },
          "Template" : {
            "$ref" : "#/components/schemas/CommTemplateSummary"
          }
        }
      },
      "CommBindingReferencePage" : {
        "type" : "object",
        "description" : "Paged current configuration references.",
        "properties" : {
          "ElementsInCurrentPage" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommBindingReference"
            }
          },
          "NumberOfElementsInCurrentPage" : {
            "type" : "integer",
            "format" : "int32"
          },
          "TotalElements" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TotalPages" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "CommBindingSaveRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Create or save a delivery rule owned by a communication definition. Replacement clears omitted optional fields. Policy links, preference/retry overrides and conditions are removed; documents become empty and archival obligations become NONE. A retry override requires all four fields.",
        "properties" : {
          "Attachments" : {
            "type" : "array",
            "description" : "Per-document delivery instructions. Omission or an empty array removes existing instructions and sends no managed documents; null is invalid.",
            "items" : {
              "$ref" : "#/components/schemas/CommBindingAttachmentInput"
            },
            "writeOnly" : true
          },
          "BindingId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Omit or send null to create. Supply the existing delivery rule identifier to save it.",
            "example" : 4001
          },
          "Channel" : {
            "type" : "string",
            "description" : "Channel used by this delivery rule.",
            "example" : "EMAIL",
            "writeOnly" : true
          },
          "ConditionExpression" : {
            "type" : "string",
            "description" : "Optional condition over declared variable names. Omission, null or blank clears it. Refer to variables directly, for example PolicyNo, without a Context or Payload prefix.",
            "example" : "CustomerName = 'Ada Customer'",
            "maxLength" : 500,
            "writeOnly" : true
          },
          "DefinitionId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Owning communication definition identifier. Required on creation. When saving an existing rule, a supplied non-null identifier must match its owner.",
            "example" : 2001
          },
          "DeliveryPolicyId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Optional reusable delivery policy. Omission or null removes the time/frequency restriction."
          },
          "Enabled" : {
            "type" : "string",
            "description" : "Y enables this rule and N disables it. Omission on creation defaults to Y; required when saving an existing rule. Rule enablement is part of save; definitions have dedicated enable/disable endpoints because enabling gates runtime immutability.",
            "enum" : [ "Y", "N" ],
            "example" : "Y",
            "writeOnly" : true
          },
          "ExpectedRevision" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Last read Revision; required when changing an existing resource. Bindings use the owning Definition Revision."
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Required DataIO publication group identifier; rows of a locked group cannot be published.",
            "writeOnly" : true
          },
          "MaxAttempts" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Set all four retry fields for a custom Rule policy; all null inherits.",
            "minimum" : 1,
            "writeOnly" : true
          },
          "OrderNo" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "FALLBACK candidate order: positive and unique within the canonical recipient role. ALL does not use this field to guarantee delivery order and permits ties.",
            "example" : 1,
            "writeOnly" : true
          },
          "OutputContract" : {
            "$ref" : "#/components/schemas/CommFileOutputContractInput"
          },
          "Parameters" : {
            "type" : "object",
            "additionalProperties" : {
              "$ref" : "#/components/schemas/CommParameterInput"
            },
            "description" : "Named VARIABLE/CONSTANT parameter sources; omission clears local configuration."
          },
          "PreferencePolicy" : {
            "type" : "string",
            "description" : "Omission or null clears the override and inherits the Definition policy.",
            "enum" : [ "RESPECT", "BYPASS", "RESPECT", "BYPASS" ],
            "writeOnly" : true
          },
          "ReceiptMode" : {
            "type" : "string",
            "description" : "Explicit DELIVERY completion policy ACCEPTED or DELIVERED; absent for DOCUMENT.",
            "enum" : [ "DELIVERED", "ACCEPTED" ]
          },
          "ReceiptTimeoutSeconds" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "DELIVERED receipt timeout in seconds; absent for ACCEPTED.",
            "maximum" : 604800,
            "minimum" : 1
          },
          "RecipientAddressVariable" : {
            "type" : "string",
            "description" : "Declared variable containing the recipient address as a string. Required for CONTEXT; omit or use null/blank for REQUEST.",
            "example" : "CustomerEmail",
            "writeOnly" : true
          },
          "RecipientIdVariable" : {
            "type" : "string",
            "description" : "Declared variable containing the recipient RecipientId. Must be omitted, null or blank for REQUEST. For CONTEXT it is required when the resolved PreferencePolicy is RESPECT.",
            "example" : "CustomerId",
            "writeOnly" : true
          },
          "RecipientRole" : {
            "type" : "string",
            "description" : "Optional for EMAIL; omission uses the default email address group. Explicit legacy roles remain supported. Other channels retain their routing group key. A definition permits one Binding per canonical group and channel.",
            "example" : "PRIMARY",
            "maxLength" : 40,
            "writeOnly" : true
          },
          "RecipientSource" : {
            "type" : "string",
            "description" : "REQUEST selects explicit Recipients. EMAIL Role may be omitted; its Address or Addresses supplies To. CONTEXT reads declared Variables; an EMAIL address Variable may be a string or nonempty string list.",
            "enum" : [ "CONTEXT", "REQUEST" ],
            "example" : "REQUEST",
            "writeOnly" : true
          },
          "RenderMode" : {
            "type" : "string",
            "description" : "HUB renders the template selected by its tenant-unique code; SERVICE passes TemplateCode and extracted typed Variables to the delivery driver.",
            "enum" : [ "SERVICE", "HUB" ],
            "example" : "HUB",
            "writeOnly" : true
          },
          "RetryBackoffMultiplier" : {
            "type" : "number",
            "description" : "JSON number from 1 to 100 with at most four fractional digits. Supply all four retry fields explicitly to replace or clear an existing override.",
            "maximum" : 100,
            "minimum" : 1,
            "multipleOf" : 0.00010,
            "writeOnly" : true
          },
          "RetryInitialDelaySeconds" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Initial automatic retry delay in seconds. Supply all four retry fields to override the Definition.",
            "minimum" : 1,
            "writeOnly" : true
          },
          "RetryMaxDelaySeconds" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Maximum automatic retry delay in seconds. Supply all four retry fields to override the Definition.",
            "minimum" : 1,
            "writeOnly" : true
          },
          "ServiceCode" : {
            "type" : "string",
            "description" : "Registered delivery service used by this rule. Its driver and Settings select transport behavior; integration-adapter configuration is optional and belongs to that driver.",
            "example" : "EMAIL_SERVICE",
            "maxLength" : 60,
            "writeOnly" : true
          },
          "TemplateCode" : {
            "type" : "string",
            "description" : "Tenant-local template code. Required for DELIVERY or DOCUMENT with GENERATE; optional for ARCHIVE-only DOCUMENT. Provider identifiers belong to Template.ProviderTemplateReference.",
            "example" : "POLICY_NOTICE",
            "maxLength" : 100,
            "writeOnly" : true
          }
        },
        "required" : [ "GroupId" ]
      },
      "CommBindingSummary" : {
        "type" : "object",
        "properties" : {
          "BindingId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Channel" : {
            "type" : "string"
          },
          "ConditionExpression" : {
            "type" : "string"
          },
          "DefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DeliveryPolicyId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Enabled" : {
            "type" : "string"
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64"
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "MaxAttempts" : {
            "type" : "integer",
            "format" : "int32"
          },
          "OrderNo" : {
            "type" : "integer",
            "format" : "int32"
          },
          "PreferencePolicy" : {
            "type" : "string",
            "enum" : [ "RESPECT", "BYPASS" ]
          },
          "ReceiptMode" : {
            "type" : "string",
            "enum" : [ "DELIVERED", "ACCEPTED" ]
          },
          "ReceiptTimeoutSeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RecipientAddressVariable" : {
            "type" : "string"
          },
          "RecipientIdVariable" : {
            "type" : "string"
          },
          "RecipientRole" : {
            "type" : "string"
          },
          "RecipientSource" : {
            "type" : "string",
            "enum" : [ "CONTEXT", "REQUEST" ]
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "RenderMode" : {
            "type" : "string",
            "enum" : [ "SERVICE", "HUB" ]
          },
          "RetryBackoffMultiplier" : {
            "type" : "number"
          },
          "RetryInitialDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RetryMaxDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64"
          },
          "ServiceCode" : {
            "type" : "string"
          },
          "TemplateCode" : {
            "type" : "string"
          }
        }
      },
      "CommChannelPreference" : {
        "type" : "object",
        "description" : "Only explicitly stored CUSTOMER/channel rows. Absence uses DefaultAllowed; it does not imply false.",
        "properties" : {
          "Channel" : {
            "type" : "string"
          },
          "LastConfirmedTime" : {
            "type" : "string",
            "description" : "Time of first confirmation or the last state/Source change. Repeating the identical state and Source leaves this time unchanged. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "OptedIn" : {
            "type" : "boolean"
          },
          "Source" : {
            "type" : "string",
            "description" : "Origin of the last state/source change; not an authenticated operator identity."
          }
        }
      },
      "CommChannelPreferenceChange" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "1 to 100 changes, applied atomically. Unmentioned channels keep their current state. Preferences and SubjectId are not body aliases.",
        "properties" : {
          "Channel" : {
            "type" : "string",
            "description" : "Channel code, normalized by trimming and uppercase. Duplicate normalized codes are rejected before any write.",
            "maxLength" : 40
          },
          "OptedIn" : {
            "type" : "boolean",
            "description" : "Explicit allow/refusal. Requires a native JSON boolean; strings, numbers and null are rejected."
          }
        },
        "required" : [ "Channel", "OptedIn" ]
      },
      "CommChannelPreferenceMatrix" : {
        "type" : "object",
        "properties" : {
          "DefaultAllowed" : {
            "type" : "boolean",
            "description" : "Effective deployment fallback used when an explicit channel row is absent; defaults to true unless configured otherwise. Explicit refusal still denies delivery under RESPECT. This value is read-only and is not a persisted preference row.",
            "readOnly" : true
          },
          "Preferences" : {
            "type" : "array",
            "description" : "Only explicitly stored CUSTOMER/channel rows. Absence uses DefaultAllowed; it does not imply false.",
            "items" : {
              "$ref" : "#/components/schemas/CommChannelPreference"
            }
          },
          "SubjectId" : {
            "type" : "string"
          },
          "SubjectType" : {
            "type" : "string",
            "enum" : [ "CUSTOMER" ]
          }
        },
        "required" : [ "DefaultAllowed" ]
      },
      "CommChannelPreferenceSaveRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "Rows" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommChannelPreferenceChange"
            },
            "maxItems" : 100,
            "minItems" : 1
          },
          "Source" : {
            "type" : [ "string", "null" ],
            "description" : "Optional origin of the change; not an authenticated operator identity. Null is accepted.",
            "maxLength" : 20
          },
          "SubjectType" : {
            "type" : [ "string", "null" ],
            "description" : "Only CUSTOMER is supported. Omission or explicit null uses CUSTOMER.",
            "enum" : [ "CUSTOMER", null ]
          }
        },
        "required" : [ "Rows" ]
      },
      "CommCloudDiskAttachmentReference" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Reserved native CLOUD_DISK descriptor. This deployment rejects it until caller/object authorization is connected; no privileged fallback.",
        "properties" : {
          "Bucket" : {
            "type" : "string",
            "description" : "Native bucket name: lower-case letters/digits/_/-, starts with a letter, ends with a letter/digit, excludes mo- prefix.",
            "maxLength" : 63,
            "minLength" : 6
          },
          "Key" : {
            "type" : "string",
            "description" : "Exact case-sensitive UTF-8 object key, 1 to 1024 encoded bytes; not a download URL."
          }
        },
        "required" : [ "Bucket", "Key" ]
      },
      "CommConfigurationPreviewDiagnostic" : {
        "type" : "object",
        "properties" : {
          "Code" : {
            "type" : "string"
          },
          "Location" : {
            "type" : "string",
            "description" : "Template field, line and column, for example Body line 2, column 3."
          },
          "Reason" : {
            "type" : "string",
            "description" : "Safe template validation reason; no template source or Variable value."
          },
          "Stage" : {
            "type" : "string"
          },
          "Variable" : {
            "type" : "string"
          }
        }
      },
      "CommConfigurationSnapshotDetail" : {
        "type" : "object",
        "properties" : {
          "Configuration" : {
            "type" : "object",
            "additionalProperties" : true,
            "description" : "Captured task definition, context, rules, templates, delivery services, timezone and delivery policies. SchemaVersion identifies the snapshot format. Request Payload and credentials are excluded."
          },
          "ContentHash" : {
            "type" : "string",
            "description" : "Hash of the immutable canonical configuration; shared within one tenant."
          },
          "DefinitionCode" : {
            "type" : "string"
          },
          "DefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DefinitionRevision" : {
            "type" : "integer",
            "format" : "int64"
          },
          "InsertTime" : {
            "type" : "string",
            "format" : "date-time",
            "description" : "First snapshot creation time, not every referencing task's acceptance time."
          },
          "SchemaVersion" : {
            "type" : "integer",
            "format" : "int32"
          },
          "SnapshotId" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommConfigurationSnapshotPage" : {
        "type" : "object",
        "properties" : {
          "ElementsInCurrentPage" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommConfigurationSnapshotSummary"
            }
          },
          "NumberOfElementsInCurrentPage" : {
            "type" : "integer",
            "format" : "int32"
          },
          "TotalElements" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TotalPages" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "CommConfigurationSnapshotSummary" : {
        "type" : "object",
        "properties" : {
          "ContentHash" : {
            "type" : "string",
            "description" : "Hash of the immutable canonical configuration; shared within one tenant."
          },
          "DefinitionCode" : {
            "type" : "string"
          },
          "DefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DefinitionRevision" : {
            "type" : "integer",
            "format" : "int64"
          },
          "InsertTime" : {
            "type" : "string",
            "description" : "First snapshot creation time, not every referencing task's acceptance time. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "SchemaVersion" : {
            "type" : "integer",
            "format" : "int32"
          },
          "SnapshotId" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommConfigurationSnapshotTask" : {
        "type" : "object",
        "properties" : {
          "ConfigurationSnapshotId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DefinitionCode" : {
            "type" : "string"
          },
          "DefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "InsertTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "RequestId" : {
            "type" : "string"
          },
          "ServiceKind" : {
            "type" : "string",
            "enum" : [ "DELIVERY", "DOCUMENT" ],
            "readOnly" : true
          },
          "Status" : {
            "type" : "string"
          },
          "TaskId" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommConfigurationSnapshotTaskPage" : {
        "type" : "object",
        "properties" : {
          "ElementsInCurrentPage" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommConfigurationSnapshotTask"
            }
          },
          "NumberOfElementsInCurrentPage" : {
            "type" : "integer",
            "format" : "int32"
          },
          "TotalElements" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TotalPages" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "CommContextAlias" : {
        "type" : "object",
        "additionalProperties" : true,
        "description" : "One named context extracted from Payload.",
        "properties" : {
          "Path" : {
            "type" : "string",
            "description" : "Supported JSONPath selecting one object."
          }
        },
        "required" : [ "Path" ]
      },
      "CommContextAliasInput" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "One named context extracted from Payload.",
        "properties" : {
          "Path" : {
            "type" : "string",
            "description" : "Supported JSONPath selecting one object."
          }
        },
        "required" : [ "Path" ]
      },
      "CommContextDefinition" : {
        "type" : "object",
        "properties" : {
          "Contexts" : {
            "type" : "object",
            "additionalProperties" : {
              "$ref" : "#/components/schemas/CommContextAlias"
            },
            "description" : "Context alias to object containing Path (JSONPath)."
          },
          "DefinitionCode" : {
            "type" : "string"
          },
          "DefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DefinitionName" : {
            "type" : "string"
          },
          "Description" : {
            "type" : "string"
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "DataIO publication group identifier; rows of a locked group cannot be published."
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64",
            "readOnly" : true
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "format" : "date-time",
            "readOnly" : true
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Current aggregate sequence; Bindings expose the owning Definition revision."
          },
          "SamplePayload" : {
            "type" : "object",
            "additionalProperties" : true
          },
          "Variables" : {
            "type" : "object",
            "additionalProperties" : {
              "$ref" : "#/components/schemas/CommVariable"
            },
            "description" : "Variable name to EXTRACT/CONSTANT configuration, including native defaults and requiredness. EXTRACT supports MaskOnSend (boolean, default false) and MaskRule (compact string such as {4}*{4}); sending is independent of global display masking."
          }
        }
      },
      "CommContextDefinitionResult" : {
        "type" : "object",
        "properties" : {
          "CommContextDefinition" : {
            "$ref" : "#/components/schemas/CommContextDefinition"
          },
          "Warnings" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          }
        }
      },
      "CommContextDefinitionSaveRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Create or save a context definition. Replacement clears omitted optional fields including Contexts and Variables; omitted SamplePayload preserves the stored original and explicit null clears it.",
        "properties" : {
          "Contexts" : {
            "type" : "object",
            "additionalProperties" : {
              "$ref" : "#/components/schemas/CommContextAliasInput"
            },
            "description" : "Alias-to-configuration object map. Each object contains Path: a supported JSONPath rooted at $. A missing result is diagnostic; multiple results or a non-object result fail. Supports field/bracket keys, fixed indices, wildcards and comparison filters. Recursive descent, scripts, functions and regex filters are rejected.",
            "example" : {
              "Customer" : {
                "Path" : "$.Policy.PolicyCustomer"
              }
            },
            "writeOnly" : true
          },
          "DefinitionCode" : {
            "type" : "string",
            "description" : "Context definition code. Required for every create/save request; immutable after creation.",
            "example" : "POLICY_CONTEXT",
            "maxLength" : 40,
            "pattern" : "[A-Z][A-Z0-9_]{2,39}",
            "writeOnly" : true
          },
          "DefinitionId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Omit or send null to create. Supply the existing context definition identifier to save it.",
            "example" : 1001
          },
          "DefinitionName" : {
            "type" : "string",
            "description" : "Display name of this reusable context definition.",
            "example" : "Policy customer context",
            "maxLength" : 200,
            "writeOnly" : true
          },
          "Description" : {
            "type" : "string",
            "description" : "Optional description of the extraction configuration.",
            "example" : "Shared policy customer variables",
            "maxLength" : 500,
            "writeOnly" : true
          },
          "ExpectedRevision" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Last read Revision; required when changing an existing resource. Bindings use the owning Definition Revision."
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Required DataIO publication group identifier; rows of a locked group cannot be published.",
            "writeOnly" : true
          },
          "SamplePayload" : {
            "type" : "object",
            "additionalProperties" : true,
            "description" : "Optional sample business JSON used for preview and selector warnings. It is not a schema and does not constrain runtime Payload. Keys such as Policy are caller-defined; multiple root keys are allowed.",
            "example" : {
              "Event" : {
                "Type" : "ISSUED"
              },
              "Policy" : {
                "PolicyCustomer" : {
                  "Email" : "ada@example.com",
                  "Name" : "Ada Customer"
                },
                "PolicyNo" : "P-10001"
              }
            },
            "writeOnly" : true
          },
          "Variables" : {
            "type" : "object",
            "additionalProperties" : {
              "$ref" : "#/components/schemas/CommVariableInput"
            },
            "description" : "Name-to-configuration map. Mode defaults to EXTRACT; Source defaults to Payload or is Context.<alias>; Path is JSONPath; ResultMode defaults to SINGLE (LIST preserves match nodes). Optional Required, BlankAsMissing, DefaultValue, MaskOnSend (boolean) and MaskRule (compact string such as {4}*{4}, mandatory when MaskOnSend=true). CONSTANT instead requires native JSON Value and rejects extraction/masking fields. No ValueType coercion. MaskOnSend defaults false; display previews use the current global policy. Required is a preview diagnostic and a send error.",
            "example" : {
              "Name" : {
                "DefaultValue" : "Customer",
                "Path" : "$.Name",
                "Source" : "Context.Customer"
              },
              "Phone" : {
                "Mode" : "CONSTANT",
                "Value" : "400-123-4567"
              }
            },
            "writeOnly" : true
          }
        },
        "required" : [ "DefinitionCode", "GroupId" ]
      },
      "CommContextDefinitionSummary" : {
        "type" : "object",
        "properties" : {
          "DefinitionCode" : {
            "type" : "string"
          },
          "DefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DefinitionName" : {
            "type" : "string"
          },
          "Description" : {
            "type" : "string"
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64"
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommContextDiagnostic" : {
        "type" : "object",
        "description" : "Extraction diagnostics computed from the original sample before masking.",
        "properties" : {
          "Code" : {
            "type" : "string"
          },
          "Stage" : {
            "type" : "string"
          },
          "Variable" : {
            "type" : "string"
          }
        }
      },
      "CommContextExtractionPreviewRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "Contexts" : {
            "type" : "object",
            "additionalProperties" : {
              "$ref" : "#/components/schemas/CommContextAliasInput"
            },
            "description" : "Alias-to-configuration map, e.g. Customer: {Path: $.Policy.Customer}. Omission means no aliases."
          },
          "Payload" : {
            "type" : "object",
            "additionalProperties" : true,
            "description" : "Required sample business object, at most 64 KiB serialized. No definition ID or save is required."
          },
          "Variables" : {
            "type" : "object",
            "additionalProperties" : {
              "$ref" : "#/components/schemas/CommVariableInput"
            },
            "description" : "Typed EXTRACT/CONSTANT variable configurations. Source is Payload or Context.<alias>, Path is JSONPath. Omission means no variables."
          }
        },
        "required" : [ "Payload" ]
      },
      "CommContextExtractionPreviewResult" : {
        "type" : "object",
        "properties" : {
          "Contexts" : {
            "type" : "object",
            "additionalProperties" : true,
            "description" : "Reserved; raw context objects are not returned. Inspect named display Variables and diagnostics."
          },
          "Diagnostics" : {
            "type" : "array",
            "description" : "Extraction diagnostics computed from the original sample before masking.",
            "items" : {
              "$ref" : "#/components/schemas/CommContextDiagnostic"
            }
          },
          "MaskingDiagnostics" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommPayloadMaskingDiagnostic"
            }
          },
          "VariableSourcePaths" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string",
              "description" : "Reserved; masking is independent of variable source paths."
            },
            "description" : "Reserved; masking is independent of variable source paths."
          },
          "Variables" : {
            "type" : "object",
            "additionalProperties" : true
          }
        }
      },
      "CommDefinition" : {
        "type" : "object",
        "properties" : {
          "Attachments" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommDefinitionAttachment"
            }
          },
          "ContextDefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DefinitionCode" : {
            "type" : "string"
          },
          "DefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DefinitionName" : {
            "type" : "string"
          },
          "DeliveryStrategy" : {
            "type" : "string",
            "enum" : [ "ALL", "FALLBACK" ]
          },
          "Description" : {
            "type" : "string"
          },
          "EffectiveKind" : {
            "type" : "string",
            "description" : "Derived from enabled Bindings; absent for incomplete or mixed-kind drafts.",
            "enum" : [ "DELIVERY", "DOCUMENT" ],
            "readOnly" : true
          },
          "Enabled" : {
            "type" : "string",
            "enum" : [ "Y", "N" ]
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "DataIO publication group identifier; rows of a locked group cannot be published."
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64",
            "readOnly" : true
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "format" : "date-time",
            "readOnly" : true
          },
          "MaxAttempts" : {
            "type" : "integer",
            "format" : "int32"
          },
          "PreferencePolicy" : {
            "type" : "string",
            "enum" : [ "RESPECT", "BYPASS" ]
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "RetryBackoffMultiplier" : {
            "type" : "number"
          },
          "RetryInitialDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RetryMaxDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Current aggregate sequence; Bindings expose the owning Definition revision."
          },
          "RoleDeliveryStrategyOverrides" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string"
            }
          }
        }
      },
      "CommDefinitionAttachment" : {
        "type" : "object",
        "additionalProperties" : true,
        "properties" : {
          "Cardinality" : {
            "type" : "string",
            "default" : "SINGLE",
            "description" : "Accepted slot cardinality. Legacy declarations without a mode read as SINGLE.",
            "enum" : [ "SINGLE", "MULTIPLE" ]
          },
          "FileKey" : {
            "type" : "string",
            "maxLength" : 60,
            "pattern" : "[A-Za-z][A-Za-z0-9_]{0,59}"
          },
          "Name" : {
            "type" : "string",
            "description" : "Optional display label; no source or requiredness.",
            "maxLength" : 200
          }
        },
        "required" : [ "FileKey" ]
      },
      "CommDefinitionAttachmentInput" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Declared logical FileKey slots with optional labels; no source file identities.",
        "properties" : {
          "Cardinality" : {
            "type" : "string",
            "default" : "SINGLE",
            "description" : "Slot cardinality. Omission defaults to SINGLE for a new/legacy slot; existing MULTIPLE slots require an explicit value when saved.",
            "enum" : [ "SINGLE", "MULTIPLE" ]
          },
          "FileKey" : {
            "type" : "string",
            "maxLength" : 60,
            "pattern" : "[A-Za-z][A-Za-z0-9_]{0,59}"
          },
          "Name" : {
            "type" : "string",
            "description" : "Optional display label; no source or requiredness.",
            "maxLength" : 200
          }
        },
        "required" : [ "FileKey" ]
      },
      "CommDefinitionReferencePage" : {
        "type" : "object",
        "description" : "Paged current configuration references.",
        "properties" : {
          "ElementsInCurrentPage" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommDefinitionSummary"
            }
          },
          "NumberOfElementsInCurrentPage" : {
            "type" : "integer",
            "format" : "int32"
          },
          "TotalElements" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TotalPages" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "CommDefinitionSaveRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Create or save a disabled communication definition. Existing saves clear omitted optional role/preference/retry overrides to inherit defaults. A retry override requires all four fields.",
        "properties" : {
          "Attachments" : {
            "type" : "array",
            "description" : "Declared logical FileKey slots with optional labels; no source file identities.",
            "items" : {
              "$ref" : "#/components/schemas/CommDefinitionAttachmentInput"
            }
          },
          "ContextDefinitionId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Optional on a disabled save; required when enabling. Identifies the context supplying task variables.",
            "example" : 1001
          },
          "DefinitionCode" : {
            "type" : "string",
            "description" : "Unique task code used by send requests; immutable after creation.",
            "example" : "POLICY_ISSUED",
            "maxLength" : 60,
            "pattern" : "[A-Z][A-Z0-9_]{2,59}",
            "writeOnly" : true
          },
          "DefinitionId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Omit or send null to create disabled. Supply the existing identifier to save; enabled definitions must remain executable.",
            "example" : 2001
          },
          "DefinitionName" : {
            "type" : "string",
            "description" : "Display name of the business task definition.",
            "example" : "Policy issued task",
            "writeOnly" : true
          },
          "DeliveryStrategy" : {
            "type" : "string",
            "description" : "ALL sends eligible rules independently and does not guarantee delivery order. FALLBACK tries channels by positive OrderNo within each recipient role and stops later candidates after success.",
            "enum" : [ "ALL", "FALLBACK" ],
            "example" : "ALL",
            "writeOnly" : true
          },
          "Description" : {
            "type" : "string",
            "description" : "Optional description of the business task.",
            "example" : "Notify the customer after policy issuance.",
            "writeOnly" : true
          },
          "ExpectedRevision" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Last read Revision; required when changing an existing resource. Bindings use the owning Definition Revision."
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Required DataIO publication group identifier; rows of a locked group cannot be published.",
            "writeOnly" : true
          },
          "MaxAttempts" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Automatic delivery attempts including the first send.",
            "minimum" : 1,
            "writeOnly" : true
          },
          "PreferencePolicy" : {
            "type" : "string",
            "description" : "Definition default for recipient preference enforcement. RESPECT checks preference and BYPASS explicitly skips it.",
            "enum" : [ "RESPECT", "BYPASS", "RESPECT", "BYPASS" ],
            "writeOnly" : true
          },
          "RetryBackoffMultiplier" : {
            "type" : "number",
            "description" : "JSON number from 1 to 100 with at most four fractional digits; applied to each later retry delay.",
            "maximum" : 100,
            "minimum" : 1,
            "multipleOf" : 0.00010,
            "writeOnly" : true
          },
          "RetryInitialDelaySeconds" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Initial automatic retry delay after the first failed physical attempt, in seconds.",
            "minimum" : 1,
            "writeOnly" : true
          },
          "RetryMaxDelaySeconds" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Maximum automatic retry delay, in seconds.",
            "minimum" : 1,
            "writeOnly" : true
          },
          "RoleDeliveryStrategyOverrides" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "string",
              "description" : "Optional canonical recipient-role map to ALL or FALLBACK. A missing role inherits DeliveryStrategy.",
              "enum" : [ "ALL", "FALLBACK" ],
              "example" : "{\"PRIMARY\":\"FALLBACK\"}"
            },
            "description" : "Optional canonical recipient-role map to ALL or FALLBACK. A missing role inherits DeliveryStrategy.",
            "example" : {
              "PRIMARY" : "FALLBACK"
            },
            "writeOnly" : true
          }
        },
        "required" : [ "DefinitionCode", "GroupId" ]
      },
      "CommDefinitionSummary" : {
        "type" : "object",
        "properties" : {
          "ContextDefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DefinitionCode" : {
            "type" : "string"
          },
          "DefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DefinitionName" : {
            "type" : "string"
          },
          "DeliveryStrategy" : {
            "type" : "string",
            "enum" : [ "ALL", "FALLBACK" ]
          },
          "Description" : {
            "type" : "string"
          },
          "EffectiveKind" : {
            "type" : "string",
            "description" : "Derived from enabled Bindings; absent for incomplete or mixed-kind drafts.",
            "enum" : [ "DELIVERY", "DOCUMENT" ],
            "readOnly" : true
          },
          "Enabled" : {
            "type" : "string"
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64"
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "MaxAttempts" : {
            "type" : "integer",
            "format" : "int32"
          },
          "PreferencePolicy" : {
            "type" : "string",
            "enum" : [ "RESPECT", "BYPASS" ]
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "RetryBackoffMultiplier" : {
            "type" : "number"
          },
          "RetryInitialDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RetryMaxDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommDeliveryAllowedTimeDetail" : {
        "type" : "object",
        "properties" : {
          "AllowedTimeId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "EndTime" : {
            "type" : "string"
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64",
            "readOnly" : true
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "format" : "date-time",
            "readOnly" : true
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "StartTime" : {
            "type" : "string"
          }
        }
      },
      "CommDeliveryAllowedTimeRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Required array of at most 24 minute-precision allowed intervals. Union, start inclusive and end exclusive; overnight intervals are supported.",
        "properties" : {
          "AllowedTimeId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Existing child identifier; omit only for a new interval."
          },
          "EndTime" : {
            "type" : "string",
            "description" : "Exclusive local time HH:mm, unequal to StartTime."
          },
          "StartTime" : {
            "type" : "string",
            "description" : "Inclusive local time HH:mm."
          }
        },
        "required" : [ "EndTime", "StartTime" ]
      },
      "CommDeliveryCapLimitDetail" : {
        "type" : "object",
        "properties" : {
          "CapLimitId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64",
            "readOnly" : true
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "format" : "date-time",
            "readOnly" : true
          },
          "MaxCount" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "WindowSeconds" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommDeliveryCapLimitRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Required array of at most 24 rolling limits; all must pass.",
        "properties" : {
          "CapLimitId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Existing child identifier; omit only for a new limit."
          },
          "MaxCount" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Maximum positive delivery count, at most 2147483647."
          },
          "WindowSeconds" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Rolling window duration from 1 to 31622400 seconds."
          }
        },
        "required" : [ "MaxCount", "WindowSeconds" ]
      },
      "CommDeliveryOutputFileReportRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "COMPLETE requires Manifest. FAILED requires a nonblank Reason and forbids a non-null Manifest. The API validates these conditions.",
        "properties" : {
          "CallbackId" : {
            "type" : "string"
          },
          "Manifest" : {
            "$ref" : "#/components/schemas/CommFileOutputManifest"
          },
          "Reason" : {
            "type" : "string",
            "maxLength" : 500,
            "minLength" : 1,
            "pattern" : "\\S"
          },
          "ReportId" : {
            "type" : "string"
          },
          "Status" : {
            "type" : "string",
            "enum" : [ "COMPLETE", "FAILED" ]
          }
        },
        "required" : [ "CallbackId", "ReportId", "Status" ]
      },
      "CommDeliveryOutputFileReportResult" : {
        "type" : "object",
        "properties" : {
          "ArchiveState" : {
            "type" : "string",
            "enum" : [ "NOT_APPLICABLE", "PENDING", "AVAILABLE", "FAILED", "ABANDONED" ]
          },
          "Status" : {
            "type" : "string"
          }
        }
      },
      "CommDeliveryPolicyDetail" : {
        "type" : "object",
        "properties" : {
          "AllowedDayMode" : {
            "type" : "string",
            "description" : "EVERY_DAY or WORKDAY_ONLY using the platform Workday calendar on the actual local date."
          },
          "AllowedTimes" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommDeliveryAllowedTimeDetail"
            }
          },
          "CapLimits" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommDeliveryCapLimitDetail"
            }
          },
          "CapOverflowAction" : {
            "type" : "string",
            "description" : "SUPPRESS ends this candidate; DEFER schedules its next eligible time without advancing fallback."
          },
          "DeliveryPolicyCode" : {
            "type" : "string",
            "description" : "Unique immutable policy code. Uppercase letter followed by uppercase letters, digits or underscores, 3 to 60 characters."
          },
          "DeliveryPolicyId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Generated definition identifier; optional on save and must match the URL."
          },
          "FrequencyCapEnabled" : {
            "type" : "string",
            "description" : "Y reserves capacity for this policy; N creates no quota usage."
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Required eligible CommHub configuration group. Management only; never a quota dimension."
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64",
            "readOnly" : true
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "format" : "date-time",
            "readOnly" : true
          },
          "Name" : {
            "type" : "string",
            "description" : "Display name, up to 200 characters."
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Expected revision for save, required for updates."
          },
          "TimeRestrictionEnabled" : {
            "type" : "string",
            "description" : "Y enforces allowed delivery intervals; N has no time restriction."
          }
        }
      },
      "CommDeliveryPolicySaveRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Complete policy definition; save requires the last read Revision.",
        "properties" : {
          "AllowedDayMode" : {
            "type" : "string",
            "description" : "EVERY_DAY or WORKDAY_ONLY using the platform Workday calendar on the actual local date."
          },
          "AllowedTimes" : {
            "type" : "array",
            "description" : "Required array of at most 24 minute-precision allowed intervals. Union, start inclusive and end exclusive; overnight intervals are supported.",
            "items" : {
              "$ref" : "#/components/schemas/CommDeliveryAllowedTimeRequest"
            }
          },
          "CapLimits" : {
            "type" : "array",
            "description" : "Required array of at most 24 rolling limits; all must pass.",
            "items" : {
              "$ref" : "#/components/schemas/CommDeliveryCapLimitRequest"
            }
          },
          "CapOverflowAction" : {
            "type" : "string",
            "description" : "SUPPRESS ends this candidate; DEFER schedules its next eligible time without advancing fallback."
          },
          "DeliveryPolicyCode" : {
            "type" : "string",
            "description" : "Unique immutable policy code. Uppercase letter followed by uppercase letters, digits or underscores, 3 to 60 characters."
          },
          "DeliveryPolicyId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Omit to create; supply the existing ID and Revision to replace."
          },
          "ExpectedRevision" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Expected revision for save, required for updates."
          },
          "FrequencyCapEnabled" : {
            "type" : "string",
            "description" : "Y reserves capacity for this policy; N creates no quota usage."
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Required eligible CommHub configuration group. Management only; never a quota dimension."
          },
          "Name" : {
            "type" : "string",
            "description" : "Display name, up to 200 characters."
          },
          "TimeRestrictionEnabled" : {
            "type" : "string",
            "description" : "Y enforces allowed delivery intervals; N has no time restriction."
          }
        },
        "required" : [ "AllowedDayMode", "AllowedTimes", "CapLimits", "CapOverflowAction", "DeliveryPolicyCode", "FrequencyCapEnabled", "GroupId", "Name", "TimeRestrictionEnabled" ]
      },
      "CommDeliveryPolicySummary" : {
        "type" : "object",
        "properties" : {
          "AllowedDayMode" : {
            "type" : "string",
            "description" : "EVERY_DAY or WORKDAY_ONLY using the platform Workday calendar on the actual local date."
          },
          "CapOverflowAction" : {
            "type" : "string",
            "description" : "SUPPRESS ends this candidate; DEFER schedules its next eligible time without advancing fallback."
          },
          "DeliveryPolicyCode" : {
            "type" : "string",
            "description" : "Unique immutable policy code. Uppercase letter followed by uppercase letters, digits or underscores, 3 to 60 characters."
          },
          "DeliveryPolicyId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Generated definition identifier; optional on save and must match the URL."
          },
          "FrequencyCapEnabled" : {
            "type" : "string",
            "description" : "Y reserves capacity for this policy; N creates no quota usage."
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Required eligible CommHub configuration group. Management only; never a quota dimension."
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64",
            "readOnly" : true
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "format" : "date-time",
            "readOnly" : true
          },
          "Name" : {
            "type" : "string",
            "description" : "Display name, up to 200 characters."
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Expected revision for save, required for updates."
          },
          "TimeRestrictionEnabled" : {
            "type" : "string",
            "description" : "Y enforces allowed delivery intervals; N has no time restriction."
          }
        }
      },
      "CommDmsAttachmentReference" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "DocId" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        },
        "required" : [ "DocId" ]
      },
      "CommDocumentActionRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "ExpectedRevision" : {
            "type" : "integer",
            "format" : "int64"
          },
          "RequestId" : {
            "type" : "string"
          }
        },
        "required" : [ "ExecutionId", "ExpectedRevision", "RequestId" ]
      },
      "CommDocumentInputFile" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Existing authorized DMS input files for ARCHIVE-only DOCUMENT services. Inapplicable to DELIVERY and DOCUMENT services that generate new output. Maximum 20; no file bytes or URLs.",
        "properties" : {
          "DocId" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          },
          "FileKey" : {
            "type" : "string",
            "maxLength" : 60
          },
          "Role" : {
            "type" : "string",
            "maxLength" : 60
          }
        },
        "required" : [ "DocId", "FileKey", "Role" ]
      },
      "CommDocumentOperationResult" : {
        "type" : [ "object", "null" ],
        "additionalProperties" : false,
        "description" : "FAILED requires ReasonCode and forbids non-null Artifacts and DocId. COMPLETE forbids a non-null ReasonCode. SUBMITTED forbids non-null ReasonCode and DocId, and permits only absent, null or empty Artifacts. The API validates these conditions.",
        "properties" : {
          "Artifacts" : {
            "type" : [ "array", "null" ],
            "items" : {
              "$ref" : "#/components/schemas/CommGeneratedArtifact"
            }
          },
          "DocId" : {
            "type" : [ "integer", "null" ],
            "format" : "int64"
          },
          "ProviderRef" : {
            "type" : "string"
          },
          "ReasonCode" : {
            "type" : [ "string", "null" ],
            "maxLength" : 60,
            "minLength" : 1,
            "pattern" : "^[A-Z0-9_.-]{1,60}$"
          },
          "Status" : {
            "type" : "string",
            "enum" : [ "SUBMITTED", "COMPLETE", "FAILED" ]
          }
        },
        "required" : [ "Status" ]
      },
      "CommDriverParameter" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "DefaultDescription" : {
            "type" : "string",
            "description" : "Fallback behavior, without returning tenant account names or other actual configuration values."
          },
          "DefaultDescriptionLabel" : {
            "type" : "string",
            "description" : "Platform UI Label code for DefaultDescription; omitted when no fallback description is declared."
          },
          "Description" : {
            "type" : "string"
          },
          "DescriptionLabel" : {
            "type" : "string",
            "description" : "Platform UI Label code for Description; Description is the English fallback."
          },
          "Format" : {
            "type" : "string",
            "description" : "EMAIL validates each ARRAY element as a plain email address. Omitted for other shapes."
          },
          "Label" : {
            "type" : "string",
            "description" : "Platform UI Label code for the display name. Name remains the technical parameter key."
          },
          "MaxLength" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Maximum STRING length or ARRAY element length.",
            "minimum" : 1
          },
          "Name" : {
            "type" : "string"
          },
          "Required" : {
            "type" : "boolean"
          },
          "Sources" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "enum" : [ "VARIABLE", "CONSTANT" ]
            }
          },
          "Type" : {
            "type" : "string",
            "description" : "Fixed driver value shape; not an editable configuration ValueType. ARRAY contains strings validated by Format.",
            "enum" : [ "STRING", "BOOLEAN", "ARRAY" ]
          }
        }
      },
      "CommDriverRecipient" : {
        "type" : "object",
        "description" : "Required routing input, separate from Parameters and template Subject/Body. Omitted when an extension driver does not declare recipient metadata.",
        "properties" : {
          "BindingField" : {
            "type" : "string",
            "description" : "Binding field used when RecipientSource=CONTEXT. REQUEST uses the matching request Recipient. Not a Parameters key."
          },
          "Description" : {
            "type" : "string"
          },
          "DescriptionLabel" : {
            "type" : "string",
            "description" : "Platform UI Label code for Description; Description is the English fallback."
          },
          "Label" : {
            "type" : "string",
            "description" : "Platform UI Label code for the recipient display name."
          },
          "MaxLength" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Maximum resolved nonblank address length, without line breaks.",
            "minimum" : 1
          },
          "Multiple" : {
            "type" : "boolean",
            "description" : "Whether this driver accepts a native EMAIL To-address array in addition to a single address. No delimiter parsing."
          },
          "Required" : {
            "type" : "boolean"
          },
          "Sources" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "enum" : [ "CONTEXT", "REQUEST" ]
            }
          }
        }
      },
      "CommDriverType" : {
        "type" : "object",
        "properties" : {
          "DocumentOperations" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "enum" : [ "GENERATE", "ARCHIVE" ]
            }
          },
          "DriverType" : {
            "type" : "string"
          },
          "LookupOperations" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "enum" : [ "GENERATE", "ARCHIVE" ]
            }
          },
          "Parameters" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommDriverParameter"
            }
          },
          "RecipientAddress" : {
            "$ref" : "#/components/schemas/CommDriverRecipient"
          },
          "SupportedKinds" : {
            "type" : "array",
            "items" : {
              "type" : "string",
              "enum" : [ "DELIVERY", "DOCUMENT" ]
            }
          },
          "SupportsLocalTemplateFiles" : {
            "type" : "boolean"
          },
          "SupportsMixedTemplateInputs" : {
            "type" : "boolean"
          }
        }
      },
      "CommDriverTypeCatalog" : {
        "type" : "object",
        "properties" : {
          "Drivers" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommDriverType"
            }
          }
        }
      },
      "CommEffectivePolicies" : {
        "type" : "object",
        "description" : "Current Binding-linked DeliveryPolicy metadata/revision plus resolved preference, strategy and retry settings. DeliveryPolicySource=NONE means no linked policy; unavailable linked policies are diagnosed, never treated as unrestricted. No quotas or current workday eligibility are evaluated.",
        "properties" : {
          "DeliveryPolicy" : {
            "$ref" : "#/components/schemas/CommDeliveryPolicyDetail"
          },
          "DeliveryPolicyAvailable" : {
            "type" : "boolean"
          },
          "DeliveryPolicyId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DeliveryPolicySource" : {
            "type" : "string"
          },
          "DeliveryStrategy" : {
            "type" : "string"
          },
          "DeliveryStrategySource" : {
            "type" : "string"
          },
          "MaxAttempts" : {
            "type" : "integer",
            "format" : "int32"
          },
          "PreferencePolicy" : {
            "type" : "string"
          },
          "RetryBackoffMultiplier" : {
            "type" : "number"
          },
          "RetryInitialDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RetryMaxDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RetryPolicySource" : {
            "type" : "string"
          }
        }
      },
      "CommErrorDetail" : {
        "type" : "object",
        "description" : "Retained error for one Attempt. Historical rows may have Available=false.",
        "properties" : {
          "AttemptId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Available" : {
            "type" : "boolean"
          },
          "Diagnostic" : {
            "$ref" : "#/components/schemas/CommErrorDiagnostic"
          },
          "ErrorCode" : {
            "type" : "string"
          },
          "ErrorMessage" : {
            "type" : "string"
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Masked" : {
            "type" : "boolean"
          },
          "TaskId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TraceId" : {
            "type" : "string"
          }
        }
      },
      "CommErrorDiagnostic" : {
        "type" : "object",
        "description" : "Private failure evidence. Free-text fields require explicit original access.",
        "properties" : {
          "ExceptionType" : {
            "type" : "string"
          },
          "HttpStatus" : {
            "type" : "integer",
            "format" : "int32"
          },
          "Message" : {
            "type" : "string"
          },
          "ResponseBody" : {
            "type" : "string"
          },
          "ResponseTraceId" : {
            "type" : "string"
          },
          "StackTrace" : {
            "type" : "string"
          }
        }
      },
      "CommExecutionAction" : {
        "type" : "object",
        "properties" : {
          "Action" : {
            "type" : "string",
            "enum" : [ "RETRY", "RECOVER", "RECONCILE", "CANCEL", "STOP_RETRIES", "SUBMIT_RESULT" ]
          },
          "Allowed" : {
            "type" : "boolean"
          },
          "ReasonCode" : {
            "type" : "string"
          },
          "ReasonParams" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          }
        }
      },
      "CommExecutionActionEligibility" : {
        "type" : "object",
        "properties" : {
          "Actions" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommExecutionAction"
            }
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommExecutionActionRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "ExpectedRevision" : {
            "type" : "integer",
            "format" : "int64"
          }
        },
        "required" : [ "ExecutionId", "ExpectedRevision" ]
      },
      "CommExecutionAlertPage" : {
        "type" : "object",
        "properties" : {
          "ElementsInCurrentPage" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommExecutionAlertSummary"
            }
          },
          "NumberOfElementsInCurrentPage" : {
            "type" : "integer",
            "format" : "int32"
          },
          "TotalElements" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TotalPages" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "CommExecutionAlertSummary" : {
        "type" : "object",
        "properties" : {
          "AcceptedAt" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "AlertEventId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "AttemptId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "IncidentId" : {
            "type" : "string"
          },
          "NextPublishAt" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "OccurredAt" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "PublicationStatus" : {
            "type" : "string"
          },
          "PublishAttempts" : {
            "type" : "integer",
            "format" : "int32"
          },
          "Scope" : {
            "type" : "string"
          },
          "Transition" : {
            "type" : "string"
          }
        }
      },
      "CommExecutionAttempt" : {
        "type" : "object",
        "properties" : {
          "AdmissionMode" : {
            "type" : "string",
            "description" : "Dispatch history metadata; null for unavailable historical evidence"
          },
          "AttemptId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "AttemptNo" : {
            "type" : "integer",
            "format" : "int32"
          },
          "AttemptOrigin" : {
            "type" : "string",
            "enum" : [ "AUTOMATIC", "MANUAL" ]
          },
          "CompleteTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "DispatchExecutionMs" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Measured milliseconds; null means unavailable"
          },
          "DispatchGeneration" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Dispatch history metadata; null for unavailable historical evidence"
          },
          "DispatchPodId" : {
            "type" : "string",
            "description" : "Dispatch history metadata; null for unavailable historical evidence"
          },
          "DispatchQueueWaitMs" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Measured milliseconds; null means unavailable"
          },
          "DispatchReadyAt" : {
            "type" : "string",
            "description" : "Dispatch history metadata; null for unavailable historical evidence Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "DispatchRequestedAt" : {
            "type" : "string",
            "description" : "Dispatch history metadata; null for unavailable historical evidence Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "ErrorCode" : {
            "type" : "string"
          },
          "ErrorMessage" : {
            "type" : "string",
            "description" : "A safe summary derived from a known failure code; unknown driver/provider errors use a generic message. Never contains raw provider responses or exception details."
          },
          "InvocationFinishedAt" : {
            "type" : "string",
            "description" : "Dispatch history metadata; null for unavailable historical evidence Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "InvocationStartedAt" : {
            "type" : "string",
            "description" : "Dispatch history metadata; null for unavailable historical evidence Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "ProviderRef" : {
            "type" : "string"
          },
          "ProviderTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "ReceiptDeadline" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "Retryable" : {
            "type" : "string"
          },
          "ServiceResponseMs" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Measured milliseconds; null means unavailable"
          },
          "Status" : {
            "type" : "string",
            "description" : "Persisted attempt state; an uncertain provider outcome is exposed separately and is not a persisted UNKNOWN enum.",
            "enum" : [ "COMPLETED", "CLAIMED", "SUBMITTED", "ACCEPTED", "DELIVERED", "FAILED", "ABANDONED" ]
          },
          "SubmitTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "TimingComplete" : {
            "type" : "string",
            "description" : "Dispatch history metadata; null for unavailable historical evidence"
          },
          "TraceId" : {
            "type" : "string",
            "description" : "Trace identifier recorded for this attempt; may be absent in historical data. Use it with ExecutionId and AttemptId to correlate logs."
          },
          "WaitReason" : {
            "type" : "string",
            "description" : "Dispatch history metadata; null for unavailable historical evidence"
          }
        }
      },
      "CommExecutionAttemptPage" : {
        "type" : "object",
        "properties" : {
          "ElementsInCurrentPage" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommExecutionAttempt"
            }
          },
          "NumberOfElementsInCurrentPage" : {
            "type" : "integer",
            "format" : "int32"
          },
          "TotalElements" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TotalPages" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "CommExecutionCallbackRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "For DELIVERY, Status is required and Operation, FileKey and DocumentResult must be omitted or null. GENERATE requires Operation and DocumentResult with COMPLETE or FAILED status, and forbids non-null FileKey. ARCHIVE also requires FileKey. Document operations forbid non-null delivery status/provider/error/retry fields. The API validates these conditions.",
        "properties" : {
          "DocumentResult" : {
            "$ref" : "#/components/schemas/CommDocumentOperationResult"
          },
          "ErrorCode" : {
            "type" : [ "string", "null" ]
          },
          "EvidenceReference" : {
            "deprecated" : true,
            "description" : "Operator-only field; omission is preferred, legacy explicit null is tolerated. Non-null values are rejected by the API."
          },
          "FileKey" : {
            "type" : [ "string", "null" ]
          },
          "Operation" : {
            "type" : [ "string", "null" ],
            "enum" : [ "GENERATE", "ARCHIVE", null ]
          },
          "ProviderMessage" : {
            "type" : [ "string", "null" ]
          },
          "ProviderRef" : {
            "type" : [ "string", "null" ]
          },
          "ProviderTimestamp" : {
            "type" : [ "string", "null" ],
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "Retryable" : {
            "type" : [ "boolean", "null" ]
          },
          "Status" : {
            "type" : [ "string", "null" ],
            "description" : "DELIVERY receipt status, required only for DELIVERY. DOCUMENT uses Operation/FileKey/DocumentResult.",
            "enum" : [ "ACCEPTED", "DELIVERED", "FAILED", null ]
          },
          "VerificationReason" : {
            "deprecated" : true,
            "description" : "Operator-only field; omission is preferred, legacy explicit null is tolerated. Non-null values are rejected by the API."
          }
        }
      },
      "CommExecutionDetail" : {
        "type" : "object",
        "properties" : {
          "ArchiveReason" : {
            "type" : "string"
          },
          "ArchiveRevision" : {
            "type" : "integer",
            "format" : "int64"
          },
          "ArchiveState" : {
            "type" : "string",
            "enum" : [ "NOT_APPLICABLE", "PENDING", "AVAILABLE", "FAILED", "ABANDONED" ],
            "readOnly" : true
          },
          "AttemptCount" : {
            "type" : "integer",
            "format" : "int32"
          },
          "Attempts" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommExecutionAttempt"
            }
          },
          "AttemptsHasMore" : {
            "type" : "boolean"
          },
          "AwaitingReceiptExpired" : {
            "type" : "boolean"
          },
          "Channel" : {
            "type" : "string"
          },
          "CompletionSatisfied" : {
            "type" : "boolean",
            "readOnly" : true
          },
          "CustomerId" : {
            "type" : "string",
            "readOnly" : true
          },
          "DeliveredTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "DeliveryPolicyId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DeliveryStrategy" : {
            "type" : "string"
          },
          "DeliveryStrategySource" : {
            "type" : "string"
          },
          "DispatchGeneration" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DispatchReadyAt" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "DispatchRequestedAt" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "DispatchStatus" : {
            "type" : "string"
          },
          "ErrorCode" : {
            "type" : "string"
          },
          "ErrorMessage" : {
            "type" : "string",
            "description" : "Localized business message or safe summary derived from a known failure code; unknown technical errors use a generic message. Never contains raw provider responses or exception details."
          },
          "Events" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommExecutionEvent"
            }
          },
          "EventsHasMore" : {
            "type" : "boolean"
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "ExpireTime" : {
            "type" : "string",
            "description" : "Task TTL deadline; undispatched messages become EXPIRED past it. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "FileTotal" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Files" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommExecutionFile"
            }
          },
          "Finished" : {
            "type" : "boolean",
            "readOnly" : true
          },
          "InsertTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "LastSubmitTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "MaxAttempt" : {
            "type" : "integer",
            "format" : "int32"
          },
          "NeedsAttention" : {
            "type" : "boolean",
            "readOnly" : true
          },
          "NextExecuteTime" : {
            "type" : "string",
            "description" : "Earliest dispatch time while the message is SCHEDULED (ExecuteAt or quiet-hours release). Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "NextRetryTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "OrderNo" : {
            "type" : "integer",
            "format" : "int32"
          },
          "OutcomeClass" : {
            "type" : "string"
          },
          "OutcomeCode" : {
            "type" : "string"
          },
          "OutcomeUncertain" : {
            "type" : "string"
          },
          "OutputContract" : {
            "$ref" : "#/components/schemas/CommFileOutputContract"
          },
          "PageCount" : {
            "type" : "integer",
            "format" : "int32"
          },
          "PageIndex" : {
            "type" : "integer",
            "format" : "int32"
          },
          "PageSize" : {
            "type" : "integer",
            "format" : "int32"
          },
          "Payload" : {
            "type" : "object",
            "additionalProperties" : true,
            "description" : "Redacted payload; omitted when it cannot be safely exposed."
          },
          "PreferencePolicy" : {
            "type" : "string"
          },
          "ReceiptDeadline" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "ReceiptEvidence" : {
            "type" : "string",
            "enum" : [ "ACCEPTED", "DELIVERED", "FAILED" ],
            "readOnly" : true
          },
          "ReceiptMode" : {
            "type" : "string"
          },
          "ReceiptTimeoutSeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RecipientAddress" : {
            "type" : "string",
            "description" : "Masked recipient address."
          },
          "RecipientId" : {
            "type" : "string"
          },
          "RecipientRole" : {
            "type" : "string"
          },
          "RefNumber" : {
            "type" : "string",
            "readOnly" : true
          },
          "RefType" : {
            "type" : "string",
            "readOnly" : true
          },
          "RelevantRenderId" : {
            "type" : "string"
          },
          "RenderUsageTotal" : {
            "type" : "integer",
            "format" : "int64"
          },
          "RenderUsages" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommExecutionRenderUsage"
            }
          },
          "RetryBackoffMultiplier" : {
            "type" : "number"
          },
          "RetryDisabled" : {
            "type" : "string"
          },
          "RetryInitialDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RetryMaxDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RetryPolicySource" : {
            "type" : "string"
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64",
            "readOnly" : true
          },
          "ServiceCode" : {
            "type" : "string"
          },
          "ServiceKind" : {
            "type" : "string",
            "enum" : [ "DELIVERY", "DOCUMENT" ],
            "readOnly" : true
          },
          "Status" : {
            "type" : "string",
            "description" : "Persisted execution lifecycle state. Uncertainty is exposed through OutcomeUncertain; submission progress can separately project UNKNOWN.",
            "enum" : [ "WAITING", "SCHEDULED", "READY", "SUBMITTED", "ACCEPTED", "COMPLETED", "FAILED", "SKIPPED", "CANCELLED", "EXPIRED" ]
          },
          "TaskId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TemplateCode" : {
            "type" : "string"
          },
          "TraceId" : {
            "type" : "string",
            "description" : "Trace of the latest claimed attempt. Earlier attempt traces remain in Attempts. Absent before dispatch or in older history."
          }
        }
      },
      "CommExecutionEvent" : {
        "type" : "object",
        "properties" : {
          "AttemptId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DispatchGeneration" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Dispatch history metadata; null for unavailable historical evidence"
          },
          "DispatchQueueWaitMs" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Measured milliseconds; null means unavailable"
          },
          "DispatchReadyAt" : {
            "type" : "string",
            "description" : "Dispatch history metadata; null for unavailable historical evidence Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "DispatchRequestId" : {
            "type" : "string",
            "description" : "Dispatch history metadata; null for unavailable historical evidence"
          },
          "DispatchRequestedAt" : {
            "type" : "string",
            "description" : "Dispatch history metadata; null for unavailable historical evidence Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "EventId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "EventSource" : {
            "type" : "string"
          },
          "EventTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "EventType" : {
            "type" : "string"
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "FromStatus" : {
            "type" : "string"
          },
          "Operator" : {
            "type" : "string"
          },
          "RetryReason" : {
            "type" : "string",
            "description" : "Dispatch history metadata; null for unavailable historical evidence"
          },
          "TimingComplete" : {
            "type" : "string",
            "description" : "Dispatch history metadata; null for unavailable historical evidence"
          },
          "ToStatus" : {
            "type" : "string"
          },
          "TraceId" : {
            "type" : "string"
          },
          "WaitReason" : {
            "type" : "string",
            "description" : "Dispatch history metadata; null for unavailable historical evidence"
          }
        }
      },
      "CommExecutionEventPage" : {
        "type" : "object",
        "properties" : {
          "ElementsInCurrentPage" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommExecutionEvent"
            }
          },
          "NumberOfElementsInCurrentPage" : {
            "type" : "integer",
            "format" : "int32"
          },
          "TotalElements" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TotalPages" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "CommExecutionFile" : {
        "type" : "object",
        "properties" : {
          "AttemptId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DocId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "FileKey" : {
            "type" : "string"
          },
          "FileName" : {
            "type" : "string"
          },
          "MediaType" : {
            "type" : "string"
          },
          "MessageFileId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Execution output file identity. MessageFileId is the retained v1 wire name and messageFileId is its download selector."
          },
          "RenderId" : {
            "type" : "string"
          },
          "Role" : {
            "type" : "string"
          },
          "SizeBytes" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommExecutionFilePage" : {
        "type" : "object",
        "description" : "Composite page: Files and RenderUsages use the same PageIndex/PageSize independently, with separate totals. PageCount is the maximum of their page counts.",
        "properties" : {
          "FileTotal" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Files" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommExecutionFile"
            }
          },
          "PageCount" : {
            "type" : "integer",
            "format" : "int32"
          },
          "PageIndex" : {
            "type" : "integer",
            "format" : "int32"
          },
          "PageSize" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RenderUsageTotal" : {
            "type" : "integer",
            "format" : "int64"
          },
          "RenderUsages" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommExecutionRenderUsage"
            }
          }
        }
      },
      "CommExecutionOperation" : {
        "type" : "object",
        "properties" : {
          "CompletedAt" : {
            "type" : "string",
            "description" : "UTC local date-time without offset or zone; date-only means midnight UTC. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "DocId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "FileKey" : {
            "type" : "string"
          },
          "Operation" : {
            "type" : "string",
            "enum" : [ "GENERATE", "ARCHIVE" ]
          },
          "OperationId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "ReasonCode" : {
            "type" : "string"
          },
          "StartedAt" : {
            "type" : "string",
            "description" : "UTC local date-time without offset or zone; date-only means midnight UTC. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "State" : {
            "type" : "string",
            "enum" : [ "PENDING", "UNKNOWN", "SUCCESS", "FAILED" ]
          },
          "UpdatedAt" : {
            "type" : "string",
            "description" : "UTC local date-time without offset or zone; date-only means midnight UTC. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          }
        }
      },
      "CommExecutionOperationPage" : {
        "type" : "object",
        "properties" : {
          "ElementsInCurrentPage" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommExecutionOperation"
            }
          },
          "NumberOfElementsInCurrentPage" : {
            "type" : "integer",
            "format" : "int32"
          },
          "TotalElements" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TotalPages" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "CommExecutionPage" : {
        "type" : "object",
        "properties" : {
          "ElementsInCurrentPage" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommExecutionSearchRow"
            }
          },
          "NumberOfElementsInCurrentPage" : {
            "type" : "integer",
            "format" : "int32"
          },
          "TotalElements" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TotalPages" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "CommExecutionRenderUsage" : {
        "type" : "object",
        "properties" : {
          "AttemptId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "RenderId" : {
            "type" : "string"
          }
        }
      },
      "CommExecutionRequestSnapshotRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "AttemptId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Optional attempt belonging to this Execution. Omit to select ActiveAttemptId. Never substitutes another execution's attempt.",
            "minimum" : 1
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        },
        "required" : [ "ExecutionId" ]
      },
      "CommExecutionResult" : {
        "type" : "object",
        "properties" : {
          "AttemptId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Channel" : {
            "type" : "string"
          },
          "ErrorCode" : {
            "type" : "string"
          },
          "ErrorMessage" : {
            "type" : "string",
            "description" : "Localized business message or safe summary derived from a known failure code; unknown technical errors use a generic message. Never contains raw provider responses or exception details."
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "NeedsAttention" : {
            "type" : "boolean"
          },
          "NextAttemptAt" : {
            "type" : "string",
            "description" : "Next eligible retry or scheduled execution time in UTC; absent when none is scheduled. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "OutcomeClass" : {
            "type" : "string",
            "enum" : [ "SUPPRESSION", "CONFIGURATION", "REQUEST_DATA", "PROVIDER", "SYSTEM", "OPERATOR" ]
          },
          "OutcomeCode" : {
            "type" : "string"
          },
          "OutcomeUncertain" : {
            "type" : "boolean"
          },
          "ReceiptEvidence" : {
            "type" : "string",
            "enum" : [ "ACCEPTED", "DELIVERED", "FAILED" ]
          },
          "ReceiptMode" : {
            "type" : "string",
            "enum" : [ "DELIVERED", "ACCEPTED" ]
          },
          "ReceiptPending" : {
            "type" : "boolean"
          },
          "RecipientRole" : {
            "type" : "string"
          },
          "Status" : {
            "type" : "string",
            "description" : "Execution progress. UNKNOWN is a public projection of an uncertain outcome, not a persisted lifecycle state.",
            "enum" : [ "WAITING", "SCHEDULED", "READY", "SUBMITTED", "ACCEPTED", "COMPLETED", "FAILED", "SKIPPED", "CANCELLED", "EXPIRED", "UNKNOWN" ]
          }
        }
      },
      "CommExecutionRetryRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "ExpectedRevision" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Reason" : {
            "type" : "string",
            "description" : "Operator-supplied reason recorded with the durable manual retry request."
          },
          "RequestId" : {
            "type" : "string"
          }
        },
        "required" : [ "ExecutionId", "ExpectedRevision", "Reason", "RequestId" ]
      },
      "CommExecutionRetryResult" : {
        "type" : "object",
        "properties" : {
          "Accepted" : {
            "type" : "boolean"
          },
          "AttemptId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DispatchGeneration" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Duplicate" : {
            "type" : "boolean"
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Ignored" : {
            "type" : "boolean"
          },
          "Reason" : {
            "type" : "string"
          },
          "RequestId" : {
            "type" : "string"
          },
          "RetryScheduled" : {
            "type" : "boolean"
          },
          "Status" : {
            "type" : "string"
          }
        }
      },
      "CommExecutionSearchRow" : {
        "type" : "object",
        "properties" : {
          "ArchiveState" : {
            "type" : "string",
            "enum" : [ "NOT_APPLICABLE", "PENDING", "AVAILABLE", "FAILED", "ABANDONED" ],
            "readOnly" : true
          },
          "AttemptCount" : {
            "type" : "integer",
            "format" : "int32"
          },
          "AwaitingReceiptExpired" : {
            "type" : "boolean"
          },
          "Channel" : {
            "type" : "string"
          },
          "CompletionSatisfied" : {
            "type" : "boolean",
            "readOnly" : true
          },
          "CustomerId" : {
            "type" : "string",
            "readOnly" : true
          },
          "DeliveredTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "DeliveryPolicyId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DeliveryStrategy" : {
            "type" : "string"
          },
          "DeliveryStrategySource" : {
            "type" : "string"
          },
          "DispatchGeneration" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DispatchReadyAt" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "DispatchRequestedAt" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "DispatchStatus" : {
            "type" : "string"
          },
          "ErrorCode" : {
            "type" : "string"
          },
          "ErrorMessage" : {
            "type" : "string",
            "description" : "Localized business message or safe summary derived from a known failure code; unknown technical errors use a generic message. Never contains raw provider responses or exception details."
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Finished" : {
            "type" : "boolean",
            "readOnly" : true
          },
          "InsertTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "LastSubmitTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "MaxAttempt" : {
            "type" : "integer",
            "format" : "int32"
          },
          "NeedsAttention" : {
            "type" : "boolean",
            "readOnly" : true
          },
          "OrderNo" : {
            "type" : "integer",
            "format" : "int32"
          },
          "OutcomeClass" : {
            "type" : "string"
          },
          "OutcomeCode" : {
            "type" : "string"
          },
          "OutcomeUncertain" : {
            "type" : "string"
          },
          "PreferencePolicy" : {
            "type" : "string"
          },
          "ProviderRef" : {
            "type" : "string"
          },
          "ReceiptDeadline" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "ReceiptEvidence" : {
            "type" : "string",
            "enum" : [ "ACCEPTED", "DELIVERED", "FAILED" ],
            "readOnly" : true
          },
          "ReceiptMode" : {
            "type" : "string"
          },
          "ReceiptTimeoutSeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RecipientAddress" : {
            "type" : "string",
            "description" : "Masked recipient address."
          },
          "RecipientId" : {
            "type" : "string"
          },
          "RecipientRole" : {
            "type" : "string"
          },
          "RefNumber" : {
            "type" : "string",
            "readOnly" : true
          },
          "RefType" : {
            "type" : "string",
            "readOnly" : true
          },
          "RetryBackoffMultiplier" : {
            "type" : "number"
          },
          "RetryDisabled" : {
            "type" : "string"
          },
          "RetryInitialDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RetryMaxDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RetryPolicySource" : {
            "type" : "string"
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64",
            "readOnly" : true
          },
          "ServiceCode" : {
            "type" : "string"
          },
          "ServiceKind" : {
            "type" : "string",
            "enum" : [ "DELIVERY", "DOCUMENT" ],
            "readOnly" : true
          },
          "Status" : {
            "type" : "string",
            "description" : "Persisted execution lifecycle state. Uncertainty is exposed through OutcomeUncertain; submission progress can separately project UNKNOWN.",
            "enum" : [ "WAITING", "SCHEDULED", "READY", "SUBMITTED", "ACCEPTED", "COMPLETED", "FAILED", "SKIPPED", "CANCELLED", "EXPIRED" ]
          },
          "TaskId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TraceId" : {
            "type" : "string",
            "description" : "Trace of the latest claimed attempt. Earlier attempt traces remain in Attempts. Absent before dispatch or in older history."
          }
        }
      },
      "CommExecutionStopRetriesResult" : {
        "type" : "object",
        "properties" : {
          "Duplicate" : {
            "type" : "boolean"
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "RetryDisabled" : {
            "type" : "string"
          }
        }
      },
      "CommExecutionSummary" : {
        "type" : "object",
        "properties" : {
          "ArchiveState" : {
            "type" : "string",
            "enum" : [ "NOT_APPLICABLE", "PENDING", "AVAILABLE", "FAILED", "ABANDONED" ],
            "readOnly" : true
          },
          "AttemptCount" : {
            "type" : "integer",
            "format" : "int32"
          },
          "AwaitingReceiptExpired" : {
            "type" : "boolean"
          },
          "Channel" : {
            "type" : "string"
          },
          "CompletionSatisfied" : {
            "type" : "boolean",
            "readOnly" : true
          },
          "CustomerId" : {
            "type" : "string",
            "readOnly" : true
          },
          "DeliveryPolicyId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DeliveryStrategy" : {
            "type" : "string"
          },
          "DeliveryStrategySource" : {
            "type" : "string"
          },
          "DispatchGeneration" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DispatchReadyAt" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "DispatchRequestedAt" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "DispatchStatus" : {
            "type" : "string"
          },
          "ErrorCode" : {
            "type" : "string"
          },
          "ErrorMessage" : {
            "type" : "string",
            "description" : "Localized business message or safe summary derived from a known failure code; unknown technical errors use a generic message. Never contains raw provider responses or exception details."
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Finished" : {
            "type" : "boolean",
            "readOnly" : true
          },
          "MaxAttempt" : {
            "type" : "integer",
            "format" : "int32"
          },
          "NeedsAttention" : {
            "type" : "boolean",
            "readOnly" : true
          },
          "OrderNo" : {
            "type" : "integer",
            "format" : "int32"
          },
          "OutcomeClass" : {
            "type" : "string"
          },
          "OutcomeCode" : {
            "type" : "string"
          },
          "OutcomeUncertain" : {
            "type" : "string"
          },
          "PreferencePolicy" : {
            "type" : "string"
          },
          "ReceiptDeadline" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "ReceiptEvidence" : {
            "type" : "string",
            "enum" : [ "ACCEPTED", "DELIVERED", "FAILED" ],
            "readOnly" : true
          },
          "ReceiptMode" : {
            "type" : "string"
          },
          "ReceiptTimeoutSeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RecipientAddress" : {
            "type" : "string",
            "description" : "Masked recipient address."
          },
          "RecipientId" : {
            "type" : "string"
          },
          "RecipientRole" : {
            "type" : "string"
          },
          "RefNumber" : {
            "type" : "string",
            "readOnly" : true
          },
          "RefType" : {
            "type" : "string",
            "readOnly" : true
          },
          "RetryBackoffMultiplier" : {
            "type" : "number"
          },
          "RetryDisabled" : {
            "type" : "string"
          },
          "RetryInitialDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RetryMaxDelaySeconds" : {
            "type" : "integer",
            "format" : "int32"
          },
          "RetryPolicySource" : {
            "type" : "string"
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64",
            "readOnly" : true
          },
          "ServiceCode" : {
            "type" : "string"
          },
          "ServiceKind" : {
            "type" : "string",
            "enum" : [ "DELIVERY", "DOCUMENT" ],
            "readOnly" : true
          },
          "Status" : {
            "type" : "string",
            "description" : "Persisted execution lifecycle state. Uncertainty is exposed through OutcomeUncertain; submission progress can separately project UNKNOWN.",
            "enum" : [ "WAITING", "SCHEDULED", "READY", "SUBMITTED", "ACCEPTED", "COMPLETED", "FAILED", "SKIPPED", "CANCELLED", "EXPIRED" ]
          },
          "TraceId" : {
            "type" : "string",
            "description" : "Trace of the latest claimed attempt. Earlier attempt traces remain in Attempts. Absent before dispatch or in older history."
          }
        }
      },
      "CommFileLimits" : {
        "type" : "object",
        "additionalProperties" : true,
        "description" : "Explicit file CommFileLimitsVO contract.",
        "properties" : {
          "MaxFileBytes" : {
            "type" : "integer",
            "format" : "int64"
          },
          "MaxFiles" : {
            "type" : "integer",
            "format" : "int32"
          },
          "MaxTotalBytes" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommFileLimitsInput" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Explicit file Limits contract.",
        "properties" : {
          "MaxFileBytes" : {
            "type" : "integer",
            "format" : "int64"
          },
          "MaxFiles" : {
            "type" : "integer",
            "format" : "int32"
          },
          "MaxTotalBytes" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommFileOutputContract" : {
        "type" : "object",
        "additionalProperties" : true,
        "description" : "NONE or complete FIXED/DYNAMIC archival obligation frozen at acceptance.",
        "properties" : {
          "ArchiveRequirement" : {
            "type" : "string",
            "enum" : [ "NONE", "OPTIONAL", "REQUIRED" ]
          },
          "Entries" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommFileOutputEntry"
            }
          },
          "Limits" : {
            "$ref" : "#/components/schemas/CommFileLimits"
          },
          "Mode" : {
            "type" : "string",
            "enum" : [ "FIXED", "DYNAMIC" ]
          },
          "Roles" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommFileOutputRole"
            }
          }
        }
      },
      "CommFileOutputContractInput" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "NONE or complete FIXED/DYNAMIC archival obligation frozen at acceptance.",
        "properties" : {
          "ArchiveRequirement" : {
            "type" : "string",
            "enum" : [ "NONE", "OPTIONAL", "REQUIRED" ]
          },
          "Entries" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommFileOutputEntryInput"
            }
          },
          "Limits" : {
            "$ref" : "#/components/schemas/CommFileLimitsInput"
          },
          "Mode" : {
            "type" : "string",
            "enum" : [ "FIXED", "DYNAMIC" ]
          },
          "Roles" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommFileOutputRoleInput"
            }
          }
        }
      },
      "CommFileOutputEntry" : {
        "type" : "object",
        "additionalProperties" : true,
        "description" : "Explicit file CommFileOutputEntryVO contract.",
        "properties" : {
          "FileKey" : {
            "type" : "string"
          },
          "Role" : {
            "type" : "string"
          }
        }
      },
      "CommFileOutputEntryInput" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Explicit file OutputEntry contract.",
        "properties" : {
          "FileKey" : {
            "type" : "string"
          },
          "Role" : {
            "type" : "string"
          }
        }
      },
      "CommFileOutputManifest" : {
        "type" : [ "object", "null" ],
        "additionalProperties" : false,
        "description" : "Explicit file OutputManifest contract.",
        "properties" : {
          "FileCount" : {
            "type" : "integer",
            "format" : "int32"
          },
          "Files" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommOutputFileReference"
            }
          },
          "Final" : {
            "type" : "boolean"
          }
        }
      },
      "CommFileOutputRole" : {
        "type" : "object",
        "additionalProperties" : true,
        "description" : "Explicit file CommFileOutputRoleVO contract.",
        "properties" : {
          "MaxCount" : {
            "type" : "integer",
            "format" : "int32"
          },
          "MinCount" : {
            "type" : "integer",
            "format" : "int32"
          },
          "Role" : {
            "type" : "string"
          }
        }
      },
      "CommFileOutputRoleInput" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Explicit file OutputRole contract.",
        "properties" : {
          "MaxCount" : {
            "type" : "integer",
            "format" : "int32"
          },
          "MinCount" : {
            "type" : "integer",
            "format" : "int32"
          },
          "Role" : {
            "type" : "string"
          }
        }
      },
      "CommGeneratedArtifact" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "ArtifactRef" : {
            "type" : "string"
          },
          "FileKey" : {
            "type" : "string"
          },
          "FileName" : {
            "type" : "string"
          },
          "MediaType" : {
            "type" : "string"
          },
          "Role" : {
            "type" : "string"
          },
          "SizeBytes" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommInteraction" : {
        "type" : "object",
        "properties" : {
          "AssignedTo" : {
            "type" : "string"
          },
          "Channel" : {
            "type" : "string"
          },
          "Content" : {
            "type" : "string"
          },
          "CustomerId" : {
            "type" : "string"
          },
          "Direction" : {
            "type" : "string",
            "enum" : [ "INBOUND", "OUTBOUND" ]
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Files" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommInteractionFile"
            }
          },
          "HandledBy" : {
            "type" : "string"
          },
          "HandledStatus" : {
            "type" : "string",
            "enum" : [ "NEW", "ROUTED", "CLOSED" ]
          },
          "HandledTime" : {
            "type" : "string",
            "description" : "UTC local date-time without offset or zone; date-only means midnight UTC. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "InteractionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "OccurredAt" : {
            "type" : "string",
            "description" : "UTC local date-time without offset or zone; date-only means midnight UTC. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "PreferenceApplied" : {
            "type" : "boolean"
          },
          "PreferenceReason" : {
            "type" : "string"
          },
          "RecipientId" : {
            "type" : "string"
          },
          "RecordedAt" : {
            "type" : "string",
            "description" : "UTC local date-time without offset or zone; date-only means midnight UTC. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "RecordedBy" : {
            "type" : "string"
          },
          "RefNumber" : {
            "type" : "string"
          },
          "RefType" : {
            "type" : "string"
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64"
          },
          "RoutedBy" : {
            "type" : "string"
          },
          "RoutedTime" : {
            "type" : "string",
            "description" : "UTC local date-time without offset or zone; date-only means midnight UTC. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "SourceId" : {
            "type" : "string"
          },
          "SourceSystem" : {
            "type" : "string"
          },
          "TraceId" : {
            "type" : "string"
          },
          "Type" : {
            "type" : "string",
            "enum" : [ "MESSAGE", "ACK", "FILE", "CONTACT", "OPT_OUT", "BOUNCE", "COMPLAINT" ]
          }
        }
      },
      "CommInteractionCloseRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "AssignedTo" : {
            "deprecated" : true,
            "description" : "Legacy field: omission or explicit null only. Non-null values are rejected by the API."
          },
          "ExpectedRevision" : {
            "type" : "integer",
            "format" : "int64"
          },
          "InteractionId" : {
            "type" : "integer",
            "format" : "int64"
          }
        },
        "required" : [ "ExpectedRevision", "InteractionId" ]
      },
      "CommInteractionFile" : {
        "type" : "object",
        "properties" : {
          "DocId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "FileName" : {
            "type" : "string"
          },
          "MediaType" : {
            "type" : "string"
          },
          "SizeBytes" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommInteractionFileRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "DocId" : {
            "type" : "integer",
            "format" : "int64"
          }
        },
        "required" : [ "DocId" ]
      },
      "CommInteractionLinkRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "Channel" : {
            "type" : "string"
          },
          "CustomerId" : {
            "type" : "string"
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "ExpectedRevision" : {
            "type" : "integer",
            "format" : "int64"
          },
          "InteractionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "RecipientId" : {
            "type" : "string"
          },
          "RefNumber" : {
            "type" : "string"
          },
          "RefType" : {
            "type" : "string"
          }
        },
        "required" : [ "ExpectedRevision", "InteractionId" ]
      },
      "CommInteractionPage" : {
        "type" : "object",
        "properties" : {
          "ElementsInCurrentPage" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommInteraction"
            }
          },
          "NumberOfElementsInCurrentPage" : {
            "type" : "integer",
            "format" : "int32"
          },
          "TotalElements" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TotalPages" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "CommInteractionRecordRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "Channel" : {
            "type" : "string"
          },
          "Content" : {
            "type" : "string"
          },
          "CustomerId" : {
            "type" : "string"
          },
          "Direction" : {
            "type" : "string",
            "enum" : [ "INBOUND", "OUTBOUND" ]
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Files" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommInteractionFileRequest"
            }
          },
          "OccurredAt" : {
            "type" : "string",
            "description" : "Optional tenant-local date-time without offset or zone; DST gap/overlap values are rejected. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "RecipientId" : {
            "type" : "string"
          },
          "RefNumber" : {
            "type" : "string"
          },
          "RefType" : {
            "type" : "string"
          },
          "SourceId" : {
            "type" : "string"
          },
          "SourceSystem" : {
            "type" : "string"
          },
          "Type" : {
            "type" : "string",
            "enum" : [ "MESSAGE", "ACK", "FILE", "CONTACT", "OPT_OUT", "BOUNCE", "COMPLAINT" ]
          }
        },
        "required" : [ "SourceId", "SourceSystem", "Type" ]
      },
      "CommInteractionRecordedContent" : {
        "type" : "object",
        "additionalProperties" : true,
        "properties" : {
          "Channel" : {
            "type" : "string"
          },
          "Content" : {
            "type" : "string"
          },
          "CustomerId" : {
            "type" : "string"
          },
          "Direction" : {
            "type" : "string",
            "enum" : [ "INBOUND", "OUTBOUND" ]
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Files" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommInteractionRecordedFile"
            }
          },
          "OccurredAt" : {
            "type" : "string",
            "description" : "Optional tenant-local date-time without offset or zone; DST gap/overlap values are rejected. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "RecipientId" : {
            "type" : "string"
          },
          "RefNumber" : {
            "type" : "string"
          },
          "RefType" : {
            "type" : "string"
          },
          "SourceId" : {
            "type" : "string"
          },
          "SourceSystem" : {
            "type" : "string"
          },
          "Type" : {
            "type" : "string",
            "enum" : [ "MESSAGE", "ACK", "FILE", "CONTACT", "OPT_OUT", "BOUNCE", "COMPLAINT" ]
          }
        },
        "required" : [ "SourceId", "SourceSystem", "Type" ]
      },
      "CommInteractionRecordedFile" : {
        "type" : "object",
        "additionalProperties" : true,
        "properties" : {
          "DocId" : {
            "type" : "integer",
            "format" : "int64"
          }
        },
        "required" : [ "DocId" ]
      },
      "CommInteractionRouteRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "AssignedTo" : {
            "type" : "string",
            "maxLength" : 64,
            "minLength" : 1,
            "pattern" : "\\S"
          },
          "ExpectedRevision" : {
            "type" : "integer",
            "format" : "int64"
          },
          "InteractionId" : {
            "type" : "integer",
            "format" : "int64"
          }
        },
        "required" : [ "AssignedTo", "ExpectedRevision", "InteractionId" ]
      },
      "CommOriginalContextSamplePayload" : {
        "type" : "object",
        "properties" : {
          "DefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "SamplePayload" : {
            "type" : "object",
            "additionalProperties" : true
          }
        }
      },
      "CommOriginalContextSampleRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "DefinitionId" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        },
        "required" : [ "DefinitionId" ]
      },
      "CommOriginalInteraction" : {
        "type" : "object",
        "properties" : {
          "Request" : {
            "$ref" : "#/components/schemas/CommInteractionRecordedContent"
          }
        }
      },
      "CommOriginalInteractionRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "InteractionId" : {
            "type" : "integer",
            "format" : "int64"
          }
        },
        "required" : [ "InteractionId" ]
      },
      "CommOriginalTaskPayload" : {
        "type" : "object",
        "properties" : {
          "Payload" : {
            "type" : "object",
            "additionalProperties" : true,
            "description" : "Retained original native JSON. Requires READ plus COMMHUB_DATA_UNMASK. Never returned by ordinary detail."
          },
          "TaskId" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommOriginalTaskPayloadRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "TaskId" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        },
        "required" : [ "TaskId" ]
      },
      "CommOutputFileReference" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Explicit file GeneratedFile contract.",
        "properties" : {
          "DocId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "FileKey" : {
            "type" : "string"
          },
          "FileName" : {
            "type" : "string"
          },
          "MediaType" : {
            "type" : "string"
          },
          "Role" : {
            "type" : "string"
          },
          "SizeBytes" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommParameter" : {
        "type" : "object",
        "additionalProperties" : true,
        "description" : "Source VARIABLE requires Binding and forbids Value; Required applies only to VARIABLE. Source CONSTANT requires Value, including explicit null, and forbids Binding and Required. The API validates these conditions.",
        "properties" : {
          "Binding" : {
            "type" : "string",
            "description" : "Exact Context Variable name; required for VARIABLE, forbidden for CONSTANT."
          },
          "Required" : {
            "type" : "boolean",
            "description" : "VARIABLE only; default false. Inherited Service requiredness cannot be weakened."
          },
          "Source" : {
            "type" : "string",
            "enum" : [ "VARIABLE", "CONSTANT" ]
          },
          "Value" : {
            "description" : "CONSTANT only; property required, nullable native JSON literal. Accepts a native JSON string, number, boolean, array, object or null; conditional applicability is validated by the API."
          }
        },
        "required" : [ "Source" ]
      },
      "CommParameterInput" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Source VARIABLE requires Binding and forbids Value; Required applies only to VARIABLE. Source CONSTANT requires Value, including explicit null, and forbids Binding and Required. The API validates these conditions.",
        "properties" : {
          "Binding" : {
            "type" : "string",
            "description" : "Exact Context Variable name; required for VARIABLE, forbidden for CONSTANT."
          },
          "Required" : {
            "type" : "boolean",
            "description" : "VARIABLE only; default false. Inherited Service requiredness cannot be weakened."
          },
          "Source" : {
            "type" : "string",
            "description" : "VARIABLE requires Binding and forbids Value, including null. CONSTANT requires the Value property and forbids Binding and Required, even when null or false. Switching Source must remove fields belonging to the previous source.",
            "enum" : [ "VARIABLE", "CONSTANT" ]
          },
          "Value" : {
            "description" : "CONSTANT only; property required, nullable native JSON literal. Omit this property entirely for VARIABLE, including when its value would be null. Built-in EMAIL Cc requires a native JSON array of plain email addresses; null or an empty array means no Cc. Accepts a native JSON string, number, boolean, array, object or null; conditional applicability is validated by the API."
          }
        },
        "required" : [ "Source" ]
      },
      "CommPayloadMaskingDiagnostic" : {
        "type" : "object",
        "properties" : {
          "Code" : {
            "type" : "string"
          },
          "JsonKey" : {
            "type" : "string"
          },
          "Matches" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "CommPayloadMaskingPreviewRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "Payload" : {
            "type" : "object",
            "additionalProperties" : true
          },
          "Rules" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommPayloadMaskingRule"
            }
          }
        }
      },
      "CommPayloadMaskingPreviewResult" : {
        "type" : "object",
        "properties" : {
          "Diagnostics" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommPayloadMaskingDiagnostic"
            }
          },
          "Payload" : {
            "type" : "object",
            "additionalProperties" : true
          }
        }
      },
      "CommPayloadMaskingRule" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "ExactMatch" : {
            "type" : "string"
          },
          "JsonKey" : {
            "type" : "string"
          },
          "MaskRule" : {
            "type" : "string"
          }
        }
      },
      "CommPreviewContextInput" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "Contexts" : {
            "type" : "object",
            "additionalProperties" : {
              "$ref" : "#/components/schemas/CommContextAliasInput"
            }
          },
          "Payload" : {
            "type" : "object",
            "additionalProperties" : true
          },
          "Variables" : {
            "type" : "object",
            "additionalProperties" : {
              "$ref" : "#/components/schemas/CommVariableInput"
            }
          }
        }
      },
      "CommRequestSnapshot" : {
        "type" : "object",
        "properties" : {
          "AttemptId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Available" : {
            "type" : "boolean"
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Masked" : {
            "type" : "boolean"
          },
          "Request" : {
            "type" : "object",
            "additionalProperties" : true,
            "description" : "Retained submission Request JSON or per-attempt Hub business outbound envelope. No Settings, authentication/callback credentials or binary bytes. Rendered content is fully masked in the default view."
          },
          "TaskId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TraceId" : {
            "type" : "string"
          }
        }
      },
      "CommResourceCopyRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Copy a coherent source revision to a new code in the same group. External references remain shared; runtime history is not copied.",
        "properties" : {
          "ExpectedRevision" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Last read Revision; required when changing an existing resource. Bindings use the owning Definition Revision."
          },
          "NewCode" : {
            "type" : "string",
            "description" : "Required unique target code; source group and configuration are retained.",
            "maxLength" : 100
          },
          "SourceId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Existing source resource identifier in the current tenant.",
            "minimum" : 1
          }
        },
        "required" : [ "NewCode", "SourceId" ]
      },
      "CommService" : {
        "type" : "object",
        "properties" : {
          "Description" : {
            "type" : "string"
          },
          "DriverType" : {
            "type" : "string"
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "DataIO publication group identifier; rows of a locked group cannot be published."
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64",
            "readOnly" : true
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "format" : "date-time",
            "readOnly" : true
          },
          "Parameters" : {
            "type" : "object",
            "additionalProperties" : {
              "$ref" : "#/components/schemas/CommParameter"
            }
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Current aggregate sequence; Bindings expose the owning Definition revision."
          },
          "ServiceCode" : {
            "type" : "string"
          },
          "ServiceId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "ServiceKind" : {
            "type" : "string",
            "enum" : [ "DELIVERY", "DOCUMENT" ]
          },
          "ServiceName" : {
            "type" : "string"
          },
          "Settings" : {
            "type" : "object",
            "additionalProperties" : true
          }
        }
      },
      "CommServiceSaveRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Create or save a delivery service. Existing saves replace editable fields; omitted fields are null.",
        "properties" : {
          "Description" : {
            "type" : "string",
            "description" : "Optional description of this delivery service.",
            "example" : "Email transport configuration",
            "maxLength" : 500,
            "writeOnly" : true
          },
          "DriverType" : {
            "type" : "string",
            "description" : "Code of an installed CommExecutionDriver implementation, resolved from the startup driver registry. PLATFORM_EMAIL and PLATFORM_SMS require ACCEPTED.",
            "example" : "PLATFORM_EMAIL",
            "maxLength" : 60,
            "writeOnly" : true
          },
          "ExpectedRevision" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Last read Revision; required when changing an existing resource. Bindings use the owning Definition Revision."
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Required DataIO publication group identifier; rows of a locked group cannot be published.",
            "writeOnly" : true
          },
          "Parameters" : {
            "type" : "object",
            "additionalProperties" : {
              "$ref" : "#/components/schemas/CommParameterInput"
            },
            "description" : "Named VARIABLE/CONSTANT parameter sources; omission clears local configuration."
          },
          "ServiceCode" : {
            "type" : "string",
            "description" : "Stable delivery service code referenced by delivery rules. Required for every create/save request; immutable after creation.",
            "example" : "EMAIL_SERVICE",
            "writeOnly" : true
          },
          "ServiceId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Omit or send null to create. Supply the existing delivery service identifier to save it.",
            "example" : 5001
          },
          "ServiceName" : {
            "type" : "string",
            "description" : "Nonblank display name required on create and save.",
            "example" : "Email delivery service",
            "maxLength" : 200,
            "writeOnly" : true
          },
          "Settings" : {
            "type" : "object",
            "additionalProperties" : true,
            "description" : "Driver-specific native JSON settings, validated by the selected driver. Provider and adapter routing configuration belongs here; this object is not a strict common transport schema.",
            "example" : { },
            "writeOnly" : true
          }
        },
        "required" : [ "DriverType", "GroupId", "ServiceName" ]
      },
      "CommServiceSettingsValidationRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "Channel" : {
            "type" : "string"
          },
          "DriverType" : {
            "type" : "string",
            "description" : "Installed driver identifier; its sole SupportedKinds value determines ServiceKind."
          },
          "Settings" : {
            "type" : "object",
            "additionalProperties" : true
          }
        },
        "required" : [ "DriverType" ]
      },
      "CommServiceSettingsValidationResult" : {
        "type" : "object",
        "properties" : {
          "Valid" : {
            "type" : "boolean"
          }
        }
      },
      "CommServiceSummary" : {
        "type" : "object",
        "properties" : {
          "Description" : {
            "type" : "string"
          },
          "DriverType" : {
            "type" : "string"
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64"
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64"
          },
          "ServiceCode" : {
            "type" : "string"
          },
          "ServiceId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "ServiceKind" : {
            "type" : "string",
            "enum" : [ "DELIVERY", "DOCUMENT" ]
          },
          "ServiceName" : {
            "type" : "string"
          }
        }
      },
      "CommTaskDetail" : {
        "type" : "object",
        "properties" : {
          "AcceptedTime" : {
            "type" : "string",
            "format" : "date-time",
            "description" : "Tenant-local request acceptance time recorded with the accepted configuration snapshot, including for TCC."
          },
          "AttemptOrigin" : {
            "type" : "string"
          },
          "ConfigurationSnapshotId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "ContextDefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "CustomerId" : {
            "type" : "string",
            "maxLength" : 64
          },
          "DefinitionCode" : {
            "type" : "string"
          },
          "DefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "DeliveryStrategy" : {
            "type" : "string"
          },
          "Executions" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommExecutionSummary"
            }
          },
          "ExecutionsHasMore" : {
            "type" : "boolean"
          },
          "FinishedExecutions" : {
            "type" : "integer",
            "format" : "int32"
          },
          "InsertTime" : {
            "type" : "string",
            "format" : "date-time"
          },
          "OriginalTaskId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Caller-supplied original task linkage for a new submission."
          },
          "Payload" : {
            "type" : "object",
            "additionalProperties" : true,
            "description" : "Caller Payload retained as original JSON and masked for display at read time. Read original data through the separate READ plus COMMHUB_DATA_UNMASK endpoint."
          },
          "RefNumber" : {
            "type" : "string"
          },
          "RefType" : {
            "type" : "string"
          },
          "RequestId" : {
            "type" : "string"
          },
          "SenderApp" : {
            "type" : "string"
          },
          "ServiceKind" : {
            "type" : "string",
            "enum" : [ "DELIVERY", "DOCUMENT" ],
            "readOnly" : true
          },
          "Status" : {
            "type" : "string"
          },
          "TaskId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TaskStatus" : {
            "type" : "string"
          },
          "TotalExecutions" : {
            "type" : "integer",
            "format" : "int32"
          },
          "TraceId" : {
            "type" : "string"
          }
        }
      },
      "CommTaskErrorRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "AttemptId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Optional attempt belonging to this Execution. Omit to select ActiveAttemptId. Never substitutes another execution's attempt.",
            "minimum" : 1
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          },
          "TaskId" : {
            "type" : "integer",
            "format" : "int64",
            "minimum" : 1
          }
        },
        "required" : [ "ExecutionId", "TaskId" ]
      },
      "CommTaskPage" : {
        "type" : "object",
        "properties" : {
          "ElementsInCurrentPage" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommTaskSearchRow"
            }
          },
          "NumberOfElementsInCurrentPage" : {
            "type" : "integer",
            "format" : "int32"
          },
          "TotalElements" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TotalPages" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "CommTaskRecipient" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "One address group per Channel and optional legacy Role. EMAIL Role may be omitted. Duplicate group/channel pairs are rejected; put multiple EMAIL To addresses in Addresses. Nonblank RecipientId values of eligible, nonsuppressed FALLBACK candidates within one role must agree.",
        "properties" : {
          "Address" : {
            "type" : "string",
            "description" : "Single channel destination. EMAIL accepts one plain email address here or a native Addresses array; do not supply both. Other channels retain a single address.",
            "example" : "ada@example.com"
          },
          "Addresses" : {
            "type" : "array",
            "description" : "EMAIL To destinations as a nonempty JSON array of plain email addresses, at most 512 characters per item. Use Address or Addresses, never both. One preference subject, Execution and retry apply to the entire email; no per-address customer mapping.",
            "items" : {
              "type" : "string",
              "description" : "EMAIL To destinations as a nonempty JSON array of plain email addresses, at most 512 characters per item. Use Address or Addresses, never both. One preference subject, Execution and retry apply to the entire email; no per-address customer mapping."
            }
          },
          "Channel" : {
            "type" : "string",
            "description" : "Delivery channel associated with this recipient address.",
            "example" : "EMAIL",
            "maxLength" : 40
          },
          "RecipientId" : {
            "type" : "string",
            "description" : "Preference subject identifier. Needed when the matching rule is not preference-exempt. If needed but missing, the matching message is suppressed.",
            "example" : "C-10001",
            "maxLength" : 64
          },
          "Role" : {
            "type" : "string",
            "description" : "Optional for EMAIL; omission uses the default email address group. Explicit legacy roles remain supported. Other channels require a role, normalized by trimming and uppercasing.",
            "example" : "PRIMARY",
            "maxLength" : 40
          }
        },
        "required" : [ "Channel" ]
      },
      "CommTaskSearchRow" : {
        "type" : "object",
        "properties" : {
          "CustomerId" : {
            "type" : "string",
            "maxLength" : 64
          },
          "DefinitionCode" : {
            "type" : "string"
          },
          "FinishedExecutions" : {
            "type" : "integer",
            "format" : "int32"
          },
          "InsertTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "RefNumber" : {
            "type" : "string"
          },
          "RefType" : {
            "type" : "string"
          },
          "RequestId" : {
            "type" : "string"
          },
          "Status" : {
            "type" : "string"
          },
          "TaskId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TotalExecutions" : {
            "type" : "integer",
            "format" : "int32"
          },
          "TraceId" : {
            "type" : "string"
          }
        }
      },
      "CommTaskSubmissionResult" : {
        "type" : "object",
        "properties" : {
          "CommandId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "CommandStatus" : {
            "type" : "string"
          },
          "DefinitionCode" : {
            "type" : "string"
          },
          "Duplicate" : {
            "type" : "boolean"
          },
          "ErrorCode" : {
            "type" : "string"
          },
          "ErrorMessage" : {
            "type" : "string"
          },
          "Executions" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommExecutionResult"
            }
          },
          "RequestId" : {
            "type" : "string"
          },
          "ReturnCode" : {
            "type" : "string"
          },
          "ReturnMessage" : {
            "type" : "string"
          },
          "Status" : {
            "type" : "string"
          },
          "SubmissionStatus" : {
            "type" : "string"
          },
          "TaskAvailable" : {
            "type" : "boolean"
          },
          "TaskId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TaskStatus" : {
            "type" : "string"
          }
        }
      },
      "CommTaskSubmitRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Submit envelope with caller-defined business Payload and typed attachment inputs. TraceId is captured from the request context, not supplied in this body.",
        "properties" : {
          "Attachments" : {
            "type" : "array",
            "description" : "Uploaded FileIds or authorized typed DMS references, total count limited by comm-hub.attachment.max-files (default 5). SlotKey selects the declared group; unique FileKey identifies each member. A required slot needs at least one eligible authorized member. Required attachments of enabled, condition-matched Bindings must be available before Task acceptance; missing required inputs reject submission without creating a Task or Execution. WithFiles accepts Files[FileKey] binary parts in place of FileId. CLOUD_DISK is declared but fails closed until native object authorization is connected.",
            "items" : {
              "$ref" : "#/components/schemas/CommAttachmentInput"
            }
          },
          "CustomerId" : {
            "type" : "string",
            "description" : "Optional explicit customer timeline anchor, distinct from RecipientId.",
            "maxLength" : 64
          },
          "DefinitionCode" : {
            "type" : "string",
            "description" : "Code of an enabled communication definition.",
            "example" : "POLICY_ISSUED",
            "maxLength" : 60
          },
          "ExecuteAt" : {
            "type" : "string",
            "description" : "Optional tenant-local date-time without offset or zone. Midnight may use the platform date-only form. Messages materialize immediately but stay SCHEDULED until this time; past times dispatch immediately. DST gaps and overlaps are rejected. The resolved UTC deadline is frozen at acceptance. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "ExpiresAt" : {
            "type" : "string",
            "description" : "Optional ISO-8601 TTL deadline with the same local-time and DST rules as ExecuteAt. Messages not yet dispatched past this time become EXPIRED and are never sent; must be later than ExecuteAt when both are supplied. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "InputFiles" : {
            "type" : "array",
            "description" : "Existing authorized DMS input files for ARCHIVE-only DOCUMENT services. Inapplicable to DELIVERY and DOCUMENT services that generate new output. Maximum 20; no file bytes or URLs.",
            "items" : {
              "$ref" : "#/components/schemas/CommDocumentInputFile"
            }
          },
          "OriginalTaskId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Optional tenant-local original task for a new business submission. Supply fresh Payload and a new RequestId; this link does not retry or copy the original task.",
            "minimum" : 1
          },
          "Payload" : {
            "type" : "object",
            "additionalProperties" : true,
            "description" : "Arbitrary business JSON object, at most 64 KiB when serialized. Multiple caller-defined root keys are allowed; no strict product schema is imposed. Context selectors extract shared typed variables. System routing fields, recipients and attachment references belong in the envelope. Omitted/null is treated as an empty object.",
            "example" : {
              "Event" : {
                "Type" : "ISSUED"
              },
              "Policy" : {
                "PolicyCustomer" : {
                  "Email" : "ada@example.com",
                  "Name" : "Ada Customer",
                  "PartyId" : "C-10001"
                },
                "PolicyNo" : "P-10001"
              }
            }
          },
          "Recipients" : {
            "type" : "array",
            "description" : "Optional explicit recipients for REQUEST rules. Omitted/null is an empty list; CONTEXT rules resolve their recipients from declared variables.",
            "items" : {
              "$ref" : "#/components/schemas/CommTaskRecipient"
            }
          },
          "RefNumber" : {
            "type" : "string",
            "description" : "Optional caller-defined business reference number.",
            "example" : "P-10001",
            "maxLength" : 60
          },
          "RefType" : {
            "type" : "string",
            "description" : "Optional caller-defined business reference type.",
            "example" : "POLICY",
            "maxLength" : 30
          },
          "RequestId" : {
            "type" : "string",
            "description" : "Tenant-local idempotency key. Repeating the same key and equivalent content replays the result; changing content conflicts.",
            "example" : "policy-issued-10001",
            "maxLength" : 64
          },
          "SenderApp" : {
            "type" : "string",
            "description" : "Optional name of the calling application for traceability.",
            "example" : "iComposer",
            "maxLength" : 60
          }
        },
        "required" : [ "DefinitionCode", "RequestId" ]
      },
      "CommTemplate" : {
        "type" : "object",
        "properties" : {
          "Channel" : {
            "type" : "string"
          },
          "ContentType" : {
            "type" : "string",
            "enum" : [ "TEXT", "HTML" ]
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "DataIO publication group identifier; rows of a locked group cannot be published."
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64",
            "readOnly" : true
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "format" : "date-time",
            "readOnly" : true
          },
          "ProviderTemplateReference" : {
            "type" : "string",
            "maxLength" : 200
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "ReferencedVariables" : {
            "type" : "array",
            "description" : "Read-only sorted variable names extracted from Subject and BODY. Receiver-managed files are not parsed.",
            "items" : {
              "type" : "string",
              "description" : "Read-only sorted variable names extracted from Subject and BODY. Receiver-managed files are not parsed.",
              "readOnly" : true
            },
            "readOnly" : true
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Current aggregate sequence; Bindings expose the owning Definition revision."
          },
          "Subject" : {
            "type" : "string"
          },
          "TemplateCode" : {
            "type" : "string"
          },
          "TemplateId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TemplateLanguage" : {
            "type" : "string",
            "description" : "Selected grammar for Hub-managed Subject/BODY; absent for provider-only or opaque templates.",
            "enum" : [ "FREEMARKER", "HANDLEBARS" ]
          }
        }
      },
      "CommTemplateContent" : {
        "type" : "object",
        "description" : "Stable configuration bindings and audit metadata; bytes are downloaded separately.",
        "properties" : {
          "ContentId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "ContentRole" : {
            "type" : "string"
          },
          "FileKey" : {
            "type" : "string"
          },
          "FileName" : {
            "type" : "string"
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64",
            "readOnly" : true
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "format" : "date-time",
            "readOnly" : true
          },
          "ManagementMode" : {
            "type" : "string"
          },
          "MediaType" : {
            "type" : "string"
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "SizeBytes" : {
            "type" : "integer",
            "format" : "int64"
          },
          "SortOrder" : {
            "type" : "integer",
            "format" : "int32"
          },
          "TemplateFileId" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommTemplateContentPreviewRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "Body" : {
            "type" : "string",
            "description" : "BODY in the selected FREEMARKER or HANDLEBARS TemplateLanguage; HTML forces escaping and final sanitization. Missing required values fail preview."
          },
          "Channel" : {
            "type" : "string"
          },
          "ContentType" : {
            "type" : "string",
            "enum" : [ "TEXT", "HTML" ]
          },
          "Context" : {
            "$ref" : "#/components/schemas/CommPreviewContextInput"
          },
          "ContextDefinitionId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Saved context; mutually exclusive with Context."
          },
          "SamplePayload" : {
            "type" : "object",
            "additionalProperties" : true
          },
          "Subject" : {
            "type" : "string",
            "description" : "Subject in the selected TemplateLanguage; plain-text output using declared Variables."
          },
          "TemplateLanguage" : {
            "type" : "string",
            "description" : "Grammar of Hub-managed Subject/BODY; required when Hub source is supplied. Not a customer locale.",
            "enum" : [ "FREEMARKER", "HANDLEBARS" ],
            "example" : "HANDLEBARS"
          }
        },
        "required" : [ "Body", "Channel", "ContentType", "TemplateLanguage" ]
      },
      "CommTemplateContentPreviewResult" : {
        "type" : "object",
        "properties" : {
          "BodyHtml" : {
            "type" : "string"
          },
          "BodyText" : {
            "type" : "string"
          },
          "Diagnostics" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommConfigurationPreviewDiagnostic"
            }
          },
          "Subject" : {
            "type" : "string"
          }
        }
      },
      "CommTemplateContentRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Explicit body/render contents. Omission retains bindings; empty removes them; null is invalid.",
        "properties" : {
          "ContentId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "ContentRole" : {
            "type" : "string"
          },
          "FileKey" : {
            "type" : "string"
          },
          "ManagementMode" : {
            "type" : "string"
          },
          "MediaType" : {
            "type" : "string"
          },
          "Text" : {
            "type" : "string",
            "description" : "Exact FreeMarker source for INLINE BODY; syntax/security checked on save. HTML is sanitized after rendering."
          }
        }
      },
      "CommTemplateCssProperty" : {
        "type" : "object",
        "properties" : {
          "Category" : {
            "type" : "string"
          },
          "Example" : {
            "type" : "string"
          },
          "Functions" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          },
          "Keywords" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          },
          "Name" : {
            "type" : "string"
          },
          "ValueRule" : {
            "type" : "string"
          }
        }
      },
      "CommTemplateDetail" : {
        "type" : "object",
        "properties" : {
          "Channel" : {
            "type" : "string"
          },
          "ContentType" : {
            "type" : "string",
            "enum" : [ "TEXT", "HTML" ]
          },
          "Contents" : {
            "type" : "array",
            "description" : "Stable configuration bindings and audit metadata; bytes are downloaded separately.",
            "items" : {
              "$ref" : "#/components/schemas/CommTemplateContent"
            }
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "DataIO publication group identifier; rows of a locked group cannot be published."
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64",
            "readOnly" : true
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "format" : "date-time",
            "readOnly" : true
          },
          "ProviderTemplateReference" : {
            "type" : "string",
            "maxLength" : 200
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "ReferencedVariables" : {
            "type" : "array",
            "description" : "Read-only sorted variable names extracted from Subject and BODY. Receiver-managed files are not parsed.",
            "items" : {
              "type" : "string",
              "description" : "Read-only sorted variable names extracted from Subject and BODY. Receiver-managed files are not parsed.",
              "readOnly" : true
            },
            "readOnly" : true
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Current aggregate sequence; Bindings expose the owning Definition revision."
          },
          "Subject" : {
            "type" : "string"
          },
          "TemplateCode" : {
            "type" : "string"
          },
          "TemplateId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TemplateLanguage" : {
            "type" : "string",
            "description" : "Selected grammar for Hub-managed Subject/BODY; absent for provider-only or opaque templates.",
            "enum" : [ "FREEMARKER", "HANDLEBARS" ]
          }
        }
      },
      "CommTemplateFileUploadResult" : {
        "type" : "object",
        "properties" : {
          "ContentId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "FileName" : {
            "type" : "string"
          },
          "MediaType" : {
            "type" : "string"
          },
          "SizeBytes" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommTemplateHistoryDetail" : {
        "type" : "object",
        "properties" : {
          "HistoryId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Operation" : {
            "type" : "string"
          },
          "OperationTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "Operator" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Snapshot" : {
            "$ref" : "#/components/schemas/CommTemplateHistorySnapshot"
          },
          "TemplateId" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommTemplateHistoryPage" : {
        "type" : "object",
        "properties" : {
          "Items" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommTemplateHistorySummary"
            }
          },
          "PageIndex" : {
            "type" : "integer",
            "format" : "int32"
          },
          "PageSize" : {
            "type" : "integer",
            "format" : "int32"
          },
          "Total" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommTemplateHistorySnapshot" : {
        "type" : "object",
        "properties" : {
          "Channel" : {
            "type" : "string"
          },
          "ContentType" : {
            "type" : "string",
            "enum" : [ "TEXT", "HTML" ]
          },
          "Contents" : {
            "type" : "array",
            "description" : "Stable configuration bindings and audit metadata; bytes are downloaded separately.",
            "items" : {
              "$ref" : "#/components/schemas/CommTemplateContent"
            }
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "DataIO publication group identifier; rows of a locked group cannot be published."
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64",
            "readOnly" : true
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "format" : "date-time",
            "readOnly" : true
          },
          "ProviderTemplateReference" : {
            "type" : "string",
            "maxLength" : 200
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "ReferencedVariables" : {
            "type" : "array",
            "description" : "Read-only sorted variable names extracted from Subject and BODY. Receiver-managed files are not parsed.",
            "items" : {
              "type" : "string",
              "description" : "Read-only sorted variable names extracted from Subject and BODY. Receiver-managed files are not parsed.",
              "readOnly" : true
            },
            "readOnly" : true
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Current aggregate sequence; Bindings expose the owning Definition revision."
          },
          "SnapshotSchemaVersion" : {
            "type" : "integer",
            "format" : "int32"
          },
          "Subject" : {
            "type" : "string"
          },
          "TemplateCode" : {
            "type" : "string"
          },
          "TemplateId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TemplateLanguage" : {
            "type" : "string",
            "description" : "Selected grammar for Hub-managed Subject/BODY; absent for provider-only or opaque templates.",
            "enum" : [ "FREEMARKER", "HANDLEBARS" ]
          }
        }
      },
      "CommTemplateHistorySummary" : {
        "type" : "object",
        "properties" : {
          "HistoryId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Operation" : {
            "type" : "string"
          },
          "OperationTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "Operator" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TemplateId" : {
            "type" : "integer",
            "format" : "int64"
          }
        }
      },
      "CommTemplateHtmlPolicy" : {
        "type" : "object",
        "properties" : {
          "Description" : {
            "type" : "string"
          },
          "DynamicValuesSupported" : {
            "type" : "boolean"
          },
          "ImportantSupported" : {
            "type" : "boolean"
          },
          "LengthUnits" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          },
          "MaximumDeclarationsPerStyle" : {
            "type" : "integer",
            "format" : "int32"
          },
          "MaximumFunctionDepth" : {
            "type" : "integer",
            "format" : "int32"
          },
          "MaximumStyleLength" : {
            "type" : "integer",
            "format" : "int32"
          },
          "MaximumStyledElements" : {
            "type" : "integer",
            "format" : "int32"
          },
          "PolicyVersion" : {
            "type" : "string"
          },
          "Properties" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommTemplateCssProperty"
            }
          },
          "StyleMode" : {
            "type" : "string"
          },
          "UnsupportedFeatures" : {
            "type" : "array",
            "items" : {
              "type" : "string"
            }
          }
        }
      },
      "CommTemplateHtmlValidationRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "Body" : {
            "type" : "string",
            "description" : "HTML BODY in the selected TemplateLanguage with inline CSS. Dynamic values require payload preview as well.",
            "example" : "<p style=\"color:#336699;padding:16px\">Policy notice</p>",
            "maxLength" : 100000,
            "minLength" : 1
          },
          "TemplateLanguage" : {
            "type" : "string",
            "description" : "Grammar of Hub-managed Subject/BODY; required when Hub source is supplied. Not a customer locale.",
            "enum" : [ "FREEMARKER", "HANDLEBARS" ],
            "example" : "HANDLEBARS"
          }
        },
        "required" : [ "Body", "TemplateLanguage" ]
      },
      "CommTemplateHtmlValidationResult" : {
        "type" : "object",
        "properties" : {
          "Diagnostics" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommConfigurationPreviewDiagnostic"
            }
          },
          "Valid" : {
            "type" : "boolean"
          }
        }
      },
      "CommTemplatePreviewByCodeRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "Channel" : {
            "type" : "string"
          },
          "ContextDefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "SamplePayload" : {
            "type" : "object",
            "additionalProperties" : true,
            "description" : "Optional sample override; otherwise use the stored Context sample."
          },
          "TemplateCode" : {
            "type" : "string"
          }
        },
        "required" : [ "Channel", "ContextDefinitionId", "TemplateCode" ]
      },
      "CommTemplatePreviewByIdRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "ContextDefinitionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "SamplePayload" : {
            "type" : "object",
            "additionalProperties" : true,
            "description" : "Optional sample override; otherwise use the stored Context sample."
          }
        },
        "required" : [ "ContextDefinitionId" ]
      },
      "CommTemplatePreviewResult" : {
        "type" : "object",
        "properties" : {
          "BodyHtml" : {
            "type" : "string"
          },
          "BodyText" : {
            "type" : "string"
          },
          "Diagnostics" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommContextDiagnostic"
            }
          },
          "Subject" : {
            "type" : "string"
          }
        }
      },
      "CommTemplateSaveRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "Create or save an independently editable hub template. Existing saves replace editable fields; omitted editable fields are null.",
        "properties" : {
          "Channel" : {
            "type" : "string",
            "description" : "Optional channel applicability; omit for a document or reusable template.",
            "example" : "EMAIL",
            "writeOnly" : true
          },
          "ContentType" : {
            "type" : "string",
            "description" : "TEXT or HTML, required for BODY content; absent for template-only document/provider inputs.",
            "enum" : [ "TEXT", "HTML" ],
            "example" : "TEXT",
            "writeOnly" : true
          },
          "Contents" : {
            "type" : "array",
            "description" : "Explicit body/render contents. Omission retains bindings; empty removes them; null is invalid.",
            "items" : {
              "$ref" : "#/components/schemas/CommTemplateContentRequest"
            },
            "writeOnly" : true
          },
          "ExpectedRevision" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Last read Revision; required when changing an existing resource. Bindings use the owning Definition Revision."
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Required DataIO publication group identifier; rows of a locked group cannot be published.",
            "writeOnly" : true
          },
          "ProviderTemplateReference" : {
            "type" : "string",
            "description" : "Optional provider template identifier, separate from local TemplateCode.",
            "maxLength" : 200,
            "writeOnly" : true
          },
          "Subject" : {
            "type" : "string",
            "description" : "FreeMarker subject template using declared Variables; use an explicit default for optional values, e.g. ${CustomerName!\"\"}.",
            "example" : "Policy ${PolicyNo}",
            "writeOnly" : true
          },
          "TemplateCode" : {
            "type" : "string",
            "description" : "Template code. Required for template save requests; immutable after creation.",
            "example" : "POLICY_NOTICE",
            "maxLength" : 100,
            "writeOnly" : true
          },
          "TemplateId" : {
            "type" : "integer",
            "format" : "int64",
            "description" : "Omit or send null to create. Supply the existing template identifier to save it, including an ACTIVE template.",
            "example" : 3001
          },
          "TemplateLanguage" : {
            "type" : "string",
            "description" : "FREEMARKER or HANDLEBARS; required for Hub-managed Subject/BODY, omitted for opaque/provider-only templates.",
            "enum" : [ "FREEMARKER", "HANDLEBARS" ],
            "example" : "FREEMARKER",
            "writeOnly" : true
          }
        },
        "required" : [ "GroupId" ]
      },
      "CommTemplateSummary" : {
        "type" : "object",
        "properties" : {
          "Channel" : {
            "type" : "string"
          },
          "ContentType" : {
            "type" : "string",
            "enum" : [ "TEXT", "HTML" ]
          },
          "GroupId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "LatestUpdateBy" : {
            "type" : "integer",
            "format" : "int64"
          },
          "LatestUpdateTime" : {
            "type" : "string",
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "ProviderTemplateReference" : {
            "type" : "string",
            "maxLength" : 200
          },
          "RecordUsage" : {
            "type" : "integer",
            "format" : "int32",
            "description" : "Persisted platform usage indicator.",
            "readOnly" : true
          },
          "ReferencedVariables" : {
            "type" : "array",
            "description" : "Read-only external Variable names extracted from Subject/BODY.",
            "items" : {
              "type" : "string",
              "description" : "Read-only external Variable names extracted from Subject/BODY.",
              "readOnly" : true
            },
            "readOnly" : true
          },
          "Revision" : {
            "type" : "integer",
            "format" : "int64"
          },
          "Subject" : {
            "type" : "string"
          },
          "TemplateCode" : {
            "type" : "string"
          },
          "TemplateId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TemplateLanguage" : {
            "type" : "string",
            "description" : "Selected grammar for Hub-managed Subject/BODY; absent for provider-only or opaque templates.",
            "enum" : [ "FREEMARKER", "HANDLEBARS" ]
          }
        }
      },
      "CommTemplateText" : {
        "type" : "object",
        "properties" : {
          "Text" : {
            "type" : "string"
          }
        }
      },
      "CommTemplateVariables" : {
        "type" : "object",
        "properties" : {
          "ReferencedVariables" : {
            "type" : "array",
            "description" : "Sorted unique external root names; local iterator names are excluded.",
            "items" : {
              "type" : "string",
              "description" : "Sorted unique external root names; local iterator names are excluded.",
              "readOnly" : true
            },
            "readOnly" : true
          }
        }
      },
      "CommTemplateVariablesRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "properties" : {
          "Body" : {
            "type" : "string",
            "maxLength" : 100000
          },
          "ContentType" : {
            "type" : "string",
            "enum" : [ "TEXT", "HTML" ]
          },
          "Subject" : {
            "type" : "string",
            "maxLength" : 300
          },
          "TemplateLanguage" : {
            "type" : "string",
            "description" : "Grammar of Hub-managed Subject/BODY; required when Hub source is supplied. Not a customer locale.",
            "enum" : [ "FREEMARKER", "HANDLEBARS" ],
            "example" : "HANDLEBARS"
          }
        }
      },
      "CommTimelineEntry" : {
        "type" : "object",
        "properties" : {
          "Channel" : {
            "type" : "string"
          },
          "EntryId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "EntryType" : {
            "type" : "string",
            "description" : "EXECUTION aggregates outbound lifecycle facts; INTERACTION records customer activity and its handling.",
            "enum" : [ "EXECUTION", "INTERACTION" ]
          },
          "OccurredAt" : {
            "type" : "string",
            "description" : "UTC local date-time without offset or zone; date-only means midnight UTC. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "Pending" : {
            "type" : "boolean",
            "description" : "True only for an EXECUTION in READY, SCHEDULED, SUBMITTED or ACCEPTED. WAITING is not included. This is not a generic unfinished-state flag."
          },
          "State" : {
            "type" : "string",
            "description" : "EXECUTION: persisted execution lifecycle status. INTERACTION: HandledStatus."
          },
          "Type" : {
            "type" : "string",
            "description" : "EXECUTION: ServiceKind (DELIVERY or DOCUMENT). INTERACTION: interaction Type."
          }
        }
      },
      "CommTimelinePage" : {
        "type" : "object",
        "properties" : {
          "ElementsInCurrentPage" : {
            "type" : "array",
            "items" : {
              "$ref" : "#/components/schemas/CommTimelineEntry"
            }
          },
          "NumberOfElementsInCurrentPage" : {
            "type" : "integer",
            "format" : "int32"
          },
          "TotalElements" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TotalPages" : {
            "type" : "integer",
            "format" : "int32"
          }
        }
      },
      "CommVariable" : {
        "type" : "object",
        "additionalProperties" : true,
        "description" : "EXTRACT or CONSTANT configuration; native values have no ValueType.",
        "properties" : {
          "BlankAsMissing" : {
            "type" : "boolean",
            "description" : "Treat blank text as missing; default false."
          },
          "DefaultValue" : {
            "description" : "Native JSON fallback for a missing EXTRACT result. Accepts a native JSON string, number, boolean, array, object or null; conditional applicability is validated by the API. For EXTRACT, an explicit null default is rejected; omit DefaultValue when no fallback is needed."
          },
          "MaskOnSend" : {
            "type" : "boolean",
            "description" : "Mask the outbound EXTRACT value independently of global display masking; default false."
          },
          "MaskRule" : {
            "type" : "string",
            "description" : "Compact sending rule, e.g. {4}*{4}; EXTRACT only."
          },
          "Mode" : {
            "type" : "string",
            "description" : "EXTRACT (default) or CONSTANT.",
            "enum" : [ "EXTRACT", "CONSTANT" ]
          },
          "Path" : {
            "type" : "string",
            "description" : "Supported JSONPath relative to the selected source; EXTRACT only."
          },
          "Required" : {
            "type" : "boolean",
            "description" : "Require a resolved value; default false."
          },
          "ResultMode" : {
            "type" : "string",
            "description" : "SINGLE (default) or LIST; EXTRACT only.",
            "enum" : [ "SINGLE", "LIST" ]
          },
          "Source" : {
            "type" : "string",
            "description" : "Payload (default) or Context.<alias>; EXTRACT only."
          },
          "Value" : {
            "description" : "Native JSON literal; must be supplied for CONSTANT, including explicit null. Accepts a native JSON string, number, boolean, array, object or null; conditional applicability is validated by the API."
          }
        }
      },
      "CommVariableInput" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "EXTRACT or CONSTANT configuration; native values have no ValueType.",
        "properties" : {
          "BlankAsMissing" : {
            "type" : "boolean",
            "description" : "Treat blank text as missing; default false."
          },
          "DefaultValue" : {
            "description" : "Native JSON fallback for a missing EXTRACT result. Accepts a native JSON string, number, boolean, array, object or null; conditional applicability is validated by the API. For EXTRACT, an explicit null default is rejected; omit DefaultValue when no fallback is needed."
          },
          "MaskOnSend" : {
            "type" : "boolean",
            "description" : "Mask the outbound EXTRACT value independently of global display masking; default false."
          },
          "MaskRule" : {
            "type" : "string",
            "description" : "Compact sending rule, e.g. {4}*{4}; EXTRACT only."
          },
          "Mode" : {
            "type" : "string",
            "description" : "EXTRACT (default) or CONSTANT.",
            "enum" : [ "EXTRACT", "CONSTANT" ]
          },
          "Path" : {
            "type" : "string",
            "description" : "Supported JSONPath relative to the selected source; EXTRACT only."
          },
          "Required" : {
            "type" : "boolean",
            "description" : "Require a resolved value; default false."
          },
          "ResultMode" : {
            "type" : "string",
            "description" : "SINGLE (default) or LIST; EXTRACT only.",
            "enum" : [ "SINGLE", "LIST" ]
          },
          "Source" : {
            "type" : "string",
            "description" : "Payload (default) or Context.<alias>; EXTRACT only."
          },
          "Value" : {
            "description" : "Native JSON literal; must be supplied for CONSTANT, including explicit null. Accepts a native JSON string, number, boolean, array, object or null; conditional applicability is validated by the API."
          }
        }
      },
      "CommVerifiedExecutionResultRequest" : {
        "type" : "object",
        "additionalProperties" : false,
        "description" : "For DELIVERY, Status is required and Operation, FileKey and DocumentResult must be omitted or null. GENERATE requires Operation and DocumentResult with COMPLETE or FAILED status, and forbids non-null FileKey. ARCHIVE also requires FileKey. Document operations forbid non-null delivery status/provider/error/retry fields. The API validates these conditions.",
        "properties" : {
          "DocumentResult" : {
            "$ref" : "#/components/schemas/CommDocumentOperationResult"
          },
          "ErrorCode" : {
            "type" : [ "string", "null" ]
          },
          "EvidenceReference" : {
            "type" : "string",
            "maxLength" : 200,
            "minLength" : 1,
            "pattern" : "\\S"
          },
          "ExecutionId" : {
            "type" : "integer",
            "format" : "int64"
          },
          "ExpectedRevision" : {
            "type" : "integer",
            "format" : "int64"
          },
          "FileKey" : {
            "type" : [ "string", "null" ]
          },
          "Operation" : {
            "type" : [ "string", "null" ],
            "enum" : [ "GENERATE", "ARCHIVE", null ]
          },
          "ProviderMessage" : {
            "type" : [ "string", "null" ]
          },
          "ProviderRef" : {
            "type" : [ "string", "null" ]
          },
          "ProviderTimestamp" : {
            "type" : [ "string", "null" ],
            "description" : "Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics. Offset-free local date/time. The platform wire format can use yyyy-MM-dd at midnight, yyyy-MM-ddTHH:mm or yyyy-MM-ddTHH:mm:ss[.fraction]; no offset is embedded. Apply the field-specific time-zone semantics."
          },
          "Retryable" : {
            "type" : [ "boolean", "null" ]
          },
          "Status" : {
            "type" : [ "string", "null" ],
            "description" : "DELIVERY receipt status, required only for DELIVERY. DOCUMENT uses Operation/FileKey/DocumentResult.",
            "enum" : [ "ACCEPTED", "DELIVERED", "FAILED", null ]
          },
          "VerificationReason" : {
            "type" : "string",
            "maxLength" : 500,
            "minLength" : 1,
            "pattern" : "\\S"
          }
        },
        "required" : [ "EvidenceReference", "ExecutionId", "ExpectedRevision", "VerificationReason" ]
      }
    }
  },
  "x-mo-gateway-auth-enabled" : true,
  "x-mo-gateway-cors-enabled" : false
}