{
  "openapi": "3.0.4",
  "info": {
    "title": "buzzle Digital Commerce Services Layer — DataBridge",
    "description": "OpenAPI surface for module `DataBridge` within the buzzle Digital Commerce Services Layer.",
    "contact": {
      "name": "bambit ag",
      "url": "https://bambit.ch",
      "email": "hello@bambit.ch"
    },
    "version": "1.0"
  },
  "servers": [
    {
      "url": "/databridge"
    }
  ],
  "paths": {
    "/api/DataSources": {
      "get": {
        "tags": [
          "DataSources"
        ],
        "description": "Get all data sources.",
        "operationId": "/api/DataSources::GetDataSources",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.ListResultModel<Buzzle.ServicePlatform.Infrastructure.Features.DataSource.Models.DataSourceDefinitionModel>"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.PermissionDeniedResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/RegistryOfCommerce/zefix/{uid}": {
      "get": {
        "tags": [
          "RegistryOfCommerceDataSource"
        ],
        "description": "Executes action GetByUid in the DataSource RegistryOfCommerceDataSource with the given parameters.",
        "operationId": "/api/RegistryOfCommerce/zefix/{uid}::Get Zefix company by UID",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.SingleResultModel<Buzzle.ServicePlatform.Module.DataBridge.Features.RegistryOfCommerce.Models.CompanyRegistryResultModel<HemagNova.Shared.Models.Business.CompanyModel>>"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.ApiResultModel"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.NotFoundApiResultModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.PermissionDeniedResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/RegistryOfCommerce/zefix/query": {
      "get": {
        "tags": [
          "RegistryOfCommerceDataSource"
        ],
        "description": "Executes action Query in the DataSource RegistryOfCommerceDataSource with the given parameters.",
        "operationId": "/api/RegistryOfCommerce/zefix/query::Query Zefix by name",
        "parameters": [
          {
            "name": "searchByNameQuery",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.ListResultModel<HemagNova.Shared.Models.Business.CompanyModel>"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.ApiResultModel"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.NotFoundApiResultModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.PermissionDeniedResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/Validators": {
      "get": {
        "tags": [
          "Validators"
        ],
        "description": "Get all available validators.",
        "operationId": "/api/Validators::Validators",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.ListResultModel<Buzzle.ServicePlatform.Infrastructure.Features.AttributeSystem.Validation.Models.ValidatorDefinitionModel>"
                }
              }
            }
          }
        }
      }
    },
    "/api/workflows/definitions": {
      "get": {
        "tags": [
          "WorkflowMonitoringDataSource"
        ],
        "description": "Executes action ListDefinitions in the DataSource WorkflowMonitoringDataSource with the given parameters.",
        "operationId": "/api/workflows/definitions::List workflow definitions",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.ListResultModel<Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowDefinitionSummaryModel>"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.PermissionDeniedResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/workflows/definitions/{definitionId}": {
      "get": {
        "tags": [
          "WorkflowMonitoringDataSource"
        ],
        "description": "Executes action GetDefinition in the DataSource WorkflowMonitoringDataSource with the given parameters.",
        "operationId": "/api/workflows/definitions/{definitionId}::Get workflow definition",
        "parameters": [
          {
            "name": "definitionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.SingleResultModel<Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowDefinitionDetailModel>"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.ApiResultModel"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.NotFoundApiResultModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.PermissionDeniedResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/workflows/definitions/{definitionId}/graph": {
      "get": {
        "tags": [
          "WorkflowMonitoringDataSource"
        ],
        "description": "Executes action GetDefinitionGraph in the DataSource WorkflowMonitoringDataSource with the given parameters.",
        "operationId": "/api/workflows/definitions/{definitionId}/graph::Get workflow definition graph",
        "parameters": [
          {
            "name": "definitionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.SingleResultModel<Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowGraphModel>"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.ApiResultModel"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.NotFoundApiResultModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.PermissionDeniedResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/workflows/definitions/{definitionId}/logging/{enabled}": {
      "put": {
        "tags": [
          "WorkflowMonitoringDataSource"
        ],
        "description": "Executes action SetDefinitionLogging in the DataSource WorkflowMonitoringDataSource with the given parameters.",
        "operationId": "/api/workflows/definitions/{definitionId}/logging/{enabled}::Set workflow definition logging",
        "parameters": [
          {
            "name": "definitionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "enabled",
            "in": "path",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.SingleResultModel<Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowLoggingStateModel>"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.ApiResultModel"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.NotFoundApiResultModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.PermissionDeniedResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/workflows/logging": {
      "get": {
        "tags": [
          "WorkflowMonitoringDataSource"
        ],
        "description": "Executes action GetLoggingState in the DataSource WorkflowMonitoringDataSource with the given parameters.",
        "operationId": "/api/workflows/logging::Get workflow logging state",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.SingleResultModel<Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowLoggingStateModel>"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.PermissionDeniedResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/workflows/logging/{enabled}": {
      "put": {
        "tags": [
          "WorkflowMonitoringDataSource"
        ],
        "description": "Executes action SetGlobalLogging in the DataSource WorkflowMonitoringDataSource with the given parameters.",
        "operationId": "/api/workflows/logging/{enabled}::Set global workflow logging",
        "parameters": [
          {
            "name": "enabled",
            "in": "path",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.SingleResultModel<Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowLoggingStateModel>"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.ApiResultModel"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.NotFoundApiResultModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.PermissionDeniedResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/workflows/runs": {
      "get": {
        "tags": [
          "WorkflowMonitoringDataSource"
        ],
        "description": "Executes action ListRuns in the DataSource WorkflowMonitoringDataSource with the given parameters.",
        "operationId": "/api/workflows/runs::List workflow runs",
        "parameters": [
          {
            "name": "definitionId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.ListResultModel<Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowRunSummaryModel>"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.ApiResultModel"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.NotFoundApiResultModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.PermissionDeniedResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/workflows/runs/{instanceId}": {
      "get": {
        "tags": [
          "WorkflowMonitoringDataSource"
        ],
        "description": "Executes action GetRun in the DataSource WorkflowMonitoringDataSource with the given parameters.",
        "operationId": "/api/workflows/runs/{instanceId}::Get workflow run",
        "parameters": [
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.SingleResultModel<Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowRunDetailModel>"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.ApiResultModel"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.NotFoundApiResultModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.PermissionDeniedResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/workflows/runs/{instanceId}/journal": {
      "get": {
        "tags": [
          "WorkflowMonitoringDataSource"
        ],
        "description": "Executes action GetRunJournal in the DataSource WorkflowMonitoringDataSource with the given parameters.",
        "operationId": "/api/workflows/runs/{instanceId}/journal::Get workflow run journal",
        "parameters": [
          {
            "name": "instanceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.ListResultModel<Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowJournalEntryModel>"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.ApiResultModel"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.NotFoundApiResultModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buzzle.Shared.Models.PermissionDeniedResult"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Buzzle.Module.Abstractions.Business.Enums.LegalForm": {
        "enum": [
          "Ag",
          "Gmbh",
          "SoleProprietorship",
          "GeneralPartnership",
          "LimitedPartnership",
          "Cooperative",
          "Association",
          "Foundation",
          "Other"
        ],
        "type": "string"
      },
      "Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Enums.WorkflowRunStatus": {
        "enum": [
          "Running",
          "Finished"
        ],
        "type": "string"
      },
      "Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Enums.WorkflowRunSubStatus": {
        "enum": [
          "Pending",
          "Executing",
          "Suspended",
          "Finished",
          "Cancelled",
          "Faulted"
        ],
        "type": "string"
      },
      "Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowActivitySettingModel": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowDefinitionDetailModel": {
        "type": "object",
        "properties": {
          "definitionVersionId": {
            "type": "string",
            "nullable": true
          },
          "isLatest": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "providerName": {
            "type": "string",
            "nullable": true
          },
          "triggerKind": {
            "type": "string",
            "nullable": true
          },
          "triggerDetail": {
            "type": "string",
            "nullable": true
          },
          "variableNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "inputNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "outputNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "definitionId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "isPublished": {
            "type": "boolean"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "totalRuns": {
            "type": "integer",
            "format": "int32"
          },
          "faultedRuns": {
            "type": "integer",
            "format": "int32"
          },
          "runningRuns": {
            "type": "integer",
            "format": "int32"
          },
          "finishedRuns": {
            "type": "integer",
            "format": "int32"
          },
          "lastRunAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastRunSubStatus": {
            "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Enums.WorkflowRunSubStatus"
          },
          "loggingEnabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowDefinitionSummaryModel": {
        "type": "object",
        "properties": {
          "definitionId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "isPublished": {
            "type": "boolean"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "totalRuns": {
            "type": "integer",
            "format": "int32"
          },
          "faultedRuns": {
            "type": "integer",
            "format": "int32"
          },
          "runningRuns": {
            "type": "integer",
            "format": "int32"
          },
          "finishedRuns": {
            "type": "integer",
            "format": "int32"
          },
          "lastRunAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastRunSubStatus": {
            "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Enums.WorkflowRunSubStatus"
          },
          "loggingEnabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowGraphModel": {
        "type": "object",
        "properties": {
          "definitionId": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "root": {
            "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowGraphNodeModel"
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowGraphNodeModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          },
          "port": {
            "type": "string",
            "nullable": true
          },
          "isTrigger": {
            "type": "boolean"
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "reads": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "writes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "settings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowActivitySettingModel"
            },
            "nullable": true
          },
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowGraphNodeModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowJournalEntryModel": {
        "type": "object",
        "properties": {
          "sequence": {
            "type": "integer",
            "format": "int64"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "source": {
            "type": "string",
            "nullable": true
          },
          "activityId": {
            "type": "string",
            "nullable": true
          },
          "activityName": {
            "type": "string",
            "nullable": true
          },
          "activityType": {
            "type": "string",
            "nullable": true
          },
          "eventName": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "isError": {
            "type": "boolean"
          },
          "exceptionType": {
            "type": "string",
            "nullable": true
          },
          "exceptionMessage": {
            "type": "string",
            "nullable": true
          },
          "stackTrace": {
            "type": "string",
            "nullable": true
          },
          "inputs": {
            "type": "string",
            "nullable": true
          },
          "outputs": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowLoggingStateModel": {
        "type": "object",
        "properties": {
          "globalEnabled": {
            "type": "boolean"
          },
          "enabledDefinitionIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowRunDetailModel": {
        "type": "object",
        "properties": {
          "incidents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowRunIncidentModel"
            },
            "nullable": true
          },
          "instanceId": {
            "type": "string",
            "nullable": true
          },
          "definitionId": {
            "type": "string",
            "nullable": true
          },
          "definitionVersionId": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Enums.WorkflowRunStatus"
          },
          "subStatus": {
            "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Enums.WorkflowRunSubStatus"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "finishedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "incidentCount": {
            "type": "integer",
            "format": "int32"
          },
          "hasFault": {
            "type": "boolean"
          },
          "verboseLogged": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowRunIncidentModel": {
        "type": "object",
        "properties": {
          "activityId": {
            "type": "string",
            "nullable": true
          },
          "activityType": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "exceptionType": {
            "type": "string",
            "nullable": true
          },
          "exceptionMessage": {
            "type": "string",
            "nullable": true
          },
          "stackTrace": {
            "type": "string",
            "nullable": true
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowRunSummaryModel": {
        "type": "object",
        "properties": {
          "instanceId": {
            "type": "string",
            "nullable": true
          },
          "definitionId": {
            "type": "string",
            "nullable": true
          },
          "definitionVersionId": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Enums.WorkflowRunStatus"
          },
          "subStatus": {
            "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Enums.WorkflowRunSubStatus"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "finishedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "incidentCount": {
            "type": "integer",
            "format": "int32"
          },
          "hasFault": {
            "type": "boolean"
          },
          "verboseLogged": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Buzzle.ServicePlatform.Infrastructure.Features.AttributeSystem.Validation.Models.ValidatorDefinitionModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "typeDiscriminator": {
            "type": "string",
            "nullable": true
          },
          "settings": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          },
          "translations": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "additionalProperties": { },
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.ServicePlatform.Infrastructure.Features.DataSource.Models.DataSourceDefinitionModel": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "providerName": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "example": "Localized Text"
            },
            "nullable": true,
            "example": {
              "de-CH": "Beispieltext",
              "fr-CH": "Exemple de texte",
              "it-CH": "Esempio di testo",
              "en-US": "Example text"
            }
          },
          "dataSourceName": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "example": "Localized Text"
            },
            "nullable": true,
            "example": {
              "de-CH": "Beispieltext",
              "fr-CH": "Exemple de texte",
              "it-CH": "Esempio di testo",
              "en-US": "Example text"
            }
          },
          "actionName": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "example": "Localized Text"
            },
            "nullable": true,
            "example": {
              "de-CH": "Beispieltext",
              "fr-CH": "Exemple de texte",
              "it-CH": "Esempio di testo",
              "en-US": "Example text"
            }
          },
          "providerTypeDiscriminator": {
            "type": "string",
            "nullable": true
          },
          "dataSourceTypeDiscriminator": {
            "type": "string",
            "nullable": true
          },
          "actionDiscriminator": {
            "type": "string",
            "nullable": true
          },
          "configuration": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.ServicePlatform.Module.DataBridge.Features.RegistryOfCommerce.Models.CompanyRegistryResultModel<HemagNova.Shared.Models.Business.CompanyModel>": {
        "type": "object",
        "properties": {
          "companyModel": {
            "$ref": "#/components/schemas/HemagNova.Shared.Models.Business.CompanyModel"
          },
          "originalRegistryCompany": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Shared.Models.ApiResultModel": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "validationMessages": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "nullable": true
            },
            "nullable": true
          },
          "validationCodes": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Shared.Models.AttributeSystem.ValueStatus": {
        "enum": [
          "New",
          "Ok",
          "HaveOpenChangeRequests",
          "HavePendingChangeRequests"
        ],
        "type": "string"
      },
      "Buzzle.Shared.Models.ListResultModel<Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowDefinitionSummaryModel>": {
        "type": "object",
        "properties": {
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowDefinitionSummaryModel"
            },
            "nullable": true
          },
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "validationMessages": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "nullable": true
            },
            "nullable": true
          },
          "validationCodes": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Shared.Models.ListResultModel<Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowJournalEntryModel>": {
        "type": "object",
        "properties": {
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowJournalEntryModel"
            },
            "nullable": true
          },
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "validationMessages": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "nullable": true
            },
            "nullable": true
          },
          "validationCodes": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Shared.Models.ListResultModel<Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowRunSummaryModel>": {
        "type": "object",
        "properties": {
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowRunSummaryModel"
            },
            "nullable": true
          },
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "validationMessages": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "nullable": true
            },
            "nullable": true
          },
          "validationCodes": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Shared.Models.ListResultModel<Buzzle.ServicePlatform.Infrastructure.Features.AttributeSystem.Validation.Models.ValidatorDefinitionModel>": {
        "type": "object",
        "properties": {
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Buzzle.ServicePlatform.Infrastructure.Features.AttributeSystem.Validation.Models.ValidatorDefinitionModel"
            },
            "nullable": true
          },
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "validationMessages": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "nullable": true
            },
            "nullable": true
          },
          "validationCodes": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Shared.Models.ListResultModel<Buzzle.ServicePlatform.Infrastructure.Features.DataSource.Models.DataSourceDefinitionModel>": {
        "type": "object",
        "properties": {
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Buzzle.ServicePlatform.Infrastructure.Features.DataSource.Models.DataSourceDefinitionModel"
            },
            "nullable": true
          },
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "validationMessages": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "nullable": true
            },
            "nullable": true
          },
          "validationCodes": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Shared.Models.ListResultModel<HemagNova.Shared.Models.Business.CompanyModel>": {
        "type": "object",
        "properties": {
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HemagNova.Shared.Models.Business.CompanyModel"
            },
            "nullable": true
          },
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "validationMessages": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "nullable": true
            },
            "nullable": true
          },
          "validationCodes": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Shared.Models.NotFoundApiResultModel": {
        "type": "object",
        "properties": {
          "entityId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "validationMessages": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "nullable": true
            },
            "nullable": true
          },
          "validationCodes": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Shared.Models.PermissionDeniedResult": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "validationMessages": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "nullable": true
            },
            "nullable": true
          },
          "validationCodes": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Shared.Models.SingleResultModel<Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowDefinitionDetailModel>": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowDefinitionDetailModel"
          },
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "validationMessages": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "nullable": true
            },
            "nullable": true
          },
          "validationCodes": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Shared.Models.SingleResultModel<Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowGraphModel>": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowGraphModel"
          },
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "validationMessages": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "nullable": true
            },
            "nullable": true
          },
          "validationCodes": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Shared.Models.SingleResultModel<Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowLoggingStateModel>": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowLoggingStateModel"
          },
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "validationMessages": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "nullable": true
            },
            "nullable": true
          },
          "validationCodes": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Shared.Models.SingleResultModel<Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowRunDetailModel>": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/Buzzle.Module.Abstractions.DataBridge.WorkflowMonitoring.Models.WorkflowRunDetailModel"
          },
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "validationMessages": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "nullable": true
            },
            "nullable": true
          },
          "validationCodes": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Buzzle.Shared.Models.SingleResultModel<Buzzle.ServicePlatform.Module.DataBridge.Features.RegistryOfCommerce.Models.CompanyRegistryResultModel<HemagNova.Shared.Models.Business.CompanyModel>>": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/Buzzle.ServicePlatform.Module.DataBridge.Features.RegistryOfCommerce.Models.CompanyRegistryResultModel<HemagNova.Shared.Models.Business.CompanyModel>"
          },
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "validationMessages": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "nullable": true
            },
            "nullable": true
          },
          "validationCodes": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HemagNova.Shared.Models.Business.CompanyModel": {
        "type": "object",
        "properties": {
          "companyNumber": {
            "type": "string",
            "nullable": true
          },
          "legalName": {
            "type": "string",
            "nullable": true
          },
          "legalForm": {
            "$ref": "#/components/schemas/Buzzle.Module.Abstractions.Business.Enums.LegalForm"
          },
          "uid": {
            "type": "string",
            "nullable": true
          },
          "ehraId": {
            "type": "string",
            "nullable": true
          },
          "chId": {
            "type": "string",
            "nullable": true
          },
          "vatNumber": {
            "type": "string",
            "nullable": true
          },
          "hasVat": {
            "type": "boolean"
          },
          "commercialRegisterNumber": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "addition": {
            "type": "string",
            "nullable": true
          },
          "street": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "website": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/Buzzle.Shared.Models.AttributeSystem.ValueStatus"
          },
          "relatedEntitiesWithRequiredActions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updated": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": { }
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "Bearer Authentication token (using 'bearer <TOKEN>').",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": [ ]
    }
  ],
  "tags": [
    {
      "name": "Workflow Endpoints",
      "description": "A collection of HTTP endpoints exposed by workflows"
    },
    {
      "name": "DataSources",
      "description": "Endpoints exposed for data source DataSources from provider DataSources."
    },
    {
      "name": "RegistryOfCommerceDataSource",
      "description": "Endpoints exposed for data source RegistryOfCommerceDataSource from provider RegistryOfCommerceDataSourceProvider_CompanyModel."
    },
    {
      "name": "Validators",
      "description": "Endpoints exposed for data source Validators from provider Validators."
    },
    {
      "name": "WorkflowMonitoringDataSource",
      "description": "Endpoints exposed for data source WorkflowMonitoringDataSource from provider WorkflowMonitoringDataSourceProvider."
    }
  ]
}