{
  "x-generator": "NSwag v14.0.3.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))",
  "swagger": "2.0",
  "info": {
    "title": "Weik.io Admin API specification",
    "version": "2025.2"
  },
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "paths": {
    "/schema/endpoint/schema/{endpointId}": {
      "get": {
        "tags": [
          "EndpointSchema"
        ],
        "operationId": "EndpointSchema_GetEndpointSchema",
        "parameters": [
          {
            "type": "string",
            "name": "endpointId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "type": "boolean",
            "name": "externalHostName",
            "in": "query",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/schema/endpoint/schema/{endpointId}/download": {
      "get": {
        "tags": [
          "EndpointSchema"
        ],
        "operationId": "EndpointSchema_DownloadEndpointSchema",
        "parameters": [
          {
            "type": "string",
            "name": "endpointId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/schema/endpoint/operations/{endpointId}": {
      "get": {
        "tags": [
          "Operations"
        ],
        "operationId": "Operations_GetEndpointOperations",
        "parameters": [
          {
            "type": "string",
            "name": "endpointId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/OpenApiOperation"
              }
            }
          }
        }
      }
    },
    "/schema/endpoint/operations/{endpointId}/details": {
      "get": {
        "tags": [
          "Operations"
        ],
        "operationId": "Operations_GetEndpointOperationDetails",
        "parameters": [
          {
            "type": "string",
            "name": "endpointId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "type": "string",
            "name": "operationId",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/OpenApiOperation"
            }
          }
        }
      }
    },
    "/integrations/api/{name}/{version}": {
      "get": {
        "tags": [
          "Api"
        ],
        "operationId": "Api_GetByNameAndVersion",
        "parameters": [
          {
            "type": "string",
            "name": "name",
            "in": "path",
            "required": true,
            "x-nullable": false
          },
          {
            "type": "string",
            "name": "version",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/IntegrationApi"
            }
          }
        }
      }
    },
    "/integrations/api/{id}": {
      "get": {
        "tags": [
          "Api"
        ],
        "operationId": "Api_GetById",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/IntegrationApi"
            }
          }
        }
      }
    },
    "/integrations/api": {
      "get": {
        "tags": [
          "Api"
        ],
        "operationId": "Api_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/IntegrationApi"
              }
            }
          }
        }
      }
    },
    "/integrations/packages": {
      "post": {
        "tags": [
          "ApiPackage"
        ],
        "operationId": "ApiPackage_Install",
        "parameters": [
          {
            "name": "api",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/IntegrationApiPackage"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/IntegrationApiPackage"
            }
          }
        }
      },
      "get": {
        "tags": [
          "ApiPackage"
        ],
        "operationId": "ApiPackage_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/IntegrationApiPackage"
              }
            }
          }
        }
      }
    },
    "/integrations/packages/{id}": {
      "delete": {
        "tags": [
          "ApiPackage"
        ],
        "operationId": "ApiPackage_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      },
      "get": {
        "tags": [
          "ApiPackage"
        ],
        "operationId": "ApiPackage_GetById",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/IntegrationApiPackage"
            }
          }
        }
      }
    },
    "/integrations/connectors/openapi": {
      "get": {
        "tags": [
          "OpenApiConnector"
        ],
        "operationId": "OpenApiConnector_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/OpenApiConnectorRegistryItem"
              }
            }
          }
        }
      }
    },
    "/api/webhooks": {
      "get": {
        "tags": [
          "Webhook"
        ],
        "operationId": "Webhook_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/WebhookDto"
              }
            }
          }
        }
      }
    },
    "/api/webhooks/{webhookId}/history": {
      "get": {
        "tags": [
          "Webhook"
        ],
        "operationId": "Webhook_GetHistory",
        "parameters": [
          {
            "type": "string",
            "name": "webhookId",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/WebhookRequestMessage"
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Webhook"
        ],
        "operationId": "Webhook_ClearHistory",
        "parameters": [
          {
            "type": "string",
            "name": "webhookId",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/api/webhooks/{webhookId}/rehandle/{messageId}": {
      "post": {
        "tags": [
          "Webhook"
        ],
        "operationId": "Webhook_RehandleRequest",
        "parameters": [
          {
            "type": "string",
            "name": "webhookId",
            "in": "path",
            "required": true,
            "x-nullable": false
          },
          {
            "type": "string",
            "name": "messageId",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/variables": {
      "get": {
        "tags": [
          "Variable"
        ],
        "operationId": "Variable_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/VariableDto"
              }
            }
          }
        }
      }
    },
    "/variables/{name}": {
      "get": {
        "tags": [
          "Variable"
        ],
        "operationId": "Variable_GetByName",
        "parameters": [
          {
            "type": "string",
            "name": "name",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/VariableDto"
            }
          }
        }
      }
    },
    "/variables/{name}/reveal": {
      "get": {
        "tags": [
          "Variable"
        ],
        "operationId": "Variable_RevealSecret",
        "parameters": [
          {
            "type": "string",
            "name": "name",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/eventing/streams": {
      "get": {
        "tags": [
          "Streams"
        ],
        "operationId": "Streams_GetStreams",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/StreamInfo"
              }
            }
          }
        }
      }
    },
    "/eventing/streams/{streamName}/messages": {
      "get": {
        "tags": [
          "Streams"
        ],
        "operationId": "Streams_GetMessages",
        "parameters": [
          {
            "type": "string",
            "name": "streamName",
            "in": "path",
            "required": true,
            "x-nullable": false
          },
          {
            "type": "string",
            "name": "FromDate",
            "in": "query",
            "format": "date-time",
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "ToDate",
            "in": "query",
            "format": "date-time",
            "x-nullable": true
          },
          {
            "type": "integer",
            "name": "Count",
            "in": "query",
            "format": "int32",
            "x-nullable": false
          },
          {
            "type": "integer",
            "name": "Skip",
            "in": "query",
            "format": "int32",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/StreamMessage"
              }
            }
          }
        }
      }
    },
    "/services": {
      "get": {
        "tags": [
          "Services"
        ],
        "operationId": "Services_Get",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ServiceDto"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Services"
        ],
        "operationId": "Services_Send",
        "parameters": [
          {
            "name": "dto",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ServiceSendDto"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "400": {
            "description": ""
          }
        }
      }
    },
    "/scheduling/schedules": {
      "get": {
        "tags": [
          "Schedule"
        ],
        "operationId": "Schedule_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ScheduleDto"
              }
            }
          }
        }
      }
    },
    "/scheduling/schedules/{name}": {
      "get": {
        "tags": [
          "Schedule"
        ],
        "operationId": "Schedule_Get",
        "parameters": [
          {
            "type": "string",
            "name": "name",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/ScheduleDto"
            }
          }
        }
      }
    },
    "/integrations/services": {
      "get": {
        "tags": [
          "IntegrationServices"
        ],
        "operationId": "IntegrationServices_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/IntegrationServiceDto"
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "IntegrationServices"
        ],
        "operationId": "IntegrationServices_Create",
        "parameters": [
          {
            "name": "newService",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/IntegrationService"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/IntegrationService"
            }
          }
        }
      },
      "post": {
        "tags": [
          "IntegrationServices"
        ],
        "operationId": "IntegrationServices_Update",
        "parameters": [
          {
            "name": "service",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/IntegrationService"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/IntegrationService"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "IntegrationServices"
        ],
        "operationId": "IntegrationServices_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "serviceName",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/integrations/services/{serviceName}": {
      "get": {
        "tags": [
          "IntegrationServices"
        ],
        "operationId": "IntegrationServices_Get",
        "parameters": [
          {
            "type": "string",
            "name": "serviceName",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/IntegrationServiceDto"
            }
          }
        }
      }
    },
    "/integrations/services/{serviceName}/variables": {
      "post": {
        "tags": [
          "IntegrationServices"
        ],
        "operationId": "IntegrationServices_UpdateVariables",
        "parameters": [
          {
            "type": "string",
            "name": "serviceName",
            "in": "path",
            "required": true,
            "x-nullable": false
          },
          {
            "name": "variables",
            "in": "body",
            "schema": {
              "type": "string"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/IntegrationService"
            }
          }
        }
      }
    },
    "/integrations/mfts/{mftName}": {
      "get": {
        "tags": [
          "Mft"
        ],
        "operationId": "Mft_Get",
        "parameters": [
          {
            "type": "string",
            "name": "mftName",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/MftIntegration"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Mft"
        ],
        "operationId": "Mft_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "mftName",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "202": {
            "description": ""
          }
        }
      }
    },
    "/integrations/mfts/{mftName}/details": {
      "get": {
        "tags": [
          "Mft"
        ],
        "operationId": "Mft_GetDetails",
        "parameters": [
          {
            "type": "string",
            "name": "mftName",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/MftIntegrationDetails"
            }
          }
        }
      }
    },
    "/integrations/mfts": {
      "put": {
        "tags": [
          "Mft"
        ],
        "operationId": "Mft_Create",
        "parameters": [
          {
            "name": "flow",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/MftIntegration2"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "201": {
            "x-nullable": false,
            "description": "",
            "schema": {
              "$ref": "#/definitions/MftIntegration"
            }
          }
        }
      },
      "get": {
        "tags": [
          "Mft"
        ],
        "operationId": "Mft_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/MftDto"
              }
            }
          }
        }
      }
    },
    "/integrations/mfts/{integrationName}/status": {
      "get": {
        "tags": [
          "Mft"
        ],
        "operationId": "Mft_GetAllStatus",
        "parameters": [
          {
            "type": "string",
            "name": "integrationName",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/AgentMftStatus"
              }
            }
          }
        }
      }
    },
    "/integrations/mfts/filetransfers": {
      "get": {
        "tags": [
          "Mft"
        ],
        "operationId": "Mft_GetFileTransfers",
        "parameters": [
          {
            "type": "string",
            "name": "FromDate",
            "in": "query",
            "format": "date-time",
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "ToDate",
            "in": "query",
            "format": "date-time",
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "MftName",
            "in": "query",
            "x-nullable": true
          },
          {
            "type": "integer",
            "name": "Count",
            "in": "query",
            "format": "int32",
            "x-nullable": false
          },
          {
            "type": "integer",
            "name": "Skip",
            "in": "query",
            "format": "int32",
            "x-nullable": false
          },
          {
            "type": "integer",
            "name": "Limit",
            "in": "query",
            "format": "int32",
            "x-nullable": false
          },
          {
            "type": "boolean",
            "name": "OnlyWhereFilesTransferred",
            "in": "query",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/MftFileTransferEntry"
              }
            }
          }
        }
      }
    },
    "/integrations/mfts/history": {
      "get": {
        "tags": [
          "Mft"
        ],
        "operationId": "Mft_GetHistory",
        "parameters": [
          {
            "type": "string",
            "name": "FromDate",
            "in": "query",
            "format": "date-time",
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "ToDate",
            "in": "query",
            "format": "date-time",
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "MftName",
            "in": "query",
            "x-nullable": true
          },
          {
            "type": "integer",
            "name": "Count",
            "in": "query",
            "format": "int32",
            "x-nullable": false
          },
          {
            "type": "integer",
            "name": "Skip",
            "in": "query",
            "format": "int32",
            "x-nullable": false
          },
          {
            "type": "integer",
            "name": "Limit",
            "in": "query",
            "format": "int32",
            "x-nullable": false
          },
          {
            "type": "boolean",
            "name": "OnlyWhereFilesTransferred",
            "in": "query",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/MftScheduleExecuted"
              }
            }
          }
        }
      }
    },
    "/integrations/mfts/start": {
      "post": {
        "tags": [
          "Mft"
        ],
        "operationId": "Mft_Start",
        "parameters": [
          {
            "type": "string",
            "name": "mftName",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "202": {
            "description": ""
          }
        }
      }
    },
    "/integrations/mfts/stop": {
      "post": {
        "tags": [
          "Mft"
        ],
        "operationId": "Mft_Stop",
        "parameters": [
          {
            "type": "string",
            "name": "mftName",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "202": {
            "description": ""
          }
        }
      }
    },
    "/integrations/mfts/{name}/history/{id}": {
      "get": {
        "tags": [
          "Mft"
        ],
        "operationId": "Mft_GetHistoryItem",
        "parameters": [
          {
            "type": "string",
            "name": "name",
            "in": "path",
            "required": true,
            "x-nullable": false
          },
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/MftScheduleExecuted"
            }
          }
        }
      }
    },
    "/integrations/flows/{integrationName}": {
      "get": {
        "tags": [
          "IntegrationFlow"
        ],
        "operationId": "IntegrationFlow_Get",
        "parameters": [
          {
            "type": "string",
            "name": "integrationName",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/IntegrationFlowsResponseItem"
            }
          }
        }
      }
    },
    "/integrations/flows": {
      "put": {
        "tags": [
          "IntegrationFlow"
        ],
        "operationId": "IntegrationFlow_Create",
        "parameters": [
          {
            "name": "flow",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/IntegrationFlow"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "201": {
            "x-nullable": false,
            "description": "",
            "schema": {
              "$ref": "#/definitions/IntegrationFlow"
            }
          }
        }
      },
      "post": {
        "tags": [
          "IntegrationFlow"
        ],
        "operationId": "IntegrationFlow_Update",
        "parameters": [
          {
            "name": "flow",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/IntegrationFlow"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "202": {
            "x-nullable": false,
            "description": "",
            "schema": {
              "$ref": "#/definitions/IntegrationFlow"
            }
          }
        }
      },
      "get": {
        "tags": [
          "IntegrationFlow"
        ],
        "operationId": "IntegrationFlow_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/IntegrationFlowDto"
              }
            }
          }
        }
      }
    },
    "/integrations/flows/{integrationName}/status": {
      "get": {
        "tags": [
          "IntegrationFlow"
        ],
        "operationId": "IntegrationFlow_GetAllStatus",
        "parameters": [
          {
            "type": "string",
            "name": "integrationName",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/AgentIntegrationFlowStatus"
              }
            }
          }
        }
      }
    },
    "/integrations/flows/start": {
      "post": {
        "tags": [
          "IntegrationFlow"
        ],
        "operationId": "IntegrationFlow_Start",
        "parameters": [
          {
            "type": "string",
            "name": "integrationFlowName",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "202": {
            "description": ""
          }
        }
      }
    },
    "/integrations/flows/stop": {
      "post": {
        "tags": [
          "IntegrationFlow"
        ],
        "operationId": "IntegrationFlow_Stop",
        "parameters": [
          {
            "type": "string",
            "name": "integrationFlowName",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "202": {
            "description": ""
          }
        }
      }
    },
    "/integrations/flows/{integrationFlowName}": {
      "delete": {
        "tags": [
          "IntegrationFlow"
        ],
        "operationId": "IntegrationFlow_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "integrationFlowName",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "202": {
            "description": ""
          }
        }
      }
    },
    "/integrations/flows/{integrationFlowName}/logs": {
      "get": {
        "tags": [
          "IntegrationFlow"
        ],
        "operationId": "IntegrationFlow_GetLogs",
        "parameters": [
          {
            "type": "string",
            "name": "integrationFlowName",
            "in": "path",
            "required": true,
            "x-nullable": false
          },
          {
            "type": "integer",
            "name": "count",
            "in": "query",
            "required": true,
            "format": "int32",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/IntegrationLogMessage"
              }
            }
          }
        }
      }
    },
    "/integrations/logs": {
      "get": {
        "tags": [
          "IntegrationLogs"
        ],
        "operationId": "IntegrationLogs_Get",
        "parameters": [
          {
            "type": "string",
            "name": "FromDate",
            "in": "query",
            "format": "date-time",
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "ToDate",
            "in": "query",
            "format": "date-time",
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "IntegrationType",
            "in": "query",
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "IntegrationName",
            "in": "query",
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "AgentId",
            "in": "query",
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "Environment",
            "in": "query",
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "ExchangeId",
            "in": "query",
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "LogLevel",
            "in": "query",
            "x-nullable": true
          },
          {
            "type": "integer",
            "name": "Count",
            "in": "query",
            "format": "int32",
            "x-nullable": false
          },
          {
            "type": "integer",
            "name": "Skip",
            "in": "query",
            "format": "int32",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/IntegrationLogItem"
              }
            }
          }
        }
      }
    },
    "/integrations/endpoint/{id}": {
      "get": {
        "tags": [
          "IntegrationEndpointCrud"
        ],
        "operationId": "IntegrationEndpointCrud_Get",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/IntegrationEndpoint"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "IntegrationEndpointCrud"
        ],
        "operationId": "IntegrationEndpointCrud_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/integrations/endpoint": {
      "get": {
        "tags": [
          "IntegrationEndpointCrud"
        ],
        "operationId": "IntegrationEndpointCrud_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/IntegrationEndpoint"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "IntegrationEndpointCrud"
        ],
        "operationId": "IntegrationEndpointCrud_Create",
        "parameters": [
          {
            "name": "endpoint",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/IntegrationEndpoint"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/IntegrationEndpoint"
            }
          }
        }
      },
      "put": {
        "tags": [
          "IntegrationEndpointCrud"
        ],
        "operationId": "IntegrationEndpointCrud_Update",
        "parameters": [
          {
            "name": "endpoint",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/IntegrationEndpoint"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/IntegrationEndpoint"
            }
          }
        }
      }
    },
    "/integrations/endpoint/configuration": {
      "get": {
        "tags": [
          "IntegrationEndpointManagement"
        ],
        "operationId": "IntegrationEndpointManagement_GetConfiguration",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/integrations/endpoint/agents/update": {
      "get": {
        "tags": [
          "IntegrationEndpointManagement"
        ],
        "operationId": "IntegrationEndpointManagement_UpdateAgentConfigurations",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/integrations/coresystems": {
      "get": {
        "tags": [
          "CoreSystem"
        ],
        "operationId": "CoreSystem_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CoreSystem2"
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "CoreSystem"
        ],
        "operationId": "CoreSystem_Create",
        "parameters": [
          {
            "name": "newSystem",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/CoreSystem2"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/CoreSystem2"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "CoreSystem"
        ],
        "operationId": "CoreSystem_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "systemName",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/integrations/coresystems/{core}": {
      "get": {
        "tags": [
          "CoreSystem"
        ],
        "operationId": "CoreSystem_GetDetails",
        "parameters": [
          {
            "type": "string",
            "name": "core",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/CoreSystemDto"
            }
          }
        }
      }
    },
    "/integrations/coresystems/storages": {
      "get": {
        "tags": [
          "CoreSystem"
        ],
        "operationId": "CoreSystem_GetAllStorageSystems",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/StorageDto"
              }
            }
          }
        }
      }
    },
    "/integrations/coresystems/core": {
      "get": {
        "tags": [
          "CoreSystem"
        ],
        "operationId": "CoreSystem_GetAllCoreSystems",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CoreDto"
              }
            }
          }
        }
      }
    },
    "/identity/apikey/{username}": {
      "get": {
        "tags": [
          "ApiKey"
        ],
        "operationId": "ApiKey_ListKeys",
        "parameters": [
          {
            "type": "string",
            "name": "username",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "/identity/apikey": {
      "post": {
        "tags": [
          "ApiKey"
        ],
        "operationId": "ApiKey_GenerateApiKey",
        "parameters": [
          {
            "type": "string",
            "name": "username",
            "in": "query",
            "required": true,
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "name",
            "in": "query",
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "description",
            "in": "query",
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/{username}/{keyname}": {
      "delete": {
        "tags": [
          "ApiKey"
        ],
        "operationId": "ApiKey_DeleteApiKey",
        "parameters": [
          {
            "type": "string",
            "name": "username",
            "in": "path",
            "required": true,
            "x-nullable": false
          },
          {
            "type": "string",
            "name": "keyname",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/identity/login/username": {
      "post": {
        "tags": [
          "Login"
        ],
        "operationId": "Login_LoginWithUsernameAndPassword",
        "parameters": [
          {
            "name": "model",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/LoginModel"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/LoginResult"
            }
          }
        }
      }
    },
    "/identity/login/refresh": {
      "post": {
        "tags": [
          "Login"
        ],
        "operationId": "Login_LoginWithRefreshToken",
        "parameters": [
          {
            "name": "model",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/RefreshTokenModel"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/LoginResult"
            }
          }
        }
      }
    },
    "/identity/user": {
      "get": {
        "tags": [
          "User"
        ],
        "operationId": "User_List",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/UserDto"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "User"
        ],
        "operationId": "User_CreateUser",
        "parameters": [
          {
            "name": "userCreateDto",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/UserCreateDto"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": false,
            "description": "",
            "schema": {
              "$ref": "#/definitions/UserDto"
            }
          },
          "404": {
            "description": ""
          },
          "409": {
            "description": ""
          }
        }
      },
      "delete": {
        "tags": [
          "User"
        ],
        "operationId": "User_DeleteUser",
        "parameters": [
          {
            "name": "username",
            "in": "body",
            "schema": {
              "type": "string"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "description": ""
          },
          "404": {
            "description": ""
          },
          "400": {
            "description": ""
          }
        }
      }
    },
    "/eventsubscriptions/v2": {
      "get": {
        "tags": [
          "EventSubscriptionV2"
        ],
        "operationId": "EventSubscriptionV2_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventSubscriptionDtov2"
              }
            }
          }
        }
      }
    },
    "/eventsubscriptions/v2/{name}": {
      "get": {
        "tags": [
          "EventSubscriptionV2"
        ],
        "operationId": "EventSubscriptionV2_Get",
        "parameters": [
          {
            "type": "string",
            "name": "name",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventSubscriptionDtov2"
            }
          }
        }
      }
    },
    "/eventsources/v2": {
      "get": {
        "tags": [
          "EventSourceV2"
        ],
        "operationId": "EventSourceV2_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventSourceDtov2"
              }
            }
          }
        }
      }
    },
    "/eventsources/v2/{name}": {
      "get": {
        "tags": [
          "EventSourceV2"
        ],
        "operationId": "EventSourceV2_Get",
        "parameters": [
          {
            "type": "string",
            "name": "name",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventSourceDtov2"
            }
          }
        }
      }
    },
    "/eventchannels/v2": {
      "get": {
        "tags": [
          "EventChannelV2"
        ],
        "operationId": "EventChannelV2_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventChannelDtov2"
              }
            }
          }
        }
      }
    },
    "/eventchannels/v2/{name}": {
      "get": {
        "tags": [
          "EventChannelV2"
        ],
        "operationId": "EventChannelV2_Get",
        "parameters": [
          {
            "type": "string",
            "name": "name",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventChannelDtov2"
            }
          }
        }
      }
    },
    "/integrations/entitystore": {
      "get": {
        "tags": [
          "EntityStore"
        ],
        "operationId": "EntityStore_Get",
        "parameters": [
          {
            "type": "string",
            "name": "entityType",
            "in": "query",
            "required": true,
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "entityId",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": false,
            "description": "",
            "schema": {
              "$ref": "#/definitions/KeyValuePairOfStringAndString"
            }
          }
        }
      }
    },
    "/integrations/entitystore/search": {
      "get": {
        "tags": [
          "EntityStore"
        ],
        "operationId": "EntityStore_Search",
        "parameters": [
          {
            "type": "string",
            "name": "entityType",
            "in": "query",
            "required": true,
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "entityId",
            "in": "query",
            "required": true,
            "x-nullable": true
          },
          {
            "type": "integer",
            "name": "limit",
            "in": "query",
            "required": true,
            "format": "int32",
            "x-nullable": false
          },
          {
            "type": "string",
            "name": "fromDate",
            "in": "query",
            "required": true,
            "format": "date-time",
            "x-nullable": false
          },
          {
            "type": "boolean",
            "name": "includeHistory",
            "in": "query",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EntityStoreSearchResults"
            }
          }
        }
      }
    },
    "/integrations/entitystore/info": {
      "get": {
        "tags": [
          "EntityStore"
        ],
        "operationId": "EntityStore_GetInfo",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EntityStoreInfo"
            }
          }
        }
      }
    },
    "/debug/systeminfo": {
      "get": {
        "tags": [
          "SystemInfo"
        ],
        "operationId": "SystemInfo_IndexGET",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/SystemInfo"
            }
          }
        }
      },
      "post": {
        "tags": [
          "SystemInfo"
        ],
        "operationId": "SystemInfo_IndexPOST",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/SystemInfo"
            }
          }
        }
      }
    },
    "/debug/systeminfo/policyreport": {
      "get": {
        "tags": [
          "SystemInfo"
        ],
        "operationId": "SystemInfo_GeneratePolicyReport",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/databasechangetracking/configurations": {
      "get": {
        "tags": [
          "DatabaseChangeTracking"
        ],
        "operationId": "DatabaseChangeTracking_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/DatabaseChangeTrackingDto"
              }
            }
          }
        }
      }
    },
    "/databasechangetracking/configurations/{name}": {
      "get": {
        "tags": [
          "DatabaseChangeTracking"
        ],
        "operationId": "DatabaseChangeTracking_Get",
        "parameters": [
          {
            "type": "string",
            "name": "name",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/DatabaseChangeTrackingDto"
            }
          }
        }
      }
    },
    "/configuration": {
      "put": {
        "tags": [
          "Configuration"
        ],
        "operationId": "Configuration_Apply",
        "parameters": [
          {
            "name": "configuration",
            "in": "body",
            "schema": {
              "type": "string"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "202": {
            "description": ""
          }
        }
      }
    },
    "/automation/webjob/{name}": {
      "get": {
        "tags": [
          "WebJob"
        ],
        "operationId": "WebJob_Get",
        "parameters": [
          {
            "type": "string",
            "name": "name",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/WebJobEntity"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "WebJob"
        ],
        "operationId": "WebJob_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "name",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/automation/webjob": {
      "get": {
        "tags": [
          "WebJob"
        ],
        "operationId": "WebJob_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/WebJobEntity"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "WebJob"
        ],
        "operationId": "WebJob_Create",
        "parameters": [
          {
            "name": "dto",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/WebJobEntity"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/WebJobEntity"
            }
          }
        }
      },
      "put": {
        "tags": [
          "WebJob"
        ],
        "operationId": "WebJob_Update",
        "parameters": [
          {
            "name": "dto",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/WebJobEntity"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/WebJobEntity"
            }
          }
        }
      }
    },
    "/automation/webjob/start/{name}": {
      "post": {
        "tags": [
          "WebJob"
        ],
        "operationId": "WebJob_Start",
        "parameters": [
          {
            "type": "string",
            "name": "name",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/automation/webjob/stop/{name}": {
      "post": {
        "tags": [
          "WebJob"
        ],
        "operationId": "WebJob_Stop",
        "parameters": [
          {
            "type": "string",
            "name": "name",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/apim/subscriptions": {
      "get": {
        "tags": [
          "ApimSubscriptions"
        ],
        "operationId": "ApimSubscriptions_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ApiSubscriptionDto"
              }
            }
          }
        }
      }
    },
    "/apim/apis": {
      "get": {
        "tags": [
          "Api"
        ],
        "operationId": "Api_GetAll2",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ApiDetailsDto"
              }
            }
          }
        }
      }
    },
    "/apim/apis/{apiName}": {
      "get": {
        "tags": [
          "Api"
        ],
        "operationId": "Api_GetDetails",
        "parameters": [
          {
            "type": "string",
            "name": "apiName",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/ApiDetailsDto"
            }
          }
        }
      }
    },
    "/apim/apis/versions": {
      "get": {
        "tags": [
          "Api"
        ],
        "operationId": "Api_GetApiVersionsByApi",
        "parameters": [
          {
            "type": "string",
            "name": "apiName",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ApiVersion"
              }
            }
          }
        }
      }
    },
    "/apim/apiversions": {
      "get": {
        "tags": [
          "ApiVersion"
        ],
        "operationId": "ApiVersion_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ApiVersion"
              }
            }
          }
        }
      }
    },
    "/agent/register": {
      "post": {
        "tags": [
          "Agent"
        ],
        "operationId": "Agent_Register",
        "parameters": [
          {
            "name": "registrationData",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/AgentRegistrationData"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/AgentRegistrationDto"
            }
          }
        }
      }
    },
    "/agent/create": {
      "post": {
        "tags": [
          "Agent"
        ],
        "operationId": "Agent_CreateAgent",
        "parameters": [
          {
            "name": "key",
            "in": "body",
            "schema": {
              "type": "string"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/PendingAgentRegistrationDto"
            }
          }
        }
      }
    },
    "/agent/register/validate": {
      "post": {
        "tags": [
          "Agent"
        ],
        "operationId": "Agent_Validate",
        "parameters": [
          {
            "name": "validationDto",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/AgentValidationDto"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": false,
            "description": "",
            "schema": {
              "type": "boolean"
            }
          }
        }
      }
    },
    "/agent/configuration": {
      "get": {
        "tags": [
          "Agent"
        ],
        "operationId": "Agent_GetAgentConfiguration",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/agent/{id}/endpoints/{endpointId}": {
      "get": {
        "tags": [
          "Agent"
        ],
        "operationId": "Agent_GetEndpoint",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "type": "string",
            "name": "endpointId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "204": {
            "description": ""
          },
          "200": {
            "x-nullable": false,
            "description": "",
            "schema": {
              "$ref": "#/definitions/IntegrationEndpointAgent"
            }
          }
        }
      }
    },
    "/agent/endpoints": {
      "get": {
        "tags": [
          "Agent"
        ],
        "operationId": "Agent_GetEndpoints",
        "parameters": [
          {
            "type": "string",
            "name": "agentId",
            "in": "query",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/IntegrationEndpointAgent"
              }
            }
          }
        }
      }
    },
    "/agent/api/packages": {
      "get": {
        "tags": [
          "Agent"
        ],
        "operationId": "Agent_GetApiPackages",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/IntegrationApiPackageAgent"
              }
            }
          }
        }
      }
    },
    "/agent/eventing/catalog": {
      "get": {
        "tags": [
          "Agent"
        ],
        "operationId": "Agent_GetEventSourceCatalogs",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventingEventSourceCatalogAgent"
              }
            }
          }
        }
      }
    },
    "/agent/{id}/eventing/{eventSourceInstanceId}": {
      "get": {
        "tags": [
          "Agent"
        ],
        "operationId": "Agent_GetEventSourceInstance",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "type": "string",
            "name": "eventSourceInstanceId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventingEventSourceInstanceAgent"
            }
          }
        }
      }
    },
    "/agent/eventing/eventSourceInstances": {
      "get": {
        "tags": [
          "Agent"
        ],
        "operationId": "Agent_GetEventSourceInstances",
        "parameters": [
          {
            "type": "string",
            "name": "agentId",
            "in": "query",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventingEventSourceInstanceAgent"
              }
            }
          }
        }
      }
    },
    "/agents": {
      "get": {
        "tags": [
          "AgentManagement"
        ],
        "operationId": "AgentManagement_Search",
        "parameters": [
          {
            "type": "array",
            "name": "Status",
            "in": "query",
            "collectionFormat": "multi",
            "x-nullable": true,
            "items": {
              "$ref": "#/definitions/AgentStatusEnum"
            }
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Agent"
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "AgentManagement"
        ],
        "operationId": "AgentManagement_Update",
        "parameters": [
          {
            "name": "agent",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Agent"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/Agent"
            }
          }
        }
      }
    },
    "/agents/{agentId}": {
      "get": {
        "tags": [
          "AgentManagement"
        ],
        "operationId": "AgentManagement_Get",
        "parameters": [
          {
            "type": "string",
            "name": "agentId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/Agent"
            }
          }
        }
      }
    },
    "/agents/{agentId}/history": {
      "get": {
        "tags": [
          "AgentManagement"
        ],
        "operationId": "AgentManagement_GetHistory",
        "parameters": [
          {
            "type": "string",
            "name": "agentId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "type": "integer",
            "name": "limit",
            "in": "query",
            "required": true,
            "format": "int32",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/AgentStatusHistoryItem"
              }
            }
          }
        }
      }
    },
    "/agents/{agentId}/history/{id}": {
      "get": {
        "tags": [
          "AgentManagement"
        ],
        "operationId": "AgentManagement_GetHistoryItem",
        "parameters": [
          {
            "type": "string",
            "name": "agentId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/AgentStatusHistoryItem"
            }
          }
        }
      }
    },
    "/agents/pending": {
      "get": {
        "tags": [
          "AgentManagement"
        ],
        "operationId": "AgentManagement_GetAllPending",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/PendingAgentRegistration"
              }
            }
          }
        }
      }
    },
    "/agents/create": {
      "post": {
        "tags": [
          "AgentManagement"
        ],
        "operationId": "AgentManagement_CreateAgent",
        "parameters": [
          {
            "name": "poolName",
            "in": "body",
            "schema": {
              "type": "string"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/PendingAgentRegistrationDto"
            }
          }
        }
      }
    },
    "/agents/pending/{id}": {
      "delete": {
        "tags": [
          "AgentManagement"
        ],
        "operationId": "AgentManagement_DeletePendingAgent",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/agents/{id}/deprecate": {
      "post": {
        "tags": [
          "AgentManagement"
        ],
        "operationId": "AgentManagement_DeprecateAgent",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/Agent"
            }
          }
        }
      }
    },
    "/agents/{agentId}/status": {
      "put": {
        "tags": [
          "AgentManagement"
        ],
        "operationId": "AgentManagement_UpdateStatus",
        "parameters": [
          {
            "type": "string",
            "name": "agentId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "type": "integer",
            "name": "statusEnum",
            "in": "query",
            "required": true,
            "x-schema": {
              "$ref": "#/definitions/AgentStatusEnum"
            },
            "x-nullable": false,
            "enum": [
              0,
              1,
              2,
              3,
              4
            ]
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/Agent"
            }
          }
        }
      }
    },
    "/agents/integrations/schemas/{endpointId}": {
      "get": {
        "tags": [
          "AgentEndpointSchema"
        ],
        "operationId": "AgentEndpointSchema_Get",
        "parameters": [
          {
            "type": "string",
            "name": "endpointId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/AgentEndpointSchema"
              }
            }
          }
        }
      }
    },
    "/agents/integrations/schemas/generate": {
      "get": {
        "tags": [
          "AgentEndpointSchema"
        ],
        "operationId": "AgentEndpointSchema_GenerateCode",
        "parameters": [
          {
            "type": "string",
            "name": "endpointName",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/agent/endpoint/{endpointId}/statusUpdates": {
      "get": {
        "tags": [
          "AgentEndpoints"
        ],
        "operationId": "AgentEndpoints_GetStatus",
        "parameters": [
          {
            "type": "string",
            "name": "endpointId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/AgentEndpointStatus"
              }
            }
          }
        }
      }
    },
    "/agent/endpoint/{endpointId}/agents/currentStatus": {
      "get": {
        "tags": [
          "AgentEndpoints"
        ],
        "operationId": "AgentEndpoints_GetStatusForEndpointByAgents",
        "parameters": [
          {
            "type": "string",
            "name": "endpointId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/AgentEndpointStatus"
              }
            }
          }
        }
      }
    },
    "/agent/endpoint/{agentId}": {
      "get": {
        "tags": [
          "AgentEndpoints"
        ],
        "operationId": "AgentEndpoints_GetEndpoints",
        "parameters": [
          {
            "type": "string",
            "name": "agentId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/IntegrationEndpointAgent"
              }
            }
          }
        }
      }
    },
    "/agent/endpoint/{endpointId}/agent/{agentId}": {
      "get": {
        "tags": [
          "AgentEndpoints"
        ],
        "operationId": "AgentEndpoints_GetEndpoint",
        "parameters": [
          {
            "type": "string",
            "name": "agentId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "type": "string",
            "name": "endpointId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/IntegrationEndpointAgent"
            }
          }
        }
      }
    },
    "/events/store/{id}": {
      "get": {
        "tags": [
          "EntityEventStore"
        ],
        "operationId": "EntityEventStore_Get",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EntityEventItem"
            }
          }
        }
      }
    },
    "/events/store": {
      "get": {
        "tags": [
          "EntityEventStore"
        ],
        "operationId": "EntityEventStore_GetByEntityId",
        "parameters": [
          {
            "type": "string",
            "name": "entityId",
            "in": "query",
            "required": true,
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "fromDate",
            "in": "query",
            "required": true,
            "format": "date-time",
            "x-nullable": false
          },
          {
            "type": "string",
            "name": "toDate",
            "in": "query",
            "required": true,
            "format": "date-time",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EntityEventItem"
              }
            }
          }
        }
      }
    },
    "/api/EventHub/Admin/channels": {
      "get": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_GetChannels",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ChannelEntity"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_Add",
        "parameters": [
          {
            "name": "newChannel",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/NewChannelDto"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "201": {
            "x-nullable": false,
            "description": "",
            "schema": {
              "$ref": "#/definitions/ChannelDto"
            }
          }
        }
      }
    },
    "/api/EventHub/Admin/channels/{id}": {
      "get": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_GetChannel",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/ChannelEntity"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/api/EventHub/Admin/subscriptions": {
      "get": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_GetSubscriptions",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SubscriptionEntity"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_Subscribe",
        "parameters": [
          {
            "type": "string",
            "name": "channelId",
            "in": "query",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "type": "string",
            "name": "source",
            "in": "query",
            "required": true,
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "eventType",
            "in": "query",
            "required": true,
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "specVersion",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "201": {
            "x-nullable": false,
            "description": "",
            "schema": {
              "$ref": "#/definitions/SubscriptionEntity"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_UnSubscribe",
        "parameters": [
          {
            "type": "string",
            "name": "subscriptionId",
            "in": "query",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/api/EventHub/Admin/subscriptions/{id}": {
      "get": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_GetSubscription",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/SubscriptionEntity"
            }
          }
        }
      }
    },
    "/api/EventHub/Admin/eventDefinitions": {
      "get": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_GetEventDefinitions",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CloudEventDefinitionEntity"
              }
            }
          }
        }
      }
    },
    "/api/EventHub/Admin/eventDefinitions/{id}": {
      "get": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_GetEventDefinition",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/CloudEventDefinitionEntity"
            }
          }
        }
      }
    },
    "/api/EventHub/Admin/eventDefinitions/{eventDefinitionId}/channels": {
      "get": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_GetChannelsByEventDefinition",
        "parameters": [
          {
            "type": "string",
            "name": "eventDefinitionId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ChannelDto"
              }
            }
          }
        }
      }
    },
    "/api/EventHub/Admin/channels/{channelId}/eventDefinitions": {
      "get": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_GetEventDefinitionsByChannel",
        "parameters": [
          {
            "type": "string",
            "name": "channelId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CloudEventDefinitionEntity"
              }
            }
          }
        }
      }
    },
    "/api/EventHub/Admin/channels/{id}/publish": {
      "post": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_PublishToChannel",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "name": "data",
            "in": "body",
            "schema": {
              "type": "string"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/api/EventHub/Catalog": {
      "get": {
        "tags": [
          "Catalog"
        ],
        "operationId": "Catalog_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/TriggerType"
              }
            }
          }
        }
      }
    },
    "/api/EventHub/Channels": {
      "get": {
        "tags": [
          "Channels"
        ],
        "operationId": "Channels_Get",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ChannelDto"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "Channels_Add",
        "parameters": [
          {
            "name": "newChannel",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/NewChannelDto"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "201": {
            "x-nullable": false,
            "description": "",
            "schema": {
              "$ref": "#/definitions/ChannelDto"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Channels"
        ],
        "operationId": "Channels_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "channelName",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/api/EventHub/Channels/http": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "Channels_AddHttp",
        "parameters": [
          {
            "name": "channelDto",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/HttpChannelDto"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "201": {
            "x-nullable": false,
            "description": "",
            "schema": {
              "$ref": "#/definitions/ChannelDto"
            }
          }
        }
      }
    },
    "/api/EventHub/Channels/azureservicebus": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "Channels_AddAzureServiceBus",
        "parameters": [
          {
            "name": "channelDto",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/AzureServiceBusDto"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "201": {
            "x-nullable": false,
            "description": "",
            "schema": {
              "$ref": "#/definitions/ChannelDto"
            }
          }
        }
      }
    },
    "/api/EventHub/EventDefinitions": {
      "get": {
        "tags": [
          "EventDefinitions"
        ],
        "operationId": "EventDefinitions_Get",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CloudEventDefinition"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "EventDefinitions"
        ],
        "operationId": "EventDefinitions_Register",
        "parameters": [
          {
            "name": "definition",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/CloudEventDefinition"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/CloudEventDefinition"
            }
          }
        }
      }
    },
    "/api/EventHub/EventDefinitions/{eventType}/{eventSource}/{eventSpec}": {
      "delete": {
        "tags": [
          "EventDefinitions"
        ],
        "operationId": "EventDefinitions_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "eventType",
            "in": "path",
            "required": true,
            "x-nullable": false
          },
          {
            "type": "string",
            "name": "eventSource",
            "in": "path",
            "required": true,
            "x-nullable": false
          },
          {
            "type": "string",
            "name": "eventSpec",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/api/EventHub/Publish": {
      "post": {
        "tags": [
          "Publish"
        ],
        "operationId": "Publish_Publish",
        "parameters": [
          {
            "name": "data",
            "in": "body",
            "schema": {
              "type": "string"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/api/EventHub/Subscriptions": {
      "get": {
        "tags": [
          "Subscriptions"
        ],
        "operationId": "Subscriptions_Get",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ChannelSubsriptionsDto"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Subscriptions"
        ],
        "operationId": "Subscriptions_Subscribe",
        "parameters": [
          {
            "name": "newSubscription",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/SubscriptionDto"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "201": {
            "x-nullable": false,
            "description": "",
            "schema": {
              "$ref": "#/definitions/SubscriptionDto"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Subscriptions"
        ],
        "operationId": "Subscriptions_UnSubscribe",
        "parameters": [
          {
            "name": "removedSubscription",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/SubscriptionDto"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/api/EventHub/Trigger": {
      "get": {
        "tags": [
          "Trigger"
        ],
        "operationId": "Trigger_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/TriggerInstance"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Trigger"
        ],
        "operationId": "Trigger_Create",
        "parameters": [
          {
            "name": "newTrigger",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/Trigger"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/api/EventHub/Trigger/{id}": {
      "delete": {
        "tags": [
          "Trigger"
        ],
        "operationId": "Trigger_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/interactive/engine/run": {
      "post": {
        "tags": [
          "Engine"
        ],
        "operationId": "Engine_Run",
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ExecuteRequest"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ExecuteResult"
              }
            }
          }
        }
      }
    },
    "/interactive/engine/suggestions": {
      "post": {
        "tags": [
          "Engine"
        ],
        "operationId": "Engine_GetSuggestions",
        "parameters": [
          {
            "name": "suggestionsRequest",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/GetSuggestionsRequest"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Suggestion"
              }
            }
          }
        }
      }
    },
    "/interactive/engine/file": {
      "get": {
        "tags": [
          "Engine"
        ],
        "operationId": "Engine_GetFile",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/interactive/engine/execute": {
      "post": {
        "tags": [
          "Engine"
        ],
        "operationId": "Engine_Execute",
        "parameters": [
          {
            "name": "dibRequest",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ExecuteDibRequest"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/interactive/document/analyze": {
      "post": {
        "tags": [
          "InteractiveDocument"
        ],
        "operationId": "InteractiveDocument_Analyze",
        "parameters": [
          {
            "name": "dibDocument",
            "in": "body",
            "schema": {
              "type": "string"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/DibAnalyzationResult"
            }
          }
        }
      }
    },
    "/mailbox": {
      "get": {
        "tags": [
          "Mailbox"
        ],
        "operationId": "Mailbox_Read",
        "responses": {
          "200": {
            "x-nullable": false,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "400": {
            "description": ""
          }
        }
      }
    },
    "/mailbox/initialize": {
      "post": {
        "tags": [
          "Mailbox"
        ],
        "operationId": "Mailbox_Initialize",
        "parameters": [
          {
            "type": "string",
            "name": "channelName",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": false,
            "description": "",
            "schema": {
              "type": "string",
              "format": "guid"
            }
          }
        }
      }
    },
    "/eventing/instances/{id}": {
      "get": {
        "tags": [
          "EventingEventSourceInstance"
        ],
        "operationId": "EventingEventSourceInstance_Get",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventingEventSourceInstance"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "EventingEventSourceInstance"
        ],
        "operationId": "EventingEventSourceInstance_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    },
    "/eventing/instances": {
      "get": {
        "tags": [
          "EventingEventSourceInstance"
        ],
        "operationId": "EventingEventSourceInstance_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventingEventSourceInstance"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "EventingEventSourceInstance"
        ],
        "operationId": "EventingEventSourceInstance_Create",
        "parameters": [
          {
            "name": "endpoint",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/EventingEventSourceInstance"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventingEventSourceInstance"
            }
          }
        }
      },
      "put": {
        "tags": [
          "EventingEventSourceInstance"
        ],
        "operationId": "EventingEventSourceInstance_Update",
        "parameters": [
          {
            "name": "instance",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/EventingEventSourceInstance"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventingEventSourceInstance"
            }
          }
        }
      }
    },
    "/eventing/events": {
      "get": {
        "tags": [
          "Events"
        ],
        "operationId": "Events_GetEvents",
        "parameters": [
          {
            "type": "string",
            "name": "FromDate",
            "in": "query",
            "format": "date-time",
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "ToDate",
            "in": "query",
            "format": "date-time",
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "EventType",
            "in": "query",
            "x-nullable": true
          },
          {
            "type": "string",
            "name": "Channel",
            "in": "query",
            "x-nullable": true
          },
          {
            "type": "integer",
            "name": "Limit",
            "in": "query",
            "format": "int32",
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventOverviewDto"
              }
            }
          }
        }
      }
    },
    "/eventing/events/channel": {
      "get": {
        "tags": [
          "Events"
        ],
        "operationId": "Events_GetEventsByChannel",
        "parameters": [
          {
            "type": "string",
            "name": "channelName",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventOverviewDto"
              }
            }
          }
        }
      }
    },
    "/eventing/events/eventtype": {
      "get": {
        "tags": [
          "Events"
        ],
        "operationId": "Events_GetEventsByEventType",
        "parameters": [
          {
            "type": "string",
            "name": "eventType",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventOverviewDto"
              }
            }
          }
        }
      }
    },
    "/eventing/events/eventdefinition/{id}": {
      "get": {
        "tags": [
          "Events"
        ],
        "operationId": "Events_GetEventsByEventDefinition",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventOverviewDto"
              }
            }
          }
        }
      }
    },
    "/eventing/events/details": {
      "get": {
        "tags": [
          "Events"
        ],
        "operationId": "Events_GetEventDetails",
        "parameters": [
          {
            "type": "string",
            "name": "eventId",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventDetailsDto"
            }
          }
        }
      }
    },
    "/eventing/componentCatalog": {
      "post": {
        "tags": [
          "ComponentCatalog"
        ],
        "operationId": "ComponentCatalog_Install",
        "parameters": [
          {
            "name": "catalog",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/EventingComponentCatalog"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventingComponentCatalog"
            }
          }
        }
      },
      "get": {
        "tags": [
          "ComponentCatalog"
        ],
        "operationId": "ComponentCatalog_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventingComponentCatalog"
              }
            }
          }
        }
      }
    },
    "/eventing/componentCatalog/{id}": {
      "delete": {
        "tags": [
          "ComponentCatalog"
        ],
        "operationId": "ComponentCatalog_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      },
      "get": {
        "tags": [
          "ComponentCatalog"
        ],
        "operationId": "ComponentCatalog_GetById",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventingComponentCatalog"
            }
          }
        }
      }
    },
    "/eventing/component": {
      "get": {
        "tags": [
          "Component"
        ],
        "operationId": "Component_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventingComponent"
              }
            }
          }
        }
      }
    },
    "/eventing/component/{id}": {
      "get": {
        "tags": [
          "Component"
        ],
        "operationId": "Component_GetById",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventingComponent"
            }
          }
        }
      }
    },
    "/eventing/sourceCatalog": {
      "post": {
        "tags": [
          "EventSourceCatalog"
        ],
        "operationId": "EventSourceCatalog_Install",
        "parameters": [
          {
            "name": "catalog",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/EventingEventSourceCatalog"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventingEventSourceCatalog"
            }
          }
        }
      },
      "get": {
        "tags": [
          "EventSourceCatalog"
        ],
        "operationId": "EventSourceCatalog_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventingEventSourceCatalog"
              }
            }
          }
        }
      }
    },
    "/eventing/sourceCatalog/{id}": {
      "delete": {
        "tags": [
          "EventSourceCatalog"
        ],
        "operationId": "EventSourceCatalog_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      },
      "get": {
        "tags": [
          "EventSourceCatalog"
        ],
        "operationId": "EventSourceCatalog_GetById",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventingEventSourceCatalog"
            }
          }
        }
      }
    },
    "/eventing/sources": {
      "get": {
        "tags": [
          "EventSource"
        ],
        "operationId": "EventSource_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventingEventSource"
              }
            }
          }
        }
      }
    },
    "/eventing/sources/{id}": {
      "get": {
        "tags": [
          "EventSource"
        ],
        "operationId": "EventSource_GetById",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventingEventSource"
            }
          }
        }
      }
    },
    "/automation/triggers/event/{id}": {
      "get": {
        "tags": [
          "EventTrigger"
        ],
        "operationId": "EventTrigger_GetById",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventTrigger"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "EventTrigger"
        ],
        "operationId": "EventTrigger_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      },
      "put": {
        "tags": [
          "EventTrigger"
        ],
        "operationId": "EventTrigger_Update",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "name": "updatedTrigger",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/EventTrigger"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventTrigger"
            }
          }
        }
      }
    },
    "/automation/triggers/event": {
      "get": {
        "tags": [
          "EventTrigger"
        ],
        "operationId": "EventTrigger_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventTrigger"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "EventTrigger"
        ],
        "operationId": "EventTrigger_Create",
        "parameters": [
          {
            "name": "newTrigger",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/EventTrigger"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventTrigger"
            }
          }
        }
      }
    },
    "/automation/triggers/event/find": {
      "get": {
        "tags": [
          "EventTrigger"
        ],
        "operationId": "EventTrigger_GetByAction",
        "parameters": [
          {
            "type": "string",
            "name": "actionId",
            "in": "query",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventTrigger"
              }
            }
          }
        }
      }
    },
    "/automation/triggers/event/{id}/enabled": {
      "put": {
        "tags": [
          "EventTrigger"
        ],
        "operationId": "EventTrigger_ToggleEnabled",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/EventTrigger"
            }
          }
        }
      }
    },
    "/automation/triggers/schedule/{id}": {
      "get": {
        "tags": [
          "ScheduleTrigger"
        ],
        "operationId": "ScheduleTrigger_GetById",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/ScheduleTrigger"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "ScheduleTrigger"
        ],
        "operationId": "ScheduleTrigger_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      },
      "put": {
        "tags": [
          "ScheduleTrigger"
        ],
        "operationId": "ScheduleTrigger_Update",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "name": "updatedTrigger",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ScheduleTrigger"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/ScheduleTrigger"
            }
          }
        }
      }
    },
    "/automation/triggers/schedule": {
      "get": {
        "tags": [
          "ScheduleTrigger"
        ],
        "operationId": "ScheduleTrigger_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ScheduleTrigger"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "ScheduleTrigger"
        ],
        "operationId": "ScheduleTrigger_Create",
        "parameters": [
          {
            "name": "newTrigger",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/ScheduleTrigger"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/ScheduleTrigger"
            }
          }
        }
      }
    },
    "/automation/triggers/schedule/{id}/enabled": {
      "put": {
        "tags": [
          "ScheduleTrigger"
        ],
        "operationId": "ScheduleTrigger_ToggleEnabled",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/ScheduleTrigger"
            }
          }
        }
      }
    },
    "/automation/triggers/schedule/find": {
      "get": {
        "tags": [
          "ScheduleTrigger"
        ],
        "operationId": "ScheduleTrigger_GetByAction",
        "parameters": [
          {
            "type": "string",
            "name": "actionId",
            "in": "query",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ScheduleTrigger"
              }
            }
          }
        }
      }
    },
    "/automation/triggers/web/{id}": {
      "get": {
        "tags": [
          "WebTrigger"
        ],
        "operationId": "WebTrigger_GetById",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/WebTrigger"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "WebTrigger"
        ],
        "operationId": "WebTrigger_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      },
      "put": {
        "tags": [
          "WebTrigger"
        ],
        "operationId": "WebTrigger_Update",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "name": "updatedTrigger",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/WebTrigger"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/WebTrigger"
            }
          }
        }
      }
    },
    "/automation/triggers/web": {
      "get": {
        "tags": [
          "WebTrigger"
        ],
        "operationId": "WebTrigger_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/WebTrigger"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "WebTrigger"
        ],
        "operationId": "WebTrigger_Create",
        "parameters": [
          {
            "name": "newTrigger",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/WebTrigger"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/WebTrigger"
            }
          }
        }
      }
    },
    "/automation/triggers/web/{id}/enabled": {
      "put": {
        "tags": [
          "WebTrigger"
        ],
        "operationId": "WebTrigger_ToggleEnabled",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/WebTrigger"
            }
          }
        }
      }
    },
    "/automation/triggers/web/find": {
      "get": {
        "tags": [
          "WebTrigger"
        ],
        "operationId": "WebTrigger_GetByAction",
        "parameters": [
          {
            "type": "string",
            "name": "actionId",
            "in": "query",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/WebTrigger"
              }
            }
          }
        }
      }
    },
    "/automation/notebook/{id}": {
      "get": {
        "tags": [
          "Notebook"
        ],
        "operationId": "Notebook_GetById",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/NotebookEntity"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Notebook"
        ],
        "operationId": "Notebook_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Notebook"
        ],
        "operationId": "Notebook_Update",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "name": "newContent",
            "in": "body",
            "schema": {
              "type": "string"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/NotebookEntity"
            }
          }
        }
      }
    },
    "/automation/notebook": {
      "get": {
        "tags": [
          "Notebook"
        ],
        "operationId": "Notebook_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/NotebookEntity"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Notebook"
        ],
        "operationId": "Notebook_Create",
        "parameters": [
          {
            "name": "dto",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/NewNotebookDto"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/NotebookEntity"
            }
          }
        }
      }
    },
    "/automation/notebook/{id}/analyze": {
      "get": {
        "tags": [
          "Notebook"
        ],
        "operationId": "Notebook_Analyze",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/DibAnalyzationResult"
            }
          }
        }
      }
    },
    "/automation/notebook/{id}/run": {
      "post": {
        "tags": [
          "Notebook"
        ],
        "operationId": "Notebook_Run",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "name": "request",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/RunNotebookRequest"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    },
    "/automation/notebook/endpoint/{id}": {
      "get": {
        "tags": [
          "NotebookEndpoint"
        ],
        "operationId": "NotebookEndpoint_GetById",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/NotebookEndpoint"
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "NotebookEndpoint"
        ],
        "operationId": "NotebookEndpoint_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      },
      "put": {
        "tags": [
          "NotebookEndpoint"
        ],
        "operationId": "NotebookEndpoint_Update",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "name": "notebookEndpoint",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/NotebookEndpoint"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/NotebookEndpoint"
            }
          }
        }
      }
    },
    "/automation/notebook/endpoint": {
      "get": {
        "tags": [
          "NotebookEndpoint"
        ],
        "operationId": "NotebookEndpoint_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/NotebookEndpoint"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "NotebookEndpoint"
        ],
        "operationId": "NotebookEndpoint_Create",
        "parameters": [
          {
            "name": "dto",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/NotebookEndpoint"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/NotebookEndpoint"
            }
          }
        }
      }
    },
    "/automation/notebook/schedule/{id}": {
      "get": {
        "tags": [
          "NotebookSchedule"
        ],
        "operationId": "NotebookSchedule_Get",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/NotebookSchedule"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "NotebookSchedule"
        ],
        "operationId": "NotebookSchedule_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      },
      "put": {
        "tags": [
          "NotebookSchedule"
        ],
        "operationId": "NotebookSchedule_Update",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "name": "notebookSchedule",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/NotebookSchedule"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/NotebookSchedule"
            }
          }
        }
      }
    },
    "/automation/notebook/schedule/notebook/{notebookId}": {
      "get": {
        "tags": [
          "NotebookSchedule"
        ],
        "operationId": "NotebookSchedule_GetByNotebook",
        "parameters": [
          {
            "type": "string",
            "name": "notebookId",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/NotebookSchedule"
              }
            }
          }
        }
      }
    },
    "/automation/notebook/schedule": {
      "get": {
        "tags": [
          "NotebookSchedule"
        ],
        "operationId": "NotebookSchedule_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/NotebookSchedule"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "NotebookSchedule"
        ],
        "operationId": "NotebookSchedule_Create",
        "parameters": [
          {
            "name": "dto",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/NotebookSchedule"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/NotebookSchedule"
            }
          }
        }
      }
    },
    "/automation/action/{id}": {
      "get": {
        "tags": [
          "Action"
        ],
        "operationId": "Action_GetById",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/ActionEntity"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Action"
        ],
        "operationId": "Action_Delete",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Action"
        ],
        "operationId": "Action_Update",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "name": "newContent",
            "in": "body",
            "schema": {
              "type": "string"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/ActionEntity"
            }
          }
        }
      }
    },
    "/automation/action/find": {
      "get": {
        "tags": [
          "Action"
        ],
        "operationId": "Action_GetByName",
        "parameters": [
          {
            "type": "string",
            "name": "name",
            "in": "query",
            "required": true,
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/ActionEntity"
            }
          }
        }
      }
    },
    "/automation/action": {
      "get": {
        "tags": [
          "Action"
        ],
        "operationId": "Action_GetAll",
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ActionEntity"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Action"
        ],
        "operationId": "Action_Create",
        "parameters": [
          {
            "name": "dto",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/NewActionDto"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "$ref": "#/definitions/ActionEntity"
            }
          }
        }
      }
    },
    "/automation/action/{id}/history": {
      "get": {
        "tags": [
          "Action"
        ],
        "operationId": "Action_GetActionExecutionHistory",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ActionExecutionEntity"
              }
            }
          }
        }
      }
    },
    "/automation/action/{id}/run": {
      "post": {
        "tags": [
          "Action"
        ],
        "operationId": "Action_Run",
        "parameters": [
          {
            "type": "string",
            "name": "id",
            "in": "path",
            "required": true,
            "format": "guid",
            "x-nullable": false
          },
          {
            "name": "request",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/RunActionRequest"
            },
            "x-nullable": true
          }
        ],
        "responses": {
          "200": {
            "x-nullable": true,
            "description": "",
            "schema": {
              "type": "file"
            }
          }
        }
      }
    }
  },
  "definitions": {
    "OpenApiOperation": {
      "type": "object",
      "properties": {
        "Method": {
          "$ref": "#/definitions/HttpMethod"
        },
        "Description": {
          "type": "string"
        },
        "Tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "OperationId": {
          "type": "string"
        },
        "Summary": {
          "type": "string"
        },
        "Url": {
          "type": "string"
        },
        "Responses": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/OpenApiOperationResponse"
          }
        },
        "Parameters": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/OpenApiOperationParameter"
          }
        },
        "Requests": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/OpenApiOperationRequest"
          }
        }
      }
    },
    "HttpMethod": {
      "type": "object",
      "required": [
        "Get",
        "Put",
        "Post",
        "Delete",
        "Head",
        "Options",
        "Trace",
        "Patch",
        "Connect",
        "Method",
        "MustHaveRequestBody",
        "Http3EncodedBytes"
      ],
      "properties": {
        "Get": {
          "$ref": "#/definitions/HttpMethod"
        },
        "Put": {
          "$ref": "#/definitions/HttpMethod"
        },
        "Post": {
          "$ref": "#/definitions/HttpMethod"
        },
        "Delete": {
          "$ref": "#/definitions/HttpMethod"
        },
        "Head": {
          "$ref": "#/definitions/HttpMethod"
        },
        "Options": {
          "$ref": "#/definitions/HttpMethod"
        },
        "Trace": {
          "$ref": "#/definitions/HttpMethod"
        },
        "Patch": {
          "$ref": "#/definitions/HttpMethod"
        },
        "Connect": {
          "$ref": "#/definitions/HttpMethod"
        },
        "Method": {
          "type": "string"
        },
        "MustHaveRequestBody": {
          "type": "boolean"
        },
        "Http3EncodedBytes": {
          "type": "string",
          "format": "byte"
        }
      }
    },
    "OpenApiOperationResponse": {
      "type": "object",
      "required": [
        "HTTPResponseCode"
      ],
      "properties": {
        "HTTPResponseCode": {
          "type": "integer",
          "format": "int32"
        },
        "HTTPResponseMessage": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "ResponseContentType": {
          "type": "string"
        },
        "Fields": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/OpenApiOperationField"
          }
        }
      }
    },
    "OpenApiOperationField": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Type": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        }
      }
    },
    "OpenApiOperationParameter": {
      "type": "object",
      "required": [
        "Required",
        "Kind"
      ],
      "properties": {
        "Name": {
          "type": "string"
        },
        "Type": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Required": {
          "type": "boolean"
        },
        "Kind": {
          "$ref": "#/definitions/OpenApiOperationParameterKind"
        },
        "Options": {
          "type": "array",
          "items": {}
        }
      }
    },
    "OpenApiOperationParameterKind": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "Undefined",
        "Query",
        "Path"
      ],
      "enum": [
        0,
        1,
        2
      ]
    },
    "OpenApiOperationRequest": {
      "type": "object",
      "properties": {
        "RequestContentType": {
          "type": "string"
        },
        "Fields": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/OpenApiOperationField"
          }
        }
      }
    },
    "IntegrationApi": {
      "type": "object",
      "required": [
        "ApiPackageId"
      ],
      "properties": {
        "ApiPackageId": {
          "type": "string",
          "format": "guid"
        },
        "PackageName": {
          "type": "string"
        },
        "PackageVersion": {
          "type": "string"
        },
        "ApiName": {
          "type": "string"
        },
        "ApiVersion": {
          "type": "string"
        },
        "ConfigurationSchema": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "ProductVersion": {
          "type": "string"
        },
        "Identifier": {
          "type": "string"
        }
      }
    },
    "IntegrationApiPackage": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "required": [
            "Status"
          ],
          "properties": {
            "PackageName": {
              "type": "string"
            },
            "PackageVersion": {
              "type": "string"
            },
            "Apis": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/IntegrationApi"
              }
            },
            "Status": {
              "$ref": "#/definitions/IntegrationApiPackageStatus"
            }
          }
        }
      ]
    },
    "IntegrationApiPackageStatus": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "New",
        "Installed",
        "InstallFailed"
      ],
      "enum": [
        0,
        1,
        2
      ]
    },
    "Entity": {
      "type": "object",
      "x-abstract": true,
      "required": [
        "CreatedDate",
        "IsDeleted"
      ],
      "properties": {
        "Id": {
          "type": "string",
          "format": "guid"
        },
        "ETag": {
          "type": "string"
        },
        "CreatedBy": {
          "type": "string"
        },
        "CreatedDate": {
          "type": "string",
          "format": "date-time"
        },
        "UpdatedBy": {
          "type": "string"
        },
        "UpdateDate": {
          "type": "string",
          "format": "date-time"
        },
        "TimeToLive": {
          "type": "integer",
          "format": "int32"
        },
        "IsDeleted": {
          "type": "boolean"
        }
      }
    },
    "OpenApiConnectorRegistryItem": {
      "allOf": [
        {
          "$ref": "#/definitions/ConfigurationChangeBaseOfOpenApiConnectorRegistryItemSpec"
        },
        {
          "type": "object"
        }
      ]
    },
    "ConfigurationChangeBaseOfOpenApiConnectorRegistryItemSpec": {
      "allOf": [
        {
          "$ref": "#/definitions/ConfigurationChangeBase"
        },
        {
          "type": "object",
          "x-abstract": true,
          "properties": {
            "Spec": {
              "$ref": "#/definitions/OpenApiConnectorRegistryItemSpec"
            }
          }
        }
      ]
    },
    "OpenApiConnectorRegistryItemSpec": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Package": {
          "type": "string"
        },
        "Version": {
          "type": "string"
        },
        "Labels": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "ConfigurationChangeBase": {
      "type": "object",
      "properties": {
        "ApiVersion": {
          "type": "string"
        },
        "Kind": {
          "type": "string"
        },
        "Metadata": {
          "$ref": "#/definitions/ConfigurationChangeMetadata"
        }
      }
    },
    "ConfigurationChangeMetadata": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Category": {
          "type": "string"
        }
      }
    },
    "WebhookDto": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        }
      }
    },
    "WebhookRequestMessage": {
      "type": "object",
      "required": [
        "Timestamp",
        "IsRehandled"
      ],
      "properties": {
        "Id": {
          "type": "string"
        },
        "Timestamp": {
          "type": "string",
          "format": "date-time"
        },
        "Method": {
          "type": "string"
        },
        "Path": {
          "type": "string"
        },
        "Headers": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "QueryString": {
          "type": "string"
        },
        "Body": {
          "type": "string"
        },
        "ContentType": {
          "type": "string"
        },
        "IsRehandled": {
          "type": "boolean"
        },
        "OriginalMessageId": {
          "type": "string"
        }
      }
    },
    "VariableDto": {
      "type": "object",
      "required": [
        "IsSecret"
      ],
      "properties": {
        "Name": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Value": {
          "type": "string"
        },
        "IsSecret": {
          "type": "boolean"
        }
      }
    },
    "StreamInfo": {
      "type": "object",
      "required": [
        "Messages",
        "Created",
        "Bytes",
        "IsMirror",
        "Replicas",
        "Consumers"
      ],
      "properties": {
        "Name": {
          "type": "string"
        },
        "Messages": {
          "type": "integer",
          "format": "uint64"
        },
        "Created": {
          "type": "string",
          "format": "date-time"
        },
        "Bytes": {
          "type": "integer",
          "format": "uint64"
        },
        "IsMirror": {
          "type": "boolean"
        },
        "Replicas": {
          "type": "integer",
          "format": "int32"
        },
        "Consumers": {
          "type": "integer",
          "format": "int64"
        },
        "Configuration": {
          "type": "string"
        }
      }
    },
    "StreamMessage": {
      "type": "object",
      "required": [
        "Timestamp",
        "Sequence"
      ],
      "properties": {
        "Subject": {
          "type": "string"
        },
        "Data": {
          "type": "string",
          "format": "byte"
        },
        "Timestamp": {
          "type": "string",
          "format": "date-time"
        },
        "Sequence": {
          "type": "integer",
          "format": "uint64"
        },
        "Headers": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "ServiceDto": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Version": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Type": {
          "type": "string"
        },
        "Id": {
          "type": "string"
        },
        "Metadata": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "Endpoints": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ServiceEndpointDto"
          }
        }
      }
    },
    "ServiceEndpointDto": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Version": {
          "type": "string"
        },
        "Endpoint": {
          "type": "string"
        },
        "Metadata": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "ServiceSendDto": {
      "type": "object",
      "properties": {
        "Endpoint": {
          "type": "string"
        },
        "Data": {
          "type": "string",
          "format": "byte"
        }
      }
    },
    "ScheduleDto": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Cron": {
          "type": "string"
        },
        "Command": {
          "type": "string"
        },
        "Arguments": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "IntegrationServiceDto": {
      "type": "object",
      "required": [
        "Version"
      ],
      "properties": {
        "Version": {
          "type": "integer",
          "format": "uint64"
        },
        "Id": {
          "type": "string"
        },
        "Name": {
          "type": "string"
        },
        "Title": {
          "type": "string"
        },
        "Category": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Specification": {
          "type": "string"
        },
        "Variables": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "Properties": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/IntegrationServiceProperty"
          }
        }
      }
    },
    "IntegrationServiceProperty": {
      "type": "object",
      "required": [
        "IsRequired"
      ],
      "properties": {
        "Name": {
          "type": "string"
        },
        "Title": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Type": {
          "type": "string"
        },
        "Default": {
          "type": "string"
        },
        "Example": {
          "type": "string"
        },
        "IsRequired": {
          "type": "boolean"
        }
      }
    },
    "IntegrationService": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Title": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Category": {
          "type": "string"
        },
        "Specification": {
          "type": "string"
        },
        "Variables": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "Properties": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/IntegrationServiceProperty"
          }
        }
      }
    },
    "MftIntegration": {
      "type": "object",
      "required": [
        "RequestedStatus"
      ],
      "properties": {
        "Name": {
          "type": "string"
        },
        "Project": {
          "type": "string"
        },
        "Command": {
          "type": "string"
        },
        "Schedule": {
          "type": "string"
        },
        "Source": {
          "$ref": "#/definitions/MftStorage"
        },
        "Destination": {
          "$ref": "#/definitions/MftStorage"
        },
        "RequestedStatus": {
          "$ref": "#/definitions/IntegrationStatusEnum"
        },
        "Requirements": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Requirement2"
          }
        },
        "Variables": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "AdditionalPackages": {
          "type": "string"
        },
        "Args": {
          "type": "string"
        },
        "Filters": {
          "type": "string"
        },
        "Version": {
          "type": "string"
        },
        "Labels": {
          "type": "string"
        }
      }
    },
    "MftStorage": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Path": {
          "type": "string"
        }
      }
    },
    "IntegrationStatusEnum": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "Stopped",
        "Started",
        "Unknown"
      ],
      "enum": [
        0,
        1,
        2
      ]
    },
    "Requirement2": {
      "type": "object",
      "properties": {
        "Identifier": {
          "type": "string"
        },
        "Value": {
          "type": "string"
        }
      }
    },
    "MftIntegrationDetails": {
      "allOf": [
        {
          "$ref": "#/definitions/MftIntegration"
        },
        {
          "type": "object",
          "properties": {
            "Source": {
              "$ref": "#/definitions/MftStorageDetails"
            },
            "Destination": {
              "$ref": "#/definitions/MftStorageDetails"
            }
          }
        }
      ]
    },
    "MftStorageDetails": {
      "type": "object",
      "properties": {
        "System": {
          "$ref": "#/definitions/CoreSystem"
        },
        "Path": {
          "type": "string"
        }
      }
    },
    "CoreSystem": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Title": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Category": {
          "type": "string"
        },
        "Type": {
          "type": "string"
        },
        "Variables": {
          "type": "object",
          "additionalProperties": {}
        }
      }
    },
    "MftIntegration2": {
      "type": "object",
      "required": [
        "RequestedStatus"
      ],
      "properties": {
        "Name": {
          "type": "string"
        },
        "Project": {
          "type": "string"
        },
        "Command": {
          "type": "string"
        },
        "Schedule": {
          "type": "string"
        },
        "Source": {
          "$ref": "#/definitions/MftStorage2"
        },
        "Destination": {
          "$ref": "#/definitions/MftStorage2"
        },
        "RequestedStatus": {
          "$ref": "#/definitions/IntegrationStatusEnum2"
        },
        "Requirements": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Requirement"
          }
        },
        "Variables": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "AdditionalPackages": {
          "type": "string"
        },
        "Args": {
          "type": "string"
        },
        "Filters": {
          "type": "string"
        },
        "Version": {
          "type": "string"
        },
        "Labels": {
          "type": "string"
        },
        "FlowName": {
          "type": "string"
        }
      }
    },
    "MftStorage2": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Path": {
          "type": "string"
        }
      }
    },
    "IntegrationStatusEnum2": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "Stopped",
        "Started",
        "Unknown"
      ],
      "enum": [
        0,
        1,
        2
      ]
    },
    "Requirement": {
      "type": "object",
      "properties": {
        "Identifier": {
          "type": "string"
        },
        "Value": {
          "type": "string"
        }
      }
    },
    "MftDto": {
      "type": "object",
      "required": [
        "RequestedStatus",
        "RunningCount",
        "ErrorCount",
        "StoppedCount",
        "UnknownCount"
      ],
      "properties": {
        "Name": {
          "type": "string"
        },
        "Project": {
          "type": "string"
        },
        "Status": {
          "type": "string"
        },
        "RequestedStatus": {
          "$ref": "#/definitions/IntegrationStatusEnum2"
        },
        "RunningCount": {
          "type": "integer",
          "format": "int32"
        },
        "ErrorCount": {
          "type": "integer",
          "format": "int32"
        },
        "StoppedCount": {
          "type": "integer",
          "format": "int32"
        },
        "UnknownCount": {
          "type": "integer",
          "format": "int32"
        },
        "Category": {
          "type": "string"
        },
        "Version": {
          "type": "string"
        },
        "Command": {
          "type": "string"
        },
        "Schedule": {
          "type": "string"
        },
        "Labels": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "Source": {
          "$ref": "#/definitions/MftStorageDetails2"
        },
        "Destination": {
          "$ref": "#/definitions/MftStorageDetails2"
        }
      }
    },
    "MftStorageDetails2": {
      "type": "object",
      "properties": {
        "System": {
          "$ref": "#/definitions/CoreSystem2"
        },
        "Path": {
          "type": "string"
        }
      }
    },
    "CoreSystem2": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Title": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Category": {
          "type": "string"
        },
        "Type": {
          "type": "string"
        },
        "Variables": {
          "type": "object",
          "additionalProperties": {}
        }
      }
    },
    "AgentMftStatus": {
      "type": "object",
      "required": [
        "AgentId",
        "Status",
        "UpdateTime"
      ],
      "properties": {
        "AgentId": {
          "type": "string",
          "format": "guid"
        },
        "MftName": {
          "type": "string"
        },
        "Status": {
          "$ref": "#/definitions/MftStatus"
        },
        "UpdateTime": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "MftStatus": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "Started",
        "Stopped",
        "FailedToStart",
        "Unknown"
      ],
      "enum": [
        0,
        1,
        2,
        3
      ]
    },
    "MftFileTransferEntry": {
      "type": "object",
      "required": [
        "Time"
      ],
      "properties": {
        "Name": {
          "type": "string"
        },
        "FlowName": {
          "type": "string"
        },
        "Time": {
          "type": "string",
          "format": "date-time"
        },
        "FileName": {
          "type": "string"
        },
        "Operation": {
          "type": "string"
        },
        "FromName": {
          "type": "string"
        },
        "FromPath": {
          "type": "string"
        },
        "FromProtocol": {
          "type": "string"
        },
        "ToName": {
          "type": "string"
        },
        "ToPath": {
          "type": "string"
        },
        "ToProtocol": {
          "type": "string"
        }
      }
    },
    "MftScheduleExecuted": {
      "type": "object",
      "required": [
        "Id",
        "StartTime"
      ],
      "properties": {
        "Id": {
          "type": "string",
          "format": "guid"
        },
        "StartTime": {
          "type": "string",
          "format": "date-time"
        },
        "MftName": {
          "type": "string"
        },
        "Items": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Items"
          }
        },
        "Stats": {
          "$ref": "#/definitions/MftStats"
        }
      }
    },
    "Items": {
      "type": "object",
      "properties": {
        "Level": {
          "type": "string"
        },
        "Msg": {
          "type": "string"
        },
        "Source": {
          "type": "string"
        },
        "Time": {
          "type": "string"
        },
        "Object": {
          "type": "string"
        },
        "ObjectType": {
          "type": "string"
        },
        "Stats": {
          "$ref": "#/definitions/MftStats"
        }
      }
    },
    "MftStats": {
      "type": "object",
      "required": [
        "Bytes",
        "Checks",
        "DeletedDirs",
        "Deletes",
        "ElapsedTime",
        "Errors",
        "FatalError",
        "Renames",
        "RetryError",
        "Speed",
        "TotalBytes",
        "TotalChecks",
        "TotalTransfers",
        "TransferTime",
        "Transfers"
      ],
      "properties": {
        "Bytes": {
          "type": "integer",
          "format": "int32"
        },
        "Checks": {
          "type": "integer",
          "format": "int32"
        },
        "DeletedDirs": {
          "type": "integer",
          "format": "int32"
        },
        "Deletes": {
          "type": "integer",
          "format": "int32"
        },
        "ElapsedTime": {
          "type": "number",
          "format": "double"
        },
        "Errors": {
          "type": "integer",
          "format": "int32"
        },
        "Eta": {},
        "FatalError": {
          "type": "boolean"
        },
        "Renames": {
          "type": "integer",
          "format": "int32"
        },
        "RetryError": {
          "type": "boolean"
        },
        "Speed": {
          "type": "number",
          "format": "double"
        },
        "TotalBytes": {
          "type": "integer",
          "format": "int32"
        },
        "TotalChecks": {
          "type": "integer",
          "format": "int32"
        },
        "TotalTransfers": {
          "type": "integer",
          "format": "int32"
        },
        "TransferTime": {
          "type": "number",
          "format": "double"
        },
        "Transfers": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "IntegrationFlowsResponseItem": {
      "type": "object",
      "required": [
        "RequestedStatus"
      ],
      "properties": {
        "Name": {
          "type": "string"
        },
        "Project": {
          "type": "string"
        },
        "Version": {
          "type": "string"
        },
        "PackageId": {
          "type": "string"
        },
        "RequestedStatus": {
          "$ref": "#/definitions/IntegrationStatusEnum2"
        },
        "Properties": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "Category": {
          "type": "string"
        },
        "Labels": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "AdditionalPackages": {
          "type": "string"
        },
        "Requirements": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Requirement"
          }
        },
        "Readme": {
          "type": "string"
        },
        "Files": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/IntegrationFlowFile"
          }
        },
        "CamelVersion": {
          "type": "string"
        }
      }
    },
    "IntegrationFlowFile": {
      "type": "object",
      "properties": {
        "FileName": {
          "type": "string"
        },
        "FileContent": {
          "type": "string"
        }
      }
    },
    "IntegrationFlow": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Project": {
          "type": "string"
        },
        "FlowSpec": {
          "type": "string"
        },
        "Variables": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "Category": {
          "type": "string"
        },
        "Labels": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "IntegrationFiles": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/IntegrationFlowFile"
          }
        },
        "AdditionalPackages": {
          "type": "string"
        },
        "Requirements": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Requirement"
          }
        },
        "Readme": {
          "type": "string"
        }
      }
    },
    "IntegrationFlowDto": {
      "type": "object",
      "required": [
        "RequestedStatus",
        "RunningCount",
        "ErrorCount",
        "StoppedCount",
        "UnknownCount"
      ],
      "properties": {
        "FlowName": {
          "type": "string"
        },
        "Project": {
          "type": "string"
        },
        "Status": {
          "type": "string"
        },
        "RequestedStatus": {
          "$ref": "#/definitions/IntegrationStatusEnum2"
        },
        "RunningCount": {
          "type": "integer",
          "format": "int32"
        },
        "ErrorCount": {
          "type": "integer",
          "format": "int32"
        },
        "StoppedCount": {
          "type": "integer",
          "format": "int32"
        },
        "UnknownCount": {
          "type": "integer",
          "format": "int32"
        },
        "Category": {
          "type": "string"
        },
        "AdditionalPackages": {
          "type": "string"
        },
        "Version": {
          "type": "string"
        },
        "Labels": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "AgentIntegrationFlowStatus": {
      "type": "object",
      "required": [
        "AgentId",
        "Status",
        "UpdateTime"
      ],
      "properties": {
        "AgentId": {
          "type": "string",
          "format": "guid"
        },
        "IntegrationName": {
          "type": "string"
        },
        "Status": {
          "$ref": "#/definitions/IntegrationFlowStatusEnum"
        },
        "UpdateTime": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "IntegrationFlowStatusEnum": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "Started",
        "Stopped",
        "FailedToStart",
        "Unknown"
      ],
      "enum": [
        0,
        1,
        2,
        3
      ]
    },
    "IntegrationLogMessage": {
      "type": "object",
      "required": [
        "Id",
        "TimeStamp"
      ],
      "properties": {
        "Id": {
          "type": "string",
          "format": "guid"
        },
        "TimeStamp": {
          "type": "string",
          "format": "date-time"
        },
        "LogLevel": {
          "type": "string"
        },
        "Message": {
          "type": "string"
        },
        "ExceptionMessage": {
          "type": "string"
        },
        "ExceptionType": {
          "type": "string"
        },
        "StackTrace": {
          "type": "string"
        }
      }
    },
    "IntegrationLogItem": {
      "type": "object",
      "required": [
        "Timestamp"
      ],
      "properties": {
        "Timestamp": {
          "type": "string",
          "format": "date-time"
        },
        "Agent": {
          "type": "string"
        },
        "Environment": {
          "type": "string"
        },
        "ExchangeId": {
          "type": "string"
        },
        "IntegrationName": {
          "type": "string"
        },
        "LogLevel": {
          "type": "string"
        },
        "Message": {
          "type": "string"
        },
        "Stacktrace": {
          "type": "string"
        },
        "Context": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "IntegrationEndpoint": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "properties": {
            "Name": {
              "type": "string"
            },
            "ApiName": {
              "type": "string"
            },
            "ApiVersion": {
              "type": "string"
            },
            "Route": {
              "type": "string"
            },
            "JsonConfiguration": {
              "type": "string"
            },
            "Description": {
              "type": "string"
            },
            "Requirements": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Requirement"
              }
            }
          }
        }
      ]
    },
    "CoreSystemDto": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Title": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Category": {
          "type": "string"
        },
        "Type": {
          "type": "string"
        },
        "Variables": {
          "type": "string"
        }
      }
    },
    "StorageDto": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        }
      }
    },
    "CoreDto": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Title": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Label": {
          "type": "string"
        }
      }
    },
    "LoginResult": {
      "type": "object",
      "properties": {
        "Token": {
          "type": "string"
        },
        "RefreshToken": {
          "type": "string"
        }
      }
    },
    "LoginModel": {
      "type": "object",
      "properties": {
        "UserName": {
          "type": "string"
        },
        "Password": {
          "type": "string"
        }
      }
    },
    "RefreshTokenModel": {
      "type": "object",
      "properties": {
        "RefreshToken": {
          "type": "string"
        }
      }
    },
    "UserDto": {
      "type": "object",
      "properties": {
        "Username": {
          "type": "string"
        },
        "Password": {
          "type": "string"
        },
        "Roles": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "UserCreateDto": {
      "type": "object",
      "properties": {
        "Email": {
          "type": "string"
        },
        "Roles": {
          "type": "string"
        }
      }
    },
    "EventSubscriptionDtov2": {
      "type": "object",
      "required": [
        "CreatedAt"
      ],
      "properties": {
        "Name": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Source": {
          "type": "string"
        },
        "Channel": {
          "type": "string"
        },
        "CreatedAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "EventSourceDtov2": {
      "type": "object",
      "required": [
        "CreatedAt"
      ],
      "properties": {
        "Name": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Type": {
          "type": "string"
        },
        "Parameters": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "Variables": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "Requirements": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "CreatedAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "EventChannelDtov2": {
      "type": "object",
      "required": [
        "CreatedAt"
      ],
      "properties": {
        "Name": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Type": {
          "type": "string"
        },
        "Parameters": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "Variables": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "Requirements": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "CreatedAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "KeyValuePairOfStringAndString": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string"
        },
        "Value": {
          "type": "string"
        }
      }
    },
    "EntityStoreSearchResults": {
      "type": "object",
      "required": [
        "LimitReached"
      ],
      "properties": {
        "Data": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/EntityStoreDto"
          }
        },
        "LimitReached": {
          "type": "boolean"
        }
      }
    },
    "EntityStoreDto": {
      "type": "object",
      "required": [
        "Updated"
      ],
      "properties": {
        "Type": {
          "type": "string"
        },
        "Id": {
          "type": "string"
        },
        "Data": {
          "type": "string"
        },
        "Updated": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "EntityStoreInfo": {
      "type": "object",
      "required": [
        "EntitiesStored",
        "EntitiesStoredIncludingHistory",
        "HistoryKept",
        "Size",
        "MaxSize",
        "MaximumAge"
      ],
      "properties": {
        "EntitiesStored": {
          "type": "integer",
          "format": "int64"
        },
        "EntitiesStoredIncludingHistory": {
          "type": "integer",
          "format": "uint64"
        },
        "HistoryKept": {
          "type": "integer",
          "format": "int64"
        },
        "Size": {
          "type": "integer",
          "format": "uint64"
        },
        "MaxSize": {
          "type": "integer",
          "format": "int64"
        },
        "MaximumAge": {
          "type": "string",
          "format": "duration"
        }
      }
    },
    "SystemInfo": {
      "type": "object",
      "required": [
        "IsHttps"
      ],
      "properties": {
        "BuildDate": {
          "type": "string",
          "format": "date-time"
        },
        "BuildVersion": {
          "type": "string"
        },
        "HostName": {
          "type": "string"
        },
        "Method": {
          "type": "string"
        },
        "Headers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "Scheme": {
          "type": "string"
        },
        "Protocol": {
          "type": "string"
        },
        "IsHttps": {
          "type": "boolean"
        },
        "RequestNetwork": {
          "type": "string"
        }
      }
    },
    "DatabaseChangeTrackingDto": {
      "type": "object",
      "required": [
        "CreatedAt"
      ],
      "properties": {
        "Name": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Type": {
          "type": "string"
        },
        "Parameters": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "Variables": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "CreatedAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "WebJobEntity": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "required": [
            "IsEnabled",
            "RequestedStatus"
          ],
          "properties": {
            "Name": {
              "type": "string"
            },
            "Command": {
              "type": "string"
            },
            "CommandArguments": {
              "type": "string"
            },
            "PackageId": {
              "type": "string"
            },
            "PackageVersion": {
              "type": "string"
            },
            "CronExpression": {
              "type": "string"
            },
            "IsEnabled": {
              "type": "boolean"
            },
            "Requirements": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Requirement"
              }
            },
            "EnvironmentVariables": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "RequestedStatus": {
              "$ref": "#/definitions/WebJobStatus"
            }
          }
        }
      ]
    },
    "WebJobStatus": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "Stopped",
        "Started",
        "Unknown"
      ],
      "enum": [
        0,
        1,
        2
      ]
    },
    "ApiSubscriptionDto": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Apis": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "Type": {
          "type": "string"
        },
        "Parameters": {
          "type": "string"
        },
        "Key": {
          "type": "string"
        }
      }
    },
    "ApiDetailsDto": {
      "type": "object",
      "properties": {
        "Versions": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ApiVersionDto"
          }
        },
        "Subscriptions": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ApiSubscription"
          }
        },
        "Name": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Prefix": {
          "type": "string"
        }
      }
    },
    "ApiVersionDto": {
      "type": "object",
      "required": [
        "IsActive"
      ],
      "properties": {
        "Version": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "IsActive": {
          "type": "boolean"
        },
        "Type": {
          "type": "string"
        },
        "Parameters": {
          "type": "string"
        },
        "Authentication": {
          "$ref": "#/definitions/ApiAuthentication"
        },
        "Connection": {
          "$ref": "#/definitions/ConnectionSettings"
        }
      }
    },
    "ApiAuthentication": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string"
        },
        "Parameters": {
          "type": "object",
          "additionalProperties": {}
        }
      }
    },
    "ConnectionSettings": {
      "type": "object",
      "required": [
        "UseProxy",
        "AllowAutoRedirect",
        "AutomaticDecompression",
        "UseCookies",
        "ConnectTimeout"
      ],
      "properties": {
        "UseProxy": {
          "type": "boolean"
        },
        "AllowAutoRedirect": {
          "type": "boolean"
        },
        "AutomaticDecompression": {
          "$ref": "#/definitions/DecompressionMethods"
        },
        "UseCookies": {
          "type": "boolean"
        },
        "ConnectTimeout": {
          "type": "string",
          "format": "duration"
        }
      }
    },
    "DecompressionMethods": {
      "type": "integer",
      "description": "",
      "x-enumFlags": true,
      "x-enumNames": [
        "None",
        "GZip",
        "Deflate",
        "Brotli",
        "All"
      ],
      "enum": [
        0,
        1,
        2,
        4,
        -1
      ]
    },
    "ApiSubscription": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "Apis": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "Type": {
          "type": "string"
        },
        "Parameters": {
          "type": "object",
          "additionalProperties": {}
        },
        "AdditionalHeaders": {
          "type": "object",
          "additionalProperties": {}
        },
        "Variables": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "Key": {
          "type": "string"
        }
      }
    },
    "ApiVersion": {
      "type": "object",
      "required": [
        "IsActive"
      ],
      "properties": {
        "Version": {
          "type": "string"
        },
        "ApiName": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "IsActive": {
          "type": "boolean"
        },
        "Type": {
          "type": "string"
        },
        "Parameters": {
          "type": "object",
          "additionalProperties": {}
        },
        "Variables": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "Authentication": {
          "$ref": "#/definitions/ApiAuthentication"
        },
        "Connection": {
          "$ref": "#/definitions/ConnectionSettings"
        },
        "Key": {
          "type": "string"
        }
      }
    },
    "AgentRegistrationDto": {
      "type": "object",
      "required": [
        "Id"
      ],
      "properties": {
        "Id": {
          "type": "string",
          "format": "guid"
        },
        "Name": {
          "type": "string"
        },
        "ValidationToken": {
          "type": "string"
        },
        "IdentityBaseAddress": {
          "type": "string"
        },
        "ConfigurationBaseAddress": {
          "type": "string"
        },
        "ServerBaseAddress": {
          "type": "string"
        }
      }
    },
    "AgentRegistrationData": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Token": {
          "type": "string"
        },
        "InitialCapabities": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/AgentCapability"
          }
        },
        "InitialBaseAddress": {
          "type": "string"
        }
      }
    },
    "AgentCapability": {
      "type": "object",
      "required": [
        "IsCustom",
        "CapabilityType"
      ],
      "properties": {
        "IdentifierValueComparer": {
          "$ref": "#/definitions/IEqualityComparerOfAgentCapability"
        },
        "Identifier": {
          "type": "string"
        },
        "Value": {
          "type": "string"
        },
        "IsCustom": {
          "type": "boolean"
        },
        "CapabilityType": {
          "$ref": "#/definitions/CapabilityType"
        }
      }
    },
    "IEqualityComparerOfAgentCapability": {
      "type": "object",
      "x-abstract": true
    },
    "CapabilityType": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "Environment",
        "Automatic",
        "Custom"
      ],
      "enum": [
        0,
        1,
        2
      ]
    },
    "PendingAgentRegistrationDto": {
      "type": "object",
      "required": [
        "Id"
      ],
      "properties": {
        "Id": {
          "type": "string",
          "format": "guid"
        },
        "ServerBaseaddress": {
          "type": "string"
        },
        "Token": {
          "type": "string"
        }
      }
    },
    "AgentValidationDto": {
      "type": "object",
      "required": [
        "Id"
      ],
      "properties": {
        "Id": {
          "type": "string",
          "format": "guid"
        },
        "RemoteAddress": {
          "type": "string"
        },
        "ValidationToken": {
          "type": "string"
        }
      }
    },
    "IntegrationEndpointAgent": {
      "type": "object",
      "required": [
        "EndpointId"
      ],
      "properties": {
        "EndpointId": {
          "type": "string",
          "format": "guid"
        },
        "Name": {
          "type": "string"
        },
        "Route": {
          "type": "string"
        },
        "ApiName": {
          "type": "string"
        },
        "ApiVersion": {
          "type": "string"
        },
        "Configuration": {
          "type": "string"
        },
        "EndpointStatus": {
          "$ref": "#/definitions/EndpointStatusEnum"
        }
      }
    },
    "EndpointStatusEnum": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "New",
        "Initializing",
        "InitializingFailed",
        "Ready",
        "Changed",
        "Failed",
        "Unhealthy"
      ],
      "enum": [
        0,
        1,
        2,
        3,
        4,
        5,
        6
      ]
    },
    "IntegrationApiPackageAgent": {
      "type": "object",
      "required": [
        "Id"
      ],
      "properties": {
        "Id": {
          "type": "string",
          "format": "guid"
        },
        "PackageName": {
          "type": "string"
        },
        "PackageVersion": {
          "type": "string"
        }
      }
    },
    "EventingEventSourceCatalogAgent": {
      "type": "object",
      "required": [
        "Id"
      ],
      "properties": {
        "Id": {
          "type": "string",
          "format": "guid"
        },
        "CatalogName": {
          "type": "string"
        },
        "CatalogVersion": {
          "type": "string"
        }
      }
    },
    "EventingEventSourceInstanceAgent": {
      "type": "object",
      "required": [
        "EventSourceInstanceId"
      ],
      "properties": {
        "EventSourceInstanceId": {
          "type": "string",
          "format": "guid"
        },
        "EventSourceId": {
          "type": "string"
        },
        "Name": {
          "type": "string"
        },
        "EventSourceType": {
          "type": "string"
        },
        "EventSourceVersion": {
          "type": "string"
        },
        "Configuration": {
          "type": "string"
        },
        "PollingFrequency": {
          "type": "string",
          "format": "duration"
        },
        "CronExpression": {
          "type": "string"
        }
      }
    },
    "Agent": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "required": [
            "CurrentStatusEnum",
            "IntegrationStatus"
          ],
          "properties": {
            "Name": {
              "type": "string"
            },
            "PoolName": {
              "type": "string"
            },
            "Capabilities": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/AgentCapability"
              }
            },
            "CurrentStatusEnum": {
              "$ref": "#/definitions/AgentStatusEnum"
            },
            "CurrentStatusMessage": {
              "type": "string"
            },
            "IntegrationStatus": {
              "$ref": "#/definitions/AgentEndpointManagerStatusEnum"
            },
            "LastSeen": {
              "type": "string",
              "format": "date-time"
            },
            "BaseAddress": {
              "type": "string"
            },
            "LastBuildVersion": {
              "type": "string"
            },
            "LastBuildDate": {
              "type": "string",
              "format": "date-time"
            },
            "LastUpdateDate": {
              "type": "string",
              "format": "date-time"
            }
          }
        }
      ]
    },
    "AgentStatusEnum": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "Unknown",
        "Registered",
        "Online",
        "Offline",
        "Deprecated"
      ],
      "enum": [
        0,
        1,
        2,
        3,
        4
      ]
    },
    "AgentEndpointManagerStatusEnum": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "Initializing",
        "Changed",
        "Running",
        "PartiallyRunning",
        "Failed",
        "Empty"
      ],
      "enum": [
        0,
        1,
        2,
        3,
        4,
        5
      ]
    },
    "AgentStatusHistoryItem": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "required": [
            "AgentId"
          ],
          "properties": {
            "AgentId": {
              "type": "string",
              "format": "guid"
            },
            "StatusUpdate": {
              "$ref": "#/definitions/AgentStatusPing"
            }
          }
        }
      ]
    },
    "AgentStatusPing": {
      "type": "object",
      "required": [
        "AgentId",
        "SystemStatus"
      ],
      "properties": {
        "AgentId": {
          "type": "string",
          "format": "guid"
        },
        "Endpoints": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/AgentEndpointDto"
          }
        },
        "SystemStatus": {
          "$ref": "#/definitions/AgentEndpointManagerStatusEnum2"
        },
        "AvailableApis": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/AgentApiDefinition"
          }
        },
        "Capabilities": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/AgentCapability"
          }
        },
        "BuildVersion": {
          "type": "string"
        },
        "BuildDate": {
          "type": "string",
          "format": "date-time"
        },
        "AgentName": {
          "type": "string"
        },
        "PoolName": {
          "type": "string"
        },
        "BaseAddress": {
          "type": "string"
        },
        "IntegrationFlowStatusList": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/IntegrationStatus"
          }
        }
      }
    },
    "AgentEndpointDto": {
      "type": "object",
      "required": [
        "EndpointId",
        "AgentId",
        "CurrentStatus",
        "PreviousStatus",
        "LastStatusUpdate"
      ],
      "properties": {
        "EndpointId": {
          "type": "string",
          "format": "guid"
        },
        "AgentId": {
          "type": "string",
          "format": "guid"
        },
        "Route": {
          "type": "string"
        },
        "Api": {
          "$ref": "#/definitions/AgentApiDefinition"
        },
        "Configuration": {
          "type": "string"
        },
        "CurrentStatus": {
          "$ref": "#/definitions/EndpointStatusEnum"
        },
        "PreviousStatus": {
          "$ref": "#/definitions/EndpointStatusEnum"
        },
        "LastStatusUpdate": {
          "type": "string",
          "format": "date-time"
        },
        "StatusUpdates": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/StatusLogOfEndpointStatusEnum"
          }
        },
        "EndpointName": {
          "type": "string"
        },
        "EndpointRoute": {
          "type": "string"
        }
      }
    },
    "AgentApiDefinition": {
      "type": "object",
      "properties": {
        "ApiName": {
          "type": "string"
        },
        "ApiVersion": {
          "type": "string"
        }
      }
    },
    "StatusLogOfEndpointStatusEnum": {
      "type": "object",
      "required": [
        "PreviousStatus",
        "NewStatus",
        "LogTime"
      ],
      "properties": {
        "PreviousStatus": {
          "$ref": "#/definitions/EndpointStatusEnum2"
        },
        "NewStatus": {
          "$ref": "#/definitions/EndpointStatusEnum2"
        },
        "LogTime": {
          "type": "string",
          "format": "date-time"
        },
        "Message": {
          "type": "string"
        }
      }
    },
    "EndpointStatusEnum2": {
      "type": "string",
      "description": "",
      "x-enumNames": [
        "New",
        "Initializing",
        "InitializingFailed",
        "Ready",
        "Changed",
        "Failed",
        "Unhealthy"
      ],
      "enum": [
        "New",
        "Initializing",
        "InitializingFailed",
        "Ready",
        "Changed",
        "Failed",
        "Unhealthy"
      ]
    },
    "AgentEndpointManagerStatusEnum2": {
      "type": "string",
      "description": "",
      "x-enumNames": [
        "Initializing",
        "Changed",
        "Running",
        "PartiallyRunning",
        "Failed",
        "Empty"
      ],
      "enum": [
        "Initializing",
        "Changed",
        "Running",
        "PartiallyRunning",
        "Failed",
        "Empty"
      ]
    },
    "IntegrationStatus": {
      "type": "object",
      "required": [
        "Pid"
      ],
      "properties": {
        "IntegrationName": {
          "type": "string"
        },
        "Pid": {
          "type": "integer",
          "format": "int64"
        },
        "IntegrationFile": {
          "type": "string"
        },
        "IntegrationFilePath": {
          "type": "string"
        },
        "WorkingDirectory": {
          "type": "string"
        },
        "State": {
          "type": "string"
        },
        "UpTime": {
          "type": "string"
        },
        "Statistics": {
          "$ref": "#/definitions/IntegrationStatistics"
        },
        "LogMessages": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/IntegrationLogMessage"
          }
        }
      }
    },
    "IntegrationStatistics": {
      "type": "object",
      "required": [
        "ExchangesTotal",
        "ExchangesFailed",
        "ExchangesInflight",
        "Reloaded",
        "MeanProcessingTime",
        "MaxProcessingTime",
        "MinProcessingTime",
        "LastProcessingTime",
        "DeltaProcessingTime"
      ],
      "properties": {
        "Load01": {
          "type": "string"
        },
        "Load05": {
          "type": "string"
        },
        "Load15": {
          "type": "string"
        },
        "ExchangesThroughput": {
          "type": "string"
        },
        "ExchangesTotal": {
          "type": "integer",
          "format": "int32"
        },
        "ExchangesFailed": {
          "type": "integer",
          "format": "int32"
        },
        "ExchangesInflight": {
          "type": "integer",
          "format": "int32"
        },
        "Reloaded": {
          "type": "integer",
          "format": "int32"
        },
        "MeanProcessingTime": {
          "type": "integer",
          "format": "int32"
        },
        "MaxProcessingTime": {
          "type": "integer",
          "format": "int32"
        },
        "MinProcessingTime": {
          "type": "integer",
          "format": "int32"
        },
        "LastProcessingTime": {
          "type": "integer",
          "format": "int32"
        },
        "DeltaProcessingTime": {
          "type": "integer",
          "format": "int32"
        },
        "SinceLastCreatedExchange": {
          "type": "string"
        },
        "SinceLastCompletedExchange": {
          "type": "string"
        }
      }
    },
    "PendingAgentRegistration": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "required": [
            "Expires"
          ],
          "properties": {
            "PoolName": {
              "type": "string"
            },
            "Expires": {
              "type": "string",
              "format": "date-time"
            }
          }
        }
      ]
    },
    "AgentEndpointSchema": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "required": [
            "AgentId",
            "EndpointId"
          ],
          "properties": {
            "AgentId": {
              "type": "string",
              "format": "guid"
            },
            "EndpointId": {
              "type": "string",
              "format": "guid"
            },
            "Schema": {
              "type": "string"
            }
          }
        }
      ]
    },
    "AgentEndpointStatus": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "required": [
            "AgentId",
            "EndpointId",
            "CurrentStatus",
            "PreviousStatus",
            "LastStatusUpdate"
          ],
          "properties": {
            "AgentId": {
              "type": "string",
              "format": "guid"
            },
            "EndpointId": {
              "type": "string",
              "format": "guid"
            },
            "Route": {
              "type": "string"
            },
            "Configuration": {
              "type": "string"
            },
            "CurrentStatus": {
              "$ref": "#/definitions/EndpointStatusEnum"
            },
            "PreviousStatus": {
              "$ref": "#/definitions/EndpointStatusEnum"
            },
            "LastStatusUpdate": {
              "type": "string",
              "format": "date-time"
            },
            "StatusUpdates": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/StatusLogOfEndpointStatusEnum"
              }
            }
          }
        }
      ]
    },
    "EntityEventItem": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "properties": {
            "EventType": {
              "type": "string"
            },
            "EntityId": {
              "type": "string"
            },
            "EntityType": {
              "type": "string"
            },
            "Content": {
              "type": "string"
            },
            "Subject": {
              "type": "string"
            },
            "Source": {
              "type": "string"
            }
          }
        }
      ]
    },
    "ChannelEntity": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "properties": {
            "Name": {
              "type": "string"
            },
            "Type": {
              "type": "string"
            },
            "AppId": {
              "type": "string"
            },
            "Parameters": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "JsonConfiguration": {
              "type": "string"
            },
            "Components": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ChannelComponent"
              }
            },
            "Endpoints": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ChannelComponent"
              }
            }
          }
        }
      ]
    },
    "ChannelComponent": {
      "type": "object",
      "required": [
        "Position"
      ],
      "properties": {
        "Type": {
          "type": "string"
        },
        "Version": {
          "type": "string"
        },
        "JsonConfiguration": {
          "type": "string"
        },
        "Position": {
          "type": "integer",
          "format": "int32"
        },
        "ComponentTypeIdentifier": {
          "type": "string"
        }
      }
    },
    "SubscriptionEntity": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "required": [
            "ChannelId"
          ],
          "properties": {
            "ChannelId": {
              "type": "string",
              "format": "guid"
            },
            "ChannelName": {
              "type": "string"
            },
            "EventType": {
              "type": "string"
            },
            "AppId": {
              "type": "string"
            },
            "SpecVersion": {
              "type": "string"
            },
            "Source": {
              "type": "string"
            }
          }
        }
      ]
    },
    "CloudEventDefinitionEntity": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "properties": {
            "Definition": {
              "$ref": "#/definitions/CloudEventDefinition"
            },
            "Type": {
              "type": "string"
            },
            "Source": {
              "type": "string"
            },
            "SpecVersion": {
              "type": "string"
            },
            "DataContentType": {
              "type": "string"
            },
            "DataSchemaUri": {
              "type": "string",
              "format": "uri"
            },
            "DataSchema": {
              "type": "string"
            },
            "Tags": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      ]
    },
    "CloudEventDefinition": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string"
        },
        "Source": {
          "type": "string"
        },
        "SpecVersion": {
          "type": "string"
        },
        "DataContentType": {
          "type": "string"
        },
        "DataSchemaUri": {
          "type": "string",
          "format": "uri"
        },
        "DataSchema": {
          "type": "string"
        },
        "Tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "ChannelDto": {
      "type": "object",
      "required": [
        "ChannelId",
        "Name"
      ],
      "properties": {
        "ChannelId": {
          "type": "string",
          "format": "guid"
        },
        "Name": {
          "type": "string",
          "minLength": 1
        },
        "Type": {
          "type": "string"
        }
      }
    },
    "NewChannelDto": {
      "type": "object",
      "required": [
        "Name"
      ],
      "properties": {
        "Name": {
          "type": "string",
          "minLength": 1
        },
        "Type": {
          "type": "string"
        },
        "Configuration": {
          "type": "string"
        },
        "Components": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ComponentDto"
          }
        },
        "Endpoints": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ComponentDto"
          }
        },
        "AppId": {
          "type": "string"
        }
      }
    },
    "ComponentDto": {
      "type": "object",
      "required": [
        "Type",
        "Version",
        "Position"
      ],
      "properties": {
        "Type": {
          "type": "string",
          "minLength": 1
        },
        "Version": {
          "type": "string",
          "minLength": 1
        },
        "Configuration": {
          "type": "string"
        },
        "Position": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "TriggerType": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Version": {
          "$ref": "#/definitions/Version"
        },
        "Description": {
          "type": "string"
        },
        "Configuration": {
          "$ref": "#/definitions/TriggerTypeConfiguration"
        }
      }
    },
    "Version": {
      "type": "object",
      "required": [
        "Major",
        "Minor",
        "Build",
        "Revision",
        "MajorRevision",
        "MinorRevision",
        "DefaultFormatFieldCount"
      ],
      "properties": {
        "Major": {
          "type": "integer",
          "format": "int32"
        },
        "Minor": {
          "type": "integer",
          "format": "int32"
        },
        "Build": {
          "type": "integer",
          "format": "int32"
        },
        "Revision": {
          "type": "integer",
          "format": "int32"
        },
        "MajorRevision": {
          "type": "integer"
        },
        "MinorRevision": {
          "type": "integer"
        },
        "DefaultFormatFieldCount": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "TriggerTypeConfiguration": {
      "type": "object",
      "required": [
        "RequiresPolling"
      ],
      "properties": {
        "RequiresPolling": {
          "type": "boolean"
        },
        "ConfigurationSchema": {
          "type": "string"
        }
      }
    },
    "HttpChannelDto": {
      "allOf": [
        {
          "$ref": "#/definitions/ChannelDto"
        },
        {
          "type": "object",
          "required": [
            "Endpoint"
          ],
          "properties": {
            "Endpoint": {
              "type": "string",
              "minLength": 1
            },
            "BasicAuthUsername": {
              "type": "string"
            },
            "BasicAuthPassword": {
              "type": "string"
            }
          }
        }
      ]
    },
    "AzureServiceBusDto": {
      "allOf": [
        {
          "$ref": "#/definitions/ChannelDto"
        },
        {
          "type": "object",
          "properties": {
            "Queuename": {
              "type": "string"
            },
            "ConnectionString": {
              "type": "string"
            }
          }
        }
      ]
    },
    "ChannelSubsriptionsDto": {
      "type": "object",
      "required": [
        "ChannelId"
      ],
      "properties": {
        "ChannelId": {
          "type": "string",
          "format": "guid"
        },
        "ChannelName": {
          "type": "string"
        },
        "Subscriptions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "SubscriptionDto": {
      "type": "object",
      "required": [
        "ChannelName"
      ],
      "properties": {
        "ChannelName": {
          "type": "string",
          "minLength": 1
        },
        "Source": {
          "type": "string"
        },
        "EventType": {
          "type": "string"
        },
        "SpecVersion": {
          "type": "string"
        }
      }
    },
    "TriggerInstance": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string"
        },
        "Type": {
          "type": "string"
        },
        "Configuration": {},
        "Status": {
          "$ref": "#/definitions/EventSourceStatus"
        },
        "CronExpression": {
          "type": "string"
        },
        "Frequency": {
          "type": "string",
          "format": "duration"
        }
      }
    },
    "EventSourceStatus": {
      "allOf": [
        {
          "$ref": "#/definitions/StatusBaseOfEventSourceStatusEnum"
        },
        {
          "type": "object"
        }
      ]
    },
    "StatusBaseOfEventSourceStatusEnum": {
      "type": "object",
      "x-abstract": true,
      "required": [
        "Status",
        "PreviousStatus",
        "LastStatusUpdate"
      ],
      "properties": {
        "Status": {
          "$ref": "#/definitions/EventSourceStatusEnum"
        },
        "PreviousStatus": {
          "$ref": "#/definitions/EventSourceStatusEnum"
        },
        "LastStatusUpdate": {
          "type": "string",
          "format": "date-time"
        },
        "Messages": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/StatusLogOfEventSourceStatusEnum"
          }
        }
      }
    },
    "EventSourceStatusEnum": {
      "type": "string",
      "description": "",
      "x-enumNames": [
        "New",
        "Initializing",
        "Initialized",
        "InitializingFailed",
        "Starting",
        "Started",
        "Stopping",
        "Stopped",
        "Removed",
        "Failed"
      ],
      "enum": [
        "New",
        "Initializing",
        "Initialized",
        "InitializingFailed",
        "Starting",
        "Started",
        "Stopping",
        "Stopped",
        "Removed",
        "Failed"
      ]
    },
    "StatusLogOfEventSourceStatusEnum": {
      "type": "object",
      "required": [
        "PreviousStatus",
        "NewStatus",
        "LogTime"
      ],
      "properties": {
        "PreviousStatus": {
          "$ref": "#/definitions/EventSourceStatusEnum"
        },
        "NewStatus": {
          "$ref": "#/definitions/EventSourceStatusEnum"
        },
        "LogTime": {
          "type": "string",
          "format": "date-time"
        },
        "Message": {
          "type": "string"
        }
      }
    },
    "Trigger": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string"
        },
        "TypeName": {
          "type": "string"
        },
        "Frequency": {
          "type": "string",
          "format": "duration"
        },
        "CronExpression": {
          "type": "string"
        },
        "Configuration": {
          "type": "string"
        },
        "TargetChannel": {
          "type": "string"
        }
      }
    },
    "ExecuteResult": {
      "type": "object",
      "required": [
        "Duration",
        "Time"
      ],
      "properties": {
        "Id": {
          "type": "string"
        },
        "Output": {},
        "OutputType": {
          "type": "string"
        },
        "OutputJson": {
          "type": "string"
        },
        "OutputString": {
          "type": "string"
        },
        "DisplayString": {
          "type": "string"
        },
        "FormattedResults": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/FormattedResult"
          }
        },
        "Duration": {
          "type": "string",
          "format": "duration"
        },
        "Time": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "FormattedResult": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string"
        },
        "Value": {
          "type": "string"
        }
      }
    },
    "ExecuteRequest": {
      "type": "object",
      "required": [
        "NotebookId",
        "FreshKernel"
      ],
      "properties": {
        "NotebookId": {
          "type": "string",
          "format": "guid"
        },
        "Code": {
          "type": "string"
        },
        "CommandPrefix": {
          "type": "string"
        },
        "FreshKernel": {
          "type": "boolean"
        },
        "PreferredFormat": {
          "type": "string"
        },
        "KernelType": {
          "type": "string"
        }
      }
    },
    "Suggestion": {
      "type": "object",
      "required": [
        "Kind"
      ],
      "properties": {
        "Label": {
          "type": "string"
        },
        "InsertText": {
          "type": "string"
        },
        "Kind": {
          "$ref": "#/definitions/CompletionItemKind"
        },
        "Documentation": {
          "type": "string"
        }
      }
    },
    "CompletionItemKind": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "Method",
        "Function",
        "Constructor",
        "Field",
        "Variable",
        "Class",
        "Struct",
        "Interface",
        "Module",
        "Property",
        "Event",
        "Operator",
        "Unit",
        "Value",
        "Constant",
        "Enum",
        "EnumMember",
        "Keyword",
        "Text",
        "Color",
        "File",
        "Reference",
        "Customcolor",
        "Folder",
        "TypeParameter",
        "User",
        "Issue",
        "Snippet",
        "Parameter"
      ],
      "enum": [
        0,
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11,
        12,
        13,
        14,
        15,
        16,
        17,
        18,
        19,
        20,
        21,
        22,
        23,
        24,
        25,
        26,
        27,
        28
      ]
    },
    "GetSuggestionsRequest": {
      "type": "object",
      "required": [
        "NotebookId",
        "LineNumber",
        "Column"
      ],
      "properties": {
        "NotebookId": {
          "type": "string",
          "format": "guid"
        },
        "Code": {
          "type": "string"
        },
        "LineNumber": {
          "type": "integer",
          "format": "int32"
        },
        "Column": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "ExecuteDibRequest": {
      "type": "object",
      "required": [
        "OneTimeKernel"
      ],
      "properties": {
        "Dib": {
          "type": "string"
        },
        "SessionId": {
          "type": "string"
        },
        "Parameters": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ExecuteDibRequestParameter"
          }
        },
        "PreferredFormat": {
          "type": "string"
        },
        "KernelType": {
          "type": "string"
        },
        "OneTimeKernel": {
          "type": "boolean"
        }
      }
    },
    "ExecuteDibRequestParameter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "TypeName": {
          "type": "string"
        },
        "ValueJson": {
          "type": "string"
        }
      }
    },
    "DibAnalyzationResult": {
      "type": "object",
      "properties": {
        "OriginalDocument": {
          "type": "string"
        },
        "UpdatedDocument": {
          "type": "string"
        },
        "ReturnTypeName": {
          "type": "string"
        },
        "ParameterNamesAndTypeNames": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ParameterTypeNameAndName"
          }
        }
      }
    },
    "ParameterTypeNameAndName": {
      "type": "object",
      "properties": {
        "TypeName": {
          "type": "string"
        },
        "Name": {
          "type": "string"
        }
      }
    },
    "EventingEventSourceInstance": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "properties": {
            "Name": {
              "type": "string"
            },
            "EventSourceType": {
              "type": "string"
            },
            "EventSourceVersion": {
              "type": "string"
            },
            "JsonConfiguration": {
              "type": "string"
            },
            "Description": {
              "type": "string"
            },
            "PollingFrequency": {
              "type": "string",
              "format": "duration"
            },
            "CronExpression": {
              "type": "string"
            },
            "Requirements": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/Requirement"
              }
            }
          }
        }
      ]
    },
    "EventOverviewDto": {
      "type": "object",
      "required": [
        "UtcDateTime"
      ],
      "properties": {
        "UtcDateTime": {
          "type": "string",
          "format": "date-time"
        },
        "EventType": {
          "type": "string"
        },
        "Source": {
          "type": "string"
        },
        "Id": {
          "type": "string"
        }
      }
    },
    "EventDetailsDto": {
      "type": "object",
      "required": [
        "UtcDateTime"
      ],
      "properties": {
        "UtcDateTime": {
          "type": "string",
          "format": "date-time"
        },
        "EventType": {
          "type": "string"
        },
        "Source": {
          "type": "string"
        },
        "Id": {
          "type": "string"
        },
        "Version": {
          "type": "string"
        },
        "Json": {
          "type": "string"
        },
        "TargetChannels": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "EventingComponentCatalog": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "required": [
            "Status"
          ],
          "properties": {
            "CatalogName": {
              "type": "string"
            },
            "CatalogVersion": {
              "type": "string"
            },
            "Components": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventingComponent"
              }
            },
            "Status": {
              "$ref": "#/definitions/EventingComponentCatalogStatus"
            }
          }
        }
      ]
    },
    "EventingComponent": {
      "type": "object",
      "required": [
        "ComponentCatalogId"
      ],
      "properties": {
        "ComponentCatalogId": {
          "type": "string",
          "format": "guid"
        },
        "CatalogName": {
          "type": "string"
        },
        "CatalogVersion": {
          "type": "string"
        },
        "Name": {
          "type": "string"
        },
        "Version": {
          "type": "string"
        },
        "ConfigurationSchema": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "ProductVersion": {
          "type": "string"
        },
        "Identifier": {
          "type": "string"
        }
      }
    },
    "EventingComponentCatalogStatus": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "New",
        "Installed",
        "InstallFailed"
      ],
      "enum": [
        0,
        1,
        2
      ]
    },
    "EventingEventSourceCatalog": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "required": [
            "Status"
          ],
          "properties": {
            "CatalogName": {
              "type": "string"
            },
            "CatalogVersion": {
              "type": "string"
            },
            "EventSources": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventingEventSource"
              }
            },
            "Status": {
              "$ref": "#/definitions/EventingEventCatalogStatus"
            }
          }
        }
      ]
    },
    "EventingEventSource": {
      "type": "object",
      "required": [
        "EventSourceCatalogId",
        "RequiresPolling"
      ],
      "properties": {
        "EventSourceCatalogId": {
          "type": "string",
          "format": "guid"
        },
        "CatalogName": {
          "type": "string"
        },
        "CatalogVersion": {
          "type": "string"
        },
        "Name": {
          "type": "string"
        },
        "Version": {
          "type": "string"
        },
        "ConfigurationSchema": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        },
        "ProductVersion": {
          "type": "string"
        },
        "RequiresPolling": {
          "type": "boolean"
        },
        "Identifier": {
          "type": "string"
        }
      }
    },
    "EventingEventCatalogStatus": {
      "type": "integer",
      "description": "",
      "x-enumNames": [
        "New",
        "Installed",
        "InstallFailed"
      ],
      "enum": [
        0,
        1,
        2
      ]
    },
    "EventTrigger": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "required": [
            "ActionId",
            "IsEnabled"
          ],
          "properties": {
            "EventType": {
              "type": "string"
            },
            "EventSource": {
              "type": "string"
            },
            "Version": {
              "type": "string"
            },
            "ActionId": {
              "type": "string",
              "format": "guid"
            },
            "ActionName": {
              "type": "string"
            },
            "Parameters": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventTriggerParameter"
              }
            },
            "TriggerType": {
              "type": "string"
            },
            "IsEnabled": {
              "type": "boolean"
            },
            "Name": {
              "type": "string"
            }
          }
        }
      ]
    },
    "EventTriggerParameter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "ValueJson": {
          "type": "string"
        },
        "JsonPath": {
          "type": "string"
        }
      }
    },
    "ScheduleTrigger": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "required": [
            "ActionId",
            "IsEnabled"
          ],
          "properties": {
            "CronExpression": {
              "type": "string"
            },
            "Frequency": {
              "type": "string",
              "format": "duration"
            },
            "ActionId": {
              "type": "string",
              "format": "guid"
            },
            "ActionName": {
              "type": "string"
            },
            "Parameters": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ActionParameter"
              }
            },
            "TriggerType": {
              "type": "string"
            },
            "IsEnabled": {
              "type": "boolean"
            },
            "Name": {
              "type": "string"
            }
          }
        }
      ]
    },
    "ActionParameter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "ValueJson": {
          "type": "string"
        }
      }
    },
    "WebTrigger": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "required": [
            "ActionId",
            "IsEnabled"
          ],
          "properties": {
            "Route": {
              "type": "string"
            },
            "ActionId": {
              "type": "string",
              "format": "guid"
            },
            "ActionName": {
              "type": "string"
            },
            "Parameters": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ActionParameter"
              }
            },
            "TriggerType": {
              "type": "string"
            },
            "IsEnabled": {
              "type": "boolean"
            },
            "Name": {
              "type": "string"
            }
          }
        }
      ]
    },
    "NotebookEntity": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "properties": {
            "FileName": {
              "type": "string"
            },
            "Content": {
              "type": "string"
            }
          }
        }
      ]
    },
    "NewNotebookDto": {
      "type": "object",
      "properties": {
        "FileName": {
          "type": "string"
        },
        "Content": {
          "type": "string"
        }
      }
    },
    "RunNotebookRequest": {
      "type": "object",
      "properties": {
        "PreferredFormat": {
          "type": "string"
        },
        "Parameters": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/RunNotebookParameter"
          }
        },
        "TriggerType": {
          "type": "string"
        },
        "TriggerId": {
          "type": "string"
        }
      }
    },
    "RunNotebookParameter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "ValueJson": {
          "type": "string"
        }
      }
    },
    "NotebookEndpoint": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "required": [
            "NotebookId",
            "EndpointId"
          ],
          "properties": {
            "NotebookId": {
              "type": "string",
              "format": "guid"
            },
            "EndpointId": {
              "type": "string",
              "format": "guid"
            },
            "Name": {
              "type": "string"
            },
            "Route": {
              "type": "string"
            }
          }
        }
      ]
    },
    "NotebookSchedule": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "required": [
            "NotebookId"
          ],
          "properties": {
            "Name": {
              "type": "string"
            },
            "NotebookId": {
              "type": "string",
              "format": "guid"
            },
            "CronExpression": {
              "type": "string"
            },
            "Frequency": {
              "type": "string",
              "format": "duration"
            },
            "Parameters": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/RunNotebookParameter"
              }
            }
          }
        }
      ]
    },
    "ActionEntity": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "properties": {
            "Name": {
              "type": "string"
            },
            "Content": {
              "type": "string"
            },
            "Parameters": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ActionParameterTypeNameAndName"
              }
            },
            "DefaultParameterValues": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ActionParameter"
              }
            }
          }
        }
      ]
    },
    "ActionParameterTypeNameAndName": {
      "type": "object",
      "properties": {
        "TypeName": {
          "type": "string"
        },
        "Name": {
          "type": "string"
        }
      }
    },
    "NewActionDto": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string"
        },
        "Content": {
          "type": "string"
        }
      }
    },
    "ActionExecutionEntity": {
      "allOf": [
        {
          "$ref": "#/definitions/Entity"
        },
        {
          "type": "object",
          "required": [
            "ActionId",
            "Finished"
          ],
          "properties": {
            "ActionId": {
              "type": "string",
              "format": "guid"
            },
            "ActionName": {
              "type": "string"
            },
            "ReceivedParameters": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ActionParameter"
              }
            },
            "Parameters": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ActionParameter"
              }
            },
            "StatusCode": {
              "type": "integer",
              "format": "int32"
            },
            "Duration": {
              "type": "string",
              "format": "duration"
            },
            "TriggerId": {
              "type": "string",
              "format": "guid"
            },
            "Error": {
              "type": "string"
            },
            "Finished": {
              "type": "boolean"
            }
          }
        }
      ]
    },
    "RunActionRequest": {
      "type": "object",
      "properties": {
        "PreferredFormat": {
          "type": "string"
        },
        "Parameters": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ActionParameter"
          }
        },
        "TriggerId": {
          "type": "string",
          "format": "guid"
        },
        "TriggerType": {
          "type": "string"
        }
      }
    }
  }
}