{
  "components": {
    "schemas": {
      "AccessTokenRead": {
        "properties": {
          "access_token": {
            "title": "Access Token",
            "type": "string"
          },
          "expires_at": {
            "format": "date-time",
            "title": "Expires At",
            "type": "string"
          },
          "token_type": {
            "const": "bearer",
            "default": "bearer",
            "title": "Token Type",
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/UserRead"
          }
        },
        "required": [
          "access_token",
          "expires_at",
          "user"
        ],
        "title": "AccessTokenRead",
        "type": "object"
      },
      "AccountingExportCreate": {
        "properties": {
          "documents": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "maxItems": 50,
            "minItems": 1,
            "title": "Documents",
            "type": "array"
          },
          "export_batch_id": {
            "maxLength": 120,
            "minLength": 2,
            "title": "Export Batch Id",
            "type": "string"
          },
          "integration_connection_id": {
            "anyOf": [
              {
                "maxLength": 36,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Integration Connection Id"
          },
          "simulate_failure": {
            "anyOf": [
              {
                "enum": [
                  "retryable",
                  "permanent"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Simulate Failure"
          }
        },
        "required": [
          "export_batch_id",
          "documents"
        ],
        "title": "AccountingExportCreate",
        "type": "object"
      },
      "AdapterContractRead": {
        "properties": {
          "auth_profile": {
            "additionalProperties": true,
            "title": "Auth Profile",
            "type": "object"
          },
          "capabilities": {
            "items": {
              "type": "string"
            },
            "title": "Capabilities",
            "type": "array"
          },
          "category": {
            "title": "Category",
            "type": "string"
          },
          "config_example": {
            "additionalProperties": true,
            "title": "Config Example",
            "type": "object"
          },
          "connection_profile_required": {
            "title": "Connection Profile Required",
            "type": "boolean"
          },
          "connection_profile_supported": {
            "title": "Connection Profile Supported",
            "type": "boolean"
          },
          "default_connection_scopes": {
            "items": {
              "type": "string"
            },
            "title": "Default Connection Scopes",
            "type": "array"
          },
          "direction": {
            "title": "Direction",
            "type": "string"
          },
          "failure_modes": {
            "items": {
              "type": "string"
            },
            "title": "Failure Modes",
            "type": "array"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "mapping_example": {
            "additionalProperties": true,
            "title": "Mapping Example",
            "type": "object"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "operation_contracts": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Operation Contracts",
            "type": "array"
          },
          "payload_schema": {
            "additionalProperties": true,
            "title": "Payload Schema",
            "type": "object"
          },
          "public_notes": {
            "items": {
              "type": "string"
            },
            "title": "Public Notes",
            "type": "array"
          },
          "purpose": {
            "title": "Purpose",
            "type": "string"
          },
          "required_mapping_keys": {
            "items": {
              "type": "string"
            },
            "title": "Required Mapping Keys",
            "type": "array"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "supported_connection_scopes": {
            "items": {
              "type": "string"
            },
            "title": "Supported Connection Scopes",
            "type": "array"
          }
        },
        "required": [
          "key",
          "name",
          "status",
          "category",
          "direction",
          "purpose",
          "connection_profile_supported",
          "connection_profile_required"
        ],
        "title": "AdapterContractRead",
        "type": "object"
      },
      "AuditEventRead": {
        "properties": {
          "actor_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Actor Id"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "entity_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entity Id"
          },
          "entity_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entity Type"
          },
          "event_type": {
            "title": "Event Type",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "metadata_json": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata Json"
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Summary"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "tenant_id",
          "event_type"
        ],
        "title": "AuditEventRead",
        "type": "object"
      },
      "AuthMeRead": {
        "properties": {
          "memberships": {
            "items": {
              "$ref": "#/components/schemas/MembershipRead"
            },
            "title": "Memberships",
            "type": "array"
          },
          "platform_roles": {
            "items": {
              "const": "platform_admin",
              "type": "string"
            },
            "title": "Platform Roles",
            "type": "array"
          },
          "user": {
            "$ref": "#/components/schemas/UserRead"
          }
        },
        "required": [
          "user",
          "memberships"
        ],
        "title": "AuthMeRead",
        "type": "object"
      },
      "AuthSessionRead": {
        "properties": {
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "expires_at": {
            "format": "date-time",
            "title": "Expires At",
            "type": "string"
          },
          "last_used_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Used At"
          },
          "revoked_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Revoked At"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "tenant_ids": {
            "items": {
              "type": "string"
            },
            "title": "Tenant Ids",
            "type": "array"
          },
          "token_id": {
            "title": "Token Id",
            "type": "string"
          },
          "user_display_name": {
            "title": "User Display Name",
            "type": "string"
          },
          "user_email": {
            "title": "User Email",
            "type": "string"
          },
          "user_id": {
            "title": "User Id",
            "type": "string"
          }
        },
        "required": [
          "token_id",
          "user_id",
          "user_email",
          "user_display_name",
          "status",
          "expires_at",
          "tenant_ids"
        ],
        "title": "AuthSessionRead",
        "type": "object"
      },
      "BusinessActionExecutionDemoRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "approvalGates": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Approvalgates",
            "type": "array"
          },
          "command": {
            "title": "Command",
            "type": "string"
          },
          "dataBoundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Databoundaries",
            "type": "array"
          },
          "docs": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Docs",
            "type": "array"
          },
          "dryRunResults": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Dryrunresults",
            "type": "array"
          },
          "executionPlan": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Executionplan",
            "type": "array"
          },
          "preflightChecks": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Preflightchecks",
            "type": "array"
          },
          "role": {
            "title": "Role",
            "type": "string"
          },
          "rollbackPlan": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Rollbackplan",
            "type": "array"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "subject": {
            "title": "Subject",
            "type": "string"
          },
          "summary": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Summary",
            "type": "array"
          }
        },
        "required": [
          "status",
          "command",
          "summary",
          "role",
          "subject",
          "executionPlan",
          "preflightChecks",
          "dryRunResults",
          "approvalGates",
          "rollbackPlan",
          "dataBoundaries",
          "api",
          "docs"
        ],
        "title": "BusinessActionExecutionDemoRead",
        "type": "object"
      },
      "BusinessActionExecutionPreviewCreate": {
        "properties": {
          "action_steps": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "maxItems": 10,
            "title": "Action Steps",
            "type": "array"
          },
          "execution_kind": {
            "const": "action_plan_execution_preview",
            "default": "action_plan_execution_preview",
            "title": "Execution Kind",
            "type": "string"
          },
          "execution_mode": {
            "default": "dry_run",
            "enum": [
              "dry_run",
              "approval_request"
            ],
            "title": "Execution Mode",
            "type": "string"
          },
          "include_preflight": {
            "default": true,
            "title": "Include Preflight",
            "type": "boolean"
          },
          "include_rollback_plan": {
            "default": true,
            "title": "Include Rollback Plan",
            "type": "boolean"
          },
          "role": {
            "default": "operator",
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "subject_id": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "maxLength": 64,
                "minLength": 2,
                "pattern": "^[a-z0-9][a-z0-9_-]*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          }
        },
        "title": "BusinessActionExecutionPreviewCreate",
        "type": "object"
      },
      "BusinessActionExecutionPreviewRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "approval_gates": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Approval Gates",
            "type": "array"
          },
          "data_boundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Data Boundaries",
            "type": "array"
          },
          "dry_run_results": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Dry Run Results",
            "type": "array"
          },
          "evidence": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Evidence",
            "type": "array"
          },
          "execution_kind": {
            "const": "action_plan_execution_preview",
            "title": "Execution Kind",
            "type": "string"
          },
          "execution_plan": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Execution Plan",
            "type": "array"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "preflight_checks": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Preflight Checks",
            "type": "array"
          },
          "role": {
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "rollback_plan": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Rollback Plan",
            "type": "array"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "subject_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "tenant_id",
          "execution_kind",
          "role",
          "generated_at",
          "status",
          "summary"
        ],
        "title": "BusinessActionExecutionPreviewRead",
        "type": "object"
      },
      "BusinessActionPlanPreviewCreate": {
        "properties": {
          "include_resolved": {
            "default": false,
            "title": "Include Resolved",
            "type": "boolean"
          },
          "limit": {
            "default": 20,
            "maximum": 50.0,
            "minimum": 1.0,
            "title": "Limit",
            "type": "integer"
          },
          "plan_kind": {
            "const": "exception_resolution",
            "default": "exception_resolution",
            "title": "Plan Kind",
            "type": "string"
          },
          "role": {
            "default": "operator",
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "subject_id": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "maxLength": 64,
                "minLength": 2,
                "pattern": "^[a-z0-9][a-z0-9_-]*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          }
        },
        "title": "BusinessActionPlanPreviewCreate",
        "type": "object"
      },
      "BusinessActionPlanPreviewRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "approval_gates": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Approval Gates",
            "type": "array"
          },
          "automation_candidates": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Automation Candidates",
            "type": "array"
          },
          "evidence": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Evidence",
            "type": "array"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "lanes": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Lanes",
            "type": "array"
          },
          "plan_kind": {
            "const": "exception_resolution",
            "title": "Plan Kind",
            "type": "string"
          },
          "review_points": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Review Points",
            "type": "array"
          },
          "risk_level": {
            "enum": [
              "normal",
              "attention",
              "critical"
            ],
            "title": "Risk Level",
            "type": "string"
          },
          "role": {
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "steps": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Steps",
            "type": "array"
          },
          "subject_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "tenant_id",
          "plan_kind",
          "role",
          "generated_at",
          "risk_level",
          "summary"
        ],
        "title": "BusinessActionPlanPreviewRead",
        "type": "object"
      },
      "BusinessApprovalGatewayDemoRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "approvalRequests": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Approvalrequests",
            "type": "array"
          },
          "approverRouting": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Approverrouting",
            "type": "array"
          },
          "auditTrail": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Audittrail",
            "type": "array"
          },
          "command": {
            "title": "Command",
            "type": "string"
          },
          "commitUnlocks": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Commitunlocks",
            "type": "array"
          },
          "dataBoundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Databoundaries",
            "type": "array"
          },
          "docs": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Docs",
            "type": "array"
          },
          "policyChecks": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Policychecks",
            "type": "array"
          },
          "role": {
            "title": "Role",
            "type": "string"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "subject": {
            "title": "Subject",
            "type": "string"
          },
          "summary": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Summary",
            "type": "array"
          }
        },
        "required": [
          "status",
          "command",
          "summary",
          "role",
          "subject",
          "approvalRequests",
          "policyChecks",
          "approverRouting",
          "commitUnlocks",
          "auditTrail",
          "dataBoundaries",
          "api",
          "docs"
        ],
        "title": "BusinessApprovalGatewayDemoRead",
        "type": "object"
      },
      "BusinessApprovalGatewayPreviewCreate": {
        "properties": {
          "approval_kind": {
            "const": "execution_approval_gateway",
            "default": "execution_approval_gateway",
            "title": "Approval Kind",
            "type": "string"
          },
          "approver_role": {
            "default": "owner",
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Approver Role",
            "type": "string"
          },
          "execution_plan": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "maxItems": 10,
            "title": "Execution Plan",
            "type": "array"
          },
          "include_dual_control": {
            "default": true,
            "title": "Include Dual Control",
            "type": "boolean"
          },
          "requester_role": {
            "default": "operator",
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Requester Role",
            "type": "string"
          },
          "role": {
            "default": "operator",
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "subject_id": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "maxLength": 64,
                "minLength": 2,
                "pattern": "^[a-z0-9][a-z0-9_-]*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          }
        },
        "title": "BusinessApprovalGatewayPreviewCreate",
        "type": "object"
      },
      "BusinessApprovalGatewayPreviewRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "approval_kind": {
            "const": "execution_approval_gateway",
            "title": "Approval Kind",
            "type": "string"
          },
          "approval_requests": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Approval Requests",
            "type": "array"
          },
          "approver_routing": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Approver Routing",
            "type": "array"
          },
          "audit_trail": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Audit Trail",
            "type": "array"
          },
          "commit_unlocks": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Commit Unlocks",
            "type": "array"
          },
          "data_boundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Data Boundaries",
            "type": "array"
          },
          "evidence": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Evidence",
            "type": "array"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "policy_checks": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Policy Checks",
            "type": "array"
          },
          "role": {
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "subject_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "tenant_id",
          "approval_kind",
          "role",
          "generated_at",
          "status",
          "summary"
        ],
        "title": "BusinessApprovalGatewayPreviewRead",
        "type": "object"
      },
      "BusinessBriefingPreviewCreate": {
        "properties": {
          "include_resolved": {
            "default": false,
            "title": "Include Resolved",
            "type": "boolean"
          },
          "limit": {
            "default": 20,
            "maximum": 50.0,
            "minimum": 1.0,
            "title": "Limit",
            "type": "integer"
          },
          "role": {
            "default": "operator",
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "subject_id": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "maxLength": 64,
                "minLength": 2,
                "pattern": "^[a-z0-9][a-z0-9_-]*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          }
        },
        "title": "BusinessBriefingPreviewCreate",
        "type": "object"
      },
      "BusinessBriefingRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "evidence": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Evidence",
            "type": "array"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "highlights": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Highlights",
            "type": "array"
          },
          "recommended_actions": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Recommended Actions",
            "type": "array"
          },
          "review_points": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Review Points",
            "type": "array"
          },
          "risk_level": {
            "enum": [
              "normal",
              "attention",
              "critical"
            ],
            "title": "Risk Level",
            "type": "string"
          },
          "role": {
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "source_systems": {
            "items": {
              "type": "string"
            },
            "title": "Source Systems",
            "type": "array"
          },
          "subject_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "tenant_id",
          "role",
          "generated_at",
          "risk_level",
          "summary"
        ],
        "title": "BusinessBriefingRead",
        "type": "object"
      },
      "BusinessContextAssistantDemoRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "command": {
            "title": "Command",
            "type": "string"
          },
          "contextCards": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Contextcards",
            "type": "array"
          },
          "dataBoundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Databoundaries",
            "type": "array"
          },
          "docs": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Docs",
            "type": "array"
          },
          "insightRules": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Insightrules",
            "type": "array"
          },
          "role": {
            "title": "Role",
            "type": "string"
          },
          "sourceSystems": {
            "items": {
              "type": "string"
            },
            "title": "Sourcesystems",
            "type": "array"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "subject": {
            "title": "Subject",
            "type": "string"
          },
          "suggestedActions": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Suggestedactions",
            "type": "array"
          },
          "summary": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Summary",
            "type": "array"
          }
        },
        "required": [
          "status",
          "command",
          "summary",
          "role",
          "subject",
          "sourceSystems",
          "contextCards",
          "insightRules",
          "suggestedActions",
          "dataBoundaries",
          "api",
          "docs"
        ],
        "title": "BusinessContextAssistantDemoRead",
        "type": "object"
      },
      "BusinessDetectionPreviewCreate": {
        "properties": {
          "limit": {
            "default": 50,
            "maximum": 100.0,
            "minimum": 1.0,
            "title": "Limit",
            "type": "integer"
          },
          "rule_set": {
            "const": "payment_reconciliation",
            "default": "payment_reconciliation",
            "title": "Rule Set",
            "type": "string"
          },
          "subject_id": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "maxLength": 64,
                "minLength": 2,
                "pattern": "^[a-z0-9][a-z0-9_-]*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          }
        },
        "title": "BusinessDetectionPreviewCreate",
        "type": "object"
      },
      "BusinessDetectionPreviewRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "detected_exceptions": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Detected Exceptions",
            "type": "array"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "observations": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Observations",
            "type": "array"
          },
          "rule_set": {
            "const": "payment_reconciliation",
            "title": "Rule Set",
            "type": "string"
          },
          "rules": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Rules",
            "type": "array"
          },
          "source_systems": {
            "items": {
              "type": "string"
            },
            "title": "Source Systems",
            "type": "array"
          },
          "subject_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          },
          "suggested_repair_actions": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Suggested Repair Actions",
            "type": "array"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "tenant_id",
          "rule_set",
          "generated_at",
          "summary"
        ],
        "title": "BusinessDetectionPreviewRead",
        "type": "object"
      },
      "BusinessEscalationPreviewCreate": {
        "properties": {
          "include_resolved": {
            "default": false,
            "title": "Include Resolved",
            "type": "boolean"
          },
          "limit": {
            "default": 20,
            "maximum": 50.0,
            "minimum": 1.0,
            "title": "Limit",
            "type": "integer"
          },
          "policy": {
            "const": "exception_triage",
            "default": "exception_triage",
            "title": "Policy",
            "type": "string"
          },
          "subject_id": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "maxLength": 64,
                "minLength": 2,
                "pattern": "^[a-z0-9][a-z0-9_-]*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          }
        },
        "title": "BusinessEscalationPreviewCreate",
        "type": "object"
      },
      "BusinessEscalationPreviewRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "escalation_items": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Escalation Items",
            "type": "array"
          },
          "evidence": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Evidence",
            "type": "array"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "policy": {
            "const": "exception_triage",
            "title": "Policy",
            "type": "string"
          },
          "queues": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Queues",
            "type": "array"
          },
          "review_points": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Review Points",
            "type": "array"
          },
          "risk_level": {
            "enum": [
              "normal",
              "attention",
              "critical"
            ],
            "title": "Risk Level",
            "type": "string"
          },
          "subject_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          },
          "suggested_actions": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Suggested Actions",
            "type": "array"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "tenant_id",
          "policy",
          "generated_at",
          "risk_level",
          "summary"
        ],
        "title": "BusinessEscalationPreviewRead",
        "type": "object"
      },
      "BusinessExceptionCreate": {
        "properties": {
          "evidence": {
            "additionalProperties": true,
            "title": "Evidence",
            "type": "object"
          },
          "exception_type": {
            "maxLength": 128,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9_.-]*$",
            "title": "Exception Type",
            "type": "string"
          },
          "impact": {
            "additionalProperties": true,
            "title": "Impact",
            "type": "object"
          },
          "observation_ids": {
            "items": {
              "type": "string"
            },
            "maxItems": 20,
            "title": "Observation Ids",
            "type": "array"
          },
          "severity": {
            "default": "warning",
            "enum": [
              "info",
              "warning",
              "critical"
            ],
            "title": "Severity",
            "type": "string"
          },
          "subject_id": {
            "maxLength": 128,
            "minLength": 1,
            "title": "Subject Id",
            "type": "string"
          },
          "subject_type": {
            "maxLength": 64,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9_-]*$",
            "title": "Subject Type",
            "type": "string"
          },
          "summary": {
            "maxLength": 2000,
            "minLength": 2,
            "title": "Summary",
            "type": "string"
          },
          "title": {
            "maxLength": 255,
            "minLength": 2,
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "exception_type",
          "subject_type",
          "subject_id",
          "title",
          "summary"
        ],
        "title": "BusinessExceptionCreate",
        "type": "object"
      },
      "BusinessExceptionRead": {
        "properties": {
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "detected_at": {
            "format": "date-time",
            "title": "Detected At",
            "type": "string"
          },
          "evidence_json": {
            "title": "Evidence Json",
            "type": "string"
          },
          "exception_type": {
            "title": "Exception Type",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "impact_json": {
            "title": "Impact Json",
            "type": "string"
          },
          "resolved_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resolved At"
          },
          "severity": {
            "enum": [
              "info",
              "warning",
              "critical"
            ],
            "title": "Severity",
            "type": "string"
          },
          "status": {
            "enum": [
              "open",
              "acknowledged",
              "resolved"
            ],
            "title": "Status",
            "type": "string"
          },
          "subject_id": {
            "title": "Subject Id",
            "type": "string"
          },
          "subject_type": {
            "title": "Subject Type",
            "type": "string"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "tenant_id",
          "exception_type",
          "severity",
          "status",
          "subject_type",
          "subject_id",
          "title",
          "summary",
          "impact_json",
          "evidence_json",
          "detected_at"
        ],
        "title": "BusinessExceptionRead",
        "type": "object"
      },
      "BusinessExceptionStatusChange": {
        "properties": {
          "note": {
            "anyOf": [
              {
                "maxLength": 255,
                "minLength": 2,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          },
          "status": {
            "enum": [
              "acknowledged",
              "resolved"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "BusinessExceptionStatusChange",
        "type": "object"
      },
      "BusinessIntakePipelineDemoRead": {
        "properties": {
          "actionPlan": {
            "additionalProperties": true,
            "title": "Actionplan",
            "type": "object"
          },
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "command": {
            "title": "Command",
            "type": "string"
          },
          "dataBoundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Databoundaries",
            "type": "array"
          },
          "detections": {
            "additionalProperties": true,
            "title": "Detections",
            "type": "object"
          },
          "docs": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Docs",
            "type": "array"
          },
          "intakePreviews": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Intakepreviews",
            "type": "array"
          },
          "notifications": {
            "additionalProperties": true,
            "title": "Notifications",
            "type": "object"
          },
          "sourceSystems": {
            "items": {
              "type": "string"
            },
            "title": "Sourcesystems",
            "type": "array"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Summary",
            "type": "array"
          },
          "workbench": {
            "additionalProperties": true,
            "title": "Workbench",
            "type": "object"
          }
        },
        "required": [
          "status",
          "command",
          "summary",
          "sourceSystems",
          "intakePreviews",
          "workbench",
          "detections",
          "actionPlan",
          "notifications",
          "dataBoundaries",
          "api",
          "docs"
        ],
        "title": "BusinessIntakePipelineDemoRead",
        "type": "object"
      },
      "BusinessIntakePipelinePreviewCreate": {
        "properties": {
          "events": {
            "items": {
              "$ref": "#/components/schemas/BusinessProviderIntakePreviewCreate"
            },
            "maxItems": 8,
            "minItems": 1,
            "title": "Events",
            "type": "array"
          },
          "include_notification_drafts": {
            "default": true,
            "title": "Include Notification Drafts",
            "type": "boolean"
          },
          "role": {
            "default": "operator",
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          }
        },
        "required": [
          "events"
        ],
        "title": "BusinessIntakePipelinePreviewCreate",
        "type": "object"
      },
      "BusinessIntakePipelinePreviewRead": {
        "properties": {
          "action_plan": {
            "additionalProperties": true,
            "title": "Action Plan",
            "type": "object"
          },
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "data_boundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Data Boundaries",
            "type": "array"
          },
          "detections": {
            "additionalProperties": true,
            "title": "Detections",
            "type": "object"
          },
          "evidence": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Evidence",
            "type": "array"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "intake_previews": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Intake Previews",
            "type": "array"
          },
          "notification_preview": {
            "additionalProperties": true,
            "title": "Notification Preview",
            "type": "object"
          },
          "role": {
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "source_systems": {
            "items": {
              "type": "string"
            },
            "title": "Source Systems",
            "type": "array"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "workbench_context": {
            "additionalProperties": true,
            "title": "Workbench Context",
            "type": "object"
          }
        },
        "required": [
          "tenant_id",
          "role",
          "generated_at",
          "status",
          "summary"
        ],
        "title": "BusinessIntakePipelinePreviewRead",
        "type": "object"
      },
      "BusinessNotificationChannelMatrixDemoRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "approvalGates": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Approvalgates",
            "type": "array"
          },
          "channels": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Channels",
            "type": "array"
          },
          "command": {
            "title": "Command",
            "type": "string"
          },
          "dataBoundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Databoundaries",
            "type": "array"
          },
          "deliveryDrafts": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Deliverydrafts",
            "type": "array"
          },
          "docs": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Docs",
            "type": "array"
          },
          "role": {
            "title": "Role",
            "type": "string"
          },
          "routingRules": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Routingrules",
            "type": "array"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "subject": {
            "title": "Subject",
            "type": "string"
          },
          "summary": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Summary",
            "type": "array"
          }
        },
        "required": [
          "status",
          "command",
          "summary",
          "role",
          "subject",
          "channels",
          "routingRules",
          "deliveryDrafts",
          "approvalGates",
          "dataBoundaries",
          "api",
          "docs"
        ],
        "title": "BusinessNotificationChannelMatrixDemoRead",
        "type": "object"
      },
      "BusinessNotificationChannelMatrixPreviewCreate": {
        "properties": {
          "channels": {
            "items": {
              "enum": [
                "in_app",
                "telegram",
                "email",
                "sms",
                "webhook"
              ],
              "type": "string"
            },
            "maxItems": 5,
            "minItems": 1,
            "title": "Channels",
            "type": "array"
          },
          "include_delivery_drafts": {
            "default": true,
            "title": "Include Delivery Drafts",
            "type": "boolean"
          },
          "matrix_kind": {
            "const": "operator_channel_readiness",
            "default": "operator_channel_readiness",
            "title": "Matrix Kind",
            "type": "string"
          },
          "role": {
            "default": "operator",
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "subject_id": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "maxLength": 64,
                "minLength": 2,
                "pattern": "^[a-z0-9][a-z0-9_-]*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          }
        },
        "title": "BusinessNotificationChannelMatrixPreviewCreate",
        "type": "object"
      },
      "BusinessNotificationChannelMatrixPreviewRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "approval_gates": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Approval Gates",
            "type": "array"
          },
          "channels": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Channels",
            "type": "array"
          },
          "data_boundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Data Boundaries",
            "type": "array"
          },
          "delivery_drafts": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Delivery Drafts",
            "type": "array"
          },
          "evidence": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Evidence",
            "type": "array"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "matrix_kind": {
            "const": "operator_channel_readiness",
            "title": "Matrix Kind",
            "type": "string"
          },
          "role": {
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "routing_rules": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Routing Rules",
            "type": "array"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "subject_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "tenant_id",
          "matrix_kind",
          "role",
          "generated_at",
          "status",
          "summary"
        ],
        "title": "BusinessNotificationChannelMatrixPreviewRead",
        "type": "object"
      },
      "BusinessNotificationPreviewCreate": {
        "properties": {
          "channels": {
            "items": {
              "enum": [
                "in_app",
                "telegram",
                "email"
              ],
              "type": "string"
            },
            "maxItems": 3,
            "minItems": 1,
            "title": "Channels",
            "type": "array"
          },
          "include_resolved": {
            "default": false,
            "title": "Include Resolved",
            "type": "boolean"
          },
          "limit": {
            "default": 20,
            "maximum": 50.0,
            "minimum": 1.0,
            "title": "Limit",
            "type": "integer"
          },
          "notification_kind": {
            "const": "action_plan_updates",
            "default": "action_plan_updates",
            "title": "Notification Kind",
            "type": "string"
          },
          "role": {
            "default": "operator",
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "subject_id": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "maxLength": 64,
                "minLength": 2,
                "pattern": "^[a-z0-9][a-z0-9_-]*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          }
        },
        "title": "BusinessNotificationPreviewCreate",
        "type": "object"
      },
      "BusinessNotificationPreviewRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "approval_gates": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Approval Gates",
            "type": "array"
          },
          "channels": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Channels",
            "type": "array"
          },
          "delivery_plan": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Delivery Plan",
            "type": "array"
          },
          "drafts": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Drafts",
            "type": "array"
          },
          "evidence": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Evidence",
            "type": "array"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "notification_kind": {
            "const": "action_plan_updates",
            "title": "Notification Kind",
            "type": "string"
          },
          "review_points": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Review Points",
            "type": "array"
          },
          "risk_level": {
            "enum": [
              "normal",
              "attention",
              "critical"
            ],
            "title": "Risk Level",
            "type": "string"
          },
          "role": {
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "subject_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "tenant_id",
          "notification_kind",
          "role",
          "generated_at",
          "risk_level",
          "summary"
        ],
        "title": "BusinessNotificationPreviewRead",
        "type": "object"
      },
      "BusinessProviderIntakePreviewCreate": {
        "properties": {
          "external_ref": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Ref"
          },
          "provider_key": {
            "maxLength": 120,
            "minLength": 3,
            "pattern": "^[a-z0-9][a-z0-9._-]*$",
            "title": "Provider Key",
            "type": "string"
          },
          "provider_payload": {
            "additionalProperties": true,
            "title": "Provider Payload",
            "type": "object"
          },
          "source_type": {
            "default": "crm_deal",
            "enum": [
              "crm_deal",
              "bank_payment",
              "accounting_export",
              "support_ticket"
            ],
            "title": "Source Type",
            "type": "string"
          },
          "subject_id": {
            "maxLength": 128,
            "minLength": 1,
            "title": "Subject Id",
            "type": "string"
          },
          "subject_type": {
            "maxLength": 64,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9_-]*$",
            "title": "Subject Type",
            "type": "string"
          }
        },
        "required": [
          "provider_key",
          "subject_type",
          "subject_id"
        ],
        "title": "BusinessProviderIntakePreviewCreate",
        "type": "object"
      },
      "BusinessProviderIntakePreviewRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "data_boundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Data Boundaries",
            "type": "array"
          },
          "dropped_keys": {
            "items": {
              "type": "string"
            },
            "title": "Dropped Keys",
            "type": "array"
          },
          "evidence": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Evidence",
            "type": "array"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "next_steps": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Next Steps",
            "type": "array"
          },
          "normalized_observation": {
            "additionalProperties": true,
            "title": "Normalized Observation",
            "type": "object"
          },
          "payload_keys": {
            "items": {
              "type": "string"
            },
            "title": "Payload Keys",
            "type": "array"
          },
          "provider_key": {
            "title": "Provider Key",
            "type": "string"
          },
          "safe_payload": {
            "additionalProperties": true,
            "title": "Safe Payload",
            "type": "object"
          },
          "source_type": {
            "enum": [
              "crm_deal",
              "bank_payment",
              "accounting_export",
              "support_ticket"
            ],
            "title": "Source Type",
            "type": "string"
          },
          "subject_id": {
            "title": "Subject Id",
            "type": "string"
          },
          "subject_type": {
            "title": "Subject Type",
            "type": "string"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "tenant_id",
          "provider_key",
          "source_type",
          "subject_type",
          "subject_id",
          "generated_at",
          "summary"
        ],
        "title": "BusinessProviderIntakePreviewRead",
        "type": "object"
      },
      "BusinessRecordCreate": {
        "properties": {
          "external_ref": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Ref"
          },
          "payload": {
            "additionalProperties": true,
            "title": "Payload",
            "type": "object"
          },
          "record_type": {
            "enum": [
              "contract",
              "payment",
              "lesson",
              "task",
              "document"
            ],
            "title": "Record Type",
            "type": "string"
          },
          "status": {
            "default": "draft",
            "maxLength": 32,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9_-]*$",
            "title": "Status",
            "type": "string"
          },
          "title": {
            "maxLength": 255,
            "minLength": 2,
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "record_type",
          "title"
        ],
        "title": "BusinessRecordCreate",
        "type": "object"
      },
      "BusinessRecordLifecyclePolicyRead": {
        "properties": {
          "initial_status": {
            "title": "Initial Status",
            "type": "string"
          },
          "record_type": {
            "enum": [
              "contract",
              "payment",
              "lesson",
              "task",
              "document"
            ],
            "title": "Record Type",
            "type": "string"
          },
          "statuses": {
            "items": {
              "type": "string"
            },
            "title": "Statuses",
            "type": "array"
          },
          "terminal_statuses": {
            "items": {
              "type": "string"
            },
            "title": "Terminal Statuses",
            "type": "array"
          },
          "transitions": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Transitions",
            "type": "array"
          }
        },
        "required": [
          "record_type",
          "initial_status",
          "statuses",
          "terminal_statuses",
          "transitions"
        ],
        "title": "BusinessRecordLifecyclePolicyRead",
        "type": "object"
      },
      "BusinessRecordLifecyclePreviewCreate": {
        "properties": {
          "from_status": {
            "maxLength": 32,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9_-]*$",
            "title": "From Status",
            "type": "string"
          },
          "record_type": {
            "enum": [
              "contract",
              "payment",
              "lesson",
              "task",
              "document"
            ],
            "title": "Record Type",
            "type": "string"
          },
          "to_status": {
            "maxLength": 32,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9_-]*$",
            "title": "To Status",
            "type": "string"
          }
        },
        "required": [
          "record_type",
          "from_status",
          "to_status"
        ],
        "title": "BusinessRecordLifecyclePreviewCreate",
        "type": "object"
      },
      "BusinessRecordLifecyclePreviewRead": {
        "properties": {
          "allowed_next_statuses": {
            "items": {
              "type": "string"
            },
            "title": "Allowed Next Statuses",
            "type": "array"
          },
          "from_status": {
            "title": "From Status",
            "type": "string"
          },
          "reason": {
            "title": "Reason",
            "type": "string"
          },
          "record_type": {
            "enum": [
              "contract",
              "payment",
              "lesson",
              "task",
              "document"
            ],
            "title": "Record Type",
            "type": "string"
          },
          "terminal": {
            "title": "Terminal",
            "type": "boolean"
          },
          "to_status": {
            "title": "To Status",
            "type": "string"
          },
          "valid": {
            "title": "Valid",
            "type": "boolean"
          }
        },
        "required": [
          "record_type",
          "from_status",
          "to_status",
          "valid",
          "reason",
          "allowed_next_statuses",
          "terminal"
        ],
        "title": "BusinessRecordLifecyclePreviewRead",
        "type": "object"
      },
      "BusinessRecordRead": {
        "properties": {
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "external_ref": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Ref"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "payload_json": {
            "title": "Payload Json",
            "type": "string"
          },
          "record_type": {
            "enum": [
              "contract",
              "payment",
              "lesson",
              "task",
              "document"
            ],
            "title": "Record Type",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "id",
          "tenant_id",
          "record_type",
          "status",
          "title",
          "payload_json"
        ],
        "title": "BusinessRecordRead",
        "type": "object"
      },
      "BusinessRecordTransition": {
        "properties": {
          "reason": {
            "anyOf": [
              {
                "maxLength": 255,
                "minLength": 2,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          },
          "status": {
            "maxLength": 32,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9_-]*$",
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "BusinessRecordTransition",
        "type": "object"
      },
      "BusinessScenarioReplayRead": {
        "properties": {
          "command": {
            "title": "Command",
            "type": "string"
          },
          "docs": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Docs",
            "type": "array"
          },
          "flow": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Flow",
            "type": "array"
          },
          "scenarios": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Scenarios",
            "type": "array"
          },
          "status": {
            "const": "validated",
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Summary",
            "type": "array"
          }
        },
        "required": [
          "status",
          "command",
          "summary",
          "scenarios",
          "flow",
          "docs"
        ],
        "title": "BusinessScenarioReplayRead",
        "type": "object"
      },
      "BusinessStateObservationCreate": {
        "properties": {
          "external_ref": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Ref"
          },
          "observed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Observed At"
          },
          "payload": {
            "additionalProperties": true,
            "title": "Payload",
            "type": "object"
          },
          "state": {
            "maxLength": 64,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9_-]*$",
            "title": "State",
            "type": "string"
          },
          "subject_id": {
            "maxLength": 128,
            "minLength": 1,
            "title": "Subject Id",
            "type": "string"
          },
          "subject_type": {
            "maxLength": 64,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9_-]*$",
            "title": "Subject Type",
            "type": "string"
          },
          "system_key": {
            "maxLength": 128,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9_.-]*$",
            "title": "System Key",
            "type": "string"
          }
        },
        "required": [
          "system_key",
          "subject_type",
          "subject_id",
          "state"
        ],
        "title": "BusinessStateObservationCreate",
        "type": "object"
      },
      "BusinessStateObservationRead": {
        "properties": {
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "external_ref": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Ref"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "observed_at": {
            "format": "date-time",
            "title": "Observed At",
            "type": "string"
          },
          "payload_json": {
            "title": "Payload Json",
            "type": "string"
          },
          "state": {
            "title": "State",
            "type": "string"
          },
          "subject_id": {
            "title": "Subject Id",
            "type": "string"
          },
          "subject_type": {
            "title": "Subject Type",
            "type": "string"
          },
          "system_key": {
            "title": "System Key",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "tenant_id",
          "system_key",
          "subject_type",
          "subject_id",
          "state",
          "observed_at",
          "payload_json"
        ],
        "title": "BusinessStateObservationRead",
        "type": "object"
      },
      "BusinessTaskHandoffDemoRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "approvalGates": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Approvalgates",
            "type": "array"
          },
          "command": {
            "title": "Command",
            "type": "string"
          },
          "dataBoundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Databoundaries",
            "type": "array"
          },
          "docs": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Docs",
            "type": "array"
          },
          "notificationDrafts": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Notificationdrafts",
            "type": "array"
          },
          "outboxCandidates": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Outboxcandidates",
            "type": "array"
          },
          "role": {
            "title": "Role",
            "type": "string"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "subject": {
            "title": "Subject",
            "type": "string"
          },
          "summary": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Summary",
            "type": "array"
          },
          "taskCards": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Taskcards",
            "type": "array"
          }
        },
        "required": [
          "status",
          "command",
          "summary",
          "role",
          "subject",
          "taskCards",
          "outboxCandidates",
          "notificationDrafts",
          "approvalGates",
          "dataBoundaries",
          "api",
          "docs"
        ],
        "title": "BusinessTaskHandoffDemoRead",
        "type": "object"
      },
      "BusinessTaskHandoffPreviewCreate": {
        "properties": {
          "action_plan_steps": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "maxItems": 10,
            "title": "Action Plan Steps",
            "type": "array"
          },
          "handoff_kind": {
            "const": "action_plan_task_handoff",
            "default": "action_plan_task_handoff",
            "title": "Handoff Kind",
            "type": "string"
          },
          "include_internal_outbox": {
            "default": true,
            "title": "Include Internal Outbox",
            "type": "boolean"
          },
          "include_notification_drafts": {
            "default": true,
            "title": "Include Notification Drafts",
            "type": "boolean"
          },
          "role": {
            "default": "operator",
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "subject_id": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "maxLength": 64,
                "minLength": 2,
                "pattern": "^[a-z0-9][a-z0-9_-]*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          }
        },
        "title": "BusinessTaskHandoffPreviewCreate",
        "type": "object"
      },
      "BusinessTaskHandoffPreviewRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "approval_gates": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Approval Gates",
            "type": "array"
          },
          "data_boundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Data Boundaries",
            "type": "array"
          },
          "evidence": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Evidence",
            "type": "array"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "handoff_kind": {
            "const": "action_plan_task_handoff",
            "title": "Handoff Kind",
            "type": "string"
          },
          "notification_drafts": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Notification Drafts",
            "type": "array"
          },
          "outbox_candidates": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Outbox Candidates",
            "type": "array"
          },
          "role": {
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "subject_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "task_cards": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Task Cards",
            "type": "array"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "tenant_id",
          "handoff_kind",
          "role",
          "generated_at",
          "status",
          "summary"
        ],
        "title": "BusinessTaskHandoffPreviewRead",
        "type": "object"
      },
      "BusinessWorkbenchContextPreviewCreate": {
        "properties": {
          "context_kind": {
            "const": "role_assist",
            "default": "role_assist",
            "title": "Context Kind",
            "type": "string"
          },
          "include_resolved": {
            "default": false,
            "title": "Include Resolved",
            "type": "boolean"
          },
          "limit": {
            "default": 20,
            "maximum": 50.0,
            "minimum": 1.0,
            "title": "Limit",
            "type": "integer"
          },
          "role": {
            "default": "operator",
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "source_systems": {
            "items": {
              "type": "string"
            },
            "maxItems": 8,
            "title": "Source Systems",
            "type": "array"
          },
          "subject_id": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "maxLength": 64,
                "minLength": 2,
                "pattern": "^[a-z0-9][a-z0-9_-]*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          }
        },
        "title": "BusinessWorkbenchContextPreviewCreate",
        "type": "object"
      },
      "BusinessWorkbenchContextPreviewRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "context_cards": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Context Cards",
            "type": "array"
          },
          "context_kind": {
            "const": "role_assist",
            "title": "Context Kind",
            "type": "string"
          },
          "data_boundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Data Boundaries",
            "type": "array"
          },
          "evidence": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Evidence",
            "type": "array"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "review_points": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Review Points",
            "type": "array"
          },
          "risk_level": {
            "enum": [
              "normal",
              "attention",
              "critical"
            ],
            "title": "Risk Level",
            "type": "string"
          },
          "role": {
            "enum": [
              "operator",
              "accountant",
              "manager",
              "owner",
              "support"
            ],
            "title": "Role",
            "type": "string"
          },
          "source_systems": {
            "items": {
              "type": "string"
            },
            "title": "Source Systems",
            "type": "array"
          },
          "subject_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Id"
          },
          "subject_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Type"
          },
          "suggested_actions": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Suggested Actions",
            "type": "array"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "tenant_id",
          "context_kind",
          "role",
          "generated_at",
          "risk_level",
          "summary"
        ],
        "title": "BusinessWorkbenchContextPreviewRead",
        "type": "object"
      },
      "ConnectorCertificationRead": {
        "properties": {
          "adapterCount": {
            "title": "Adaptercount",
            "type": "integer"
          },
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "certificationGates": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Certificationgates",
            "type": "array"
          },
          "certificationLevel": {
            "title": "Certificationlevel",
            "type": "string"
          },
          "certificationStages": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Certificationstages",
            "type": "array"
          },
          "command": {
            "title": "Command",
            "type": "string"
          },
          "dataBoundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Databoundaries",
            "type": "array"
          },
          "docs": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Docs",
            "type": "array"
          },
          "implementationPath": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Implementationpath",
            "type": "array"
          },
          "privateReadyCount": {
            "title": "Privatereadycount",
            "type": "integer"
          },
          "providerProfiles": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Providerprofiles",
            "type": "array"
          },
          "status": {
            "const": "validated",
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Summary",
            "type": "array"
          }
        },
        "required": [
          "status",
          "command",
          "certificationLevel",
          "adapterCount",
          "privateReadyCount",
          "summary",
          "providerProfiles",
          "certificationStages",
          "certificationGates",
          "implementationPath",
          "dataBoundaries",
          "api",
          "docs"
        ],
        "title": "ConnectorCertificationRead",
        "type": "object"
      },
      "ConnectorFixtureReplayRead": {
        "properties": {
          "boundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Boundaries",
            "type": "array"
          },
          "command": {
            "title": "Command",
            "type": "string"
          },
          "docs": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Docs",
            "type": "array"
          },
          "evidenceFile": {
            "title": "Evidencefile",
            "type": "string"
          },
          "fixtureFile": {
            "title": "Fixturefile",
            "type": "string"
          },
          "outcomes": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Outcomes",
            "type": "array"
          },
          "status": {
            "const": "validated",
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Summary",
            "type": "array"
          }
        },
        "required": [
          "status",
          "command",
          "fixtureFile",
          "evidenceFile",
          "summary",
          "outcomes",
          "boundaries",
          "docs"
        ],
        "title": "ConnectorFixtureReplayRead",
        "type": "object"
      },
      "FileImportCreate": {
        "properties": {
          "integration_connection_id": {
            "anyOf": [
              {
                "maxLength": 36,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Integration Connection Id"
          },
          "records": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "maxItems": 50,
            "minItems": 1,
            "title": "Records",
            "type": "array"
          },
          "simulate_failure": {
            "anyOf": [
              {
                "enum": [
                  "retryable",
                  "permanent"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Simulate Failure"
          },
          "source_format": {
            "default": "json",
            "enum": [
              "json",
              "csv"
            ],
            "title": "Source Format",
            "type": "string"
          },
          "source_name": {
            "maxLength": 120,
            "minLength": 2,
            "title": "Source Name",
            "type": "string"
          }
        },
        "required": [
          "source_name",
          "records"
        ],
        "title": "FileImportCreate",
        "type": "object"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "title": "Detail",
            "type": "array"
          }
        },
        "title": "HTTPValidationError",
        "type": "object"
      },
      "IntegrationConnectionCheckCreate": {
        "properties": {
          "check_type": {
            "const": "synthetic_preflight",
            "default": "synthetic_preflight",
            "title": "Check Type",
            "type": "string"
          },
          "simulate_failure": {
            "anyOf": [
              {
                "enum": [
                  "provider_unavailable",
                  "credential_rejected"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Simulate Failure"
          }
        },
        "title": "IntegrationConnectionCheckCreate",
        "type": "object"
      },
      "IntegrationConnectionCheckRead": {
        "properties": {
          "adapter_key": {
            "title": "Adapter Key",
            "type": "string"
          },
          "check_type": {
            "title": "Check Type",
            "type": "string"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "details_json": {
            "title": "Details Json",
            "type": "string"
          },
          "duration_ms": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration Ms"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "integration_connection_id": {
            "title": "Integration Connection Id",
            "type": "string"
          },
          "status": {
            "enum": [
              "passed",
              "failed"
            ],
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "tenant_id",
          "integration_connection_id",
          "adapter_key",
          "check_type",
          "status",
          "summary",
          "details_json"
        ],
        "title": "IntegrationConnectionCheckRead",
        "type": "object"
      },
      "IntegrationConnectionCreate": {
        "properties": {
          "adapter_key": {
            "maxLength": 128,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9_.-]*$",
            "title": "Adapter Key",
            "type": "string"
          },
          "config": {
            "additionalProperties": true,
            "title": "Config",
            "type": "object"
          },
          "mapping": {
            "additionalProperties": true,
            "title": "Mapping",
            "type": "object"
          },
          "name": {
            "maxLength": 120,
            "minLength": 2,
            "title": "Name",
            "type": "string"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "maxItems": 8,
            "title": "Scopes",
            "type": "array"
          },
          "status": {
            "default": "active",
            "enum": [
              "active",
              "disabled"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "name",
          "adapter_key"
        ],
        "title": "IntegrationConnectionCreate",
        "type": "object"
      },
      "IntegrationConnectionHealthRead": {
        "properties": {
          "adapter_key": {
            "title": "Adapter Key",
            "type": "string"
          },
          "check_count": {
            "title": "Check Count",
            "type": "integer"
          },
          "connection_status": {
            "enum": [
              "active",
              "disabled"
            ],
            "title": "Connection Status",
            "type": "string"
          },
          "integration_connection_id": {
            "title": "Integration Connection Id",
            "type": "string"
          },
          "last_failure_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Failure At"
          },
          "last_success_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Success At"
          },
          "latest_checked_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Latest Checked At"
          },
          "latest_details": {
            "additionalProperties": true,
            "title": "Latest Details",
            "type": "object"
          },
          "latest_status": {
            "enum": [
              "never_checked",
              "passed",
              "failed"
            ],
            "title": "Latest Status",
            "type": "string"
          },
          "latest_summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Latest Summary"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "tenant_id",
          "integration_connection_id",
          "adapter_key",
          "connection_status",
          "latest_status",
          "check_count"
        ],
        "title": "IntegrationConnectionHealthRead",
        "type": "object"
      },
      "IntegrationConnectionRead": {
        "properties": {
          "adapter_key": {
            "title": "Adapter Key",
            "type": "string"
          },
          "config_json": {
            "title": "Config Json",
            "type": "string"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "mapping_json": {
            "title": "Mapping Json",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "scopes_json": {
            "title": "Scopes Json",
            "type": "string"
          },
          "status": {
            "enum": [
              "active",
              "disabled"
            ],
            "title": "Status",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "tenant_id",
          "name",
          "adapter_key",
          "status",
          "config_json",
          "mapping_json",
          "scopes_json"
        ],
        "title": "IntegrationConnectionRead",
        "type": "object"
      },
      "IntegrationExecutionDemoRead": {
        "properties": {
          "adapterKey": {
            "title": "Adapterkey",
            "type": "string"
          },
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "command": {
            "title": "Command",
            "type": "string"
          },
          "dataBoundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Databoundaries",
            "type": "array"
          },
          "docs": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Docs",
            "type": "array"
          },
          "executionMode": {
            "title": "Executionmode",
            "type": "string"
          },
          "observability": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Observability",
            "type": "array"
          },
          "operationKey": {
            "title": "Operationkey",
            "type": "string"
          },
          "reconciliationLinks": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Reconciliationlinks",
            "type": "array"
          },
          "retryPolicy": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Retrypolicy",
            "type": "array"
          },
          "runLedger": {
            "additionalProperties": true,
            "title": "Runledger",
            "type": "object"
          },
          "stateTransitions": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Statetransitions",
            "type": "array"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Summary",
            "type": "array"
          },
          "timeline": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Timeline",
            "type": "array"
          }
        },
        "required": [
          "status",
          "command",
          "summary",
          "adapterKey",
          "operationKey",
          "executionMode",
          "runLedger",
          "timeline",
          "stateTransitions",
          "retryPolicy",
          "reconciliationLinks",
          "observability",
          "dataBoundaries",
          "api",
          "docs"
        ],
        "title": "IntegrationExecutionDemoRead",
        "type": "object"
      },
      "IntegrationExecutionPreviewCreate": {
        "properties": {
          "adapter_key": {
            "default": "accounting.export.mock",
            "maxLength": 128,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9_.-]*$",
            "title": "Adapter Key",
            "type": "string"
          },
          "connection_scopes": {
            "items": {
              "type": "string"
            },
            "maxItems": 8,
            "title": "Connection Scopes",
            "type": "array"
          },
          "execution_kind": {
            "const": "adapter_execution_timeline",
            "default": "adapter_execution_timeline",
            "title": "Execution Kind",
            "type": "string"
          },
          "execution_mode": {
            "default": "contract_only",
            "enum": [
              "contract_only",
              "dry_run",
              "commit_request"
            ],
            "title": "Execution Mode",
            "type": "string"
          },
          "include_failure_path": {
            "default": true,
            "title": "Include Failure Path",
            "type": "boolean"
          },
          "operation_key": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 2,
                "pattern": "^[a-z0-9][a-z0-9_.-]*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "accounting_export_execute",
            "title": "Operation Key"
          },
          "request_id": {
            "default": "demo-request-001",
            "maxLength": 120,
            "minLength": 2,
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.:-]*$",
            "title": "Request Id",
            "type": "string"
          }
        },
        "title": "IntegrationExecutionPreviewCreate",
        "type": "object"
      },
      "IntegrationExecutionPreviewRead": {
        "properties": {
          "adapter_key": {
            "title": "Adapter Key",
            "type": "string"
          },
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "data_boundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Data Boundaries",
            "type": "array"
          },
          "evidence": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Evidence",
            "type": "array"
          },
          "execution_kind": {
            "const": "adapter_execution_timeline",
            "title": "Execution Kind",
            "type": "string"
          },
          "execution_mode": {
            "enum": [
              "contract_only",
              "dry_run",
              "commit_request"
            ],
            "title": "Execution Mode",
            "type": "string"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "observability": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Observability",
            "type": "array"
          },
          "operation_key": {
            "title": "Operation Key",
            "type": "string"
          },
          "reconciliation_links": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Reconciliation Links",
            "type": "array"
          },
          "retry_policy": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Retry Policy",
            "type": "array"
          },
          "run_ledger": {
            "additionalProperties": true,
            "title": "Run Ledger",
            "type": "object"
          },
          "state_transitions": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "State Transitions",
            "type": "array"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "timeline": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Timeline",
            "type": "array"
          }
        },
        "required": [
          "tenant_id",
          "execution_kind",
          "adapter_key",
          "operation_key",
          "execution_mode",
          "generated_at",
          "status",
          "summary"
        ],
        "title": "IntegrationExecutionPreviewRead",
        "type": "object"
      },
      "IntegrationIncidentCreate": {
        "properties": {
          "note": {
            "anyOf": [
              {
                "maxLength": 255,
                "minLength": 2,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          },
          "source_id": {
            "maxLength": 36,
            "minLength": 1,
            "title": "Source Id",
            "type": "string"
          },
          "source_type": {
            "enum": [
              "outbox_event",
              "reconciliation"
            ],
            "title": "Source Type",
            "type": "string"
          }
        },
        "required": [
          "source_type",
          "source_id"
        ],
        "title": "IntegrationIncidentCreate",
        "type": "object"
      },
      "IntegrationIncidentRead": {
        "properties": {
          "adapter_key": {
            "title": "Adapter Key",
            "type": "string"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "evidence_json": {
            "title": "Evidence Json",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "operation_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Operation Key"
          },
          "recommended_action": {
            "title": "Recommended Action",
            "type": "string"
          },
          "resolved_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resolved At"
          },
          "runbook_key": {
            "title": "Runbook Key",
            "type": "string"
          },
          "severity": {
            "enum": [
              "info",
              "warning",
              "critical"
            ],
            "title": "Severity",
            "type": "string"
          },
          "source_id": {
            "title": "Source Id",
            "type": "string"
          },
          "source_type": {
            "title": "Source Type",
            "type": "string"
          },
          "status": {
            "enum": [
              "open",
              "acknowledged",
              "resolved"
            ],
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "tenant_id",
          "source_type",
          "source_id",
          "adapter_key",
          "runbook_key",
          "severity",
          "status",
          "summary",
          "recommended_action",
          "evidence_json"
        ],
        "title": "IntegrationIncidentRead",
        "type": "object"
      },
      "IntegrationIncidentStatusChange": {
        "properties": {
          "note": {
            "anyOf": [
              {
                "maxLength": 255,
                "minLength": 2,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          },
          "status": {
            "enum": [
              "acknowledged",
              "resolved"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "IntegrationIncidentStatusChange",
        "type": "object"
      },
      "IntegrationMappingPreviewCreate": {
        "properties": {
          "adapter_key": {
            "default": "file.import.fake",
            "maxLength": 128,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9_.-]*$",
            "title": "Adapter Key",
            "type": "string"
          },
          "integration_connection_id": {
            "anyOf": [
              {
                "maxLength": 36,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Integration Connection Id"
          },
          "mapping": {
            "additionalProperties": true,
            "title": "Mapping",
            "type": "object"
          },
          "records": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "maxItems": 20,
            "minItems": 1,
            "title": "Records",
            "type": "array"
          }
        },
        "required": [
          "records"
        ],
        "title": "IntegrationMappingPreviewCreate",
        "type": "object"
      },
      "IntegrationMappingPreviewRead": {
        "properties": {
          "adapter_key": {
            "title": "Adapter Key",
            "type": "string"
          },
          "records": {
            "items": {
              "$ref": "#/components/schemas/IntegrationMappingPreviewRecordRead"
            },
            "title": "Records",
            "type": "array"
          },
          "records_accepted": {
            "title": "Records Accepted",
            "type": "integer"
          },
          "records_received": {
            "title": "Records Received",
            "type": "integer"
          },
          "records_rejected": {
            "title": "Records Rejected",
            "type": "integer"
          },
          "required_mapping_keys": {
            "items": {
              "type": "string"
            },
            "title": "Required Mapping Keys",
            "type": "array"
          }
        },
        "required": [
          "adapter_key",
          "required_mapping_keys",
          "records_received",
          "records_accepted",
          "records_rejected",
          "records"
        ],
        "title": "IntegrationMappingPreviewRead",
        "type": "object"
      },
      "IntegrationMappingPreviewRecordRead": {
        "properties": {
          "errors": {
            "items": {
              "type": "string"
            },
            "title": "Errors",
            "type": "array"
          },
          "index": {
            "title": "Index",
            "type": "integer"
          },
          "normalized": {
            "additionalProperties": true,
            "title": "Normalized",
            "type": "object"
          },
          "status": {
            "enum": [
              "accepted",
              "rejected"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "index",
          "status",
          "normalized"
        ],
        "title": "IntegrationMappingPreviewRecordRead",
        "type": "object"
      },
      "IntegrationOperatorReviewItemRead": {
        "properties": {
          "adapter_key": {
            "title": "Adapter Key",
            "type": "string"
          },
          "attempts": {
            "title": "Attempts",
            "type": "integer"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "dead_lettered_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dead Lettered At"
          },
          "event_type": {
            "title": "Event Type",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "integration_connection_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Integration Connection Id"
          },
          "last_duration_ms": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Duration Ms"
          },
          "last_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Error"
          },
          "next_retry_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Retry At"
          },
          "operation_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Operation Key"
          },
          "payload_summary": {
            "additionalProperties": true,
            "title": "Payload Summary",
            "type": "object"
          },
          "recommended_action": {
            "title": "Recommended Action",
            "type": "string"
          },
          "required_connection_scope": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Required Connection Scope"
          },
          "retry_endpoint": {
            "title": "Retry Endpoint",
            "type": "string"
          },
          "severity": {
            "enum": [
              "retryable",
              "operator_review"
            ],
            "title": "Severity",
            "type": "string"
          },
          "status": {
            "enum": [
              "retry",
              "dead_letter"
            ],
            "title": "Status",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "tenant_id",
          "adapter_key",
          "event_type",
          "status",
          "severity",
          "attempts",
          "recommended_action",
          "retry_endpoint"
        ],
        "title": "IntegrationOperatorReviewItemRead",
        "type": "object"
      },
      "IntegrationReconciliationCreate": {
        "properties": {
          "note": {
            "anyOf": [
              {
                "maxLength": 255,
                "minLength": 2,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          },
          "outbox_event_id": {
            "maxLength": 36,
            "minLength": 1,
            "title": "Outbox Event Id",
            "type": "string"
          },
          "provider_reference": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider Reference"
          },
          "provider_status": {
            "enum": [
              "success",
              "partial_success",
              "failed",
              "pending"
            ],
            "title": "Provider Status",
            "type": "string"
          },
          "records_accepted": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Records Accepted"
          },
          "records_received": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Records Received"
          },
          "records_rejected": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Records Rejected"
          }
        },
        "required": [
          "outbox_event_id",
          "provider_status"
        ],
        "title": "IntegrationReconciliationCreate",
        "type": "object"
      },
      "IntegrationReconciliationRead": {
        "properties": {
          "actual_json": {
            "title": "Actual Json",
            "type": "string"
          },
          "adapter_key": {
            "title": "Adapter Key",
            "type": "string"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "diff_json": {
            "title": "Diff Json",
            "type": "string"
          },
          "expected_json": {
            "title": "Expected Json",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "operation_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Operation Key"
          },
          "outbox_event_id": {
            "title": "Outbox Event Id",
            "type": "string"
          },
          "status": {
            "enum": [
              "matched",
              "mismatched",
              "pending",
              "blocked"
            ],
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "tenant_id",
          "outbox_event_id",
          "adapter_key",
          "status",
          "summary",
          "expected_json",
          "actual_json",
          "diff_json"
        ],
        "title": "IntegrationReconciliationRead",
        "type": "object"
      },
      "IntegrationRepairDemoRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "command": {
            "title": "Command",
            "type": "string"
          },
          "criticalCount": {
            "title": "Criticalcount",
            "type": "integer"
          },
          "dataBoundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Databoundaries",
            "type": "array"
          },
          "docs": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Docs",
            "type": "array"
          },
          "impactAnalysis": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Impactanalysis",
            "type": "array"
          },
          "incidentCount": {
            "title": "Incidentcount",
            "type": "integer"
          },
          "incidentMatrix": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Incidentmatrix",
            "type": "array"
          },
          "repairActions": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Repairactions",
            "type": "array"
          },
          "repairLevel": {
            "title": "Repairlevel",
            "type": "string"
          },
          "repairRunbooks": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Repairrunbooks",
            "type": "array"
          },
          "safeActionCount": {
            "title": "Safeactioncount",
            "type": "integer"
          },
          "safeExecutionPlan": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Safeexecutionplan",
            "type": "array"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Summary",
            "type": "array"
          }
        },
        "required": [
          "status",
          "command",
          "repairLevel",
          "incidentCount",
          "criticalCount",
          "safeActionCount",
          "summary",
          "incidentMatrix",
          "repairRunbooks",
          "impactAnalysis",
          "repairActions",
          "safeExecutionPlan",
          "dataBoundaries",
          "api",
          "docs"
        ],
        "title": "IntegrationRepairDemoRead",
        "type": "object"
      },
      "IntegrationRepairPreviewCreate": {
        "properties": {
          "action": {
            "maxLength": 80,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9_]*$",
            "title": "Action",
            "type": "string"
          },
          "incident_id": {
            "maxLength": 32,
            "minLength": 2,
            "pattern": "^[A-Z]{2}-[0-9]{3}$",
            "title": "Incident Id",
            "type": "string"
          },
          "include_postchecks": {
            "default": true,
            "title": "Include Postchecks",
            "type": "boolean"
          },
          "operator_role": {
            "default": "operator",
            "maxLength": 64,
            "minLength": 2,
            "title": "Operator Role",
            "type": "string"
          },
          "repair_kind": {
            "const": "operator_repair_action_preview",
            "default": "operator_repair_action_preview",
            "title": "Repair Kind",
            "type": "string"
          }
        },
        "required": [
          "incident_id",
          "action"
        ],
        "title": "IntegrationRepairPreviewCreate",
        "type": "object"
      },
      "IntegrationRepairPreviewRead": {
        "properties": {
          "action": {
            "title": "Action",
            "type": "string"
          },
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "approval_gate": {
            "additionalProperties": true,
            "title": "Approval Gate",
            "type": "object"
          },
          "data_boundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Data Boundaries",
            "type": "array"
          },
          "dry_run_result": {
            "additionalProperties": true,
            "title": "Dry Run Result",
            "type": "object"
          },
          "evidence": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Evidence",
            "type": "array"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "incident_id": {
            "title": "Incident Id",
            "type": "string"
          },
          "operator_role": {
            "title": "Operator Role",
            "type": "string"
          },
          "postchecks": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Postchecks",
            "type": "array"
          },
          "preflight_checks": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Preflight Checks",
            "type": "array"
          },
          "repair_kind": {
            "const": "operator_repair_action_preview",
            "title": "Repair Kind",
            "type": "string"
          },
          "runbook": {
            "additionalProperties": true,
            "title": "Runbook",
            "type": "object"
          },
          "selected_action": {
            "additionalProperties": true,
            "title": "Selected Action",
            "type": "object"
          },
          "selected_incident": {
            "additionalProperties": true,
            "title": "Selected Incident",
            "type": "object"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "tenant_id",
          "repair_kind",
          "incident_id",
          "action",
          "operator_role",
          "generated_at",
          "status",
          "summary",
          "selected_incident",
          "selected_action",
          "runbook"
        ],
        "title": "IntegrationRepairPreviewRead",
        "type": "object"
      },
      "IntegrationRunbookRead": {
        "properties": {
          "alert_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Alert Name"
          },
          "evidence_fields": {
            "items": {
              "type": "string"
            },
            "title": "Evidence Fields",
            "type": "array"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "recommended_actions": {
            "items": {
              "type": "string"
            },
            "title": "Recommended Actions",
            "type": "array"
          },
          "severity": {
            "enum": [
              "info",
              "warning",
              "critical"
            ],
            "title": "Severity",
            "type": "string"
          },
          "source_statuses": {
            "items": {
              "type": "string"
            },
            "title": "Source Statuses",
            "type": "array"
          },
          "source_type": {
            "enum": [
              "outbox_event",
              "reconciliation"
            ],
            "title": "Source Type",
            "type": "string"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "key",
          "title",
          "severity",
          "source_type",
          "source_statuses",
          "summary",
          "recommended_actions",
          "evidence_fields"
        ],
        "title": "IntegrationRunbookRead",
        "type": "object"
      },
      "IntegrationRuntimeDemoRead": {
        "properties": {
          "adapterKey": {
            "title": "Adapterkey",
            "type": "string"
          },
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "command": {
            "title": "Command",
            "type": "string"
          },
          "dataBoundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Databoundaries",
            "type": "array"
          },
          "docs": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Docs",
            "type": "array"
          },
          "executionMode": {
            "title": "Executionmode",
            "type": "string"
          },
          "incidentRoutes": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Incidentroutes",
            "type": "array"
          },
          "operationContract": {
            "additionalProperties": true,
            "title": "Operationcontract",
            "type": "object"
          },
          "operationKey": {
            "title": "Operationkey",
            "type": "string"
          },
          "outboxHandoff": {
            "additionalProperties": true,
            "title": "Outboxhandoff",
            "type": "object"
          },
          "preflightChecks": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Preflightchecks",
            "type": "array"
          },
          "reconciliationPlan": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Reconciliationplan",
            "type": "array"
          },
          "runtimeSteps": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Runtimesteps",
            "type": "array"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Summary",
            "type": "array"
          },
          "workerBoundary": {
            "additionalProperties": true,
            "title": "Workerboundary",
            "type": "object"
          }
        },
        "required": [
          "status",
          "command",
          "summary",
          "adapterKey",
          "operationKey",
          "executionMode",
          "operationContract",
          "runtimeSteps",
          "preflightChecks",
          "outboxHandoff",
          "workerBoundary",
          "reconciliationPlan",
          "incidentRoutes",
          "dataBoundaries",
          "api",
          "docs"
        ],
        "title": "IntegrationRuntimeDemoRead",
        "type": "object"
      },
      "IntegrationRuntimePreviewCreate": {
        "properties": {
          "adapter_key": {
            "default": "crm.bitrix24.mock",
            "maxLength": 128,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9_.-]*$",
            "title": "Adapter Key",
            "type": "string"
          },
          "connection_scopes": {
            "items": {
              "type": "string"
            },
            "maxItems": 8,
            "title": "Connection Scopes",
            "type": "array"
          },
          "execution_mode": {
            "default": "contract_only",
            "enum": [
              "contract_only",
              "dry_run",
              "commit_request"
            ],
            "title": "Execution Mode",
            "type": "string"
          },
          "include_incident_routes": {
            "default": true,
            "title": "Include Incident Routes",
            "type": "boolean"
          },
          "include_reconciliation": {
            "default": true,
            "title": "Include Reconciliation",
            "type": "boolean"
          },
          "operation_key": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 2,
                "pattern": "^[a-z0-9][a-z0-9_.-]*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "crm_deal_ingest_execute",
            "title": "Operation Key"
          },
          "runtime_kind": {
            "const": "adapter_operation_runtime",
            "default": "adapter_operation_runtime",
            "title": "Runtime Kind",
            "type": "string"
          }
        },
        "title": "IntegrationRuntimePreviewCreate",
        "type": "object"
      },
      "IntegrationRuntimePreviewRead": {
        "properties": {
          "adapter_key": {
            "title": "Adapter Key",
            "type": "string"
          },
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "data_boundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Data Boundaries",
            "type": "array"
          },
          "evidence": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Evidence",
            "type": "array"
          },
          "execution_mode": {
            "enum": [
              "contract_only",
              "dry_run",
              "commit_request"
            ],
            "title": "Execution Mode",
            "type": "string"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "incident_routes": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Incident Routes",
            "type": "array"
          },
          "operation_contract": {
            "additionalProperties": true,
            "title": "Operation Contract",
            "type": "object"
          },
          "operation_key": {
            "title": "Operation Key",
            "type": "string"
          },
          "outbox_handoff": {
            "additionalProperties": true,
            "title": "Outbox Handoff",
            "type": "object"
          },
          "preflight_checks": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Preflight Checks",
            "type": "array"
          },
          "reconciliation_plan": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Reconciliation Plan",
            "type": "array"
          },
          "runtime_kind": {
            "const": "adapter_operation_runtime",
            "title": "Runtime Kind",
            "type": "string"
          },
          "runtime_steps": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Runtime Steps",
            "type": "array"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "worker_boundary": {
            "additionalProperties": true,
            "title": "Worker Boundary",
            "type": "object"
          }
        },
        "required": [
          "tenant_id",
          "runtime_kind",
          "adapter_key",
          "operation_key",
          "execution_mode",
          "generated_at",
          "status",
          "summary"
        ],
        "title": "IntegrationRuntimePreviewRead",
        "type": "object"
      },
      "LoginRequest": {
        "properties": {
          "email": {
            "maxLength": 255,
            "minLength": 3,
            "pattern": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
            "title": "Email",
            "type": "string"
          },
          "password": {
            "maxLength": 128,
            "minLength": 8,
            "title": "Password",
            "type": "string"
          }
        },
        "required": [
          "email",
          "password"
        ],
        "title": "LoginRequest",
        "type": "object"
      },
      "MembershipCreate": {
        "properties": {
          "role": {
            "enum": [
              "owner",
              "admin",
              "manager",
              "viewer"
            ],
            "title": "Role",
            "type": "string"
          },
          "user_id": {
            "maxLength": 36,
            "minLength": 1,
            "title": "User Id",
            "type": "string"
          }
        },
        "required": [
          "user_id",
          "role"
        ],
        "title": "MembershipCreate",
        "type": "object"
      },
      "MembershipRead": {
        "properties": {
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "role": {
            "enum": [
              "owner",
              "admin",
              "manager",
              "viewer"
            ],
            "title": "Role",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "user_id": {
            "title": "User Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "tenant_id",
          "user_id",
          "role",
          "status"
        ],
        "title": "MembershipRead",
        "type": "object"
      },
      "NotificationDeliveryDemoRead": {
        "properties": {
          "adapterProfiles": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Adapterprofiles",
            "type": "array"
          },
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "command": {
            "title": "Command",
            "type": "string"
          },
          "dataBoundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Databoundaries",
            "type": "array"
          },
          "deadLetterPlan": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Deadletterplan",
            "type": "array"
          },
          "deliveryLevel": {
            "title": "Deliverylevel",
            "type": "string"
          },
          "deliveryRuntime": {
            "title": "Deliveryruntime",
            "type": "string"
          },
          "deliveryStages": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Deliverystages",
            "type": "array"
          },
          "docs": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Docs",
            "type": "array"
          },
          "observability": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Observability",
            "type": "array"
          },
          "outboxEvents": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Outboxevents",
            "type": "array"
          },
          "retryPolicy": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Retrypolicy",
            "type": "array"
          },
          "status": {
            "const": "validated",
            "title": "Status",
            "type": "string"
          },
          "subject": {
            "title": "Subject",
            "type": "string"
          },
          "summary": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Summary",
            "type": "array"
          }
        },
        "required": [
          "status",
          "command",
          "deliveryLevel",
          "summary",
          "deliveryRuntime",
          "subject",
          "adapterProfiles",
          "deliveryStages",
          "outboxEvents",
          "retryPolicy",
          "deadLetterPlan",
          "observability",
          "dataBoundaries",
          "api",
          "docs"
        ],
        "title": "NotificationDeliveryDemoRead",
        "type": "object"
      },
      "ObservabilityDashboardDemoRead": {
        "properties": {
          "alertLinks": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Alertlinks",
            "type": "array"
          },
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "command": {
            "title": "Command",
            "type": "string"
          },
          "dashboardGroups": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Dashboardgroups",
            "type": "array"
          },
          "dashboardLevel": {
            "title": "Dashboardlevel",
            "type": "string"
          },
          "dataBoundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Databoundaries",
            "type": "array"
          },
          "docs": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Docs",
            "type": "array"
          },
          "panelCatalog": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Panelcatalog",
            "type": "array"
          },
          "queryExamples": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Queryexamples",
            "type": "array"
          },
          "status": {
            "const": "validated",
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Summary",
            "type": "array"
          }
        },
        "required": [
          "status",
          "command",
          "dashboardLevel",
          "summary",
          "dashboardGroups",
          "panelCatalog",
          "queryExamples",
          "alertLinks",
          "dataBoundaries",
          "api",
          "docs"
        ],
        "title": "ObservabilityDashboardDemoRead",
        "type": "object"
      },
      "OutboxEventRead": {
        "properties": {
          "adapter_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Adapter Key"
          },
          "attempts": {
            "title": "Attempts",
            "type": "integer"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "dead_lettered_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dead Lettered At"
          },
          "event_type": {
            "title": "Event Type",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "last_duration_ms": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Duration Ms"
          },
          "last_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Error"
          },
          "next_retry_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Retry At"
          },
          "payload_json": {
            "title": "Payload Json",
            "type": "string"
          },
          "processed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Processed At"
          },
          "result_json": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Result Json"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "tenant_id",
          "event_type",
          "payload_json",
          "status",
          "attempts"
        ],
        "title": "OutboxEventRead",
        "type": "object"
      },
      "OutboxEventRetryRequest": {
        "properties": {
          "reason": {
            "anyOf": [
              {
                "maxLength": 255,
                "minLength": 2,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          },
          "reset_attempts": {
            "default": false,
            "title": "Reset Attempts",
            "type": "boolean"
          }
        },
        "title": "OutboxEventRetryRequest",
        "type": "object"
      },
      "PlatformAdminCreate": {
        "properties": {
          "role": {
            "const": "platform_admin",
            "default": "platform_admin",
            "title": "Role",
            "type": "string"
          },
          "user_id": {
            "maxLength": 36,
            "minLength": 1,
            "title": "User Id",
            "type": "string"
          }
        },
        "required": [
          "user_id"
        ],
        "title": "PlatformAdminCreate",
        "type": "object"
      },
      "PlatformAdminRead": {
        "properties": {
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "role": {
            "const": "platform_admin",
            "title": "Role",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "user_id": {
            "title": "User Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "user_id",
          "role",
          "status"
        ],
        "title": "PlatformAdminRead",
        "type": "object"
      },
      "ProviderOnboardingRead": {
        "properties": {
          "api": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Api",
            "type": "object"
          },
          "command": {
            "title": "Command",
            "type": "string"
          },
          "dataBoundaries": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Databoundaries",
            "type": "array"
          },
          "docs": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Docs",
            "type": "array"
          },
          "mappingPreview": {
            "additionalProperties": true,
            "title": "Mappingpreview",
            "type": "object"
          },
          "onboardingLevel": {
            "title": "Onboardinglevel",
            "type": "string"
          },
          "onboardingStages": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Onboardingstages",
            "type": "array"
          },
          "preflightChecks": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Preflightchecks",
            "type": "array"
          },
          "privateConnectorHandoff": {
            "additionalProperties": true,
            "title": "Privateconnectorhandoff",
            "type": "object"
          },
          "providerCategory": {
            "title": "Providercategory",
            "type": "string"
          },
          "providerKey": {
            "title": "Providerkey",
            "type": "string"
          },
          "providerName": {
            "title": "Providername",
            "type": "string"
          },
          "providerProfile": {
            "additionalProperties": true,
            "title": "Providerprofile",
            "type": "object"
          },
          "readinessBlockers": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Readinessblockers",
            "type": "array"
          },
          "readinessGates": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Readinessgates",
            "type": "array"
          },
          "readinessScore": {
            "title": "Readinessscore",
            "type": "integer"
          },
          "readinessStatus": {
            "title": "Readinessstatus",
            "type": "string"
          },
          "rolloutPlan": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Rolloutplan",
            "type": "array"
          },
          "sandboxContract": {
            "additionalProperties": true,
            "title": "Sandboxcontract",
            "type": "object"
          },
          "status": {
            "const": "previewed",
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Summary",
            "type": "array"
          }
        },
        "required": [
          "status",
          "command",
          "onboardingLevel",
          "providerKey",
          "providerName",
          "providerCategory",
          "readinessScore",
          "readinessStatus",
          "summary",
          "providerProfile",
          "onboardingStages",
          "readinessGates",
          "readinessBlockers",
          "privateConnectorHandoff",
          "mappingPreview",
          "preflightChecks",
          "sandboxContract",
          "rolloutPlan",
          "dataBoundaries",
          "api",
          "docs"
        ],
        "title": "ProviderOnboardingRead",
        "type": "object"
      },
      "PublicDemoRead": {
        "properties": {
          "adapterScenarios": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Adapterscenarios",
            "type": "array"
          },
          "adapterStudio": {
            "additionalProperties": true,
            "title": "Adapterstudio",
            "type": "object"
          },
          "adapters": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Adapters",
            "type": "array"
          },
          "alertRouting": {
            "additionalProperties": true,
            "title": "Alertrouting",
            "type": "object"
          },
          "apiContract": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Apicontract",
            "type": "object"
          },
          "auditEvents": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Auditevents",
            "type": "array"
          },
          "businessActionExecution": {
            "additionalProperties": true,
            "title": "Businessactionexecution",
            "type": "object"
          },
          "businessApprovalGateway": {
            "additionalProperties": true,
            "title": "Businessapprovalgateway",
            "type": "object"
          },
          "businessContextAssistant": {
            "additionalProperties": true,
            "title": "Businesscontextassistant",
            "type": "object"
          },
          "businessControlTower": {
            "additionalProperties": true,
            "title": "Businesscontroltower",
            "type": "object"
          },
          "businessIntakePipeline": {
            "additionalProperties": true,
            "title": "Businessintakepipeline",
            "type": "object"
          },
          "businessNotificationChannels": {
            "additionalProperties": true,
            "title": "Businessnotificationchannels",
            "type": "object"
          },
          "businessScenarioReplay": {
            "additionalProperties": true,
            "title": "Businessscenarioreplay",
            "type": "object"
          },
          "businessTaskHandoff": {
            "additionalProperties": true,
            "title": "Businesstaskhandoff",
            "type": "object"
          },
          "connectorCertification": {
            "additionalProperties": true,
            "title": "Connectorcertification",
            "type": "object"
          },
          "connectorFixtureReplay": {
            "additionalProperties": true,
            "title": "Connectorfixturereplay",
            "type": "object"
          },
          "dataSource": {
            "const": "api.synthetic",
            "title": "Datasource",
            "type": "string"
          },
          "domainEvents": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Domainevents",
            "type": "array"
          },
          "endToEndScenario": {
            "additionalProperties": true,
            "title": "Endtoendscenario",
            "type": "object"
          },
          "engineeringProof": {
            "additionalProperties": true,
            "title": "Engineeringproof",
            "type": "object"
          },
          "generatedAt": {
            "title": "Generatedat",
            "type": "string"
          },
          "health": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Health",
            "type": "object"
          },
          "incidentResponse": {
            "additionalProperties": true,
            "title": "Incidentresponse",
            "type": "object"
          },
          "integrationExecution": {
            "additionalProperties": true,
            "title": "Integrationexecution",
            "type": "object"
          },
          "integrationHealth": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Integrationhealth",
            "type": "array"
          },
          "integrationJobs": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Integrationjobs",
            "type": "array"
          },
          "integrationReadiness": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Integrationreadiness",
            "type": "array"
          },
          "integrationRepair": {
            "additionalProperties": true,
            "title": "Integrationrepair",
            "type": "object"
          },
          "integrationRuntime": {
            "additionalProperties": true,
            "title": "Integrationruntime",
            "type": "object"
          },
          "members": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Members",
            "type": "array"
          },
          "metrics": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Metrics",
            "type": "array"
          },
          "notificationDelivery": {
            "additionalProperties": true,
            "title": "Notificationdelivery",
            "type": "object"
          },
          "observabilityDashboard": {
            "additionalProperties": true,
            "title": "Observabilitydashboard",
            "type": "object"
          },
          "outbox": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Outbox",
            "type": "array"
          },
          "providerOnboarding": {
            "additionalProperties": true,
            "title": "Provideronboarding",
            "type": "object"
          },
          "recoveryEvidence": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Recoveryevidence",
            "type": "array"
          },
          "reviewConsole": {
            "additionalProperties": true,
            "title": "Reviewconsole",
            "type": "object"
          },
          "schemaVersion": {
            "title": "Schemaversion",
            "type": "integer"
          },
          "stackReadiness": {
            "additionalProperties": true,
            "title": "Stackreadiness",
            "type": "object"
          },
          "tenant": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Tenant",
            "type": "object"
          },
          "timeline": {
            "items": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "title": "Timeline",
            "type": "array"
          },
          "workQueue": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Workqueue",
            "type": "array"
          },
          "workflow": {
            "additionalProperties": true,
            "title": "Workflow",
            "type": "object"
          },
          "workflowScenarios": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Workflowscenarios",
            "type": "array"
          }
        },
        "required": [
          "schemaVersion",
          "generatedAt",
          "dataSource",
          "apiContract",
          "tenant",
          "health",
          "metrics",
          "workQueue",
          "members",
          "auditEvents",
          "outbox",
          "adapters",
          "adapterScenarios",
          "adapterStudio",
          "connectorCertification",
          "providerOnboarding",
          "integrationRuntime",
          "integrationExecution",
          "integrationRepair",
          "observabilityDashboard",
          "notificationDelivery",
          "connectorFixtureReplay",
          "businessIntakePipeline",
          "businessTaskHandoff",
          "businessNotificationChannels",
          "businessContextAssistant",
          "businessActionExecution",
          "businessApprovalGateway",
          "integrationJobs",
          "integrationHealth",
          "integrationReadiness",
          "recoveryEvidence",
          "alertRouting",
          "incidentResponse",
          "businessControlTower",
          "businessScenarioReplay",
          "stackReadiness",
          "reviewConsole",
          "engineeringProof",
          "workflow",
          "workflowScenarios",
          "endToEndScenario",
          "timeline",
          "domainEvents"
        ],
        "title": "PublicDemoRead",
        "type": "object"
      },
      "RepairActionExecutionRequest": {
        "properties": {
          "mode": {
            "default": "dry_run",
            "enum": [
              "dry_run",
              "commit_request"
            ],
            "title": "Mode",
            "type": "string"
          },
          "note": {
            "anyOf": [
              {
                "maxLength": 255,
                "minLength": 2,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          }
        },
        "title": "RepairActionExecutionRequest",
        "type": "object"
      },
      "RepairActionPropose": {
        "properties": {
          "action_type": {
            "default": "sync_status",
            "maxLength": 128,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9_.-]*$",
            "title": "Action Type",
            "type": "string"
          },
          "payload": {
            "additionalProperties": true,
            "title": "Payload",
            "type": "object"
          },
          "requires_approval": {
            "default": true,
            "title": "Requires Approval",
            "type": "boolean"
          },
          "safety_level": {
            "default": "medium",
            "enum": [
              "low",
              "medium",
              "high"
            ],
            "title": "Safety Level",
            "type": "string"
          },
          "summary": {
            "anyOf": [
              {
                "maxLength": 2000,
                "minLength": 2,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Summary"
          }
        },
        "title": "RepairActionPropose",
        "type": "object"
      },
      "RepairActionRead": {
        "properties": {
          "action_type": {
            "title": "Action Type",
            "type": "string"
          },
          "approved_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Approved At"
          },
          "business_exception_id": {
            "title": "Business Exception Id",
            "type": "string"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "executed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Executed At"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "payload_json": {
            "title": "Payload Json",
            "type": "string"
          },
          "requires_approval": {
            "title": "Requires Approval",
            "type": "boolean"
          },
          "result_json": {
            "title": "Result Json",
            "type": "string"
          },
          "safety_level": {
            "enum": [
              "low",
              "medium",
              "high"
            ],
            "title": "Safety Level",
            "type": "string"
          },
          "status": {
            "enum": [
              "proposed",
              "approved",
              "executed"
            ],
            "title": "Status",
            "type": "string"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "tenant_id",
          "business_exception_id",
          "action_type",
          "safety_level",
          "requires_approval",
          "status",
          "summary",
          "payload_json",
          "result_json"
        ],
        "title": "RepairActionRead",
        "type": "object"
      },
      "TenantCreate": {
        "properties": {
          "name": {
            "maxLength": 255,
            "minLength": 2,
            "title": "Name",
            "type": "string"
          },
          "slug": {
            "maxLength": 80,
            "minLength": 2,
            "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$",
            "title": "Slug",
            "type": "string"
          }
        },
        "required": [
          "slug",
          "name"
        ],
        "title": "TenantCreate",
        "type": "object"
      },
      "TenantRead": {
        "properties": {
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "slug": {
            "title": "Slug",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "id",
          "slug",
          "name",
          "status"
        ],
        "title": "TenantRead",
        "type": "object"
      },
      "TokenRevocationRead": {
        "properties": {
          "revoked": {
            "title": "Revoked",
            "type": "boolean"
          },
          "status": {
            "const": "revoked",
            "title": "Status",
            "type": "string"
          },
          "token_id": {
            "title": "Token Id",
            "type": "string"
          }
        },
        "required": [
          "revoked",
          "token_id",
          "status"
        ],
        "title": "TokenRevocationRead",
        "type": "object"
      },
      "UserCreate": {
        "properties": {
          "display_name": {
            "maxLength": 255,
            "minLength": 2,
            "title": "Display Name",
            "type": "string"
          },
          "email": {
            "maxLength": 255,
            "minLength": 3,
            "pattern": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
            "title": "Email",
            "type": "string"
          },
          "password": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 8,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Password"
          }
        },
        "required": [
          "email",
          "display_name"
        ],
        "title": "UserCreate",
        "type": "object"
      },
      "UserRead": {
        "properties": {
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "email": {
            "title": "Email",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "id",
          "email",
          "display_name",
          "status"
        ],
        "title": "UserRead",
        "type": "object"
      },
      "ValidationError": {
        "properties": {
          "ctx": {
            "title": "Context",
            "type": "object"
          },
          "input": {
            "title": "Input"
          },
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location",
            "type": "array"
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        },
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError",
        "type": "object"
      },
      "WorkflowActionRunRead": {
        "properties": {
          "action_type": {
            "title": "Action Type",
            "type": "string"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "new_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "New Status"
          },
          "outbox_event_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Outbox Event Id"
          },
          "previous_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Previous Status"
          },
          "result_json": {
            "title": "Result Json",
            "type": "string"
          },
          "source_record_id": {
            "title": "Source Record Id",
            "type": "string"
          },
          "source_record_type": {
            "title": "Source Record Type",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "task_record_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Record Id"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "trigger_event_type": {
            "title": "Trigger Event Type",
            "type": "string"
          },
          "workflow_rule_id": {
            "title": "Workflow Rule Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "tenant_id",
          "workflow_rule_id",
          "trigger_event_type",
          "action_type",
          "status",
          "source_record_id",
          "source_record_type",
          "result_json"
        ],
        "title": "WorkflowActionRunRead",
        "type": "object"
      },
      "WorkflowRuleCreate": {
        "properties": {
          "action_config": {
            "additionalProperties": true,
            "title": "Action Config",
            "type": "object"
          },
          "action_type": {
            "default": "emit_outbox_event",
            "enum": [
              "emit_outbox_event",
              "create_task_record",
              "request_adapter_sync"
            ],
            "title": "Action Type",
            "type": "string"
          },
          "from_status": {
            "anyOf": [
              {
                "maxLength": 32,
                "minLength": 2,
                "pattern": "^[a-z0-9][a-z0-9_-]*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "From Status"
          },
          "name": {
            "maxLength": 120,
            "minLength": 2,
            "title": "Name",
            "type": "string"
          },
          "record_type": {
            "anyOf": [
              {
                "enum": [
                  "contract",
                  "payment",
                  "lesson",
                  "task",
                  "document"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Record Type"
          },
          "to_status": {
            "anyOf": [
              {
                "maxLength": 32,
                "minLength": 2,
                "pattern": "^[a-z0-9][a-z0-9_-]*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "To Status"
          },
          "trigger_event_type": {
            "const": "business_record.status_changed",
            "default": "business_record.status_changed",
            "title": "Trigger Event Type",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "title": "WorkflowRuleCreate",
        "type": "object"
      },
      "WorkflowRuleRead": {
        "properties": {
          "action_config_json": {
            "title": "Action Config Json",
            "type": "string"
          },
          "action_type": {
            "enum": [
              "emit_outbox_event",
              "create_task_record",
              "request_adapter_sync"
            ],
            "title": "Action Type",
            "type": "string"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "from_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "From Status"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "record_type": {
            "anyOf": [
              {
                "enum": [
                  "contract",
                  "payment",
                  "lesson",
                  "task",
                  "document"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Record Type"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "to_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "To Status"
          },
          "trigger_event_type": {
            "const": "business_record.status_changed",
            "title": "Trigger Event Type",
            "type": "string"
          }
        },
        "required": [
          "id",
          "tenant_id",
          "name",
          "status",
          "trigger_event_type",
          "action_type",
          "action_config_json"
        ],
        "title": "WorkflowRuleRead",
        "type": "object"
      }
    }
  },
  "info": {
    "title": "DriveDesk Core API",
    "version": "0.1.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/auth/login": {
      "post": {
        "operationId": "login_endpoint_auth_login_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccessTokenRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Login Endpoint",
        "tags": [
          "auth"
        ]
      }
    },
    "/auth/logout": {
      "post": {
        "operationId": "logout_endpoint_auth_logout_post",
        "parameters": [
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenRevocationRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Logout Endpoint",
        "tags": [
          "auth"
        ]
      }
    },
    "/auth/me": {
      "get": {
        "operationId": "me_endpoint_auth_me_get",
        "parameters": [
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthMeRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Me Endpoint",
        "tags": [
          "auth"
        ]
      }
    },
    "/auth/sessions": {
      "get": {
        "operationId": "list_auth_sessions_endpoint_auth_sessions_get",
        "parameters": [
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/AuthSessionRead"
                  },
                  "title": "Response List Auth Sessions Endpoint Auth Sessions Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Auth Sessions Endpoint",
        "tags": [
          "auth"
        ]
      }
    },
    "/auth/sessions/{session_id}/revoke": {
      "post": {
        "operationId": "revoke_auth_session_endpoint_auth_sessions__session_id__revoke_post",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "title": "Session Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenRevocationRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Revoke Auth Session Endpoint",
        "tags": [
          "auth"
        ]
      }
    },
    "/business-record-lifecycle-policies": {
      "get": {
        "operationId": "list_business_record_lifecycle_policies_endpoint_business_record_lifecycle_policies_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BusinessRecordLifecyclePolicyRead"
                  },
                  "title": "Response List Business Record Lifecycle Policies Endpoint Business Record Lifecycle Policies Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "List Business Record Lifecycle Policies Endpoint",
        "tags": [
          "business-records"
        ]
      }
    },
    "/demo/business-action-execution": {
      "get": {
        "operationId": "business_action_execution_demo_demo_business_action_execution_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessActionExecutionDemoRead"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Business Action Execution Demo",
        "tags": [
          "demo"
        ]
      }
    },
    "/demo/business-approval-gateway": {
      "get": {
        "operationId": "business_approval_gateway_demo_demo_business_approval_gateway_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessApprovalGatewayDemoRead"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Business Approval Gateway Demo",
        "tags": [
          "demo"
        ]
      }
    },
    "/demo/business-context-assistant": {
      "get": {
        "operationId": "business_context_assistant_demo_demo_business_context_assistant_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessContextAssistantDemoRead"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Business Context Assistant Demo",
        "tags": [
          "demo"
        ]
      }
    },
    "/demo/business-intake-pipeline": {
      "get": {
        "operationId": "business_intake_pipeline_demo_demo_business_intake_pipeline_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessIntakePipelineDemoRead"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Business Intake Pipeline Demo",
        "tags": [
          "demo"
        ]
      }
    },
    "/demo/business-notification-channels": {
      "get": {
        "operationId": "business_notification_channels_demo_demo_business_notification_channels_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessNotificationChannelMatrixDemoRead"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Business Notification Channels Demo",
        "tags": [
          "demo"
        ]
      }
    },
    "/demo/business-scenario-replay": {
      "get": {
        "operationId": "business_scenario_replay_demo_demo_business_scenario_replay_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessScenarioReplayRead"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Business Scenario Replay Demo",
        "tags": [
          "demo"
        ]
      }
    },
    "/demo/business-task-handoff": {
      "get": {
        "operationId": "business_task_handoff_demo_demo_business_task_handoff_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessTaskHandoffDemoRead"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Business Task Handoff Demo",
        "tags": [
          "demo"
        ]
      }
    },
    "/demo/connector-certification": {
      "get": {
        "operationId": "connector_certification_demo_demo_connector_certification_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectorCertificationRead"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Connector Certification Demo",
        "tags": [
          "demo"
        ]
      }
    },
    "/demo/connector-fixture-replay": {
      "get": {
        "operationId": "connector_fixture_replay_demo_demo_connector_fixture_replay_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectorFixtureReplayRead"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Connector Fixture Replay Demo",
        "tags": [
          "demo"
        ]
      }
    },
    "/demo/integration-execution": {
      "get": {
        "operationId": "integration_execution_demo_demo_integration_execution_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationExecutionDemoRead"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Integration Execution Demo",
        "tags": [
          "demo"
        ]
      }
    },
    "/demo/integration-repair": {
      "get": {
        "operationId": "integration_repair_demo_demo_integration_repair_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationRepairDemoRead"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Integration Repair Demo",
        "tags": [
          "demo"
        ]
      }
    },
    "/demo/integration-runtime": {
      "get": {
        "operationId": "integration_runtime_demo_demo_integration_runtime_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationRuntimeDemoRead"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Integration Runtime Demo",
        "tags": [
          "demo"
        ]
      }
    },
    "/demo/notification-delivery": {
      "get": {
        "operationId": "notification_delivery_demo_demo_notification_delivery_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationDeliveryDemoRead"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Notification Delivery Demo",
        "tags": [
          "demo"
        ]
      }
    },
    "/demo/observability-dashboard": {
      "get": {
        "operationId": "observability_dashboard_demo_demo_observability_dashboard_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObservabilityDashboardDemoRead"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Observability Dashboard Demo",
        "tags": [
          "demo"
        ]
      }
    },
    "/demo/provider-onboarding": {
      "get": {
        "operationId": "provider_onboarding_demo_demo_provider_onboarding_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProviderOnboardingRead"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Provider Onboarding Demo",
        "tags": [
          "demo"
        ]
      }
    },
    "/demo/public": {
      "get": {
        "operationId": "public_demo_demo_public_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicDemoRead"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Public Demo",
        "tags": [
          "demo"
        ]
      }
    },
    "/health": {
      "get": {
        "operationId": "health_health_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "title": "Response Health Health Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Health"
      }
    },
    "/integration-adapters": {
      "get": {
        "operationId": "list_integration_adapters_endpoint_integration_adapters_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/AdapterContractRead"
                  },
                  "title": "Response List Integration Adapters Endpoint Integration Adapters Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "List Integration Adapters Endpoint",
        "tags": [
          "integrations"
        ]
      }
    },
    "/integration-runbooks": {
      "get": {
        "operationId": "list_integration_runbooks_endpoint_integration_runbooks_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/IntegrationRunbookRead"
                  },
                  "title": "Response List Integration Runbooks Endpoint Integration Runbooks Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "List Integration Runbooks Endpoint",
        "tags": [
          "integrations"
        ]
      }
    },
    "/platform/admins": {
      "get": {
        "operationId": "list_platform_admins_endpoint_platform_admins_get",
        "parameters": [
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/PlatformAdminRead"
                  },
                  "title": "Response List Platform Admins Endpoint Platform Admins Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Platform Admins Endpoint",
        "tags": [
          "platform"
        ]
      },
      "post": {
        "operationId": "create_platform_admin_endpoint_platform_admins_post",
        "parameters": [
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlatformAdminCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformAdminRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Platform Admin Endpoint",
        "tags": [
          "platform"
        ]
      }
    },
    "/ready": {
      "get": {
        "operationId": "ready_ready_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Ready Ready Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Ready"
      }
    },
    "/tenants": {
      "get": {
        "operationId": "list_tenants_endpoint_tenants_get",
        "parameters": [
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/TenantRead"
                  },
                  "title": "Response List Tenants Endpoint Tenants Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Tenants Endpoint"
      },
      "post": {
        "operationId": "create_tenant_endpoint_tenants_post",
        "parameters": [
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Tenant Endpoint"
      }
    },
    "/tenants/{tenant_id}": {
      "get": {
        "operationId": "get_tenant_endpoint_tenants__tenant_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Get Tenant Endpoint"
      }
    },
    "/tenants/{tenant_id}/audit-events": {
      "get": {
        "operationId": "list_audit_events_endpoint_tenants__tenant_id__audit_events_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/AuditEventRead"
                  },
                  "title": "Response List Audit Events Endpoint Tenants  Tenant Id  Audit Events Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Audit Events Endpoint"
      }
    },
    "/tenants/{tenant_id}/business-action-executions/preview": {
      "post": {
        "operationId": "preview_business_action_execution_endpoint_tenants__tenant_id__business_action_executions_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessActionExecutionPreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessActionExecutionPreviewRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Business Action Execution Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/business-action-plans/preview": {
      "post": {
        "operationId": "preview_business_action_plan_endpoint_tenants__tenant_id__business_action_plans_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessActionPlanPreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessActionPlanPreviewRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Business Action Plan Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/business-approval-gateway/preview": {
      "post": {
        "operationId": "preview_business_approval_gateway_endpoint_tenants__tenant_id__business_approval_gateway_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessApprovalGatewayPreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessApprovalGatewayPreviewRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Business Approval Gateway Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/business-briefings/preview": {
      "post": {
        "operationId": "build_business_briefing_endpoint_tenants__tenant_id__business_briefings_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessBriefingPreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessBriefingRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Build Business Briefing Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/business-detections/preview": {
      "post": {
        "operationId": "preview_business_detections_endpoint_tenants__tenant_id__business_detections_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessDetectionPreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessDetectionPreviewRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Business Detections Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/business-escalations/preview": {
      "post": {
        "operationId": "preview_business_escalations_endpoint_tenants__tenant_id__business_escalations_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessEscalationPreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessEscalationPreviewRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Business Escalations Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/business-exceptions": {
      "get": {
        "operationId": "list_business_exceptions_endpoint_tenants__tenant_id__business_exceptions_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "severity",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Severity"
            }
          },
          {
            "in": "query",
            "name": "exception_type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Exception Type"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BusinessExceptionRead"
                  },
                  "title": "Response List Business Exceptions Endpoint Tenants  Tenant Id  Business Exceptions Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Business Exceptions Endpoint",
        "tags": [
          "business-control"
        ]
      },
      "post": {
        "operationId": "create_business_exception_endpoint_tenants__tenant_id__business_exceptions_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessExceptionCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessExceptionRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Business Exception Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/business-exceptions/{business_exception_id}/repair-actions": {
      "post": {
        "operationId": "propose_repair_action_endpoint_tenants__tenant_id__business_exceptions__business_exception_id__repair_actions_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "business_exception_id",
            "required": true,
            "schema": {
              "title": "Business Exception Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RepairActionPropose"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RepairActionRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Propose Repair Action Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/business-exceptions/{business_exception_id}/status": {
      "post": {
        "operationId": "change_business_exception_status_endpoint_tenants__tenant_id__business_exceptions__business_exception_id__status_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "business_exception_id",
            "required": true,
            "schema": {
              "title": "Business Exception Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessExceptionStatusChange"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessExceptionRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Change Business Exception Status Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/business-intake-pipeline/preview": {
      "post": {
        "operationId": "preview_business_intake_pipeline_endpoint_tenants__tenant_id__business_intake_pipeline_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessIntakePipelinePreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessIntakePipelinePreviewRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Business Intake Pipeline Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/business-notification-channels/preview": {
      "post": {
        "operationId": "preview_business_notification_channel_matrix_endpoint_tenants__tenant_id__business_notification_channels_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessNotificationChannelMatrixPreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessNotificationChannelMatrixPreviewRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Business Notification Channel Matrix Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/business-notifications/preview": {
      "post": {
        "operationId": "preview_business_notifications_endpoint_tenants__tenant_id__business_notifications_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessNotificationPreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessNotificationPreviewRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Business Notifications Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/business-provider-intake/preview": {
      "post": {
        "operationId": "preview_business_provider_intake_endpoint_tenants__tenant_id__business_provider_intake_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessProviderIntakePreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessProviderIntakePreviewRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Business Provider Intake Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/business-records": {
      "get": {
        "operationId": "list_business_records_endpoint_tenants__tenant_id__business_records_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "record_type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "contract",
                    "payment",
                    "lesson",
                    "task",
                    "document"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Record Type"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BusinessRecordRead"
                  },
                  "title": "Response List Business Records Endpoint Tenants  Tenant Id  Business Records Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Business Records Endpoint"
      },
      "post": {
        "operationId": "create_business_record_endpoint_tenants__tenant_id__business_records_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessRecordCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessRecordRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Business Record Endpoint"
      }
    },
    "/tenants/{tenant_id}/business-records/lifecycle-preview": {
      "post": {
        "operationId": "preview_business_record_lifecycle_endpoint_tenants__tenant_id__business_records_lifecycle_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessRecordLifecyclePreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessRecordLifecyclePreviewRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Business Record Lifecycle Endpoint",
        "tags": [
          "business-records"
        ]
      }
    },
    "/tenants/{tenant_id}/business-records/{record_id}/transition": {
      "post": {
        "operationId": "transition_business_record_endpoint_tenants__tenant_id__business_records__record_id__transition_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "record_id",
            "required": true,
            "schema": {
              "title": "Record Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessRecordTransition"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessRecordRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Transition Business Record Endpoint"
      }
    },
    "/tenants/{tenant_id}/business-state/observations": {
      "get": {
        "operationId": "list_business_state_observations_endpoint_tenants__tenant_id__business_state_observations_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "system_key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "System Key"
            }
          },
          {
            "in": "query",
            "name": "subject_type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Subject Type"
            }
          },
          {
            "in": "query",
            "name": "subject_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Subject Id"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BusinessStateObservationRead"
                  },
                  "title": "Response List Business State Observations Endpoint Tenants  Tenant Id  Business State Observations Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Business State Observations Endpoint",
        "tags": [
          "business-control"
        ]
      },
      "post": {
        "operationId": "create_business_state_observation_endpoint_tenants__tenant_id__business_state_observations_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessStateObservationCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessStateObservationRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Business State Observation Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/business-task-handoffs/preview": {
      "post": {
        "operationId": "preview_business_task_handoff_endpoint_tenants__tenant_id__business_task_handoffs_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessTaskHandoffPreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessTaskHandoffPreviewRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Business Task Handoff Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/business-workbench-context/preview": {
      "post": {
        "operationId": "preview_business_workbench_context_endpoint_tenants__tenant_id__business_workbench_context_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BusinessWorkbenchContextPreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessWorkbenchContextPreviewRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Business Workbench Context Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/integration-connections": {
      "get": {
        "operationId": "list_integration_connections_endpoint_tenants__tenant_id__integration_connections_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/IntegrationConnectionRead"
                  },
                  "title": "Response List Integration Connections Endpoint Tenants  Tenant Id  Integration Connections Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Integration Connections Endpoint"
      },
      "post": {
        "operationId": "create_integration_connection_endpoint_tenants__tenant_id__integration_connections_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationConnectionCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationConnectionRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Integration Connection Endpoint"
      }
    },
    "/tenants/{tenant_id}/integration-connections/{connection_id}/health": {
      "get": {
        "operationId": "get_integration_connection_health_endpoint_tenants__tenant_id__integration_connections__connection_id__health_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "connection_id",
            "required": true,
            "schema": {
              "title": "Connection Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationConnectionHealthRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Get Integration Connection Health Endpoint",
        "tags": [
          "integrations"
        ]
      }
    },
    "/tenants/{tenant_id}/integration-connections/{connection_id}/health-checks": {
      "get": {
        "operationId": "list_integration_connection_checks_endpoint_tenants__tenant_id__integration_connections__connection_id__health_checks_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "connection_id",
            "required": true,
            "schema": {
              "title": "Connection Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/IntegrationConnectionCheckRead"
                  },
                  "title": "Response List Integration Connection Checks Endpoint Tenants  Tenant Id  Integration Connections  Connection Id  Health Checks Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Integration Connection Checks Endpoint",
        "tags": [
          "integrations"
        ]
      },
      "post": {
        "operationId": "run_integration_connection_check_endpoint_tenants__tenant_id__integration_connections__connection_id__health_checks_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "connection_id",
            "required": true,
            "schema": {
              "title": "Connection Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationConnectionCheckCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationConnectionCheckRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Run Integration Connection Check Endpoint",
        "tags": [
          "integrations"
        ]
      }
    },
    "/tenants/{tenant_id}/integration-executions/preview": {
      "post": {
        "operationId": "preview_integration_execution_endpoint_tenants__tenant_id__integration_executions_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationExecutionPreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationExecutionPreviewRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Integration Execution Endpoint",
        "tags": [
          "integrations"
        ]
      }
    },
    "/tenants/{tenant_id}/integration-exports/accounting": {
      "post": {
        "operationId": "create_accounting_export_endpoint_tenants__tenant_id__integration_exports_accounting_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountingExportCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutboxEventRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Accounting Export Endpoint",
        "tags": [
          "integrations"
        ]
      }
    },
    "/tenants/{tenant_id}/integration-imports/file": {
      "post": {
        "operationId": "create_file_import_endpoint_tenants__tenant_id__integration_imports_file_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FileImportCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutboxEventRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create File Import Endpoint"
      }
    },
    "/tenants/{tenant_id}/integration-incidents": {
      "get": {
        "operationId": "list_integration_incidents_endpoint_tenants__tenant_id__integration_incidents_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "severity",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Severity"
            }
          },
          {
            "in": "query",
            "name": "adapter_key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Adapter Key"
            }
          },
          {
            "in": "query",
            "name": "source_type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Source Type"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/IntegrationIncidentRead"
                  },
                  "title": "Response List Integration Incidents Endpoint Tenants  Tenant Id  Integration Incidents Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Integration Incidents Endpoint",
        "tags": [
          "integrations"
        ]
      },
      "post": {
        "operationId": "create_integration_incident_endpoint_tenants__tenant_id__integration_incidents_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationIncidentCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationIncidentRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Integration Incident Endpoint",
        "tags": [
          "integrations"
        ]
      }
    },
    "/tenants/{tenant_id}/integration-incidents/{incident_id}/status": {
      "post": {
        "operationId": "change_integration_incident_status_endpoint_tenants__tenant_id__integration_incidents__incident_id__status_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "incident_id",
            "required": true,
            "schema": {
              "title": "Incident Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationIncidentStatusChange"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationIncidentRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Change Integration Incident Status Endpoint",
        "tags": [
          "integrations"
        ]
      }
    },
    "/tenants/{tenant_id}/integration-mapping-preview": {
      "post": {
        "operationId": "preview_integration_mapping_endpoint_tenants__tenant_id__integration_mapping_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationMappingPreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationMappingPreviewRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Integration Mapping Endpoint",
        "tags": [
          "integrations"
        ]
      }
    },
    "/tenants/{tenant_id}/integration-operator-review": {
      "get": {
        "operationId": "list_integration_operator_review_endpoint_tenants__tenant_id__integration_operator_review_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "adapter_key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Adapter Key"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/IntegrationOperatorReviewItemRead"
                  },
                  "title": "Response List Integration Operator Review Endpoint Tenants  Tenant Id  Integration Operator Review Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Integration Operator Review Endpoint",
        "tags": [
          "integrations"
        ]
      }
    },
    "/tenants/{tenant_id}/integration-reconciliations": {
      "get": {
        "operationId": "list_integration_reconciliations_endpoint_tenants__tenant_id__integration_reconciliations_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "adapter_key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Adapter Key"
            }
          },
          {
            "in": "query",
            "name": "outbox_event_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Outbox Event Id"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/IntegrationReconciliationRead"
                  },
                  "title": "Response List Integration Reconciliations Endpoint Tenants  Tenant Id  Integration Reconciliations Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Integration Reconciliations Endpoint",
        "tags": [
          "integrations"
        ]
      },
      "post": {
        "operationId": "create_integration_reconciliation_endpoint_tenants__tenant_id__integration_reconciliations_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationReconciliationCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationReconciliationRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Integration Reconciliation Endpoint",
        "tags": [
          "integrations"
        ]
      }
    },
    "/tenants/{tenant_id}/integration-repairs/preview": {
      "post": {
        "operationId": "preview_integration_repair_endpoint_tenants__tenant_id__integration_repairs_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationRepairPreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationRepairPreviewRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Integration Repair Endpoint",
        "tags": [
          "integrations"
        ]
      }
    },
    "/tenants/{tenant_id}/integration-runtime/preview": {
      "post": {
        "operationId": "preview_integration_runtime_endpoint_tenants__tenant_id__integration_runtime_preview_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationRuntimePreviewCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationRuntimePreviewRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Preview Integration Runtime Endpoint",
        "tags": [
          "integrations"
        ]
      }
    },
    "/tenants/{tenant_id}/memberships": {
      "get": {
        "operationId": "list_memberships_endpoint_tenants__tenant_id__memberships_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/MembershipRead"
                  },
                  "title": "Response List Memberships Endpoint Tenants  Tenant Id  Memberships Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Memberships Endpoint"
      },
      "post": {
        "operationId": "create_membership_endpoint_tenants__tenant_id__memberships_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MembershipCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MembershipRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Membership Endpoint"
      }
    },
    "/tenants/{tenant_id}/outbox-events": {
      "get": {
        "operationId": "list_outbox_events_endpoint_tenants__tenant_id__outbox_events_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/OutboxEventRead"
                  },
                  "title": "Response List Outbox Events Endpoint Tenants  Tenant Id  Outbox Events Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Outbox Events Endpoint"
      }
    },
    "/tenants/{tenant_id}/outbox-events/{event_id}/retry": {
      "post": {
        "operationId": "retry_outbox_event_endpoint_tenants__tenant_id__outbox_events__event_id__retry_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "event_id",
            "required": true,
            "schema": {
              "title": "Event Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OutboxEventRetryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutboxEventRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Retry Outbox Event Endpoint"
      }
    },
    "/tenants/{tenant_id}/repair-actions": {
      "get": {
        "operationId": "list_repair_actions_endpoint_tenants__tenant_id__repair_actions_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "business_exception_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Business Exception Id"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/RepairActionRead"
                  },
                  "title": "Response List Repair Actions Endpoint Tenants  Tenant Id  Repair Actions Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Repair Actions Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/repair-actions/{repair_action_id}/approve": {
      "post": {
        "operationId": "approve_repair_action_endpoint_tenants__tenant_id__repair_actions__repair_action_id__approve_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "repair_action_id",
            "required": true,
            "schema": {
              "title": "Repair Action Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RepairActionRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Approve Repair Action Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/repair-actions/{repair_action_id}/execute": {
      "post": {
        "operationId": "execute_repair_action_endpoint_tenants__tenant_id__repair_actions__repair_action_id__execute_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "repair_action_id",
            "required": true,
            "schema": {
              "title": "Repair Action Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RepairActionExecutionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RepairActionRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Execute Repair Action Endpoint",
        "tags": [
          "business-control"
        ]
      }
    },
    "/tenants/{tenant_id}/workflow-action-runs": {
      "get": {
        "operationId": "list_workflow_action_runs_endpoint_tenants__tenant_id__workflow_action_runs_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/WorkflowActionRunRead"
                  },
                  "title": "Response List Workflow Action Runs Endpoint Tenants  Tenant Id  Workflow Action Runs Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Workflow Action Runs Endpoint"
      }
    },
    "/tenants/{tenant_id}/workflow-rules": {
      "get": {
        "operationId": "list_workflow_rules_endpoint_tenants__tenant_id__workflow_rules_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/WorkflowRuleRead"
                  },
                  "title": "Response List Workflow Rules Endpoint Tenants  Tenant Id  Workflow Rules Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Workflow Rules Endpoint"
      },
      "post": {
        "operationId": "create_workflow_rule_endpoint_tenants__tenant_id__workflow_rules_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "title": "Tenant Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowRuleCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowRuleRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create Workflow Rule Endpoint"
      }
    },
    "/users": {
      "get": {
        "operationId": "list_users_endpoint_users_get",
        "parameters": [
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/UserRead"
                  },
                  "title": "Response List Users Endpoint Users Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List Users Endpoint"
      },
      "post": {
        "operationId": "create_user_endpoint_users_post",
        "parameters": [
          {
            "in": "header",
            "name": "Authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Id",
            "required": false,
            "schema": {
              "default": "system",
              "title": "X-Actor-Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Actor-Role",
            "required": false,
            "schema": {
              "default": "viewer",
              "title": "X-Actor-Role",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserRead"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Create User Endpoint"
      }
    }
  }
}
