{
  "openapi": "3.0.0",
  "info": {
    "description": "This is the rest API for agile AI",
    "version": "1.18.19-alpha.3",
    "title": "@agilegravity/agile-ai-trainerserver-client",
    "contact": {
      "email": "weiner@agilegravity.com"
    }
  },
  "security": [
    {
      "api_key": []
    },
    {
      "oauthClientCredentials": []
    }
  ],
  "servers": [
    {
      "url": "/"
    },
    {
      "url": "http://localhost:3016"
    }
  ],
  "paths": {
    "/openapi.json": {
      "get": {
        "tags": [
          "openApi.json"
        ],
        "description": "get the swagger json",
        "operationId": "getPlainOpenApiJson",
        "responses": {
          "200": {
            "description": "openapi.json",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/config": {
      "get": {
        "tags": [
          "config"
        ],
        "operationId": "getConfig",
        "description": "get the config also used by the admin ui",
        "responses": {
          "200": {
            "description": "array for NlpProcessors",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Config"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/login": {
      "post": {
        "tags": [
          "config"
        ],
        "operationId": "login",
        "description": "login api",
        "responses": {
          "200": {
            "description": "success access token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthToken"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Login"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/nlp-processors": {
      "get": {
        "tags": [
          "nlp-processor"
        ],
        "operationId": "getNlpProcessors",
        "description": "get the NlpProcessors list of a B2BPartner",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "array for NlpProcessors",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NlpProcessor"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "post": {
        "tags": [
          "nlp-processor"
        ],
        "operationId": "createNlpProcessor",
        "description": "createt a NlpProcessors for a B2BPartner",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "a NlpProcessor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NlpProcessor"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NlpProcessor"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/nlp-processors/{nlpProcessorId}": {
      "get": {
        "tags": [
          "nlp-processor"
        ],
        "operationId": "getNlpProcessor",
        "description": "get a NlpProcessor of a B2BPartner by id",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "nlpProcessorId",
            "description": "nlpProcessorId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Nlp Processor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NlpProcessor"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "delete": {
        "tags": [
          "nlp-processor"
        ],
        "operationId": "deleteNlpProcessor",
        "description": "delete a NlpProcessor of a B2BPartner by id",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "nlpProcessorId",
            "description": "nlpProcessorId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Nlp Processor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NlpProcessor"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "put": {
        "tags": [
          "nlp-processor"
        ],
        "operationId": "updateNlpProcessor",
        "description": "update a NlpProcessor for a B2BPartner by id",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "nlpProcessorId",
            "description": "nlpProcessorId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "NlpProcessor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NlpProcessor"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NlpProcessor"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts": {
      "get": {
        "tags": [
          "accounts"
        ],
        "operationId": "getAccounts",
        "description": "get a Accounts list",
        "responses": {
          "200": {
            "description": "array for Account Items",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Account"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "post": {
        "tags": [
          "accounts"
        ],
        "operationId": "createAccount",
        "description": "create the Account",
        "responses": {
          "200": {
            "description": "a Account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Account"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}": {
      "get": {
        "tags": [
          "accounts"
        ],
        "operationId": "getAccount",
        "description": "get a Account  by accountId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "delete": {
        "tags": [
          "accounts"
        ],
        "operationId": "deleteAccount",
        "description": "delete a Account for a accountId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "removed the Account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "put": {
        "tags": [
          "accounts"
        ],
        "operationId": "updateAccount",
        "description": "update a Account for a accountId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Account"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects": {
      "get": {
        "tags": [
          "projects"
        ],
        "operationId": "getProjects",
        "description": "get a Project list by accountId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "array for  Project Items",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Project"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "post": {
        "tags": [
          "projects"
        ],
        "operationId": "createProject",
        "description": "create the Project",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "a Project",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Project"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}": {
      "get": {
        "tags": [
          "projects"
        ],
        "operationId": "getProject",
        "description": "get a Project  by accountId projectId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Project",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "delete": {
        "tags": [
          "projects"
        ],
        "operationId": "deleteProject",
        "description": "delete a Project for a accountId projectid",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "removed the Project",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "put": {
        "tags": [
          "projects"
        ],
        "operationId": "updateProject",
        "description": "update a Project for a accountId projectId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Project",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Project"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions": {
      "get": {
        "tags": [
          "project-version"
        ],
        "operationId": "getVersions",
        "description": "get a Version list by accountId projectid",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "array for  Version Items",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Version"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "post": {
        "tags": [
          "project-version"
        ],
        "operationId": "createVersion",
        "description": "create the Version",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "a Project",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Version"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Version"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}": {
      "get": {
        "tags": [
          "project-version"
        ],
        "operationId": "getVersion",
        "description": "get a Version  by accountId projectId versionId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Version",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Version"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "delete": {
        "tags": [
          "project-version"
        ],
        "operationId": "deleteVersion",
        "description": "delete a Version for a accountId projectid versinId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "removed the Version",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Version"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "put": {
        "tags": [
          "project-version"
        ],
        "operationId": "updateVersion",
        "description": "update a Version for a accountId projectId versionId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Project",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Version"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Version"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/clone": {
      "post": {
        "tags": [
          "clone"
        ],
        "operationId": "cloneVersion",
        "description": "clone a version by accountId, projectId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportClone"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/packed-version": {
      "get": {
        "tags": [
          "packed-version"
        ],
        "operationId": "getPackedVersion",
        "description": "get a packed version by accountId, projectId and versionId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PackedVersionData"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/channels": {
      "get": {
        "tags": [
          "channels"
        ],
        "operationId": "getChannels",
        "description": "get a Channel list by accountId projectid",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "array for  Channel Items",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Channel"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "post": {
        "tags": [
          "channels"
        ],
        "operationId": "createChannel",
        "description": "create the Channel",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "a Channel",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Channel"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Channel"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}": {
      "get": {
        "tags": [
          "channels"
        ],
        "operationId": "getChannel",
        "description": "get a Channel  by accountId projectId channelId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "channelId",
            "description": "channelId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Channel",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Channel"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "delete": {
        "tags": [
          "channels"
        ],
        "operationId": "deleteChannel",
        "description": "delete a Channel for a accountId projectid channelId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "channelId",
            "description": "channelId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "removed the Channel",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Channel"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "put": {
        "tags": [
          "channels"
        ],
        "operationId": "updateChannel",
        "description": "update a Chánnel for a accountId projectId channelId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "channelId",
            "description": "channelId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Project",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Channel"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Channel"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/topics": {
      "get": {
        "tags": [
          "topics"
        ],
        "operationId": "getTopics",
        "description": "get a Topics by accountId projectId channelId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "channelId",
            "description": "channelId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "lastId",
            "description": "The lastId of items to skip before starting to collect the result set",
            "required": false,
            "nullable": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "description": "The numbers of items to return",
            "required": false,
            "nullable": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "eventName",
            "description": "get a list of topics which contain events with the given event.ame",
            "required": false,
            "nullable": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Topics",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "title": "Topic",
                    "type": "object",
                    "properties": {
                      "_id": {
                        "type": "string",
                        "pattern": "^[0-9a-fA-F]{24}$",
                        "readOnly": true
                      },
                      "numberOfEvents": {
                        "type": "integer",
                        "readOnly": true
                      },
                      "lastEventAt": {
                        "type": "string",
                        "format": "date-time",
                        "readOnly": true
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/topics/{topicId}/events": {
      "get": {
        "tags": [
          "events"
        ],
        "operationId": "getEvents",
        "description": "get a Events by accountId projectId channelId topicId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "channelId",
            "description": "channelId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "topicId",
            "description": "topicId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "lastId",
            "description": "The lastId of items to skip before starting to collect the result set",
            "required": false,
            "nullable": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "description": "The numbers of items to return",
            "required": false,
            "nullable": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Events",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Event"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/topics/{topicId}/bricks": {
      "get": {
        "tags": [
          "bricks"
        ],
        "operationId": "getBricks",
        "description": "get a Brick by accountId projectId channelId topicId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "channelId",
            "description": "channelId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "topicId",
            "description": "topicId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "lastId",
            "description": "The lastId of items to skip before starting to collect the result set",
            "required": false,
            "nullable": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "description": "The numbers of items to return",
            "required": false,
            "nullable": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Events",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Brick"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/micro-intends": {
      "get": {
        "tags": [
          "micro-intends"
        ],
        "operationId": "getMicroIntends",
        "description": "get the MicroIntend list of a accountId, projectId , versionId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "array for MicroIntend",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MicroIntend"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "post": {
        "tags": [
          "micro-intends"
        ],
        "operationId": "createMicroIntend",
        "description": "create the MicroIntend of a B2BPartner",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "a MicroIntend",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroIntend"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MicroIntend"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/json-schema": {
      "get": {
        "tags": [
          "json-schema"
        ],
        "operationId": "getJsonSchemas",
        "description": "get JSON Schemas for an accountId, projectId , versionId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "array for Json Schema",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/JSONSchema"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "post": {
        "tags": [
          "json-schema"
        ],
        "operationId": "createJsonSchema",
        "description": "create JSON Schema for accountId, projectId , versionId, schemaId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JSONSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "JSONSchema",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JSONSchema"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/json-schema/{schemaId}": {
      "get": {
        "tags": [
          "json-schema"
        ],
        "operationId": "getJsonSchema",
        "description": "get JSON Schema for accountId, projectId , versionId, schemaId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "schemaId",
            "description": "schemaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JSONSchema",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JSONSchema"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "put": {
        "tags": [
          "json-schema"
        ],
        "operationId": "updateJsonSchema",
        "description": "update JSON Schema for accountId, projectId , versionId, schemaId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "schemaId",
            "description": "schemaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JSONSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "JSONSchema",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JSONSchema"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "delete": {
        "tags": [
          "json-schema"
        ],
        "operationId": "deleteJsonSchema",
        "description": "delete JSON Schema for accountId, projectId , versionId, schemaId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "schemaId",
            "description": "schemaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JSONSchema",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JSONSchema"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "409": {
            "$ref": "#/components/responses/409"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/playgrounds": {
      "get": {
        "tags": [
          "playground"
        ],
        "operationId": "getPlaygrounds",
        "description": "get Playgrounds for an accountId, projectId , versionId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "array for Playground",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Playground"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "post": {
        "tags": [
          "playground"
        ],
        "operationId": "createPlayground",
        "description": "create Playground for accountId, projectId , versionId, playgroundId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Playground"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Playground",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Playground"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/playgrounds/{playgroundId}": {
      "get": {
        "tags": [
          "playground"
        ],
        "operationId": "getPlayground",
        "description": "get Playground for accountId, projectId , versionId, playgroundId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "playgroundId",
            "description": "playgroundId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Playground",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Playground"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "put": {
        "tags": [
          "playground"
        ],
        "operationId": "updatePlayground",
        "description": "update Playground for accountId, projectId , versionId, playgroundId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "playgroundId",
            "description": "playgroundId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Playground"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Playground",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Playground"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "delete": {
        "tags": [
          "playground"
        ],
        "operationId": "deletePlayground",
        "description": "delete Playground for accountId, projectId , versionId, playgroundId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "playgroundId",
            "description": "playgroundId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Playground",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Playground"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/micro-intends/{microIntendId}": {
      "get": {
        "tags": [
          "micro-intends"
        ],
        "operationId": "getMicroIntend",
        "description": "get a MicroIntend list of a B2BPartner by id",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "microIntendId",
            "description": "microIntendId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "MicroIntend",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroIntend"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "put": {
        "tags": [
          "micro-intends"
        ],
        "operationId": "updateMicroIntend",
        "description": "update a MicroIntend for a B2BPartner by id",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "microIntendId",
            "description": "microIntendId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "MicroIntend",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroIntend"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MicroIntend"
              }
            }
          },
          "required": true
        }
      },
      "delete": {
        "tags": [
          "micro-intends"
        ],
        "operationId": "deleteMicroIntend",
        "description": "delete a MicroIntend for a B2BPartner by id",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "microIntendId",
            "description": "microIntendId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "removed the MicroIntend",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroIntend"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/micro-macro": {
      "get": {
        "tags": [
          "micro-macro"
        ],
        "operationId": "getMicroMacros",
        "description": "get the getMicroMacro list of a accountId, projectId , versionId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "array for MicroMacro",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MicroMacro"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "post": {
        "tags": [
          "micro-macro"
        ],
        "operationId": "createMicroMacro",
        "description": "create the MicroIntend by accountId, projectId , versionId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "a MicroIntend",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroIntend"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MicroIntend"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/micro-macro/{microMacroId}": {
      "get": {
        "tags": [
          "micro-macro"
        ],
        "operationId": "getMicroMacro",
        "description": "get a MicroIntend list by accountId, projectId , versionId, microMacroId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "microMacroId",
            "description": "microMacroId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "MicroMacro",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroMacro"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "put": {
        "tags": [
          "micro-macro"
        ],
        "operationId": "updateMicroMacro",
        "description": "update a MicroMacro by accountId, projectId , versionId, microMacroId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "microMacroId",
            "description": "microMacroId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "MicroMacro",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroMacro"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MicroMacro"
              }
            }
          },
          "required": true
        }
      },
      "delete": {
        "tags": [
          "micro-macro"
        ],
        "operationId": "deleteMicroMacro",
        "description": "delete a MicroMacro by accountId, projectId , versionId, microMacroId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "microMacroId",
            "description": "microMacroId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "removed the MicroMacro",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MicroMacro"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/machine-learning-job": {
      "get": {
        "tags": [
          "machine-learning-job"
        ],
        "operationId": "getJobs",
        "description": "get the getMicroMacro list of a accountId, projectId , versionId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "array for QueueItems",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/QueueItem"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "post": {
        "tags": [
          "machine-learning-job"
        ],
        "operationId": "createJob",
        "description": "create the Job by accountId, projectId , versionId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "a QueueItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueueItem"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QueueItem"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/machine-learning/jobId/{jobId}": {
      "get": {
        "tags": [
          "machine-learning-job"
        ],
        "operationId": "getJob",
        "description": "get a Job list by accountId, projectId , versionId, jobId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "jobId",
            "description": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "QueueItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueueItem"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "delete": {
        "tags": [
          "machine-learning-job"
        ],
        "operationId": "deleteJob",
        "description": "delete a MicroMacro by accountId, projectId , versionId, jobId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "jobId",
            "description": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "removed the Job",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueueItem"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      }
    },
    "/api/v1/{b2bPartnerId}/cucumber-features/tags": {
      "get": {
        "tags": [
          "cucumber-features"
        ],
        "operationId": "getCucumberFeaturesTags",
        "description": "get the Cucumber Features Tag list of a B2BPartner",
        "parameters": [
          {
            "in": "path",
            "name": "b2bPartnerId",
            "description": "b2bPartnerId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "array for Cucumber Features Tags",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CucumberFeatureTags"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      }
    },
    "/api/v1/{b2bPartnerId}/cucumber-features": {
      "get": {
        "tags": [
          "cucumber-features"
        ],
        "operationId": "getCucumberFeatures",
        "description": "get the Cucumber Features list of a B2BPartner",
        "parameters": [
          {
            "in": "path",
            "name": "b2bPartnerId",
            "description": "b2bPartnerId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "array for Cucumber Features",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CucumberFeature"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "post": {
        "tags": [
          "cucumber-features"
        ],
        "operationId": "createCucumberFeature",
        "description": "createt a Cucumber Features for a B2BPartner",
        "parameters": [
          {
            "in": "path",
            "name": "b2bPartnerId",
            "description": "b2bPartnerId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "a Cucumber Features",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CucumberFeature"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CucumberFeature"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/machine-learning-models": {
      "get": {
        "tags": [
          "machine-learning-models"
        ],
        "operationId": "getMachineLearningModels",
        "description": "get the Machine Learning Models list of a given account project version",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "array for MachineLearningModels",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MlModel"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "post": {
        "tags": [
          "machine-learning-models"
        ],
        "operationId": "createMachineLearningModel",
        "description": "createt a MachineLearningModels for a given account project version",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "a MachineLearningModel",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MlModel"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MlModel"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/machine-learning-models/{machineLearningModelId}": {
      "get": {
        "tags": [
          "machine-learning-models"
        ],
        "operationId": "getMachineLearningModel",
        "description": "get a MachineLearningModel of a given account project version",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "machineLearningModelId",
            "description": "MachineLearningModelId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "MachineLearningModel",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MlModel"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "delete": {
        "tags": [
          "machine-learning-models"
        ],
        "operationId": "deleteMachineLearningModel",
        "description": "delete a MachineLearningModel of a given account project version",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "machineLearningModelId",
            "description": "MachineLearningModelId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "MachineLearningModel",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MlModel"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "put": {
        "tags": [
          "machine-learning-models"
        ],
        "operationId": "updateMachineLearningModel",
        "description": "upate a MachineLearningModel",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "machineLearningModelId",
            "description": "MachineLearningModelId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "MachineLearningModel",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MlModel"
                }
              }
            }
          },
          "201": {
            "description": "a MachineLearningModel",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MlModel"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MlModel"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/{b2bPartnerId}/cucumber-features/{CucumberFeatureId}": {
      "get": {
        "tags": [
          "cucumber-features"
        ],
        "operationId": "getCucumberFeature",
        "description": "get a Cucumber Features list of a B2BPartner by id",
        "parameters": [
          {
            "in": "path",
            "name": "b2bPartnerId",
            "description": "b2bPartnerId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "CucumberFeatureId",
            "description": "CucumberFeatureId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Cucumber Features",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CucumberFeature"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "put": {
        "tags": [
          "cucumber-features"
        ],
        "operationId": "updateCucumberFeature",
        "description": "update a Cucumber Features for a B2BPartner by id",
        "parameters": [
          {
            "in": "path",
            "name": "b2bPartnerId",
            "description": "b2bPartnerId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "CucumberFeatureId",
            "description": "CucumberFeatureId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Cucumber Features",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CucumberFeature"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CucumberFeature"
              }
            }
          },
          "required": true
        }
      },
      "delete": {
        "tags": [
          "cucumber-features"
        ],
        "operationId": "deleteCucumberFeature",
        "description": "delete a Cucumber Features for a B2BPartner by id",
        "parameters": [
          {
            "in": "path",
            "name": "b2bPartnerId",
            "description": "b2bPartnerId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "CucumberFeatureId",
            "description": "CucumberFeatureId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the removed Cucumber Features",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CucumberFeature"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/runtimelogs": {
      "get": {
        "tags": [
          "runtime-log"
        ],
        "operationId": "getRuntimeLogs",
        "description": "get the runtime logs by query",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "channelId",
            "description": "channelId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "lastId",
            "description": "The lastId of items to skip before starting to collect the result set",
            "required": false,
            "nullable": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "description": "The numbers of items to return",
            "required": false,
            "nullable": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "eventId",
            "description": "eventId",
            "required": false,
            "nullable": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "statusCode",
            "description": "statuCcode",
            "required": false,
            "nullable": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "emitLogs",
            "description": "statuCcode",
            "required": false,
            "nullable": true,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JSCodeRuntimeLog",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/JSCodeRuntimeLog"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/runtimelogs/{runtimelogId}": {
      "get": {
        "tags": [
          "runtime-log"
        ],
        "operationId": "getRuntimeLog",
        "description": "get the runtime log by id",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "channelId",
            "description": "channelId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "runtimelogId",
            "description": "runtimelogId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JSCodeRuntimeLog",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JSCodeRuntimeLog"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-items/{nodeitemId}/trusted-developer-jscode": {
      "get": {
        "tags": [
          "trusted-developer-jscode"
        ],
        "operationId": "getTrustedDeveloperJscode",
        "description": "get the js code from a Node Item of a given account project version",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "nodeitemId",
            "description": "nodeitemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JsCode",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JSCode"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "put": {
        "tags": [
          "trusted-developer-jscode"
        ],
        "operationId": "updateTrustedDeveloperJscode",
        "description": "updates the js code from a Node Item of a given account project version",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "nodeitemId",
            "description": "nodeitemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JsCode",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JSCode"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JSCode"
              }
            }
          },
          "required": true
        }
      },
      "post": {
        "tags": [
          "trusted-developer-jscode"
        ],
        "operationId": "createTrustedDeveloperJscode",
        "description": "create the js code from a Node Item of a given account project version",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "nodeitemId",
            "description": "nodeitemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JsCode",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JSCode"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JSCode"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items/{nodeitemId}/trusted-developer-jscode": {
      "get": {
        "deprecated": true,
        "tags": [
          "trusted-developer-jscode"
        ],
        "operationId": "deprecatedgetTrustedDeveloperJscode",
        "description": "deprecate move to new url with versions | get the js code from a Node Item of a given account project version",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "nodeitemId",
            "description": "nodeitemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JsCode",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JSCode"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "put": {
        "deprecated": true,
        "tags": [
          "trusted-developer-jscode"
        ],
        "operationId": "deprecatedupdateTrustedDeveloperJscode",
        "description": "deprecate move to new url with versions |  updates the js code from a Node Item of a given account project version",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "nodeitemId",
            "description": "nodeitemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JsCode",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JSCode"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JSCode"
              }
            }
          },
          "required": true
        }
      },
      "post": {
        "deprecated": true,
        "tags": [
          "trusted-developer-jscode"
        ],
        "operationId": "deprecatedCreateTrustedDeveloperJscode",
        "description": "deprecated create the js code from a Node Item of a given account project version | move to new url with versions",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "nodeitemId",
            "description": "nodeitemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JsCode",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JSCode"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JSCode"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/data-stream-transformer/trusted-developer-jscodes": {
      "get": {
        "tags": [
          "data-stream-transformers-jscodes"
        ],
        "operationId": "getDataStreamTransformerJSCodes",
        "description": "get the DataStreamTransformerJSCode list of a given account project version",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "array for JSCode",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/JSCode"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "post": {
        "tags": [
          "data-stream-transformers-jscodes"
        ],
        "operationId": "createDataStreamTransformerJSCode",
        "description": "create a DataStreamTransformerJSCode for a given account project version",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "a JScode",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JSCode"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JSCode"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/data-stream-transformer/trusted-developer-jscodes/{jscodeId}": {
      "get": {
        "tags": [
          "data-stream-transformers-jscodes"
        ],
        "operationId": "getDataStreamTransformerJSCode",
        "description": "get a DataStreamTransformerJSCode of a given account project version",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "jscodeId",
            "description": "jscodeId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JScode",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JSCode"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "delete": {
        "tags": [
          "data-stream-transformers-jscodes"
        ],
        "operationId": "deleteDataStreamTransformerJSCode",
        "description": "delete a DataStreamTransformerJSCode",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "jscodeId",
            "description": "jscodeId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JScode",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JSCode"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "put": {
        "tags": [
          "data-stream-transformers-jscodes"
        ],
        "operationId": "updateDataStreamTransformerJSCode",
        "description": "upate a DataStreamTransformerJSCode",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "jscodeId",
            "description": "jscodeId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JScode",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JSCode"
                }
              }
            }
          },
          "201": {
            "description": "a JScode",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JSCode"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JSCode"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/run-data-stream-transformer": {
      "post": {
        "tags": [
          "data-stream-transformers-run"
        ],
        "operationId": "runDataStreamTransformer",
        "description": "run DataStreamTransformer for a given account project version",
        "parameters": [
          {
            "in": "header",
            "name": "X-ID-TOKEN",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "channelId",
            "description": "channelId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "DataStreamTransformer run result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DataStreamTransformerRunResult"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DataStreamTransformerRunTask"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items": {
      "get": {
        "tags": [
          "node-items"
        ],
        "operationId": "getNodeItems",
        "description": "get the Node Item list of a given account project version",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "lastId",
            "description": "The lastId of items to skip before starting to collect the result set",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "description": "The numbers of items to return",
            "required": false,
            "schema": {
              "default": 100,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "search",
            "description": "search by string in nodeitem",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "group",
            "description": "filter by group",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "actor",
                "content",
                "scene",
                "stateMachine",
                "system"
              ]
            }
          },
          {
            "in": "query",
            "name": "inMemory",
            "description": "filter only nodeItems with inMemory",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "hasFunction",
            "description": "filter only nodeItems with custom nodeitem functions",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "array for  Node Items",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NodeItem"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "post": {
        "tags": [
          "node-items"
        ],
        "operationId": "createNodeItem",
        "description": "createt a NodeItem for a B2BPartner",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "a NodeItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItem"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NodeItem"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items/{NodeItemId}": {
      "get": {
        "deprecated": true,
        "tags": [
          "node-items"
        ],
        "operationId": "deprecatedGetNodeItem",
        "description": "deprecated get a NodeItem move to new url with versions",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "NodeItemId",
            "description": "NodeItemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "NodeItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItem"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "delete": {
        "deprecated": true,
        "tags": [
          "node-items"
        ],
        "operationId": "deprecatedDeleteNodeItem",
        "description": "deprecated a NodeItem move to new url with versions",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "NodeItemId",
            "description": "NodeItemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "NodeItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItem"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "put": {
        "deprecated": true,
        "tags": [
          "node-items"
        ],
        "operationId": "deprecatedUpdateNodeItem",
        "description": "deprecated update a NodeItem move to new url with versions",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "NodeItemId",
            "description": "NodeItemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "NodeItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItem"
                }
              }
            }
          },
          "201": {
            "description": "a NodeItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItem"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NodeItem"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-items/{NodeItemId}": {
      "get": {
        "tags": [
          "node-items"
        ],
        "operationId": "getNodeItem",
        "description": "get a NodeItem of a B2BPartner by id",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "NodeItemId",
            "description": "NodeItemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "NodeItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItem"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "delete": {
        "tags": [
          "node-items"
        ],
        "operationId": "deleteNodeItem",
        "description": "delete a NodeItem of a B2BPartner by id",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "NodeItemId",
            "description": "NodeItemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "NodeItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItem"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "put": {
        "tags": [
          "node-items"
        ],
        "operationId": "updateNodeItem",
        "description": "upate a NodeItem",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "NodeItemId",
            "description": "NodeItemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "NodeItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItem"
                }
              }
            }
          },
          "201": {
            "description": "a NodeItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItem"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NodeItem"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/version/{versionId}/node-items/{NodeItemId}/move": {
      "put": {
        "deprecated": true,
        "tags": [
          "node-items"
        ],
        "operationId": "deprecatedmoveNodeItem",
        "description": "deprecated moves a NodeItem to a new GuiPosition  move to new url with versions",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "NodeItemId",
            "description": "NodeItemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "NodeItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItem"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NodeItemGuiPosition"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-items/{NodeItemId}/move": {
      "put": {
        "tags": [
          "node-items"
        ],
        "operationId": "moveNodeItem",
        "description": "moves a NodeItem to a new GuiPosition",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "NodeItemId",
            "description": "NodeItemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "NodeItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItem"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NodeItemGuiPosition"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/openapi.json": {
      "get": {
        "tags": [
          "openApi.json"
        ],
        "description": "get the swagger json with replaced json schema values",
        "operationId": "getOpenApiJson",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectId",
            "in": "path",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "openapi.json",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/openapi.json": {
      "get": {
        "tags": [
          "trainer-api",
          "openApi.json"
        ],
        "description": "get the swagger json with replaced json schema values",
        "operationId": "getChannelOpenApiJson",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectId",
            "in": "path",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "channelId",
            "in": "path",
            "description": "channelId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "openapi.json",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/channels/{channel}/node-items": {
      "get": {
        "tags": [
          "node-items"
        ],
        "operationId": "getNodeItemsByChannel",
        "description": "get the Node Item list of a given account project version",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "channel",
            "description": "channel",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "array for  Node Items",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NodeItem"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "post": {
        "tags": [
          "node-items"
        ],
        "operationId": "createNodeItemByChannel",
        "description": "createt a NodeItem for a B2BPartner",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "channel",
            "description": "channel",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "a NodeItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItem"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NodeItem"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/channels/{channel}/node-items/{NodeItemId}": {
      "get": {
        "tags": [
          "node-items"
        ],
        "operationId": "getNodeItemByChannel",
        "description": "get a NodeItem",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "channel",
            "description": "channel",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "NodeItemId",
            "description": "NodeItemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "NodeItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItem"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "delete": {
        "tags": [
          "node-items"
        ],
        "operationId": "deleteNodeItemByChannel",
        "description": "delete a NodeItem ",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "channel",
            "description": "channel",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "NodeItemId",
            "description": "NodeItemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "NodeItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItem"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "put": {
        "tags": [
          "node-items"
        ],
        "operationId": "updateNodeItemByChannel",
        "description": "upate a NodeItem",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "channel",
            "description": "channel",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "NodeItemId",
            "description": "NodeItemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "NodeItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItem"
                }
              }
            }
          },
          "201": {
            "description": "a NodeItem",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItem"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NodeItem"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/channels/{channelId}/aicontexts": {
      "get": {
        "tags": [
          "aicontext"
        ],
        "operationId": "getAiContexts",
        "description": "get a AIContext",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "channelId",
            "description": "channelId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "lastId",
            "description": "The lastId of items to skip before starting to collect the result set",
            "required": false,
            "nullable": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "description": "The numbers of items to return",
            "required": false,
            "nullable": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "topicId",
            "description": "topicId",
            "required": false,
            "nullable": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "userId",
            "description": "userId",
            "required": false,
            "nullable": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "AIContext",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AIContext"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-item-function-templates": {
      "get": {
        "tags": [
          "node-item-function-template"
        ],
        "operationId": "getNodeItemFunctionTemplates",
        "description": "get the NodeItemFunctionTemplate list of a B2BPartner",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "array for  NodeItemFunctionTemplates",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NodeItemFunctionTemplate"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      },
      "post": {
        "tags": [
          "node-item-function-template"
        ],
        "operationId": "createNodeItemFunctionTemplate",
        "description": "createt a NodeItemFunctionTemplate for a B2BPartner",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "a NodeItemFunctionTemplate",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItemFunctionTemplate"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NodeItemFunctionTemplate"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/node-item-function-templates/{NodeItemFunctionTemplateId}": {
      "get": {
        "tags": [
          "node-item-function-template"
        ],
        "operationId": "getNodeItemFunctionTemplate",
        "description": "get a NodeItemFunctionTemplate of a B2BPartner by id",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "NodeItemFunctionTemplateId",
            "description": "NodeItemFunctionTemplateId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "NodeItemFunctionTemplate",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItemFunctionTemplate"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      },
      "put": {
        "tags": [
          "node-item-function-template"
        ],
        "operationId": "updateNodeItemFunctionTemplate",
        "description": "update a NodeItemFunctionTemplate for a B2BPartner by id",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "NodeItemFunctionTemplateId",
            "description": "NodeItemFunctionTemplateId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "NodeItemFunctionTemplate",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NodeItemFunctionTemplate"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NodeItemFunctionTemplate"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/nlp": {
      "post": {
        "tags": [
          "nlp"
        ],
        "operationId": "runNlp",
        "description": "run the nlp by accountId, projectId , versionId to test the output",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "a NLP Respone",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Nlp"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Nlp"
              }
            }
          },
          "required": true
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/versions/{versionId}/export": {
      "get": {
        "tags": [
          "exportImport"
        ],
        "operationId": "exportVersion",
        "description": "export a version by accountId, projectId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "versionId",
            "description": "versionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "zip file",
            "content": {
              "application/zip": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      }
    },
    "/api/v1/accounts/{accountId}/projects/{projectId}/import-version": {
      "post": {
        "tags": [
          "exportImport"
        ],
        "operationId": "importVersion",
        "description": "import a version into a accountId, projectId",
        "parameters": [
          {
            "in": "path",
            "name": "accountId",
            "description": "accountID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "description": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "zip": {
                    "description": "export zip",
                    "type": "string",
                    "format": "binary"
                  }
                },
                "required": [
                  "zip"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "import analyse account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportClone"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      }
    },
    "/api/v1/facts": {
      "get": {
        "tags": [
          "facts"
        ],
        "description": "get the configured facts / expert System",
        "responses": {
          "200": {
            "description": "array of facts",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "integer",
                      "title": "status"
                    },
                    "responseCode": {
                      "type": "integer",
                      "title": "responseCode"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Fact"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401"
          }
        }
      }
    },
    "/api/v1/image/upload": {
      "post": {
        "tags": [
          "image"
        ],
        "operationId": "upload image",
        "description": "upload a image and returns the image url",
        "responses": {
          "200": {
            "description": "image information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Image"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "image": {
                    "description": "image binary",
                    "type": "string",
                    "format": "binary"
                  }
                },
                "required": [
                  "image"
                ]
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "responses": {
      "400": {
        "description": "validation error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "401": {
        "description": "Unauthorized",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "404": {
        "description": "not found error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "409": {
        "description": "conflict",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "oauthClientCredentials": {
        "type": "oauth2",
        "description": "oauth with cogniton",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://agile-demo.auth.eu-central-1.amazoncognito.com/oauth2/token",
            "scopes": {}
          }
        }
      },
      "oauthImplicit": {
        "type": "oauth2",
        "description": "oauth with cogniton",
        "flows": {
          "implicit": {
            "authorizationUrl": "https://agile-demo.auth.eu-central-1.amazoncognito.com/login",
            "scopes": {}
          }
        }
      },
      "api_key": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "PackedVersionData": {
        "type": "object",
        "properties": {
          "nodeItemIndex": {
            "type": "object",
            "properties": {
              "activation": {
                "type": "object",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "index": {
                "type": "object",
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "nickname": {
                      "type": "string"
                    },
                    "refId": {
                      "type": "string"
                    },
                    "editStatus": {
                      "type": "object",
                      "properties": {
                        "state": {
                          "enum": [
                            "draft",
                            "published"
                          ],
                          "type": "string"
                        },
                        "startDate": {
                          "type": "string"
                        },
                        "endDate": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    "semanticSearchText": {
                      "type": "string"
                    },
                    "aiEventActivation": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "machineHead": {
                      "type": "object",
                      "properties": {}
                    },
                    "storyOptions": {
                      "type": "object",
                      "properties": {}
                    },
                    "initTransitions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "rulesAnd": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "itemsOr": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "source": {
                                        "enum": [
                                          "ALWAYS_TRUE",
                                          "dataStore.currentValue",
                                          "dataStore.history",
                                          "intent.name",
                                          "text.email",
                                          "text.number",
                                          "text.raw"
                                        ],
                                        "type": "string"
                                      },
                                      "sentiment": {
                                        "enum": [
                                          "negative",
                                          "positive"
                                        ],
                                        "type": "string"
                                      },
                                      "key": {
                                        "type": "string"
                                      },
                                      "operator": {
                                        "enum": [
                                          "contains",
                                          "containsNot",
                                          "dateFrom",
                                          "dateTo",
                                          "equals",
                                          "equalsNot",
                                          "exists",
                                          "existsNot",
                                          "startsNotWith",
                                          "startsWith"
                                        ],
                                        "type": "string"
                                      },
                                      "value": {},
                                      "_id": {
                                        "type": "string"
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "_id": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": false
                            }
                          },
                          "target": {
                            "type": "string"
                          },
                          "_id": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "globalTransitions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "rulesAnd": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "itemsOr": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "source": {
                                        "enum": [
                                          "ALWAYS_TRUE",
                                          "dataStore.currentValue",
                                          "dataStore.history",
                                          "intent.name",
                                          "text.email",
                                          "text.number",
                                          "text.raw"
                                        ],
                                        "type": "string"
                                      },
                                      "sentiment": {
                                        "enum": [
                                          "negative",
                                          "positive"
                                        ],
                                        "type": "string"
                                      },
                                      "key": {
                                        "type": "string"
                                      },
                                      "operator": {
                                        "enum": [
                                          "contains",
                                          "containsNot",
                                          "dateFrom",
                                          "dateTo",
                                          "equals",
                                          "equalsNot",
                                          "exists",
                                          "existsNot",
                                          "startsNotWith",
                                          "startsWith"
                                        ],
                                        "type": "string"
                                      },
                                      "value": {},
                                      "_id": {
                                        "type": "string"
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "_id": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": false
                            }
                          },
                          "target": {
                            "type": "string"
                          },
                          "_id": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "states": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "machinePart": {
                            "type": "object",
                            "properties": {
                              "transitions": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "rulesAnd": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "itemsOr": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "source": {
                                                  "enum": [
                                                    "ALWAYS_TRUE",
                                                    "dataStore.currentValue",
                                                    "dataStore.history",
                                                    "intent.name",
                                                    "text.email",
                                                    "text.number",
                                                    "text.raw"
                                                  ],
                                                  "type": "string"
                                                },
                                                "sentiment": {
                                                  "enum": [
                                                    "negative",
                                                    "positive"
                                                  ],
                                                  "type": "string"
                                                },
                                                "key": {
                                                  "type": "string"
                                                },
                                                "operator": {
                                                  "enum": [
                                                    "contains",
                                                    "containsNot",
                                                    "dateFrom",
                                                    "dateTo",
                                                    "equals",
                                                    "equalsNot",
                                                    "exists",
                                                    "existsNot",
                                                    "startsNotWith",
                                                    "startsWith"
                                                  ],
                                                  "type": "string"
                                                },
                                                "value": {},
                                                "_id": {
                                                  "type": "string"
                                                }
                                              },
                                              "additionalProperties": false
                                            }
                                          },
                                          "_id": {
                                            "type": "string"
                                          }
                                        },
                                        "additionalProperties": false
                                      }
                                    },
                                    "target": {
                                      "type": "string"
                                    },
                                    "_id": {
                                      "type": "string"
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              }
                            },
                            "additionalProperties": false
                          },
                          "dataStoreTransactions": {
                            "type": "object",
                            "properties": {
                              "add": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "type": "string"
                                    },
                                    "path": {
                                      "type": "string"
                                    },
                                    "value": {},
                                    "ttl": {
                                      "type": "object",
                                      "properties": {
                                        "amount": {
                                          "type": "number"
                                        },
                                        "unit": {
                                          "enum": [
                                            "days",
                                            "hours",
                                            "milliseconds",
                                            "minutes",
                                            "seconds"
                                          ],
                                          "type": "string"
                                        }
                                      },
                                      "additionalProperties": false
                                    },
                                    "source": {
                                      "enum": [
                                        "baiCore",
                                        "currentState",
                                        "dataStore",
                                        "suggestedOption"
                                      ],
                                      "type": "string"
                                    },
                                    "limit": {
                                      "type": "number"
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              },
                              "remove": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "type": "string"
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              }
                            },
                            "additionalProperties": false
                          },
                          "suggestedOptions": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "removeFromAgilePoolRules": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "itemsOr": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "source": {
                                              "enum": [
                                                "ALWAYS_TRUE",
                                                "dataStore.currentValue",
                                                "dataStore.history",
                                                "intent.name",
                                                "text.email",
                                                "text.number",
                                                "text.raw"
                                              ],
                                              "type": "string"
                                            },
                                            "sentiment": {
                                              "enum": [
                                                "negative",
                                                "positive"
                                              ],
                                              "type": "string"
                                            },
                                            "key": {
                                              "type": "string"
                                            },
                                            "operator": {
                                              "enum": [
                                                "contains",
                                                "containsNot",
                                                "dateFrom",
                                                "dateTo",
                                                "equals",
                                                "equalsNot",
                                                "exists",
                                                "existsNot",
                                                "startsNotWith",
                                                "startsWith"
                                              ],
                                              "type": "string"
                                            },
                                            "value": {},
                                            "_id": {
                                              "type": "string"
                                            }
                                          },
                                          "additionalProperties": false
                                        }
                                      },
                                      "_id": {
                                        "type": "string"
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "data": {},
                                "dataStoreTransactions": {
                                  "type": "object",
                                  "properties": {
                                    "add": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "type": "string"
                                          },
                                          "path": {
                                            "type": "string"
                                          },
                                          "value": {},
                                          "ttl": {
                                            "type": "object",
                                            "properties": {
                                              "amount": {
                                                "type": "number"
                                              },
                                              "unit": {
                                                "enum": [
                                                  "days",
                                                  "hours",
                                                  "milliseconds",
                                                  "minutes",
                                                  "seconds"
                                                ],
                                                "type": "string"
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          "source": {
                                            "enum": [
                                              "baiCore",
                                              "currentState",
                                              "dataStore",
                                              "suggestedOption"
                                            ],
                                            "type": "string"
                                          },
                                          "limit": {
                                            "type": "number"
                                          }
                                        },
                                        "additionalProperties": false
                                      }
                                    },
                                    "remove": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "type": "string"
                                          }
                                        },
                                        "additionalProperties": false
                                      }
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                "content": {
                                  "$ref": "#/components/schemas/PackedVersionData/definitions/AgileSchemaBaseObj"
                                },
                                "nodeItemSourceId": {
                                  "type": "string"
                                },
                                "stateEvent": {
                                  "type": "string"
                                },
                                "activatedNodeItemRef": {
                                  "type": "string"
                                },
                                "microIntends": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string"
                                      },
                                      "refId": {
                                        "type": "string"
                                      },
                                      "trainingsetsPositiveList": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "embeddedVectorPositive": {
                                        "type": "array",
                                        "items": {
                                          "type": "number"
                                        }
                                      },
                                      "trainingsetsNegativeList": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "embeddedVectorNegative": {
                                        "type": "array",
                                        "items": {
                                          "type": "number"
                                        }
                                      },
                                      "trainedNodeitemPositive": {
                                        "type": "string"
                                      },
                                      "trainedNodeitemNegative": {
                                        "type": "string"
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "triggedByMicroIntends": {
                                  "type": "object",
                                  "properties": {
                                    "microIntend": {
                                      "type": "object",
                                      "properties": {
                                        "name": {
                                          "type": "string"
                                        },
                                        "refId": {
                                          "type": "string"
                                        },
                                        "trainingsetsPositiveList": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "embeddedVectorPositive": {
                                          "type": "array",
                                          "items": {
                                            "type": "number"
                                          }
                                        },
                                        "trainingsetsNegativeList": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          }
                                        },
                                        "embeddedVectorNegative": {
                                          "type": "array",
                                          "items": {
                                            "type": "number"
                                          }
                                        },
                                        "trainedNodeitemPositive": {
                                          "type": "string"
                                        },
                                        "trainedNodeitemNegative": {
                                          "type": "string"
                                        }
                                      },
                                      "additionalProperties": false
                                    },
                                    "state": {
                                      "enum": [
                                        -1,
                                        0,
                                        1
                                      ],
                                      "type": "number"
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                "poolId": {
                                  "type": "string"
                                },
                                "scoringKeys": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "additionalProperties": false
                            }
                          },
                          "content": {
                            "additionalProperties": false,
                            "type": "object",
                            "properties": {
                              "style": {
                                "type": "object",
                                "properties": {
                                  "marginTop": {
                                    "type": "string"
                                  },
                                  "marginLeft": {
                                    "type": "string"
                                  },
                                  "marginRight": {
                                    "type": "string"
                                  },
                                  "marginBottom": {
                                    "type": "string"
                                  },
                                  "paddingTop": {
                                    "type": "string"
                                  },
                                  "paddingLeft": {
                                    "type": "string"
                                  },
                                  "paddingRight": {
                                    "type": "string"
                                  },
                                  "paddingBottom": {
                                    "type": "string"
                                  }
                                },
                                "additionalProperties": false
                              }
                            }
                          },
                          "scoringKeys": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "events": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "refId": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": false
                            }
                          },
                          "_id": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "function": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "enum": [
                            "BrickFactoryFromState",
                            "agileSemanticSearch",
                            "brickFactoryFromAllStates",
                            "none",
                            "trustedDeveloperJSCodeRunner"
                          ],
                          "type": "string"
                        },
                        "trustedDeveloperJSCodeRef": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    "guiOptions": {
                      "type": "object",
                      "properties": {
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "editable": {
                          "type": "boolean"
                        },
                        "visible": {
                          "type": "boolean"
                        }
                      },
                      "additionalProperties": false
                    },
                    "preRunNodeitems": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "removeFromAgilePoolRules": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "itemsOr": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "source": {
                                  "enum": [
                                    "ALWAYS_TRUE",
                                    "dataStore.currentValue",
                                    "dataStore.history",
                                    "intent.name",
                                    "text.email",
                                    "text.number",
                                    "text.raw"
                                  ],
                                  "type": "string"
                                },
                                "sentiment": {
                                  "enum": [
                                    "negative",
                                    "positive"
                                  ],
                                  "type": "string"
                                },
                                "key": {
                                  "type": "string"
                                },
                                "operator": {
                                  "enum": [
                                    "contains",
                                    "containsNot",
                                    "dateFrom",
                                    "dateTo",
                                    "equals",
                                    "equalsNot",
                                    "exists",
                                    "existsNot",
                                    "startsNotWith",
                                    "startsWith"
                                  ],
                                  "type": "string"
                                },
                                "value": {},
                                "_id": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": false
                            }
                          },
                          "_id": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "scene": {
                      "type": "object",
                      "properties": {
                        "placements": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "maxBrickCount": {
                                "type": "number"
                              },
                              "maxBrickUiSlots": {
                                "type": "number"
                              },
                              "layoutPath": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "nodeItemRef": {
                                "type": "string"
                              },
                              "brickFactories": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "nodeItemRef": {
                                      "type": "string"
                                    },
                                    "createdSchema": {
                                      "type": "string"
                                    },
                                    "createdData": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "type": "string"
                                          },
                                          "value": {}
                                        },
                                        "additionalProperties": false
                                      }
                                    },
                                    "_id": {
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "activationRules": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "itemsOr": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "source": {
                                                  "enum": [
                                                    "ALWAYS_TRUE",
                                                    "dataStore.currentValue",
                                                    "dataStore.history",
                                                    "intent.name",
                                                    "text.email",
                                                    "text.number",
                                                    "text.raw"
                                                  ],
                                                  "type": "string"
                                                },
                                                "sentiment": {
                                                  "enum": [
                                                    "negative",
                                                    "positive"
                                                  ],
                                                  "type": "string"
                                                },
                                                "key": {
                                                  "type": "string"
                                                },
                                                "operator": {
                                                  "enum": [
                                                    "contains",
                                                    "containsNot",
                                                    "dateFrom",
                                                    "dateTo",
                                                    "equals",
                                                    "equalsNot",
                                                    "exists",
                                                    "existsNot",
                                                    "startsNotWith",
                                                    "startsWith"
                                                  ],
                                                  "type": "string"
                                                },
                                                "value": {},
                                                "_id": {
                                                  "type": "string"
                                                }
                                              },
                                              "additionalProperties": false
                                            }
                                          },
                                          "_id": {
                                            "type": "string"
                                          }
                                        },
                                        "additionalProperties": false
                                      }
                                    },
                                    "itemsSelectionRules": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "name": {
                                            "type": "string"
                                          },
                                          "groupBy": {
                                            "type": "object",
                                            "properties": {
                                              "name": {
                                                "type": "string"
                                              },
                                              "count": {
                                                "type": "number"
                                              },
                                              "sourcePoolName": {
                                                "type": "string"
                                              },
                                              "memory": {
                                                "enum": [
                                                  "none",
                                                  "scene",
                                                  "user"
                                                ],
                                                "type": "string"
                                              },
                                              "filter": {
                                                "type": "array",
                                                "items": {
                                                  "type": "object",
                                                  "properties": {
                                                    "key": {
                                                      "type": "string"
                                                    },
                                                    "value": {
                                                      "type": "string"
                                                    }
                                                  },
                                                  "additionalProperties": false
                                                }
                                              },
                                              "sortByScore": {
                                                "enum": [
                                                  "ascending",
                                                  "descending",
                                                  "random"
                                                ],
                                                "type": "string"
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          "count": {
                                            "type": "number"
                                          },
                                          "sourcePoolName": {
                                            "type": "string"
                                          },
                                          "memory": {
                                            "enum": [
                                              "none",
                                              "scene",
                                              "user"
                                            ],
                                            "type": "string"
                                          },
                                          "filter": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "additionalProperties": false
                                            }
                                          },
                                          "sortByScore": {
                                            "enum": [
                                              "ascending",
                                              "descending",
                                              "random"
                                            ],
                                            "type": "string"
                                          }
                                        },
                                        "additionalProperties": false
                                      }
                                    },
                                    "renderOnlyWithSuggestedOptionsAvailable": {
                                      "type": "boolean"
                                    },
                                    "maxSuggestedOptionsCount": {
                                      "type": "number"
                                    },
                                    "maxSuggestedOptionsUiSlots": {
                                      "type": "number"
                                    },
                                    "suggestedOptionFactories": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "_id": {
                                            "type": "string"
                                          },
                                          "activationRules": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "itemsOr": {
                                                  "type": "array",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "source": {
                                                        "enum": [
                                                          "ALWAYS_TRUE",
                                                          "dataStore.currentValue",
                                                          "dataStore.history",
                                                          "intent.name",
                                                          "text.email",
                                                          "text.number",
                                                          "text.raw"
                                                        ],
                                                        "type": "string"
                                                      },
                                                      "sentiment": {
                                                        "enum": [
                                                          "negative",
                                                          "positive"
                                                        ],
                                                        "type": "string"
                                                      },
                                                      "key": {
                                                        "type": "string"
                                                      },
                                                      "operator": {
                                                        "enum": [
                                                          "contains",
                                                          "containsNot",
                                                          "dateFrom",
                                                          "dateTo",
                                                          "equals",
                                                          "equalsNot",
                                                          "exists",
                                                          "existsNot",
                                                          "startsNotWith",
                                                          "startsWith"
                                                        ],
                                                        "type": "string"
                                                      },
                                                      "value": {},
                                                      "_id": {
                                                        "type": "string"
                                                      }
                                                    },
                                                    "additionalProperties": false
                                                  }
                                                },
                                                "_id": {
                                                  "type": "string"
                                                }
                                              },
                                              "additionalProperties": false
                                            }
                                          },
                                          "itemsSelectionRules": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "name": {
                                                  "type": "string"
                                                },
                                                "groupBy": {
                                                  "type": "object",
                                                  "properties": {
                                                    "name": {
                                                      "type": "string"
                                                    },
                                                    "count": {
                                                      "type": "number"
                                                    },
                                                    "sourcePoolName": {
                                                      "type": "string"
                                                    },
                                                    "memory": {
                                                      "enum": [
                                                        "none",
                                                        "scene",
                                                        "user"
                                                      ],
                                                      "type": "string"
                                                    },
                                                    "filter": {
                                                      "type": "array",
                                                      "items": {
                                                        "type": "object",
                                                        "properties": {
                                                          "key": {
                                                            "type": "string"
                                                          },
                                                          "value": {
                                                            "type": "string"
                                                          }
                                                        },
                                                        "additionalProperties": false
                                                      }
                                                    },
                                                    "sortByScore": {
                                                      "enum": [
                                                        "ascending",
                                                        "descending",
                                                        "random"
                                                      ],
                                                      "type": "string"
                                                    }
                                                  },
                                                  "additionalProperties": false
                                                },
                                                "count": {
                                                  "type": "number"
                                                },
                                                "sourcePoolName": {
                                                  "type": "string"
                                                },
                                                "memory": {
                                                  "enum": [
                                                    "none",
                                                    "scene",
                                                    "user"
                                                  ],
                                                  "type": "string"
                                                },
                                                "filter": {
                                                  "type": "array",
                                                  "items": {
                                                    "type": "object",
                                                    "properties": {
                                                      "key": {
                                                        "type": "string"
                                                      },
                                                      "value": {
                                                        "type": "string"
                                                      }
                                                    },
                                                    "additionalProperties": false
                                                  }
                                                },
                                                "sortByScore": {
                                                  "enum": [
                                                    "ascending",
                                                    "descending",
                                                    "random"
                                                  ],
                                                  "type": "string"
                                                }
                                              },
                                              "additionalProperties": false
                                            }
                                          },
                                          "produceEvent": {
                                            "type": "object",
                                            "properties": {
                                              "name": {
                                                "type": "string"
                                              },
                                              "createdSchemaRef": {
                                                "type": "string"
                                              },
                                              "scene": {
                                                "type": "object",
                                                "properties": {
                                                  "urlPath": {
                                                    "type": "string"
                                                  }
                                                },
                                                "additionalProperties": false
                                              },
                                              "payload": {
                                                "type": "object",
                                                "properties": {
                                                  "eventAction": {
                                                    "type": "string"
                                                  },
                                                  "eventCategory": {
                                                    "type": "string"
                                                  }
                                                },
                                                "additionalProperties": false
                                              },
                                              "content": {
                                                "$ref": "#/components/schemas/PackedVersionData/definitions/AgileSchemaBaseObj"
                                              },
                                              "loadingState": {
                                                "type": "string"
                                              }
                                            },
                                            "additionalProperties": false
                                          },
                                          "createdSchema": {
                                            "type": "string"
                                          },
                                          "createdData": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "value": {}
                                              },
                                              "additionalProperties": false
                                            }
                                          },
                                          "nodeItemRef": {
                                            "type": "string"
                                          }
                                        },
                                        "additionalProperties": false
                                      }
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              },
                              "_id": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          }
                        }
                      },
                      "additionalProperties": false
                    },
                    "account": {
                      "type": "string"
                    },
                    "project": {
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    },
                    "_id": {
                      "type": "string"
                    },
                    "createdAt": {},
                    "updatedAt": {}
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "rules": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "properties": {}
            }
          },
          "jsCodeFuncs": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "version": {
            "type": "object",
            "properties": {
              "_id": {
                "type": "string"
              },
              "touchPoints": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "tpKey": {
                      "type": "string"
                    },
                    "isDefault": {
                      "type": "boolean"
                    },
                    "fallback": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "agileSceneRoutingRules": {
                "type": "object",
                "properties": {
                  "notFoundActivatedNodeItem": {
                    "type": "string"
                  },
                  "rules": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "patterns": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "activatedNodeItem": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  }
                },
                "additionalProperties": false
              },
              "contextReducerConfiguration": {
                "type": "object",
                "properties": {
                  "allowed": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "valueType": {
                          "enum": [
                            "Any",
                            "Date",
                            "Number",
                            "String"
                          ],
                          "type": "string"
                        },
                        "defaultStringValue": {
                          "type": "string"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "ttl": {
                          "type": "object",
                          "properties": {
                            "amount": {
                              "type": "number"
                            },
                            "unit": {
                              "enum": [
                                "days",
                                "hours",
                                "milliseconds",
                                "minutes",
                                "seconds"
                              ],
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        "historyScoring": {
                          "type": "object",
                          "properties": {
                            "steps": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "milliseconds": {
                                    "type": "number"
                                  },
                                  "multiplyer": {
                                    "type": "number"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "combineMethod": {
                              "enum": [
                                "strengthen",
                                "weaken"
                              ],
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    }
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "agileContentPools": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "properties": {
                "sorted": {
                  "type": "boolean"
                },
                "d": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "score": {
                        "type": "number"
                      },
                      "weightMap": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "number"
                        }
                      },
                      "slots": {
                        "type": "number"
                      },
                      "queryProps": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "content": {
                        "$ref": "#/components/schemas/PackedVersionData/definitions/AgileSchemaBaseObj"
                      },
                      "learningFeatures": {
                        "type": "array",
                        "items": {
                          "$ref": "#/components/schemas/PackedVersionData/definitions/AgileContentPoolLearningFeature"
                        }
                      },
                      "brickAlreadyRendered": {
                        "type": "boolean"
                      }
                    },
                    "additionalProperties": false
                  }
                }
              },
              "additionalProperties": false
            }
          },
          "mlModels": {
            "type": "object",
            "properties": {
              "agileFastWeigths": {
                "type": "object",
                "additionalProperties": {}
              },
              "agileMatrices": {
                "type": "object",
                "additionalProperties": {}
              },
              "agileFulltextSearches": {
                "type": "object",
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "index": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "typeaheadPool": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "index": {
                            "type": "array",
                            "items": {}
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "options": {
                      "type": "object",
                      "properties": {
                        "isCaseSensitive": {
                          "type": "boolean"
                        },
                        "findAllMatches": {
                          "type": "boolean"
                        },
                        "includeMatches": {
                          "type": "boolean"
                        },
                        "includeScore": {
                          "type": "boolean"
                        },
                        "useExtendedSearch": {
                          "type": "boolean"
                        },
                        "minMatchCharLength": {
                          "type": "number"
                        },
                        "shouldSort": {
                          "type": "boolean"
                        },
                        "ignoreLocation": {
                          "type": "boolean"
                        },
                        "threshold": {
                          "type": "number"
                        },
                        "keys": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "weight": {
                                "type": "number"
                              }
                            },
                            "additionalProperties": false
                          }
                        }
                      },
                      "additionalProperties": false
                    },
                    "limits": {
                      "type": "object",
                      "properties": {
                        "maxTypeAheadStringLength": {
                          "type": "number"
                        },
                        "maxSearchQueryStringLength": {
                          "type": "number"
                        },
                        "maxSearchresults": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "microIntents": {
            "type": "object",
            "properties": {
              "nameIndex": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "refIdIndex": {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "refId": {
                      "type": "string"
                    },
                    "trainingsetsPositiveList": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "embeddedVectorPositive": {
                      "type": "array",
                      "items": {
                        "type": "number"
                      }
                    },
                    "trainingsetsNegativeList": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "embeddedVectorNegative": {
                      "type": "array",
                      "items": {
                        "type": "number"
                      }
                    },
                    "trainedNodeitemPositive": {
                      "type": "string"
                    },
                    "trainedNodeitemNegative": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "jsonSchemas": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "jsonSchema": {},
                "state": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            }
          },
          "fastNLP": {
            "type": "object",
            "properties": {
              "attention": {
                "type": "object",
                "additionalProperties": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "number"
                  }
                }
              },
              "fuseLookup": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "decodeDictionaryData": {
                "type": "object",
                "additionalProperties": {}
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false,
        "definitions": {
          "AgileSchemaBaseObj": {
            "type": "object",
            "properties": {
              "schemaRef": {
                "type": "string"
              },
              "data": {}
            },
            "additionalProperties": false
          },
          "AgileContentPoolLearningFeature": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": {
                  "type": "string"
                }
              },
              {
                "type": "object",
                "additionalProperties": {
                  "type": "number"
                }
              },
              {
                "type": "object",
                "additionalProperties": {
                  "type": "boolean"
                }
              }
            ]
          }
        },
        "title": "PackedVersionData"
      },
      "ImportClone": {
        "type": "object",
        "properties": {
          "newVersionId": {
            "type": "string"
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "model",
                "insertedCount"
              ],
              "properties": {
                "model": {
                  "type": "string",
                  "title": "The model name"
                },
                "insertedCount": {
                  "type": "integer",
                  "title": "insertedCount"
                }
              }
            }
          }
        }
      },
      "Config": {
        "title": "Config",
        "type": "object",
        "properties": {
          "USER_POOL_ID": {
            "type": "string"
          },
          "USER_POOL_CLIENT_ID": {
            "type": "string"
          },
          "USER_POOL_DOMAIN": {
            "type": "string"
          },
          "AI_EVENT_API_BASE_URL": {
            "type": "string"
          }
        }
      },
      "NlpProcessor": {
        "title": "NlpProcessor",
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean",
            "default": true
          },
          "type": {
            "type": "string",
            "enum": [
              "sentence"
            ]
          },
          "b2bPartnerId": {
            "type": "string",
            "x-ref": "B2bPartner",
            "description": "Refers to B2bPartner"
          },
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "project": {
            "type": "string",
            "x-ref": "Project",
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "version": {
            "type": "string",
            "x-ref": "Version",
            "description": "Refers to Version",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "stopwords": {
            "type": "boolean"
          },
          "minval": {
            "type": "number"
          },
          "maxval": {
            "type": "number"
          },
          "nodeclass": {
            "type": "string"
          },
          "stopwordList": {
            "type": "array",
            "items": {}
          },
          "extensionMap": {},
          "trainingdata": {
            "type": "array",
            "items": {}
          },
          "dbfield": {
            "type": "string"
          },
          "scope": {
            "type": "string",
            "default": "notset"
          },
          "minTokensize": {
            "type": "number",
            "default": 2
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "type"
        ]
      },
      "AIContext": {
        "title": "AIContext",
        "type": "object",
        "properties": {
          "aiVersion": {
            "type": "string"
          },
          "owner": {
            "type": "string",
            "x-ref": "User",
            "description": "Refers to User",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "channel": {
            "type": "string",
            "x-ref": "Channel",
            "description": "Refers to Channel",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "dataStore": {
            "title": "dataStore",
            "type": "object",
            "properties": {
              "history": {},
              "lists": {},
              "mapReduce": {}
            }
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "id": {}
        },
        "required": []
      },
      "MicroIntend": {
        "title": "MicroIntend",
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "doEmbedding": {
            "type": "boolean",
            "default": true
          },
          "modelName": {
            "type": "string"
          },
          "userComment": {
            "type": "string"
          },
          "trainingsetsPositiveList": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "embeddedVectorPositive": {
            "type": "array",
            "items": {}
          },
          "trainedNodeitemPositive": {
            "type": "string",
            "x-ref": "NodeItem",
            "description": "Refers to NodeItem"
          },
          "trainingsetsNegativeList": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "embeddedVectorNegative": {
            "type": "array",
            "items": {}
          },
          "trainedNodeitemNegative": {
            "type": "string",
            "x-ref": "NodeItem",
            "description": "Refers to NodeItem"
          },
          "entities": {
            "type": "array",
            "items": {
              "title": "itemOf_entities",
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "values": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "_id": {
                  "type": "string",
                  "pattern": "^[0-9a-fA-F]{24}$"
                }
              }
            }
          },
          "intendStates": {
            "type": "object",
            "default": {
              "_id": 4,
              "key": "ja/nein",
              "value": {
                "1": "ja",
                "-1": "nein"
              }
            }
          },
          "intendStateKey": {
            "type": "string",
            "default": "richtig/falsch"
          },
          "refId": {
            "type": "string",
            "pattern": "^[0-9a-zA-Z-_/|]+$",
            "readOnly": true
          },
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "project": {
            "type": "string",
            "x-ref": "Project",
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "version": {
            "type": "string",
            "x-ref": "Version",
            "description": "Refers to Version",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "name"
        ]
      },
      "JSONSchema": {
        "title": "JSONSchema",
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "enableStyleEditing": {
            "type": "boolean",
            "default": false
          },
          "jsonSchema": {},
          "uiSchema": {},
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "project": {
            "type": "string",
            "x-ref": "Project",
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "version": {
            "type": "string",
            "x-ref": "Version",
            "description": "Refers to Version",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "state": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "state",
                "suggestedOption",
                "eventInput",
                "event",
                "brick"
              ]
            },
            "minItems": 1
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "name"
        ]
      },
      "JSCode": {
        "title": "JSCode",
        "type": "object",
        "properties": {
          "refId": {
            "type": "string",
            "pattern": "^[0-9a-zA-Z-_/|]+$",
            "readOnly": true
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "jsCode": {
            "type": "string"
          },
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "project": {
            "type": "string",
            "x-ref": "Project",
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "version": {
            "type": "string",
            "x-ref": "Version",
            "description": "Refers to Version",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "executionScope": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "nodeItemTrustedDeveloperJSCode",
                "dataStreamTransformerTrustedDeveloperJSCode"
              ]
            },
            "minItems": 1
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "jsCode"
        ]
      },
      "MicroMacro": {
        "title": "MicroMacro",
        "type": "object",
        "properties": {
          "b2bPartnerId": {
            "type": "string",
            "x-ref": "B2bPartner",
            "description": "Refers to B2bPartner"
          },
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "project": {
            "type": "string",
            "x-ref": "Project",
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "version": {
            "type": "string",
            "x-ref": "Version",
            "description": "Refers to Version",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "trainedNodeitem": {
            "type": "string",
            "x-ref": "NodeItem",
            "description": "Refers to NodeItem",
            "pattern": "^[0-9a-fA-F]{24}$"
          },
          "microIntendConfig": {
            "type": "array",
            "items": {}
          },
          "nodeGroupSource": {
            "type": "string"
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "trainedNodeitem"
        ]
      },
      "CucumberFeature": {
        "title": "CucumberFeature",
        "type": "object",
        "properties": {
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "project": {
            "type": "string",
            "x-ref": "Project",
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "version": {
            "type": "string",
            "x-ref": "Version",
            "description": "Refers to Version",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "name": {
            "type": "string"
          },
          "feature": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "feature"
        ]
      },
      "CucumberFeatureTags": {
        "type": "array",
        "items": {
          "title": "tags",
          "type": "string"
        }
      },
      "Fact": {
        "title": "Fact",
        "type": "object",
        "properties": {
          "b2bPartnerId": {
            "type": "string",
            "x-ref": "B2bPartner",
            "description": "Refers to B2bPartner"
          },
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "project": {
            "type": "string",
            "x-ref": "Project",
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "version": {
            "type": "string",
            "x-ref": "Version",
            "description": "Refers to Version",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "inputs": {
            "type": "array",
            "items": {
              "title": "itemOf_inputs",
              "type": "object",
              "properties": {
                "state": {
                  "type": "number"
                },
                "name": {
                  "type": "string"
                },
                "_id": {
                  "type": "string",
                  "pattern": "^[0-9a-fA-F]{24}$"
                }
              }
            }
          },
          "outputs": {
            "type": "array",
            "items": {
              "title": "itemOf_outputs",
              "type": "object",
              "properties": {
                "state": {
                  "type": "number"
                },
                "name": {
                  "type": "string"
                },
                "_id": {
                  "type": "string",
                  "pattern": "^[0-9a-fA-F]{24}$"
                }
              }
            }
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": []
      },
      "NodeItem": {
        "title": "NodeItem",
        "type": "object",
        "properties": {
          "refId": {
            "type": "string",
            "pattern": "^[0-9a-zA-Z-_/|]+$",
            "readOnly": true
          },
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "project": {
            "type": "string",
            "x-ref": "Project",
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "version": {
            "type": "string",
            "x-ref": "Version",
            "description": "Refers to Version",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "editStatus": {
            "title": "editStatus",
            "type": "object",
            "properties": {
              "state": {
                "type": "string",
                "enum": [
                  "draft",
                  "published"
                ],
                "default": "draft"
              },
              "startDate": {
                "type": "string"
              },
              "endDate": {
                "type": "string"
              }
            }
          },
          "inMemory": {
            "type": "boolean",
            "default": true
          },
          "group": {
            "type": "string",
            "enum": [
              "actor",
              "content",
              "scene",
              "stateMachine",
              "system"
            ],
            "default": "content"
          },
          "nickname": {
            "type": "string"
          },
          "semanticSearchText": {
            "type": "string"
          },
          "semanticSearchTextHash": {
            "type": "string"
          },
          "embeddedVector": {
            "type": "array",
            "items": {}
          },
          "embeddingModel": {
            "type": "string"
          },
          "indexName": {
            "type": "string"
          },
          "filterDim0": {
            "type": "string"
          },
          "filterDim1": {
            "type": "string"
          },
          "filterDim2": {
            "type": "string"
          },
          "title": {
            "type": "array",
            "items": {
              "title": "itemOf_title",
              "type": "object",
              "properties": {
                "langKey": {
                  "type": "string"
                },
                "text": {
                  "type": "string"
                },
                "_id": {
                  "type": "string",
                  "pattern": "^[0-9a-fA-F]{24}$"
                }
              }
            }
          },
          "description": {
            "type": "array",
            "items": {
              "title": "itemOf_description",
              "type": "object",
              "properties": {
                "langKey": {
                  "type": "string"
                },
                "text": {
                  "type": "string"
                },
                "_id": {
                  "type": "string",
                  "pattern": "^[0-9a-fA-F]{24}$"
                }
              }
            }
          },
          "tags": {
            "type": "array",
            "items": {
              "title": "itemOf_tags",
              "type": "object",
              "properties": {
                "langKey": {
                  "type": "string"
                },
                "text": {
                  "type": "string"
                },
                "_id": {
                  "type": "string",
                  "pattern": "^[0-9a-fA-F]{24}$"
                }
              }
            }
          },
          "aiEventActivation": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "removeFromAgilePoolRules": {
            "type": "array",
            "items": {
              "title": "itemOf_removeFromAgilePoolRules",
              "type": "object",
              "properties": {
                "itemsOr": {
                  "type": "array",
                  "items": {
                    "title": "itemOf_itemsOr",
                    "type": "object",
                    "properties": {
                      "source": {
                        "type": "string",
                        "enum": [
                          "dataStore.currentValue",
                          "dataStore.history",
                          "intent.name",
                          "text.raw",
                          "text.email",
                          "text.number",
                          "ALWAYS_TRUE"
                        ]
                      },
                      "sentiment": {
                        "type": "string",
                        "enum": [
                          "positive",
                          "negative"
                        ]
                      },
                      "key": {
                        "type": "string"
                      },
                      "operator": {
                        "type": "string",
                        "enum": [
                          "exists",
                          "existsNot",
                          "equals",
                          "equalsNot",
                          "startsWith",
                          "startsNotWith",
                          "contains",
                          "containsNot",
                          "dateFrom",
                          "dateTo"
                        ]
                      },
                      "value": {
                        "type": "string"
                      },
                      "_id": {
                        "type": "string",
                        "pattern": "^[0-9a-fA-F]{24}$"
                      }
                    }
                  }
                },
                "_id": {
                  "type": "string",
                  "pattern": "^[0-9a-fA-F]{24}$"
                }
              }
            }
          },
          "initTransitions": {
            "type": "array",
            "items": {
              "title": "itemOf_initTransitions",
              "type": "object",
              "properties": {
                "rulesAnd": {
                  "type": "array",
                  "items": {
                    "title": "itemOf_rulesAnd",
                    "type": "object",
                    "properties": {
                      "itemsOr": {
                        "type": "array",
                        "items": {
                          "title": "itemOf_itemsOr",
                          "type": "object",
                          "properties": {
                            "source": {
                              "type": "string",
                              "enum": [
                                "dataStore.currentValue",
                                "dataStore.history",
                                "intent.name",
                                "text.raw",
                                "text.email",
                                "text.number",
                                "ALWAYS_TRUE"
                              ]
                            },
                            "sentiment": {
                              "type": "string",
                              "enum": [
                                "positive",
                                "negative"
                              ]
                            },
                            "key": {
                              "type": "string"
                            },
                            "operator": {
                              "type": "string",
                              "enum": [
                                "exists",
                                "existsNot",
                                "equals",
                                "equalsNot",
                                "startsWith",
                                "startsNotWith",
                                "contains",
                                "containsNot",
                                "dateFrom",
                                "dateTo"
                              ]
                            },
                            "value": {
                              "type": "string"
                            },
                            "_id": {
                              "type": "string",
                              "pattern": "^[0-9a-fA-F]{24}$"
                            }
                          }
                        }
                      },
                      "_id": {
                        "type": "string",
                        "pattern": "^[0-9a-fA-F]{24}$"
                      }
                    }
                  }
                },
                "target": {
                  "type": "string"
                },
                "_id": {
                  "type": "string",
                  "pattern": "^[0-9a-fA-F]{24}$"
                }
              }
            }
          },
          "globalTransitions": {
            "type": "array",
            "items": {
              "title": "itemOf_globalTransitions",
              "type": "object",
              "properties": {
                "rulesAnd": {
                  "type": "array",
                  "items": {
                    "title": "itemOf_rulesAnd",
                    "type": "object",
                    "properties": {
                      "itemsOr": {
                        "type": "array",
                        "items": {
                          "title": "itemOf_itemsOr",
                          "type": "object",
                          "properties": {
                            "source": {
                              "type": "string",
                              "enum": [
                                "dataStore.currentValue",
                                "dataStore.history",
                                "intent.name",
                                "text.raw",
                                "text.email",
                                "text.number",
                                "ALWAYS_TRUE"
                              ]
                            },
                            "sentiment": {
                              "type": "string",
                              "enum": [
                                "positive",
                                "negative"
                              ]
                            },
                            "key": {
                              "type": "string"
                            },
                            "operator": {
                              "type": "string",
                              "enum": [
                                "exists",
                                "existsNot",
                                "equals",
                                "equalsNot",
                                "startsWith",
                                "startsNotWith",
                                "contains",
                                "containsNot",
                                "dateFrom",
                                "dateTo"
                              ]
                            },
                            "value": {
                              "type": "string"
                            },
                            "_id": {
                              "type": "string",
                              "pattern": "^[0-9a-fA-F]{24}$"
                            }
                          }
                        }
                      },
                      "_id": {
                        "type": "string",
                        "pattern": "^[0-9a-fA-F]{24}$"
                      }
                    }
                  }
                },
                "target": {
                  "type": "string"
                },
                "_id": {
                  "type": "string",
                  "pattern": "^[0-9a-fA-F]{24}$"
                }
              }
            }
          },
          "preRunNodeitems": {
            "type": "array",
            "items": {
              "type": "string",
              "x-ref": "NodeItem",
              "pattern": "^[0-9a-zA-Z-_/|]+$",
              "description": "Refers to NodeItem"
            }
          },
          "scene": {
            "title": "scene",
            "type": "object",
            "properties": {
              "placements": {
                "type": "array",
                "items": {
                  "title": "itemOf_placements",
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "maxBrickCount": {
                      "type": "number"
                    },
                    "maxBrickUiSlots": {
                      "type": "number"
                    },
                    "placement": {
                      "type": "string",
                      "enum": [
                        "none",
                        "App",
                        "Header",
                        "Footer"
                      ],
                      "default": "none"
                    },
                    "variant": {
                      "type": "string",
                      "enum": [
                        "none",
                        "Vertical",
                        "Horizontal"
                      ],
                      "default": "none"
                    },
                    "brickFactories": {
                      "type": "array",
                      "items": {
                        "title": "itemOf_brickFactories",
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "nodeItemRef": {
                            "type": "string",
                            "x-ref": "NodeItem",
                            "pattern": "^[0-9a-zA-Z-_/|]+$",
                            "description": "Refers to NodeItem"
                          },
                          "activationRules": {
                            "type": "array",
                            "items": {
                              "title": "itemOf_activationRules",
                              "type": "object",
                              "properties": {
                                "itemsOr": {
                                  "type": "array",
                                  "items": {
                                    "title": "itemOf_itemsOr",
                                    "type": "object",
                                    "properties": {
                                      "source": {
                                        "type": "string",
                                        "enum": [
                                          "dataStore.currentValue",
                                          "dataStore.history",
                                          "intent.name",
                                          "text.raw",
                                          "text.email",
                                          "text.number",
                                          "ALWAYS_TRUE"
                                        ]
                                      },
                                      "sentiment": {
                                        "type": "string",
                                        "enum": [
                                          "positive",
                                          "negative"
                                        ]
                                      },
                                      "key": {
                                        "type": "string"
                                      },
                                      "operator": {
                                        "type": "string",
                                        "enum": [
                                          "exists",
                                          "existsNot",
                                          "equals",
                                          "equalsNot",
                                          "startsWith",
                                          "startsNotWith",
                                          "contains",
                                          "containsNot",
                                          "dateFrom",
                                          "dateTo"
                                        ]
                                      },
                                      "value": {
                                        "type": "string"
                                      },
                                      "_id": {
                                        "type": "string",
                                        "pattern": "^[0-9a-fA-F]{24}$"
                                      }
                                    }
                                  }
                                },
                                "_id": {
                                  "type": "string",
                                  "pattern": "^[0-9a-fA-F]{24}$"
                                }
                              }
                            }
                          },
                          "createdSchema": {
                            "type": "string"
                          },
                          "createdData": {
                            "type": "array",
                            "items": {
                              "title": "itemOf_createdData",
                              "type": "object",
                              "properties": {
                                "key": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                },
                                "_id": {
                                  "type": "string",
                                  "pattern": "^[0-9a-fA-F]{24}$"
                                }
                              }
                            }
                          },
                          "itemsSelectionRules": {
                            "type": "array",
                            "items": {
                              "title": "itemOf_itemsSelectionRules",
                              "type": "object",
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "count": {
                                  "type": "number"
                                },
                                "sourcePoolName": {
                                  "type": "string"
                                },
                                "filter": {
                                  "type": "array",
                                  "items": {
                                    "title": "itemOf_filter",
                                    "type": "object",
                                    "properties": {
                                      "key": {
                                        "type": "string"
                                      },
                                      "value": {
                                        "type": "string"
                                      },
                                      "_id": {
                                        "type": "string",
                                        "pattern": "^[0-9a-fA-F]{24}$"
                                      }
                                    }
                                  }
                                },
                                "sortByScore": {
                                  "type": "string",
                                  "enum": [
                                    "descending",
                                    "ascending",
                                    "random"
                                  ],
                                  "default": "random"
                                },
                                "memory": {
                                  "type": "string",
                                  "enum": [
                                    "none",
                                    "scene",
                                    "user"
                                  ],
                                  "default": "scene"
                                },
                                "groupBy": {
                                  "title": "groupBy",
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "type": "string"
                                    },
                                    "count": {
                                      "type": "number"
                                    },
                                    "sourcePoolName": {
                                      "type": "string"
                                    },
                                    "memory": {
                                      "type": "string",
                                      "enum": [
                                        "none",
                                        "scene",
                                        "user"
                                      ],
                                      "default": "scene"
                                    },
                                    "filter": {
                                      "type": "array",
                                      "items": {
                                        "title": "itemOf_filter",
                                        "type": "object",
                                        "properties": {
                                          "key": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "string"
                                          },
                                          "_id": {
                                            "type": "string",
                                            "pattern": "^[0-9a-fA-F]{24}$"
                                          }
                                        }
                                      }
                                    },
                                    "sortByScore": {
                                      "type": "string",
                                      "enum": [
                                        "descending",
                                        "ascending",
                                        "random"
                                      ],
                                      "default": "random"
                                    },
                                    "_id": {
                                      "type": "string",
                                      "pattern": "^[0-9a-fA-F]{24}$"
                                    }
                                  }
                                },
                                "_id": {
                                  "type": "string",
                                  "pattern": "^[0-9a-fA-F]{24}$"
                                }
                              }
                            }
                          },
                          "renderOnlyWithSuggestedOptionsAvailable": {
                            "type": "boolean",
                            "default": false
                          },
                          "maxSuggestedOptionsCount": {
                            "type": "number"
                          },
                          "maxSuggestedOptionsUiSlots": {
                            "type": "number"
                          },
                          "suggestedOptionFactories": {
                            "type": "array",
                            "items": {
                              "title": "itemOf_suggestedOptionFactories",
                              "type": "object",
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "activationRules": {
                                  "type": "array",
                                  "items": {
                                    "title": "itemOf_activationRules",
                                    "type": "object",
                                    "properties": {
                                      "itemsOr": {
                                        "type": "array",
                                        "items": {
                                          "title": "itemOf_itemsOr",
                                          "type": "object",
                                          "properties": {
                                            "source": {
                                              "type": "string",
                                              "enum": [
                                                "dataStore.currentValue",
                                                "dataStore.history",
                                                "intent.name",
                                                "text.raw",
                                                "text.email",
                                                "text.number",
                                                "ALWAYS_TRUE"
                                              ]
                                            },
                                            "sentiment": {
                                              "type": "string",
                                              "enum": [
                                                "positive",
                                                "negative"
                                              ]
                                            },
                                            "key": {
                                              "type": "string"
                                            },
                                            "operator": {
                                              "type": "string",
                                              "enum": [
                                                "exists",
                                                "existsNot",
                                                "equals",
                                                "equalsNot",
                                                "startsWith",
                                                "startsNotWith",
                                                "contains",
                                                "containsNot",
                                                "dateFrom",
                                                "dateTo"
                                              ]
                                            },
                                            "value": {
                                              "type": "string"
                                            },
                                            "_id": {
                                              "type": "string",
                                              "pattern": "^[0-9a-fA-F]{24}$"
                                            }
                                          }
                                        }
                                      },
                                      "_id": {
                                        "type": "string",
                                        "pattern": "^[0-9a-fA-F]{24}$"
                                      }
                                    }
                                  }
                                },
                                "nodeItemRef": {
                                  "type": "string",
                                  "x-ref": "NodeItem",
                                  "pattern": "^[0-9a-zA-Z-_/|]+$",
                                  "description": "Refers to NodeItem"
                                },
                                "itemsSelectionRules": {
                                  "type": "array",
                                  "items": {
                                    "title": "itemOf_itemsSelectionRules",
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string"
                                      },
                                      "count": {
                                        "type": "number"
                                      },
                                      "sourcePoolName": {
                                        "type": "string"
                                      },
                                      "filter": {
                                        "type": "array",
                                        "items": {
                                          "title": "itemOf_filter",
                                          "type": "object",
                                          "properties": {
                                            "key": {
                                              "type": "string"
                                            },
                                            "value": {
                                              "type": "string"
                                            },
                                            "_id": {
                                              "type": "string",
                                              "pattern": "^[0-9a-fA-F]{24}$"
                                            }
                                          }
                                        }
                                      },
                                      "sortByScore": {
                                        "type": "string",
                                        "enum": [
                                          "descending",
                                          "ascending",
                                          "random"
                                        ],
                                        "default": "random"
                                      },
                                      "memory": {
                                        "type": "string",
                                        "enum": [
                                          "none",
                                          "scene",
                                          "user"
                                        ],
                                        "default": "scene"
                                      },
                                      "groupBy": {
                                        "title": "groupBy",
                                        "type": "object",
                                        "properties": {
                                          "name": {
                                            "type": "string"
                                          },
                                          "count": {
                                            "type": "number"
                                          },
                                          "sourcePoolName": {
                                            "type": "string"
                                          },
                                          "memory": {
                                            "type": "string",
                                            "enum": [
                                              "none",
                                              "scene",
                                              "user"
                                            ],
                                            "default": "scene"
                                          },
                                          "filter": {
                                            "type": "array",
                                            "items": {
                                              "title": "itemOf_filter",
                                              "type": "object",
                                              "properties": {
                                                "key": {
                                                  "type": "string"
                                                },
                                                "value": {
                                                  "type": "string"
                                                },
                                                "_id": {
                                                  "type": "string",
                                                  "pattern": "^[0-9a-fA-F]{24}$"
                                                }
                                              }
                                            }
                                          },
                                          "sortByScore": {
                                            "type": "string",
                                            "enum": [
                                              "descending",
                                              "ascending",
                                              "random"
                                            ],
                                            "default": "random"
                                          },
                                          "_id": {
                                            "type": "string",
                                            "pattern": "^[0-9a-fA-F]{24}$"
                                          }
                                        }
                                      },
                                      "_id": {
                                        "type": "string",
                                        "pattern": "^[0-9a-fA-F]{24}$"
                                      }
                                    }
                                  }
                                },
                                "_id": {
                                  "type": "string",
                                  "pattern": "^[0-9a-fA-F]{24}$"
                                }
                              }
                            }
                          },
                          "_id": {
                            "type": "string",
                            "pattern": "^[0-9a-fA-F]{24}$"
                          }
                        }
                      }
                    },
                    "_id": {
                      "type": "string",
                      "pattern": "^[0-9a-fA-F]{24}$"
                    }
                  }
                }
              }
            }
          },
          "states": {
            "type": "array",
            "items": {
              "title": "itemOf_states",
              "type": "object",
              "properties": {
                "state": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "embedStateData": {
                  "type": "boolean",
                  "default": false
                },
                "machinePart": {
                  "title": "machinePart",
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "transitions": {
                      "type": "array",
                      "items": {
                        "title": "itemOf_transitions",
                        "type": "object",
                        "properties": {
                          "rulesAnd": {
                            "type": "array",
                            "items": {
                              "title": "itemOf_rulesAnd",
                              "type": "object",
                              "properties": {
                                "itemsOr": {
                                  "type": "array",
                                  "items": {
                                    "title": "itemOf_itemsOr",
                                    "type": "object",
                                    "properties": {
                                      "source": {
                                        "type": "string",
                                        "enum": [
                                          "dataStore.currentValue",
                                          "dataStore.history",
                                          "intent.name",
                                          "text.raw",
                                          "text.email",
                                          "text.number",
                                          "ALWAYS_TRUE"
                                        ]
                                      },
                                      "sentiment": {
                                        "type": "string",
                                        "enum": [
                                          "positive",
                                          "negative"
                                        ]
                                      },
                                      "key": {
                                        "type": "string"
                                      },
                                      "operator": {
                                        "type": "string",
                                        "enum": [
                                          "exists",
                                          "existsNot",
                                          "equals",
                                          "equalsNot",
                                          "startsWith",
                                          "startsNotWith",
                                          "contains",
                                          "containsNot",
                                          "dateFrom",
                                          "dateTo"
                                        ]
                                      },
                                      "value": {
                                        "type": "string"
                                      },
                                      "_id": {
                                        "type": "string",
                                        "pattern": "^[0-9a-fA-F]{24}$"
                                      }
                                    }
                                  }
                                },
                                "_id": {
                                  "type": "string",
                                  "pattern": "^[0-9a-fA-F]{24}$"
                                }
                              }
                            }
                          },
                          "trigger": {
                            "type": "string"
                          },
                          "query": {
                            "type": "string"
                          },
                          "intents": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "event": {
                            "type": "string"
                          },
                          "target": {
                            "type": "string"
                          },
                          "shouldRender": {
                            "type": "boolean",
                            "default": true
                          },
                          "_id": {
                            "type": "string",
                            "pattern": "^[0-9a-fA-F]{24}$"
                          }
                        }
                      }
                    }
                  }
                },
                "subStory": {},
                "stateEvent": {
                  "type": "string"
                },
                "suggestedOptions": {
                  "type": "array",
                  "items": {
                    "title": "itemOf_suggestedOptions",
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "data": {},
                      "dataStoreTransactions": {
                        "title": "dataStoreTransactions",
                        "type": "object",
                        "properties": {
                          "add": {
                            "type": "array",
                            "items": {
                              "title": "itemOf_add",
                              "type": "object",
                              "properties": {
                                "key": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                },
                                "path": {
                                  "type": "string"
                                },
                                "ttl": {
                                  "title": "ttl",
                                  "type": "object",
                                  "properties": {
                                    "amount": {
                                      "type": "number"
                                    },
                                    "unit": {
                                      "type": "string",
                                      "enum": [
                                        "milliseconds",
                                        "seconds",
                                        "minutes",
                                        "hours",
                                        "days",
                                        "months",
                                        "years"
                                      ],
                                      "default": "milliseconds"
                                    }
                                  }
                                },
                                "source": {
                                  "type": "string",
                                  "enum": [
                                    "suggestedOption",
                                    "baiCore",
                                    "currentState",
                                    "dataStore"
                                  ],
                                  "default": "baiCore"
                                },
                                "_id": {
                                  "type": "string",
                                  "pattern": "^[0-9a-fA-F]{24}$"
                                }
                              },
                              "required": [
                                "key",
                                "source"
                              ]
                            }
                          },
                          "remove": {
                            "type": "array",
                            "items": {
                              "title": "itemOf_remove",
                              "type": "object",
                              "properties": {
                                "key": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                },
                                "path": {
                                  "type": "string"
                                },
                                "ttl": {
                                  "title": "ttl",
                                  "type": "object",
                                  "properties": {
                                    "amount": {
                                      "type": "number"
                                    },
                                    "unit": {
                                      "type": "string",
                                      "enum": [
                                        "milliseconds",
                                        "seconds",
                                        "minutes",
                                        "hours",
                                        "days",
                                        "months",
                                        "years"
                                      ],
                                      "default": "milliseconds"
                                    }
                                  }
                                },
                                "source": {
                                  "type": "string",
                                  "enum": [
                                    "suggestedOption",
                                    "baiCore",
                                    "currentState",
                                    "dataStore"
                                  ],
                                  "default": "baiCore"
                                },
                                "_id": {
                                  "type": "string",
                                  "pattern": "^[0-9a-fA-F]{24}$"
                                }
                              },
                              "required": [
                                "key",
                                "source"
                              ]
                            }
                          }
                        }
                      },
                      "scoringKeys": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "weight": {
                        "type": "number"
                      },
                      "content": {},
                      "produceEvent": {
                        "title": "produceEvent",
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "createdSchemaRef": {
                            "type": "string"
                          },
                          "scene": {
                            "title": "scene",
                            "type": "object",
                            "properties": {
                              "urlPath": {
                                "type": "string"
                              }
                            }
                          },
                          "payload": {
                            "title": "payload",
                            "type": "object",
                            "properties": {
                              "eventAction": {
                                "type": "string"
                              },
                              "eventCategory": {
                                "type": "string"
                              }
                            }
                          },
                          "loadingState": {
                            "type": "string"
                          },
                          "dataStoreTransactions": {
                            "title": "dataStoreTransactions",
                            "type": "object",
                            "properties": {
                              "add": {
                                "type": "array",
                                "items": {
                                  "title": "itemOf_add",
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "string"
                                    },
                                    "path": {
                                      "type": "string"
                                    },
                                    "ttl": {
                                      "title": "ttl",
                                      "type": "object",
                                      "properties": {
                                        "amount": {
                                          "type": "number"
                                        },
                                        "unit": {
                                          "type": "string",
                                          "enum": [
                                            "milliseconds",
                                            "seconds",
                                            "minutes",
                                            "hours",
                                            "days",
                                            "months",
                                            "years"
                                          ],
                                          "default": "milliseconds"
                                        }
                                      }
                                    },
                                    "source": {
                                      "type": "string",
                                      "enum": [
                                        "suggestedOption",
                                        "baiCore",
                                        "currentState",
                                        "dataStore"
                                      ],
                                      "default": "baiCore"
                                    },
                                    "_id": {
                                      "type": "string",
                                      "pattern": "^[0-9a-fA-F]{24}$"
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "source"
                                  ]
                                }
                              },
                              "remove": {
                                "type": "array",
                                "items": {
                                  "title": "itemOf_remove",
                                  "type": "object",
                                  "properties": {
                                    "key": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "string"
                                    },
                                    "path": {
                                      "type": "string"
                                    },
                                    "ttl": {
                                      "title": "ttl",
                                      "type": "object",
                                      "properties": {
                                        "amount": {
                                          "type": "number"
                                        },
                                        "unit": {
                                          "type": "string",
                                          "enum": [
                                            "milliseconds",
                                            "seconds",
                                            "minutes",
                                            "hours",
                                            "days",
                                            "months",
                                            "years"
                                          ],
                                          "default": "milliseconds"
                                        }
                                      }
                                    },
                                    "source": {
                                      "type": "string",
                                      "enum": [
                                        "suggestedOption",
                                        "baiCore",
                                        "currentState",
                                        "dataStore"
                                      ],
                                      "default": "baiCore"
                                    },
                                    "_id": {
                                      "type": "string",
                                      "pattern": "^[0-9a-fA-F]{24}$"
                                    }
                                  },
                                  "required": [
                                    "key",
                                    "source"
                                  ]
                                }
                              }
                            }
                          }
                        }
                      },
                      "nodeItemSourceId": {
                        "type": "string",
                        "x-ref": "NodeItem",
                        "description": "Refers to NodeItem",
                        "pattern": "^[0-9a-fA-F]{24}$"
                      },
                      "activatedNodeItemRef": {
                        "type": "string",
                        "x-ref": "NodeItem",
                        "pattern": "^[0-9a-zA-Z-_/|]+$",
                        "description": "Refers to NodeItem"
                      },
                      "microIntends": {
                        "type": "array",
                        "items": {
                          "title": "itemOf_microIntends",
                          "type": "object",
                          "properties": {
                            "microIntend": {
                              "type": "string",
                              "x-ref": "MicroIntend",
                              "description": "Refers to MicroIntend",
                              "pattern": "^[0-9a-fA-F]{24}$"
                            },
                            "state": {
                              "type": "number",
                              "enum": [
                                -1,
                                0,
                                1
                              ]
                            },
                            "_id": {
                              "type": "string",
                              "pattern": "^[0-9a-fA-F]{24}$"
                            }
                          }
                        }
                      },
                      "triggedByMicroIntends": {
                        "type": "array",
                        "items": {
                          "title": "itemOf_triggedByMicroIntends",
                          "type": "object",
                          "properties": {
                            "microIntend": {
                              "type": "string",
                              "x-ref": "MicroIntend",
                              "description": "Refers to MicroIntend",
                              "pattern": "^[0-9a-fA-F]{24}$"
                            },
                            "state": {
                              "type": "number",
                              "enum": [
                                -1,
                                0,
                                1
                              ]
                            },
                            "_id": {
                              "type": "string",
                              "pattern": "^[0-9a-fA-F]{24}$"
                            }
                          }
                        }
                      },
                      "removeFromAgilePoolRules": {
                        "type": "array",
                        "items": {
                          "title": "itemOf_removeFromAgilePoolRules",
                          "type": "object",
                          "properties": {
                            "itemsOr": {
                              "type": "array",
                              "items": {
                                "title": "itemOf_itemsOr",
                                "type": "object",
                                "properties": {
                                  "source": {
                                    "type": "string",
                                    "enum": [
                                      "dataStore.currentValue",
                                      "dataStore.history",
                                      "intent.name",
                                      "text.raw",
                                      "text.email",
                                      "text.number",
                                      "ALWAYS_TRUE"
                                    ]
                                  },
                                  "sentiment": {
                                    "type": "string",
                                    "enum": [
                                      "positive",
                                      "negative"
                                    ]
                                  },
                                  "key": {
                                    "type": "string"
                                  },
                                  "operator": {
                                    "type": "string",
                                    "enum": [
                                      "exists",
                                      "existsNot",
                                      "equals",
                                      "equalsNot",
                                      "startsWith",
                                      "startsNotWith",
                                      "contains",
                                      "containsNot",
                                      "dateFrom",
                                      "dateTo"
                                    ]
                                  },
                                  "value": {
                                    "type": "string"
                                  },
                                  "_id": {
                                    "type": "string",
                                    "pattern": "^[0-9a-fA-F]{24}$"
                                  }
                                }
                              }
                            },
                            "_id": {
                              "type": "string",
                              "pattern": "^[0-9a-fA-F]{24}$"
                            }
                          }
                        }
                      },
                      "_id": {
                        "type": "string",
                        "pattern": "^[0-9a-fA-F]{24}$"
                      }
                    }
                  }
                },
                "events": {
                  "type": "array",
                  "items": {
                    "title": "itemOf_events",
                    "type": "object",
                    "properties": {
                      "refId": {
                        "type": "string",
                        "x-ref": "NodeItem",
                        "pattern": "^[0-9a-zA-Z-_/|]+$",
                        "description": "Refers to NodeItem"
                      },
                      "timeoutSeconds": {
                        "type": "number",
                        "default": 0
                      },
                      "iterations": {
                        "type": "number",
                        "default": 0
                      },
                      "scope": {
                        "type": "string",
                        "enum": [
                          "this state",
                          "thisNodeItem",
                          "always"
                        ],
                        "default": "thisNodeItem"
                      },
                      "_id": {
                        "type": "string",
                        "pattern": "^[0-9a-fA-F]{24}$"
                      }
                    },
                    "required": [
                      "scope"
                    ]
                  }
                },
                "content": {
                  "title": "content",
                  "type": "object",
                  "properties": {
                    "schemaRef": {
                      "type": "string"
                    },
                    "style": {
                      "title": "style",
                      "type": "object",
                      "properties": {
                        "marginTop": {
                          "type": "string"
                        },
                        "marginLeft": {
                          "type": "string"
                        },
                        "marginRight": {
                          "type": "string"
                        },
                        "marginBottom": {
                          "type": "string"
                        },
                        "paddingTop": {
                          "type": "string"
                        },
                        "paddingLeft": {
                          "type": "string"
                        },
                        "paddingRight": {
                          "type": "string"
                        },
                        "paddingBottom": {
                          "type": "string"
                        },
                        "_id": {
                          "type": "string",
                          "pattern": "^[0-9a-fA-F]{24}$"
                        }
                      }
                    },
                    "data": {}
                  }
                },
                "_id": {
                  "type": "string",
                  "pattern": "^[0-9a-fA-F]{24}$"
                }
              },
              "required": [
                "name"
              ]
            }
          },
          "function": {
            "title": "function",
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "enum": [
                  "none",
                  "agileSemanticSearch",
                  "BrickFactoryFromState",
                  "brickFactoryFromAllStates",
                  "trustedDeveloperJSCodeRunner",
                  "conversationCommunicator"
                ],
                "default": "none"
              },
              "trustedDeveloperJSCodeRef": {
                "type": "string",
                "pattern": "^[0-9a-zA-Z-_/|]+$"
              }
            }
          },
          "guiOptions": {
            "title": "guiOptions",
            "type": "object",
            "properties": {
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "editable": {
                "type": "boolean",
                "default": true
              },
              "visible": {
                "type": "boolean",
                "default": true
              }
            }
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "nickname"
        ]
      },
      "NodeItemGuiPosition": {
        "properties": {
          "x": {
            "type": "number",
            "default": 250
          },
          "y": {
            "type": "number",
            "default": 250
          },
          "colapsed": {
            "type": "boolean",
            "default": true
          }
        }
      },
      "Account": {
        "title": "Account",
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "contingent": {
            "title": "contingent",
            "type": "object",
            "properties": {
              "projects": {
                "type": "number",
                "default": -1
              },
              "versions": {
                "type": "number",
                "default": -1
              },
              "nodeItems": {
                "type": "number",
                "default": -1
              },
              "channels": {
                "type": "number",
                "default": -1
              },
              "jsonSchemas": {
                "type": "number",
                "default": -1
              },
              "microIntents": {
                "type": "number",
                "default": -1
              },
              "datastreamTransformerJsCode": {
                "type": "number",
                "default": -1
              }
            }
          },
          "subscription": {
            "title": "subscription",
            "type": "object",
            "properties": {
              "events": {
                "title": "events",
                "type": "object",
                "properties": {
                  "amount": {
                    "type": "number"
                  },
                  "pricing": {
                    "type": "array",
                    "items": {
                      "title": "itemOf_pricing",
                      "type": "object",
                      "properties": {
                        "from": {
                          "type": "number"
                        },
                        "eur": {
                          "type": "number"
                        },
                        "_id": {
                          "type": "string",
                          "pattern": "^[0-9a-fA-F]{24}$"
                        }
                      }
                    }
                  }
                }
              },
              "bricks": {
                "title": "bricks",
                "type": "object",
                "properties": {
                  "amount": {
                    "type": "number"
                  },
                  "pricing": {
                    "type": "array",
                    "items": {
                      "title": "itemOf_pricing",
                      "type": "object",
                      "properties": {
                        "from": {
                          "type": "number"
                        },
                        "eur": {
                          "type": "number"
                        },
                        "_id": {
                          "type": "string",
                          "pattern": "^[0-9a-fA-F]{24}$"
                        }
                      }
                    }
                  }
                }
              },
              "embedTextOpenAI": {
                "title": "embedTextOpenAI",
                "type": "object",
                "properties": {
                  "amount": {
                    "type": "number"
                  },
                  "pricing": {
                    "type": "array",
                    "items": {
                      "title": "itemOf_pricing",
                      "type": "object",
                      "properties": {
                        "from": {
                          "type": "number"
                        },
                        "eur": {
                          "type": "number"
                        },
                        "_id": {
                          "type": "string",
                          "pattern": "^[0-9a-fA-F]{24}$"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "name"
        ]
      },
      "Project": {
        "title": "Project",
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          }
        },
        "required": [
          "name"
        ]
      },
      "Version": {
        "title": "Version",
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "agileSceneRoutingRules": {
            "title": "agileSceneRoutingRules",
            "type": "object",
            "properties": {
              "notFoundActivatedNodeItem": {
                "type": "string",
                "x-ref": "NodeItem",
                "pattern": "^[0-9a-zA-Z-_/|]+$",
                "description": "Refers to NodeItem"
              },
              "rules": {
                "type": "array",
                "items": {
                  "title": "itemOf_rules",
                  "type": "object",
                  "properties": {
                    "patterns": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "activatedNodeItem": {
                      "type": "string",
                      "x-ref": "NodeItem",
                      "pattern": "^[0-9a-zA-Z-_/|]+$",
                      "description": "Refers to NodeItem"
                    },
                    "_id": {
                      "type": "string",
                      "pattern": "^[0-9a-fA-F]{24}$"
                    }
                  }
                }
              }
            }
          },
          "touchPoints": {
            "type": "array",
            "items": {
              "title": "itemOf_touchPoints",
              "type": "object",
              "properties": {
                "tpKey": {
                  "type": "string",
                  "default": "de"
                },
                "isDefault": {
                  "type": "boolean"
                },
                "fallback": {
                  "type": "string"
                },
                "_id": {
                  "type": "string",
                  "pattern": "^[0-9a-fA-F]{24}$"
                }
              }
            },
            "default": [
              {
                "tpKey": "de",
                "isDefault": true
              }
            ]
          },
          "project": {
            "type": "string",
            "x-ref": "Project",
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "previewUrl": {
            "type": "string"
          },
          "contextReducerConfiguration": {
            "title": "contextReducerConfiguration",
            "type": "object",
            "properties": {
              "allowed": {
                "type": "array",
                "items": {
                  "title": "itemOf_allowed",
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "valueType": {
                      "type": "string",
                      "enum": [
                        "String",
                        "Number",
                        "Date",
                        "Any"
                      ]
                    },
                    "defaultStringValue": {
                      "type": "string"
                    },
                    "limit": {
                      "type": "number",
                      "default": 0
                    },
                    "ttl": {
                      "title": "ttl",
                      "type": "object",
                      "properties": {
                        "amount": {
                          "type": "number"
                        },
                        "unit": {
                          "type": "string",
                          "enum": [
                            "milliseconds",
                            "seconds",
                            "minutes",
                            "hours",
                            "days"
                          ]
                        }
                      }
                    },
                    "historyScoring": {
                      "title": "historyScoring",
                      "type": "object",
                      "properties": {
                        "steps": {
                          "type": "array",
                          "items": {
                            "title": "itemOf_steps",
                            "type": "object",
                            "properties": {
                              "milliseconds": {
                                "type": "number"
                              },
                              "multiplyer": {
                                "type": "number"
                              },
                              "_id": {
                                "type": "string",
                                "pattern": "^[0-9a-fA-F]{24}$"
                              }
                            }
                          }
                        },
                        "combineMethod": {
                          "type": "string",
                          "enum": [
                            "strengthen",
                            "weaken"
                          ]
                        }
                      }
                    },
                    "_id": {
                      "type": "string",
                      "pattern": "^[0-9a-fA-F]{24}$"
                    }
                  },
                  "required": [
                    "key"
                  ]
                }
              }
            }
          },
          "agileContentPoolConfiguration": {
            "title": "agileContentPoolConfiguration",
            "type": "object",
            "properties": {
              "groups": {
                "type": "array",
                "items": {
                  "title": "itemOf_groups",
                  "type": "object",
                  "properties": {
                    "groupName": {
                      "type": "string"
                    },
                    "scoreByIndex": {
                      "title": "scoreByIndex",
                      "type": "object",
                      "properties": {
                        "intitial": {
                          "type": "number",
                          "default": 1
                        },
                        "increaseByIndex": {
                          "type": "number",
                          "default": 0.1
                        }
                      }
                    },
                    "groupItems": {
                      "type": "array",
                      "items": {
                        "title": "itemOf_groupItems",
                        "type": "object",
                        "properties": {
                          "poolId": {
                            "type": "string",
                            "enum": [
                              "nodeItemRef",
                              "CustomId"
                            ]
                          },
                          "nodeItemRef": {
                            "type": "string",
                            "x-ref": "NodeItem",
                            "description": "Refers to NodeItem"
                          },
                          "poolItemId": {
                            "type": "string"
                          },
                          "_id": {
                            "type": "string",
                            "pattern": "^[0-9a-fA-F]{24}$"
                          }
                        }
                      }
                    },
                    "_id": {
                      "type": "string",
                      "pattern": "^[0-9a-fA-F]{24}$"
                    }
                  }
                }
              }
            }
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "name"
        ]
      },
      "Channel": {
        "title": "Channel",
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "project": {
            "type": "string",
            "x-ref": "Project",
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "versionPointer": {
            "type": "string",
            "x-ref": "Version",
            "description": "Refers to Version",
            "pattern": "^[0-9a-fA-F]{24}$"
          },
          "editStatus": {
            "type": "string",
            "enum": [
              "draft",
              "published"
            ],
            "default": "draft"
          },
          "securitySettings": {
            "title": "securitySettings",
            "type": "object",
            "properties": {
              "publicAccessApiKey": {
                "type": "string",
                "description": "empty  -> public access without apikey. Usage of apiKey will create user and JwT with api access only for the user"
              },
              "adminApiKey": {
                "type": "string",
                "description": "Usage of apiKey will create not create a user and JwT with api access for all users"
              }
            }
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "name",
          "versionPointer"
        ]
      },
      "Topic": {
        "title": "Topic",
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "owner": {
            "type": "string",
            "x-ref": "User",
            "description": "Refers to User",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "channel": {
            "type": "string",
            "x-ref": "Channel",
            "description": "Refers to Channel",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "b2bPartnerId": {
            "type": "string",
            "x-ref": "B2bPartner",
            "description": "Refers to B2bPartner"
          },
          "aiContext": {
            "type": "string",
            "x-ref": "AIContext",
            "description": "Refers to AIContext",
            "pattern": "^[0-9a-fA-F]{24}$"
          },
          "contextBricks": {
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[0-9a-fA-F]{24}$"
            }
          },
          "tType": {
            "type": "string",
            "default": "sutoga"
          },
          "isSilentAi": {
            "type": "boolean",
            "default": false
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": []
      },
      "Event": {
        "title": "Event",
        "type": "object",
        "properties": {
          "eventsource": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "owner": {
            "type": "string",
            "x-ref": "User",
            "description": "Refers to User",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "topic": {
            "type": "string",
            "x-ref": "Topic",
            "description": "Refers to Topic",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "channel": {
            "type": "string",
            "x-ref": "Channel",
            "description": "Refers to Channel",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "project": {
            "type": "string",
            "x-ref": "Project",
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "version": {
            "type": "string",
            "x-ref": "Version",
            "description": "Refers to Version",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "name": {
            "type": "string"
          },
          "payload": {
            "title": "payload",
            "type": "object",
            "properties": {
              "eventCategory": {
                "type": "string"
              },
              "eventAction": {
                "type": "string"
              },
              "source": {
                "type": "string"
              },
              "item": {
                "type": "string"
              },
              "actionComponent": {
                "type": "string"
              }
            },
            "required": [
              "eventCategory",
              "eventAction"
            ]
          },
          "scene": {
            "title": "scene",
            "type": "object",
            "properties": {
              "urlPath": {
                "type": "string"
              }
            }
          },
          "content": {
            "title": "content",
            "type": "object",
            "properties": {
              "schemaRef": {
                "type": "string"
              },
              "data": {}
            }
          },
          "scope": {
            "type": "string",
            "enum": [
              "event",
              "session",
              "user"
            ]
          },
          "tpKey": {
            "type": "string"
          },
          "options": {},
          "text": {
            "type": "string"
          },
          "suggestedOptions": {
            "type": "array",
            "items": {
              "title": "itemOf_suggestedOptions",
              "type": "object",
              "properties": {
                "_id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "event": {
                  "type": "string"
                },
                "dataStoreTransactions": {
                  "title": "dataStoreTransactions",
                  "type": "object",
                  "properties": {
                    "add": {
                      "type": "array",
                      "items": {
                        "title": "itemOf_add",
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          },
                          "path": {
                            "type": "string"
                          },
                          "ttl": {
                            "title": "ttl",
                            "type": "object",
                            "properties": {
                              "amount": {
                                "type": "number"
                              },
                              "unit": {
                                "type": "string",
                                "enum": [
                                  "milliseconds",
                                  "seconds",
                                  "minutes",
                                  "hours",
                                  "days",
                                  "months",
                                  "years"
                                ],
                                "default": "milliseconds"
                              }
                            }
                          },
                          "source": {
                            "type": "string",
                            "enum": [
                              "suggestedOption",
                              "baiCore",
                              "currentState",
                              "dataStore"
                            ],
                            "default": "baiCore"
                          },
                          "_id": {
                            "type": "string",
                            "pattern": "^[0-9a-fA-F]{24}$"
                          }
                        },
                        "required": [
                          "key",
                          "source"
                        ]
                      }
                    },
                    "remove": {
                      "type": "array",
                      "items": {
                        "title": "itemOf_remove",
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          },
                          "path": {
                            "type": "string"
                          },
                          "ttl": {
                            "title": "ttl",
                            "type": "object",
                            "properties": {
                              "amount": {
                                "type": "number"
                              },
                              "unit": {
                                "type": "string",
                                "enum": [
                                  "milliseconds",
                                  "seconds",
                                  "minutes",
                                  "hours",
                                  "days",
                                  "months",
                                  "years"
                                ],
                                "default": "milliseconds"
                              }
                            }
                          },
                          "source": {
                            "type": "string",
                            "enum": [
                              "suggestedOption",
                              "baiCore",
                              "currentState",
                              "dataStore"
                            ],
                            "default": "baiCore"
                          },
                          "_id": {
                            "type": "string",
                            "pattern": "^[0-9a-fA-F]{24}$"
                          }
                        },
                        "required": [
                          "key",
                          "source"
                        ]
                      }
                    }
                  }
                },
                "microIntends": {
                  "type": "array",
                  "items": {}
                },
                "triggedByMicroIntends": {
                  "type": "array",
                  "items": {}
                },
                "content": {
                  "title": "content",
                  "type": "object",
                  "properties": {
                    "schemaRef": {
                      "type": "string"
                    },
                    "data": {}
                  }
                },
                "feedback": {
                  "title": "feedback",
                  "type": "object",
                  "properties": {
                    "poolId": {
                      "type": "string"
                    },
                    "id": {
                      "type": "string"
                    },
                    "dims": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "value": {
                      "type": "number"
                    },
                    "class": {
                      "type": "string",
                      "enum": [
                        1,
                        0,
                        -1
                      ]
                    },
                    "_id": {
                      "type": "string",
                      "pattern": "^[0-9a-fA-F]{24}$"
                    }
                  }
                }
              }
            }
          },
          "eventTracking": {
            "title": "eventTracking",
            "type": "object",
            "properties": {
              "requestId": {
                "type": "string"
              },
              "xrayTraceId": {
                "type": "string"
              },
              "source": {
                "type": "string"
              }
            }
          },
          "nodeItemSourceId": {
            "type": "string",
            "x-ref": "NodeItem",
            "description": "Refers to NodeItem",
            "pattern": "^[0-9a-fA-F]{24}$"
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": []
      },
      "Brick": {
        "title": "Brick",
        "type": "object",
        "properties": {
          "creator": {
            "type": "string",
            "enum": [
              "ai",
              "human"
            ],
            "default": "ai"
          },
          "content": {
            "title": "content",
            "type": "object",
            "properties": {
              "schemaRef": {
                "type": "string"
              },
              "style": {
                "title": "style",
                "type": "object",
                "properties": {
                  "marginTop": {
                    "type": "string"
                  },
                  "marginLeft": {
                    "type": "string"
                  },
                  "marginRight": {
                    "type": "string"
                  },
                  "marginBottom": {
                    "type": "string"
                  },
                  "paddingTop": {
                    "type": "string"
                  },
                  "paddingLeft": {
                    "type": "string"
                  },
                  "paddingRight": {
                    "type": "string"
                  },
                  "paddingBottom": {
                    "type": "string"
                  },
                  "_id": {
                    "type": "string",
                    "pattern": "^[0-9a-fA-F]{24}$"
                  }
                }
              },
              "data": {
                "type": "object"
              }
            }
          },
          "anonimyze": {
            "type": "boolean"
          },
          "eventsource": {
            "type": "string",
            "default": "userTextInput1"
          },
          "eventSourceId": {
            "type": "string",
            "x-ref": "Event",
            "description": "Refers to Event",
            "pattern": "^[0-9a-fA-F]{24}$"
          },
          "nodeItemID": {
            "type": "string",
            "x-ref": "NodeItem",
            "description": "Refers to NodeItem",
            "pattern": "^[0-9a-fA-F]{24}$"
          },
          "trackingUrlParams": {
            "type": "array",
            "items": {}
          },
          "trackingObject": {},
          "owner": {
            "type": "string",
            "x-ref": "User",
            "description": "Refers to User",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "topic": {
            "type": "string",
            "x-ref": "Topic",
            "description": "Refers to Topic",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "channel": {
            "type": "string",
            "x-ref": "Channel",
            "description": "Refers to Channel",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "scene": {
            "title": "scene",
            "type": "object",
            "properties": {
              "placement": {
                "type": "string"
              }
            }
          },
          "appliedDsgvoDataPrivacyRules": {
            "type": "array",
            "items": {}
          },
          "suggestedOptions": {
            "type": "array",
            "items": {
              "title": "itemOf_suggestedOptions",
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "data": {},
                "dataStoreTransactions": {
                  "title": "dataStoreTransactions",
                  "type": "object",
                  "properties": {
                    "add": {
                      "type": "array",
                      "items": {
                        "title": "itemOf_add",
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          },
                          "path": {
                            "type": "string"
                          },
                          "ttl": {
                            "title": "ttl",
                            "type": "object",
                            "properties": {
                              "amount": {
                                "type": "number"
                              },
                              "unit": {
                                "type": "string",
                                "enum": [
                                  "milliseconds",
                                  "seconds",
                                  "minutes",
                                  "hours",
                                  "days",
                                  "months",
                                  "years"
                                ],
                                "default": "milliseconds"
                              }
                            }
                          },
                          "source": {
                            "type": "string",
                            "enum": [
                              "suggestedOption",
                              "baiCore",
                              "currentState",
                              "dataStore"
                            ],
                            "default": "baiCore"
                          },
                          "_id": {
                            "type": "string",
                            "pattern": "^[0-9a-fA-F]{24}$"
                          }
                        },
                        "required": [
                          "key",
                          "source"
                        ]
                      }
                    },
                    "remove": {
                      "type": "array",
                      "items": {
                        "title": "itemOf_remove",
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          },
                          "path": {
                            "type": "string"
                          },
                          "ttl": {
                            "title": "ttl",
                            "type": "object",
                            "properties": {
                              "amount": {
                                "type": "number"
                              },
                              "unit": {
                                "type": "string",
                                "enum": [
                                  "milliseconds",
                                  "seconds",
                                  "minutes",
                                  "hours",
                                  "days",
                                  "months",
                                  "years"
                                ],
                                "default": "milliseconds"
                              }
                            }
                          },
                          "source": {
                            "type": "string",
                            "enum": [
                              "suggestedOption",
                              "baiCore",
                              "currentState",
                              "dataStore"
                            ],
                            "default": "baiCore"
                          },
                          "_id": {
                            "type": "string",
                            "pattern": "^[0-9a-fA-F]{24}$"
                          }
                        },
                        "required": [
                          "key",
                          "source"
                        ]
                      }
                    }
                  }
                },
                "scoringKeys": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "weight": {
                  "type": "number"
                },
                "content": {},
                "produceEvent": {
                  "title": "produceEvent",
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "createdSchemaRef": {
                      "type": "string"
                    },
                    "scene": {
                      "title": "scene",
                      "type": "object",
                      "properties": {
                        "urlPath": {
                          "type": "string"
                        }
                      }
                    },
                    "payload": {
                      "title": "payload",
                      "type": "object",
                      "properties": {
                        "eventAction": {
                          "type": "string"
                        },
                        "eventCategory": {
                          "type": "string"
                        }
                      }
                    },
                    "loadingState": {
                      "type": "string"
                    },
                    "dataStoreTransactions": {
                      "title": "dataStoreTransactions",
                      "type": "object",
                      "properties": {
                        "add": {
                          "type": "array",
                          "items": {
                            "title": "itemOf_add",
                            "type": "object",
                            "properties": {
                              "key": {
                                "type": "string"
                              },
                              "value": {
                                "type": "string"
                              },
                              "path": {
                                "type": "string"
                              },
                              "ttl": {
                                "title": "ttl",
                                "type": "object",
                                "properties": {
                                  "amount": {
                                    "type": "number"
                                  },
                                  "unit": {
                                    "type": "string",
                                    "enum": [
                                      "milliseconds",
                                      "seconds",
                                      "minutes",
                                      "hours",
                                      "days",
                                      "months",
                                      "years"
                                    ],
                                    "default": "milliseconds"
                                  }
                                }
                              },
                              "source": {
                                "type": "string",
                                "enum": [
                                  "suggestedOption",
                                  "baiCore",
                                  "currentState",
                                  "dataStore"
                                ],
                                "default": "baiCore"
                              },
                              "_id": {
                                "type": "string",
                                "pattern": "^[0-9a-fA-F]{24}$"
                              }
                            },
                            "required": [
                              "key",
                              "source"
                            ]
                          }
                        },
                        "remove": {
                          "type": "array",
                          "items": {
                            "title": "itemOf_remove",
                            "type": "object",
                            "properties": {
                              "key": {
                                "type": "string"
                              },
                              "value": {
                                "type": "string"
                              },
                              "path": {
                                "type": "string"
                              },
                              "ttl": {
                                "title": "ttl",
                                "type": "object",
                                "properties": {
                                  "amount": {
                                    "type": "number"
                                  },
                                  "unit": {
                                    "type": "string",
                                    "enum": [
                                      "milliseconds",
                                      "seconds",
                                      "minutes",
                                      "hours",
                                      "days",
                                      "months",
                                      "years"
                                    ],
                                    "default": "milliseconds"
                                  }
                                }
                              },
                              "source": {
                                "type": "string",
                                "enum": [
                                  "suggestedOption",
                                  "baiCore",
                                  "currentState",
                                  "dataStore"
                                ],
                                "default": "baiCore"
                              },
                              "_id": {
                                "type": "string",
                                "pattern": "^[0-9a-fA-F]{24}$"
                              }
                            },
                            "required": [
                              "key",
                              "source"
                            ]
                          }
                        }
                      }
                    }
                  }
                },
                "nodeItemSourceId": {
                  "type": "string",
                  "x-ref": "NodeItem",
                  "description": "Refers to NodeItem",
                  "pattern": "^[0-9a-fA-F]{24}$"
                },
                "activatedNodeItemRef": {
                  "type": "string",
                  "x-ref": "NodeItem",
                  "pattern": "^[0-9a-zA-Z-_/|]+$",
                  "description": "Refers to NodeItem"
                },
                "microIntends": {
                  "type": "array",
                  "items": {
                    "title": "itemOf_microIntends",
                    "type": "object",
                    "properties": {
                      "microIntend": {
                        "type": "string",
                        "x-ref": "MicroIntend",
                        "description": "Refers to MicroIntend",
                        "pattern": "^[0-9a-fA-F]{24}$"
                      },
                      "state": {
                        "type": "number",
                        "enum": [
                          -1,
                          0,
                          1
                        ]
                      },
                      "_id": {
                        "type": "string",
                        "pattern": "^[0-9a-fA-F]{24}$"
                      }
                    }
                  }
                },
                "triggedByMicroIntends": {
                  "type": "array",
                  "items": {
                    "title": "itemOf_triggedByMicroIntends",
                    "type": "object",
                    "properties": {
                      "microIntend": {
                        "type": "string",
                        "x-ref": "MicroIntend",
                        "description": "Refers to MicroIntend",
                        "pattern": "^[0-9a-fA-F]{24}$"
                      },
                      "state": {
                        "type": "number",
                        "enum": [
                          -1,
                          0,
                          1
                        ]
                      },
                      "_id": {
                        "type": "string",
                        "pattern": "^[0-9a-fA-F]{24}$"
                      }
                    }
                  }
                },
                "removeFromAgilePoolRules": {
                  "type": "array",
                  "items": {
                    "title": "itemOf_removeFromAgilePoolRules",
                    "type": "object",
                    "properties": {
                      "itemsOr": {
                        "type": "array",
                        "items": {
                          "title": "itemOf_itemsOr",
                          "type": "object",
                          "properties": {
                            "source": {
                              "type": "string",
                              "enum": [
                                "dataStore.currentValue",
                                "dataStore.history",
                                "intent.name",
                                "text.raw",
                                "text.email",
                                "text.number",
                                "ALWAYS_TRUE"
                              ]
                            },
                            "sentiment": {
                              "type": "string",
                              "enum": [
                                "positive",
                                "negative"
                              ]
                            },
                            "key": {
                              "type": "string"
                            },
                            "operator": {
                              "type": "string",
                              "enum": [
                                "exists",
                                "existsNot",
                                "equals",
                                "equalsNot",
                                "startsWith",
                                "startsNotWith",
                                "contains",
                                "containsNot",
                                "dateFrom",
                                "dateTo"
                              ]
                            },
                            "value": {
                              "type": "string"
                            },
                            "_id": {
                              "type": "string",
                              "pattern": "^[0-9a-fA-F]{24}$"
                            }
                          }
                        }
                      },
                      "_id": {
                        "type": "string",
                        "pattern": "^[0-9a-fA-F]{24}$"
                      }
                    }
                  }
                },
                "_id": {
                  "type": "string",
                  "pattern": "^[0-9a-fA-F]{24}$"
                }
              }
            }
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "creator"
        ]
      },
      "NodeItemFunctionTemplate": {
        "title": "NodeItemFunctionTemplate",
        "type": "object",
        "properties": {
          "b2bPartnerId": {
            "type": "string"
          },
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "project": {
            "type": "string",
            "x-ref": "Project",
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "refId": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "version": {
            "type": "string",
            "x-ref": "Version",
            "description": "Refers to Version",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "output": {
            "type": "string"
          },
          "parms": {
            "type": "string"
          },
          "substory": {
            "title": "substory",
            "type": "object",
            "properties": {
              "flags": {},
              "states": {
                "type": "array",
                "items": {
                  "title": "itemOf_states",
                  "type": "object",
                  "properties": {
                    "state": {
                      "type": "string"
                    },
                    "output": {
                      "type": "string"
                    },
                    "iterations": {
                      "type": "number"
                    },
                    "gui": {
                      "type": "string",
                      "default": "textarea"
                    },
                    "event": {
                      "type": "string",
                      "x-ref": "NodeItem",
                      "description": "Refers to NodeItem",
                      "pattern": "^[0-9a-fA-F]{24}$"
                    },
                    "_id": {
                      "type": "string",
                      "pattern": "^[0-9a-fA-F]{24}$"
                    }
                  }
                }
              },
              "slotKind": {
                "type": "string"
              },
              "slotName": {
                "type": "string"
              },
              "runLogic": {
                "type": "boolean"
              }
            }
          },
          "botFunction": {
            "title": "botFunction",
            "type": "object",
            "properties": {
              "functionName": {
                "type": "string"
              },
              "webhook": {
                "title": "webhook",
                "type": "object",
                "properties": {
                  "api": {
                    "title": "api",
                    "type": "object",
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "XApiKey": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "name"
        ]
      },
      "QueueItem": {
        "title": "QueueItem",
        "type": "object",
        "properties": {
          "status": {
            "type": "string"
          },
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "project": {
            "type": "string",
            "x-ref": "Project",
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "version": {
            "type": "string",
            "x-ref": "Version",
            "description": "Refers to Version",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "log": {
            "type": "array",
            "items": {}
          },
          "jobName": {
            "type": "string"
          },
          "data": {},
          "healthCheck": {
            "type": "string",
            "format": "date-time"
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "status",
          "jobName"
        ]
      },
      "Nlp": {
        "properties": {
          "__v": {
            "type": "number"
          },
          "_id": {
            "pattern": "^[0-9a-fA-F]{24}$",
            "type": "string"
          },
          "account": {
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "type": "string",
            "x-ref": "Account"
          },
          "classification": {
            "properties": {
              "microintends": {
                "items": {},
                "type": "array"
              },
              "micromacro": {}
            },
            "title": "classification",
            "type": "object"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "features": {
            "items": {},
            "type": "array"
          },
          "input": {
            "type": "string"
          },
          "project": {
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "type": "string",
            "x-ref": "Project"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "version": {
            "description": "Refers to Version",
            "pattern": "^[0-9a-fA-F]{24}$",
            "type": "string",
            "x-ref": "Version"
          }
        },
        "required": [
          "account",
          "project",
          "version",
          "input"
        ],
        "title": "Nlp",
        "type": "object"
      },
      "Image": {
        "properties": {
          "url": {
            "type": "string"
          }
        }
      },
      "MlModel": {
        "title": "MlModel",
        "type": "object",
        "properties": {
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "project": {
            "type": "string",
            "x-ref": "Project",
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "version": {
            "type": "string",
            "x-ref": "Version",
            "description": "Refers to Version",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "active": {
            "type": "boolean",
            "default": true
          },
          "dictionary": {
            "title": "dictionary",
            "type": "object",
            "properties": {
              "input": {},
              "output": {},
              "fuzzyEncode": {}
            }
          },
          "customData": {},
          "logicEngine": {
            "type": "string",
            "enum": [
              "agileNeuroDescider",
              "agileFastWeights",
              "agileMatrix",
              "agileIntentNLP",
              "agileSearchIndex"
            ],
            "default": "agileNeuroDescider"
          },
          "refId": {
            "type": "string",
            "pattern": "^[0-9a-zA-Z-_/|]+$",
            "readOnly": true
          },
          "modelStringyfiedJSON": {
            "type": "string"
          },
          "modelDownloadUrls": {
            "type": "array",
            "items": {
              "title": "itemOf_modelDownloadUrls",
              "type": "object",
              "properties": {
                "url": {
                  "type": "string"
                },
                "params": {},
                "_id": {
                  "type": "string",
                  "pattern": "^[0-9a-fA-F]{24}$"
                }
              }
            }
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "logicEngine"
        ]
      },
      "AuthToken": {
        "properties": {
          "access_token": {
            "type": "string"
          },
          "expires_in": {
            "type": "number"
          },
          "id_token": {
            "type": "string"
          },
          "refresh_token": {
            "type": "string"
          },
          "token_type": {
            "type": "string"
          }
        },
        "required": [
          "access_token",
          "expires_in",
          "expires_in",
          "refresh_token",
          "token_type"
        ]
      },
      "Login": {
        "properties": {
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "required": [
          "username"
        ]
      },
      "DataStreamTransformerRunTask": {
        "type": "object",
        "properties": {
          "function": {
            "type": "object",
            "properties": {
              "refId": {
                "type": "string"
              }
            },
            "required": [
              "refId"
            ]
          },
          "dateRange": {
            "type": "object",
            "properties": {
              "start": {
                "type": "string",
                "format": "date"
              },
              "end": {
                "type": "string",
                "format": "date"
              },
              "granularity": {
                "type": "string",
                "enum": [
                  "day"
                ]
              }
            }
          },
          "readMode": {
            "type": "string",
            "enum": [
              "batch"
            ]
          },
          "contextCleanup": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "journeys"
              ]
            }
          },
          "args": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "required": [
          "function"
        ]
      },
      "DataStreamTransformerRunResult": {
        "type": "object",
        "properties": {},
        "additionalProperties": {
          "type": "string"
        }
      },
      "JSCodeRuntimeLog": {
        "title": "JSCodeRuntimeLog",
        "type": "object",
        "properties": {
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "project": {
            "type": "string",
            "x-ref": "Project",
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "version": {
            "type": "string",
            "x-ref": "Version",
            "description": "Refers to Version",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "channel": {
            "type": "string",
            "x-ref": "Channel",
            "description": "Refers to Channel",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "event": {
            "type": "string",
            "x-ref": "Event",
            "description": "Refers to Event",
            "pattern": "^[0-9a-fA-F]{24}$"
          },
          "owner": {
            "type": "string",
            "x-ref": "User",
            "description": "Refers to User",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "statusCode": {
            "type": "string"
          },
          "data": {
            "title": "data",
            "type": "object",
            "properties": {
              "logs": {
                "type": "array",
                "items": {}
              },
              "errors": {
                "type": "array",
                "items": {}
              }
            }
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": []
      },
      "Playground": {
        "title": "Playground",
        "type": "object",
        "properties": {
          "refId": {
            "type": "string",
            "pattern": "^[0-9a-zA-Z-_/|]+$",
            "readOnly": true
          },
          "account": {
            "type": "string",
            "x-ref": "Account",
            "description": "Refers to Account",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "project": {
            "type": "string",
            "x-ref": "Project",
            "description": "Refers to Project",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "version": {
            "type": "string",
            "x-ref": "Version",
            "description": "Refers to Version",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "nickname": {
            "type": "string"
          },
          "eventPlayback": {
            "type": "array",
            "items": {
              "title": "itemOf_eventPlayback",
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "payload": {
                  "title": "payload",
                  "type": "object",
                  "properties": {
                    "eventCategory": {
                      "type": "string"
                    },
                    "eventAction": {
                      "type": "string"
                    },
                    "source": {
                      "type": "string"
                    },
                    "item": {
                      "type": "string"
                    },
                    "actionComponent": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "eventCategory",
                    "eventAction"
                  ]
                },
                "scene": {
                  "title": "scene",
                  "type": "object",
                  "properties": {
                    "urlPath": {
                      "type": "string"
                    }
                  }
                },
                "content": {
                  "title": "content",
                  "type": "object",
                  "properties": {
                    "schemaRef": {
                      "type": "string"
                    },
                    "data": {}
                  }
                },
                "scope": {
                  "type": "string",
                  "enum": [
                    "event",
                    "session",
                    "user"
                  ]
                },
                "tpKey": {
                  "type": "string"
                },
                "options": {},
                "text": {
                  "type": "string"
                },
                "suggestedOptions": {
                  "type": "array",
                  "items": {
                    "title": "itemOf_suggestedOptions",
                    "type": "object",
                    "properties": {
                      "_id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "event": {
                        "type": "string"
                      },
                      "dataStoreTransactions": {
                        "title": "dataStoreTransactions",
                        "type": "object",
                        "properties": {
                          "add": {
                            "type": "array",
                            "items": {
                              "title": "itemOf_add",
                              "type": "object",
                              "properties": {
                                "key": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                },
                                "path": {
                                  "type": "string"
                                },
                                "ttl": {
                                  "title": "ttl",
                                  "type": "object",
                                  "properties": {
                                    "amount": {
                                      "type": "number"
                                    },
                                    "unit": {
                                      "type": "string",
                                      "enum": [
                                        "milliseconds",
                                        "seconds",
                                        "minutes",
                                        "hours",
                                        "days",
                                        "months",
                                        "years"
                                      ],
                                      "default": "milliseconds"
                                    }
                                  }
                                },
                                "source": {
                                  "type": "string",
                                  "enum": [
                                    "suggestedOption",
                                    "baiCore",
                                    "currentState",
                                    "dataStore"
                                  ],
                                  "default": "baiCore"
                                },
                                "_id": {
                                  "type": "string",
                                  "pattern": "^[0-9a-fA-F]{24}$"
                                }
                              },
                              "required": [
                                "key",
                                "source"
                              ]
                            }
                          },
                          "remove": {
                            "type": "array",
                            "items": {
                              "title": "itemOf_remove",
                              "type": "object",
                              "properties": {
                                "key": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                },
                                "path": {
                                  "type": "string"
                                },
                                "ttl": {
                                  "title": "ttl",
                                  "type": "object",
                                  "properties": {
                                    "amount": {
                                      "type": "number"
                                    },
                                    "unit": {
                                      "type": "string",
                                      "enum": [
                                        "milliseconds",
                                        "seconds",
                                        "minutes",
                                        "hours",
                                        "days",
                                        "months",
                                        "years"
                                      ],
                                      "default": "milliseconds"
                                    }
                                  }
                                },
                                "source": {
                                  "type": "string",
                                  "enum": [
                                    "suggestedOption",
                                    "baiCore",
                                    "currentState",
                                    "dataStore"
                                  ],
                                  "default": "baiCore"
                                },
                                "_id": {
                                  "type": "string",
                                  "pattern": "^[0-9a-fA-F]{24}$"
                                }
                              },
                              "required": [
                                "key",
                                "source"
                              ]
                            }
                          }
                        }
                      },
                      "microIntends": {
                        "type": "array",
                        "items": {}
                      },
                      "triggedByMicroIntends": {
                        "type": "array",
                        "items": {}
                      },
                      "content": {
                        "title": "content",
                        "type": "object",
                        "properties": {
                          "schemaRef": {
                            "type": "string"
                          },
                          "data": {}
                        }
                      },
                      "feedback": {
                        "title": "feedback",
                        "type": "object",
                        "properties": {
                          "poolId": {
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          },
                          "dims": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "value": {
                            "type": "number"
                          },
                          "class": {
                            "type": "string",
                            "enum": [
                              1,
                              0,
                              -1
                            ]
                          },
                          "_id": {
                            "type": "string",
                            "pattern": "^[0-9a-fA-F]{24}$"
                          }
                        }
                      }
                    }
                  }
                },
                "_id": {
                  "type": "string",
                  "pattern": "^[0-9a-fA-F]{24}$"
                }
              }
            }
          },
          "_id": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{24}$",
            "readOnly": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "required": [
          "nickname"
        ]
      },
      "ErrorResponse": {
        "title": "ErrorResponse",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "message": {
                "type": "string"
              },
              "validationErrors": {
                "type": "array",
                "description": "Key value pair of errors",
                "items": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}