{
  "openapi": "3.1.1",
  "info": {
    "title": "TESSA REST API",
    "description": "ASP.NET Core Web API for Syntellect TESSA web application",
    "contact": {
      "name": "Syntellect support",
      "url": "https://portal.syntellect.ru",
      "email": "tessa@syntellect.ru"
    },
    "version": "v1"
  },
  "paths": {
    "/abtest/car-table-request": {
      "get": {
        "tags": [
          "AbTest"
        ],
        "summary": "Create test info when using toolbar button \"Get table\" in a card of type \"AbCar\".",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "description": "Card identifier.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": { }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/aduser/getguid": {
      "post": {
        "tags": [
          "AdUsers"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UserLookupRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ai/agent": {
      "post": {
        "tags": [
          "AiAgent"
        ],
        "summary": "Call actions on the AI agent.",
        "requestBody": {
          "description": "<inheritdoc cref=\"T:Tessa.Ai.Agent.Models.AiRequest\" path=\"/summary\" />",
          "content": {
            "text/plain": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AiRequest"
                  }
                ]
              }
            },
            "application/octet-stream": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AiRequest"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AiRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AiRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AiRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AiResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ai/tools": {
      "post": {
        "tags": [
          "AiAgent"
        ],
        "summary": "Get list of all the tools available in AI agent according to the current context.",
        "requestBody": {
          "description": "<inheritdoc cref=\"T:Tessa.Ai.Agent.Models.AiRequest\" path=\"/summary\" />",
          "content": {
            "text/plain": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AiRequest"
                  }
                ]
              }
            },
            "application/octet-stream": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AiRequest"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AiRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AiRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AiRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AiToolInfo"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ai/files/loose": {
      "put": {
        "tags": [
          "AiFiles"
        ],
        "summary": "Put the file with content into AI cache, and start a requested operation with such a file.\nIf a file with the same content is already added, then it is reused from the cache.",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "description": "File name with extension.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "operation",
            "in": "query",
            "description": "<inheritdoc cref=\"T:Tessa.Ai.Files.Models.AiFileRequestOperation\" path=\"/summary\" />\n\n0 = AsIs\n\n1 = Text\n\n2 = Page",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/AiFileRequestOperation"
                }
              ],
              "default": 0,
              "x-enumNames": [
                "AsIs",
                "Text",
                "Page"
              ],
              "x-enumDescriptions": [
                "",
                "",
                ""
              ]
            },
            "x-enumNames": [
              "AsIs",
              "Text",
              "Page"
            ],
            "x-enumDescriptions": [
              "AsIs",
              "Text",
              "Page"
            ]
          }
        ],
        "requestBody": {
          "description": "Request body contains the file contents.",
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AiFileOperationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ai/files/card/{versionId}": {
      "put": {
        "tags": [
          "AiFiles"
        ],
        "summary": "Put the physical file attached to the card into AI cache, and start a requested operation with such a file.\nReturns Microsoft.AspNetCore.Http.StatusCodes.Status404NotFound if the file version is not present in any card.\nReturns Microsoft.AspNetCore.Http.StatusCodes.Status403Forbidden if file is inaccessible.",
        "parameters": [
          {
            "name": "versionId",
            "in": "path",
            "description": "Version identifier of a card's file to put into AI cache.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "operation",
            "in": "query",
            "description": "<inheritdoc cref=\"T:Tessa.Ai.Files.Models.AiFileRequestOperation\" path=\"/summary\" />\n\n0 = AsIs\n\n1 = Text\n\n2 = Page",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/AiFileRequestOperation"
                }
              ],
              "default": 0,
              "x-enumNames": [
                "AsIs",
                "Text",
                "Page"
              ],
              "x-enumDescriptions": [
                "",
                "",
                ""
              ]
            },
            "x-enumNames": [
              "AsIs",
              "Text",
              "Page"
            ],
            "x-enumDescriptions": [
              "AsIs",
              "Text",
              "Page"
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AiFileOperationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ai/files/virtual/{fileId}": {
      "put": {
        "tags": [
          "AiFiles"
        ],
        "summary": "Put the virtual file into AI cache, and start a requested operation with such a file.\nReturns Microsoft.AspNetCore.Http.StatusCodes.Status403Forbidden if file is inaccessible, or if there is a physical file with the same version identifier.",
        "parameters": [
          {
            "name": "fileId",
            "in": "path",
            "description": "Version identifier of a virtual file to put into AI cache.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Virtual file type name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name",
            "in": "query",
            "description": "Virtual file name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "size",
            "in": "query",
            "description": "Virtual file size in bytes or `null`/negative value if virtual file has undetermined size.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "operation",
            "in": "query",
            "description": "<inheritdoc cref=\"T:Tessa.Ai.Files.Models.AiFileRequestOperation\" path=\"/summary\" />\n\n0 = AsIs\n\n1 = Text\n\n2 = Page",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/AiFileRequestOperation"
                }
              ],
              "default": 0,
              "x-enumNames": [
                "AsIs",
                "Text",
                "Page"
              ],
              "x-enumDescriptions": [
                "",
                "",
                ""
              ]
            },
            "x-enumNames": [
              "AsIs",
              "Text",
              "Page"
            ],
            "x-enumDescriptions": [
              "AsIs",
              "Text",
              "Page"
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AiFileOperationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ai/files/file-content": {
      "get": {
        "tags": [
          "AiFiles"
        ],
        "summary": "Get the file content (base or derived - extracted text or pages) with specified identifier from AI cache.",
        "parameters": [
          {
            "name": "fileID",
            "in": "query",
            "description": "File identifier.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "token",
            "in": "query",
            "description": "File access token.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "operation",
            "in": "query",
            "description": "<inheritdoc cref=\"T:Tessa.Ai.Files.Models.AiFileRequestOperation\" path=\"/summary\" />\n\n0 = AsIs\n\n1 = Text\n\n2 = Page",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/AiFileRequestOperation"
                }
              ],
              "default": 0,
              "x-enumNames": [
                "AsIs",
                "Text",
                "Page"
              ],
              "x-enumDescriptions": [
                "",
                "",
                ""
              ]
            },
            "x-enumNames": [
              "AsIs",
              "Text",
              "Page"
            ],
            "x-enumDescriptions": [
              "AsIs",
              "Text",
              "Page"
            ]
          },
          {
            "name": "page",
            "in": "query",
            "description": "Page number. Only required when operation is `AiFileRequestOperation.Page`",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/ai/files/{id}/status": {
      "get": {
        "tags": [
          "AiFiles"
        ],
        "summary": "Get status info on the file with specified identifier and operation kind.\n\nReturns Microsoft.AspNetCore.Http.StatusCodes.Status404NotFound if the file is not present, or an operation has not started yet.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Base file identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "operation",
            "in": "query",
            "description": "Operation kind to resolve the status info. If `null` then only checks if file itself is cached.\n\n0 = AsIs\n\n1 = Text\n\n2 = Page",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/AiFileRequestOperation"
                }
              ],
              "default": 0,
              "x-enumNames": [
                "AsIs",
                "Text",
                "Page"
              ],
              "x-enumDescriptions": [
                "",
                "",
                ""
              ]
            },
            "x-enumNames": [
              "AsIs",
              "Text",
              "Page"
            ],
            "x-enumDescriptions": [
              "AsIs",
              "Text",
              "Page"
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AiFileOperationStatus"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ai/files/purge": {
      "post": {
        "tags": [
          "AiFiles"
        ],
        "summary": "Purge all files from the cache as administrator.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/ai/test/run": {
      "post": {
        "tags": [
          "AiPromptTestEngine"
        ],
        "summary": "Saves the files to the database and starts the testing operation.",
        "parameters": [
          {
            "name": "requestID",
            "in": "query",
            "description": "Request ID. Generated by the client.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "testFiles": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "Test files."
                  }
                }
              },
              "encoding": {
                "testFiles": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ai/test/result-summary": {
      "get": {
        "tags": [
          "AiPromptTestEngine"
        ],
        "summary": "Get a short summary of the test results.",
        "parameters": [
          {
            "name": "requestID",
            "in": "query",
            "description": "Request ID.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ai/test/result-file": {
      "get": {
        "tags": [
          "AiPromptTestEngine"
        ],
        "summary": "Get a full summary file of the test results.",
        "parameters": [
          {
            "name": "requestID",
            "in": "query",
            "description": "Request ID.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "format",
            "in": "query",
            "description": "File format.\n\n0 = Yaml\n\n1 = Html",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/AiPromptTestReportFormat"
                }
              ],
              "default": 0,
              "x-enumNames": [
                "Yaml",
                "Html"
              ],
              "x-enumDescriptions": [
                "",
                ""
              ]
            },
            "x-enumNames": [
              "Yaml",
              "Html"
            ],
            "x-enumDescriptions": [
              "Yaml",
              "Html"
            ]
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ai/views/models": {
      "get": {
        "tags": [
          "AiView"
        ],
        "summary": "Get available models.",
        "parameters": [
          {
            "name": "modelID",
            "in": "query",
            "description": "The ID of the model to search for a specific model.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "modelName",
            "in": "query",
            "description": "The name of the model to filter by name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "force",
            "in": "query",
            "description": "The forced data update flag.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AiModel"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/api-tokens/new": {
      "post": {
        "tags": [
          "ApiAccessTokens"
        ],
        "summary": "Creates and returns a new API access token.",
        "requestBody": {
          "description": "<inheritdoc cref=\"T:Tessa.Tokens.Api.ApiAccessTokenNewRequest\" path=\"/summary\" />",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ApiAccessTokenNewRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiAccessTokenNewResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/api-tokens/get": {
      "post": {
        "tags": [
          "ApiAccessTokens"
        ],
        "summary": "Retrieves an existing API access token.",
        "requestBody": {
          "description": "<inheritdoc cref=\"T:Tessa.Tokens.Api.ApiAccessTokenGetRequest\" path=\"/summary\" />",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ApiAccessTokenGetRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiAccessTokenGetResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/api-tokens/view": {
      "post": {
        "tags": [
          "ApiAccessTokens"
        ],
        "summary": "Retrieves a collection of existing API access tokens.",
        "requestBody": {
          "description": "<inheritdoc cref=\"T:Tessa.Tokens.Api.ApiAccessTokenViewRequest\" path=\"/summary\" />",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ApiAccessTokenViewRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiAccessTokenViewResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/api-tokens/revoke": {
      "delete": {
        "tags": [
          "ApiAccessTokens"
        ],
        "summary": "Revokes the API access token.",
        "requestBody": {
          "description": "<inheritdoc cref=\"T:Tessa.Tokens.Api.ApiAccessTokenDeleteRequest\" path=\"/summary\" />",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ApiAccessTokenDeleteRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiAccessTokenDeleteResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/applications": {
      "get": {
        "tags": [
          "Applications"
        ],
        "summary": "Get list of all apps available for the user as typed JSON.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ApplicationPackage"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/applications/get-id": {
      "get": {
        "tags": [
          "Applications"
        ],
        "summary": "Get app id by its alias, or 204 (No Content) if can't get the data.",
        "parameters": [
          {
            "name": "alias",
            "in": "query",
            "description": "Алиас приложения.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "64bit",
            "in": "query",
            "description": "App is using 64-bit architecture.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/applications/get-attributes": {
      "get": {
        "tags": [
          "Applications"
        ],
        "summary": "Get app attributes: modification date of its card `Modified`, and flag if architecture is 64-bit `Client64Bit`.\nReturns 204 (No Content) if data is unavailable.",
        "parameters": [
          {
            "name": "alias",
            "in": "query",
            "description": "App alias.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "64bit",
            "in": "query",
            "description": "Flag if app`s architecture is 64-bit. Specify `null` to return all available apps disregarding their architecture,\nso app manager can choose suitable app by OS architecture and user settings.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApplicationAttributesResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/applications/faulted-results/{id}": {
      "get": {
        "tags": [
          "Applications"
        ],
        "summary": "Get errors occurred when downloading app as Tessa.Platform.Validation.PlainValidationResult object.\nReturns 204 (No Content) if data is unavailable: there were no errors or history record is inaccessible by user.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "History record`s id. Use property Tessa.Applications.Package.ApplicationPackage.ActionHistoryRowID\nof downloaded package to get it.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/applications/download": {
      "post": {
        "tags": [
          "Applications"
        ],
        "summary": "Download stream with binary app data.",
        "requestBody": {
          "description": "Request to download app.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ApplicationDownloadRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/approval-process/template/create": {
      "get": {
        "tags": [
          "ApprovalProcess"
        ],
        "summary": "Create new approval process template.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApprovalProcessGetTemplateResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/approval-process/instance/create": {
      "post": {
        "tags": [
          "ApprovalProcess"
        ],
        "summary": "Create new approval process instance.",
        "requestBody": {
          "description": "Request to create the approval process instance.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ApprovalProcessInstanceCreateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApprovalProcessGetInstanceResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/approval-process/template/{id}": {
      "get": {
        "tags": [
          "ApprovalProcess"
        ],
        "summary": "Get approval process template by identifier.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Approval process template identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApprovalProcessGetTemplateResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/approval-process/instance/{id}": {
      "get": {
        "tags": [
          "ApprovalProcess"
        ],
        "summary": "Get approval process instance by identifier.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Approval process instance identifier.`",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApprovalProcessGetInstanceResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/approval-process/template/store": {
      "post": {
        "tags": [
          "ApprovalProcess"
        ],
        "summary": "Save approval process template.",
        "requestBody": {
          "description": "Store request.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ApprovalProcessTemplateStoreRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationStorageResultBuilder"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationStorageResultBuilder"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationStorageResultBuilder"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/approval-process/instance/store": {
      "post": {
        "tags": [
          "ApprovalProcess"
        ],
        "summary": "Save approval process instance.",
        "requestBody": {
          "description": "Store request.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ApprovalProcessInstanceStoreRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationStorageResultBuilder"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationStorageResultBuilder"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationStorageResultBuilder"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/approval-process/instance/start/{id}": {
      "post": {
        "tags": [
          "ApprovalProcess"
        ],
        "summary": "Start approval process instance by identifier.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Approval process instance identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationStorageResultBuilder"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/approval-process/instance/revoke/{id}": {
      "post": {
        "tags": [
          "ApprovalProcess"
        ],
        "summary": "Revoke approval process instance by identifier.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Approval process instance identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationStorageResultBuilder"
                }
              }
            }
          }
        }
      }
    },
    "/api/asu_nsi/v1/service.asmx": {
      "get": {
        "tags": [
          "AsuNsi"
        ],
        "summary": "Возвращает WSDL-документ для сервиса пользователей.\nТолько запросы вида `/users.asmx?wsdl` будут обработаны.",
        "parameters": [
          {
            "name": "wsdl",
            "in": "query",
            "description": "Параметр запроса для активации WSDL-режима. Должен быть указан без значения (просто ?wsdl).",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/asu_nsi/v1/counterparties": {
      "post": {
        "tags": [
          "AsuNsi"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/asu_nsi/v1/investmentprojects": {
      "post": {
        "tags": [
          "AsuNsi"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/asup/v1/service.asmx": {
      "get": {
        "tags": [
          "Asup"
        ],
        "summary": "Возвращает WSDL-документ для сервиса пользователей.\nТолько запросы вида `/users.asmx?wsdl` будут обработаны.",
        "parameters": [
          {
            "name": "wsdl",
            "in": "query",
            "description": "Параметр запроса для активации WSDL-режима. Должен быть указан без значения (просто ?wsdl).",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/asup/v1/users": {
      "post": {
        "tags": [
          "Asup"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/asup/v1/departments": {
      "post": {
        "tags": [
          "Asup"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/asup/v1/employeePoints": {
      "post": {
        "tags": [
          "Asup"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/avatars/store": {
      "post": {
        "tags": [
          "Avatars"
        ],
        "summary": "Stores avatar content.",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "content": {
                    "type": "string",
                    "description": "Main content of the new avatar.",
                    "format": "binary"
                  },
                  "additionalContent": {
                    "type": "string",
                    "description": "Additional content of the new avatar.\nUsed only if kind is Tessa.Content.Avatars.AvatarContentKind.Photo.",
                    "format": "binary"
                  },
                  "id": {
                    "type": "string",
                    "description": "The identifier of the entity for that avatar content should be stored."
                  },
                  "kind": {
                    "type": "string",
                    "description": "Kind of avatar content."
                  }
                }
              },
              "encoding": {
                "content": {
                  "style": "form"
                },
                "additionalContent": {
                  "style": "form"
                },
                "id": {
                  "style": "form"
                },
                "kind": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/cards/new": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "Create new card object with default field values. Card is not yet present in database.",
        "requestBody": {
          "description": "Request to create the card.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardNewRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardNewResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cards/get": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "Get card with specified attributes. Card should be present in database, or it should be virtual.",
        "requestBody": {
          "description": "Request to get the card.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardGetRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardGetResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cards/get-file-versions": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "Get versions of a file with specified attributes.",
        "requestBody": {
          "description": "Request to get the versions.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardGetFileVersionsRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardGetFileVersionsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cards/get-file-template": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "\nGet contents Microsoft.AspNetCore.Mvc.FileStreamResult for a file created from template with specified attributes.\n            Suggested file name is returned in response header `Content-Disposition`.\n\nResponse from cards API Tessa.Cards.CardGetFileContentResponse isn't returned.\n            But if there are errors occurred, they are returned as Tessa.Platform.Validation.PlainValidationResult object as typed JSON\n            with status System.Net.HttpStatusCode.BadRequest.",
        "parameters": [
          {
            "name": "showErrorPage",
            "in": "query",
            "description": "Flag if error html page should be returned in spite of Tessa.Platform.Validation.PlainValidationResult object.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "description": "Request to get file contents.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardGetFileTemplateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/cards/get-file-template-multipart": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "\nGet contents for a file created from template with specified attributes as `multipart/form-data`,\n            where first part with name `\"Response\"` is Tessa.Cards.CardGetFileContentResponse serialized as typed JSON `application/json`,\n            and second part with name `\"Content\"` (if its present) is binary file contents `application/octet-stream`\n            with recommended file name in `Content-Disposition` header.\n\nIf response has Tessa.Cards.CardGetFileContentResponse.HasContent as false, then second part is absent.",
        "requestBody": {
          "description": "Request to get file contents.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardGetFileTemplateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "multipart/form-data": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HttpContent"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HttpContent"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cards/get-file-content": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "\nGet contents Microsoft.AspNetCore.Mvc.FileStreamResult for a file with specified attributes.\n            Suggested file name is returned in response header `Content-Disposition`.\n\nResponse from cards API Tessa.Cards.CardGetFileContentResponse isn't returned.\n            But if there are errors occurred, they are returned as Tessa.Platform.Validation.PlainValidationResult object as typed JSON\n            with status System.Net.HttpStatusCode.BadRequest.",
        "parameters": [
          {
            "name": "showErrorPage",
            "in": "query",
            "description": "Flag if error html page should be returned in spite of Tessa.Platform.Validation.PlainValidationResult object.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "description": "Request to get file contents.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardGetFileContentRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/cards/get-file-content-stream": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "\nGet contents for a file with specified attributes as System.IO.Stream\n            containing response Tessa.Cards.CardGetFileContentResponse and binary file contents.\n\nMethod is used in desktop client apps. Use .NET client API to read the stream.",
        "requestBody": {
          "description": "Request to get file contents.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardGetFileContentRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cards/get-file-content-multipart": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "\nGet contents for a file with specified attributes as `multipart/form-data`,\n            where first part with name `\"Response\"` is Tessa.Cards.CardGetFileContentResponse serialized as typed JSON `application/json`,\n            and second part with name `\"Content\"` (if its present) is binary file contents `application/octet-stream`\n            with recommended file name in `Content-Disposition` header.\n\nIf response has Tessa.Cards.CardGetFileContentResponse.HasContent as false, then second part is absent.",
        "requestBody": {
          "description": "Request to get file contents.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardGetFileContentRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "multipart/form-data": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HttpContent"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HttpContent"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cards/file-content": {
      "get": {
        "tags": [
          "Cards"
        ],
        "summary": "Get contents for a file by content token.",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "Content token.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "session",
            "in": "query",
            "description": "Session token. (XML-format encoded to base64) or `null` if the session token is passed in another suitable way, for example, in cookies.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/cards/store": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "Save card Tessa.Cards.CardStoreRequest.Card with specified attributes. If card has Tessa.Cards.Card.StoreMode\nas Tessa.Cards.CardStoreMode.Insert, then the card is being created as the new one, otherwise existent card is modified.",
        "requestBody": {
          "description": "Request to save the card.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardStoreRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardStoreResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cards/store-stream": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "\nSave card with its files contents. Similar to request M:Tessa.Web.Controllers.CardsController.PostStore(Tessa.Cards.CardStoreRequest,System.Threading.CancellationToken), but allows to provide files contents in input stream\n            (files are attached to the card as being created or replaced). Input stream System.IO.Stream,\n            consists of header Tessa.Cards.ComponentModel.CardHeader, store request Tessa.Cards.CardStoreRequest and binary contents of files to save.\n\nMethod is used in desktop client apps. Use .NET client API to write the stream.",
        "requestBody": {
          "description": "Streamed data containing request to save the card.",
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardStoreResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cards/store-files": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "\nSave card with its files contents. Similar to request M:Tessa.Web.Controllers.CardsController.PostStore(Tessa.Cards.CardStoreRequest,System.Threading.CancellationToken), but allows to provide files contents\n            in form of `multipart/form-data` in request body (files are attached to the card as being created or replaced).\n\nFirst part is form data `form-data` with attributes being named according to Tessa.Web.Services.CardStoreFilesRequest:\n            `\"Header\"` is Tessa.Cards.ComponentModel.CardHeader object (typed JSON),\n            and `\"Request\"` is Tessa.Cards.CardStoreRequest object (typed JSON).\n\nConsequent parts are binary file contents `application/octet-stream` in the order, resolved by M:Tessa.Cards.ComponentModel.CardHeader.GetOrderedFiles\n            method of Tessa.Cards.ComponentModel.CardHeader object.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardStoreResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cards/repair": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "Repair card's structure.",
        "requestBody": {
          "description": "Request to repair the card's structure.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardRepairRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardRepairResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cards": {
      "delete": {
        "tags": [
          "Cards"
        ],
        "summary": "Delete card with specified attributes. Method is also used to restore deleted card.",
        "requestBody": {
          "description": "Request to delete the card.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardDeleteRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardDeleteResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cards/{id}": {
      "delete": {
        "tags": [
          "Cards"
        ],
        "summary": "Delete card with attributes specified in route and query.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Card identifier to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Type identifier or name to delete. Omit the type if its not virtual.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardDeleteResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cards/request": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "Perform universal query to cards API with specified attributes.\nIt executes any business logic registered for specified Tessa.Cards.CardRequest.RequestType.\nOperation can be linked to specific card Tessa.Cards.CardRequest.CardID or it can be linked to no card.",
        "requestBody": {
          "description": "Request to universal cards API.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cards/copy": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "Create copy of the card.",
        "requestBody": {
          "description": "Request to create copy of the card.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardCopyRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardNewResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cards/create-from-template": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "Create card from specified template. Card is not yet present in database.",
        "requestBody": {
          "description": "Request to create card from template.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardCreateFromTemplateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardCreateFromTemplateResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cards/store-errors/{id}": {
      "get": {
        "tags": [
          "Cards"
        ],
        "summary": "Get error info of operation \"saving card with files contents\" with specified identifier.\nReturns 204 (No Content) if card isn't found, therefore no errors occurred.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Error card identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardStoreResponse"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/cards/import-bundle": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "Import multiple cards as a bundle. Method is available for administrators only.",
        "requestBody": {
          "description": "Importing request.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardBundledImportRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardBundledImportResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/cards/export": {
      "post": {
        "tags": [
          "Cards"
        ],
        "summary": "Exports cards.",
        "requestBody": {
          "description": "A request for bulk export of cards.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardBundledExportRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/zip": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/zip": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/zip": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/types": {
      "get": {
        "tags": [
          "CardTypes"
        ],
        "summary": "Get all types present in the system.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CardType"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/types/metadata": {
      "get": {
        "tags": [
          "CardTypes"
        ],
        "summary": "Get cards metadata as Tessa.Cards.Metadata.CardMetadata object (typed JSON).",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "description": "Name of Tessa.Cards.Metadata.ICardMetadataBuilder object used to acquire metadata.\nIf omitted, default metadata is returned. Possible names are specified in Tessa.Cards.Metadata.CardMetadataBuilderNames class.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardMetadata"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/types/sections": {
      "get": {
        "tags": [
          "CardTypes"
        ],
        "summary": "Get Tessa.Cards.Metadata.CardMetadataSectionCollection object (typed JSON).",
        "parameters": [
          {
            "name": "ids",
            "in": "query",
            "description": "Optional filter sections ids list.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uuid"
              }
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CardMetadataSection"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/types/{id}": {
      "get": {
        "tags": [
          "CardTypes"
        ],
        "summary": "Get type by specified identifier. Returns 204 (No Content), if type isn't found.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Type identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardType"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/types/enriched/{id}": {
      "get": {
        "tags": [
          "CardTypes"
        ],
        "summary": "Get enriched type by specified identifier. Returns 204 (No Content), if type isn't found.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Type identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardTypeEnrichedInfo"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/types/store": {
      "post": {
        "tags": [
          "CardTypes"
        ],
        "summary": "Create or modify specified types, and deletes types with specified identifiers.\nAll actions are made as single modification of configuration. Method is available for administrators only.",
        "requestBody": {
          "description": "Request to create, modify and/or delete types. Serialized as typed JSON.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardTypeServerStoreRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/types/serialize": {
      "post": {
        "tags": [
          "CardTypes"
        ],
        "summary": "Re-serializes specified type using type serializers registered on the server.\nDoesn't modify configuration. Method is available for administrators only.",
        "requestBody": {
          "description": "Type to re-serialize. Serialized as typed JSON.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardType"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/check": {
      "get": {
        "tags": [
          "Check"
        ],
        "summary": "Get text description of server's environment and configuration including OS and .NET versions,\nand list of loaded extensions and additional controller assemblies.\nAlso checks whether cards and views components are functional, and returns the results of said checks.\nDoesn't require authentication.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/check/redis": {
      "get": {
        "tags": [
          "CheckRedis"
        ],
        "summary": "Get Redis connection string regardless of the fact that it can be broken alongside with DI-container failure.\nDoesn't require authentication.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/meta": {
      "post": {
        "tags": [
          "Client"
        ],
        "summary": "Get server metadata and user settings to initialize web client as JSON (no types).\nSome subobjects are serialized as typed JSON.",
        "requestBody": {
          "description": "Request to get initialization data.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/InitializationRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/client/sequences/dereserve": {
      "post": {
        "tags": [
          "Client"
        ],
        "summary": "Dereserve specified number from the sequence. Used to perform an action when closing browser window, so can't operate with request body.",
        "parameters": [
          {
            "name": "sequenceName",
            "in": "query",
            "description": "Sequence to dereserve number from. As it is a query parameter of a string type, URI encoding is required to pass it.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "number",
            "in": "query",
            "description": "Number to dereserve.",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/content/token": {
      "post": {
        "tags": [
          "Content"
        ],
        "summary": "Get token for requesting content with type, specified in request.",
        "requestBody": {
          "description": "Request to get token.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ContentTokenRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/content/{type}/{contentID}": {
      "get": {
        "tags": [
          "Content"
        ],
        "summary": "Get content by link.",
        "parameters": [
          {
            "name": "type",
            "in": "path",
            "description": "Type of requested content.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contentID",
            "in": "path",
            "description": "Identifier of requested content.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "description": "Token for accessing content. Can be specified either in the query string or in the header Microsoft.Net.Http.Headers.HeaderNames.Authorization.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/content/{type}/{contentID}": {
      "get": {
        "tags": [
          "ContentClient"
        ],
        "summary": "Get content by link.",
        "parameters": [
          {
            "name": "type",
            "in": "path",
            "description": "Type of requested content.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contentID",
            "in": "path",
            "description": "Identifier of requested content.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "description": "Token for accessing content. Can be specified either in the query string or in the header Microsoft.Net.Http.Headers.HeaderNames.Authorization.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/certauth/check": {
      "post": {
        "tags": [
          "CustomCertAuth"
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/certauth/login": {
      "post": {
        "tags": [
          "CustomCertAuth"
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/certauth/checktech": {
      "get": {
        "tags": [
          "CustomCertAuth"
        ],
        "parameters": [
          {
            "name": "login",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/dashboards/store": {
      "post": {
        "tags": [
          "Dashboards"
        ],
        "summary": "Stores dashboard changes.",
        "requestBody": {
          "description": "<inheritdoc cref=\"T:Tessa.Dashboards.Models.DashboardStoreRequest\" path=\"/summary\" />",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/DashboardStoreRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DashboardStoreResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/dashboards/store-with-files": {
      "post": {
        "tags": [
          "Dashboards"
        ],
        "summary": "Stores dashboard changes with files.",
        "parameters": [
          {
            "name": "Request",
            "in": "query",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/DashboardStoreRequest"
                }
              ]
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "required": [
                  "files"
                ],
                "type": "object",
                "properties": {
                  "files": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "Files list."
                  }
                }
              },
              "encoding": {
                "files": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DashboardStoreResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DashboardStoreResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DashboardStoreResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/dashboards/personal": {
      "get": {
        "tags": [
          "Dashboards"
        ],
        "summary": "Returns user's single dashboard of the Tessa.Dashboards.Models.DashboardType.Personal type or creates the dashboard if it does not exist.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DashboardGetResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/dashboards/{dashboardID}": {
      "get": {
        "tags": [
          "Dashboards"
        ],
        "summary": "Returns a dashboard by its identifier.",
        "parameters": [
          {
            "name": "dashboardID",
            "in": "path",
            "description": "Dashboard identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "token",
            "in": "query",
            "description": "Serialized token used for widget access control.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DashboardGetResult"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Dashboards"
        ],
        "summary": "Deletes the dashboard by its identifier.",
        "parameters": [
          {
            "name": "dashboardID",
            "in": "path",
            "description": "Dashboard identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "<inheritdoc cref=\"T:Tessa.Dashboards.Tokens.DashboardToken\" path=\"/summary\" />",
          "content": {
            "text/plain": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/DashboardToken"
                  }
                ]
              }
            },
            "application/octet-stream": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/DashboardToken"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/DashboardToken"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/DashboardToken"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/DashboardToken"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/dashboards/changes/{dashboardID}": {
      "post": {
        "tags": [
          "Dashboards"
        ],
        "summary": "Gets a list of the specified dashboard changes.",
        "parameters": [
          {
            "name": "dashboardID",
            "in": "path",
            "description": "Dashboard identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Request for a list of changes.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GetDashboardChangesRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Dashboard"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/dashboards/personal/clear": {
      "post": {
        "tags": [
          "Dashboards"
        ],
        "summary": "Clears user personal dashboard.",
        "parameters": [
          {
            "name": "userID",
            "in": "query",
            "description": "User identifier.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/mobile/init-operation": {
      "post": {
        "tags": [
          "DeskiMobile"
        ],
        "summary": "\nCreate operation to work with TESSA Assistant. Ensures that there is a TESSA Assistant app on a user's device.\n            Used by web client, requires authenticated user.\n\nReturns link to communicate with TESSA Assistant app.",
        "parameters": [
          {
            "name": "operation",
            "in": "query",
            "description": "Type of operation to create.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Request with operation parameters.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "description": "Модель, которая ожидается в теле запроса на cоздание операции для работы с TESSA Assistant.",
                    "$ref": "#/components/schemas/InitOperationRequest"
                  }
                ],
                "description": "Модель, которая ожидается в теле запроса на cоздание операции для работы с TESSA Assistant."
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/mobile/created-operation": {
      "delete": {
        "tags": [
          "DeskiMobile"
        ],
        "summary": "Delete operation. Used by web client, requires authenticated user with JWT Token.\nReturns `204 (No Content)` on success, otherwise status code is unsuccessful.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/mobile/operation-status": {
      "get": {
        "tags": [
          "DeskiMobile"
        ],
        "summary": "Get state of operation. Used by web client, requires authenticated user with JWT Token.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationState"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/mobile/try-get-response-and-delete": {
      "post": {
        "tags": [
          "DeskiMobile"
        ],
        "summary": "Get completed operation results if present and delete it.\nUsed by web client, requires authenticated user user with JWT Token.",
        "parameters": [
          {
            "name": "forceDelete",
            "in": "query",
            "description": "Flag for force delete operation.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Модель для хранения информации при завершении работы с TESSA Assistant.",
                  "$ref": "#/components/schemas/DeleteOperationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/mobile/start-operation": {
      "post": {
        "tags": [
          "DeskiMobile"
        ],
        "summary": "\nStart operation by changing its state to `InProgress` (observed by web client). Used by TESSA Assistant app.\n\nReturns JSON object with info on how to communicate with API for working on operation,\n            for instance how to download file, get its signatures, etc.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Модель для хранения информации о доступных endpoint'ах при выполнении операции в TESSA Assistant.",
                  "$ref": "#/components/schemas/StartOperationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/mobile/get-file-content": {
      "get": {
        "tags": [
          "DeskiMobile"
        ],
        "summary": "Get operation's file contents as binary stream. Used by TESSA Assistant app.",
        "parameters": [
          {
            "name": "cacheID",
            "in": "query",
            "description": "Cache ID in operation.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/mobile/get-file-signatures": {
      "get": {
        "tags": [
          "DeskiMobile"
        ],
        "summary": "Get info on signatures for operation's file. Used by TESSA Assistant app.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "description": "Модель для хранения информации о конкретной подписи, передаваемой в мобильное приложение.",
                      "$ref": "#/components/schemas/FileSignatureResponse"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/mobile/enhance": {
      "post": {
        "tags": [
          "DeskiMobile"
        ],
        "summary": "Enhance the signature for operation by its identifier. Used by TESSA Assistant app.\nReturns `204 (No Content)` on success, otherwise status code is unsuccessful.",
        "requestBody": {
          "description": "Request with signature as base64 string.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "description": "Модель, которая ожидается в теле запроса на обогащение подписей файлов из операции.",
                    "$ref": "#/components/schemas/DeskiMobileEnhanceRequest"
                  }
                ],
                "description": "Модель, которая ожидается в теле запроса на обогащение подписей файлов из операции."
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/mobile/verify": {
      "post": {
        "tags": [
          "DeskiMobile"
        ],
        "summary": "Verify the signatures for operation by its identifier. Used by TESSA Assistant app.\nReturns results of verification for each signature identifier.",
        "requestBody": {
          "description": "Request with signatures identifiers to verify.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "description": "Модель, которая ожидается в теле запроса на проверку подписи всех файлов из операции.",
                    "$ref": "#/components/schemas/DeskiMobileVerifyRequest"
                  }
                ],
                "description": "Модель, которая ожидается в теле запроса на проверку подписи всех файлов из операции."
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/mobile/cancel": {
      "post": {
        "tags": [
          "DeskiMobile"
        ],
        "summary": "Cancel operation. Used by TESSA Assistant app.\nReturns `204 (No Content)` on success, otherwise status code is unsuccessful.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/cbrf/v1/exchrates": {
      "post": {
        "tags": [
          "ExchangeRates"
        ],
        "responses": {
          "201": {
            "description": "Created"
          }
        }
      }
    },
    "/api/v1/file-vault/folders": {
      "get": {
        "tags": [
          "FileVault"
        ],
        "summary": "Retrieves a list of available to user folders.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FileVaultFolderStorage"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/file-vault/folder": {
      "get": {
        "tags": [
          "FileVault"
        ],
        "summary": "Retrieves an information about a specific folder.",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "description": "Folder ID.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileVaultFolderGetResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "FileVault"
        ],
        "summary": "Saves the folder.",
        "requestBody": {
          "description": "Request to save the folder.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/FileVaultFolderStoreRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileVaultFolderStoreResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "FileVault"
        ],
        "summary": "Deletes a folder.",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "description": "Folder ID.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "withoutBackup",
            "in": "query",
            "description": "Should the folder be deleted without going to garbage bin.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileVaultFolderDeleteResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/file-vault/files": {
      "get": {
        "tags": [
          "FileVault"
        ],
        "summary": "Get information about the files for a specific folder.",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "description": "Folder ID.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileVaultFilesGetResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "FileVault"
        ],
        "summary": "Saves files to a specific folder.",
        "parameters": [
          {
            "name": "Request",
            "in": "query",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/FileVaultFileStoreRequest"
                }
              ]
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "required": [
                  "files"
                ],
                "type": "object",
                "properties": {
                  "files": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "Files list."
                  }
                }
              },
              "encoding": {
                "files": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FileVaultFilesStoreResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileVaultFilesStoreResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileVaultFilesStoreResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "FileVault"
        ],
        "summary": "Deletes files.",
        "requestBody": {
          "description": "Request to delete files.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/FileVaultFileDeleteRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileVaultFileDeleteResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/file-vault/get-file-content": {
      "post": {
        "tags": [
          "FileVault"
        ],
        "summary": "Retrieves file content.",
        "requestBody": {
          "description": "Request to get file content.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/FileVaultGetFileContentRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "multipart/form-data": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "multipart/form-data": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HttpContent"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HttpContent"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/file-vault/deleted": {
      "get": {
        "tags": [
          "FileVault"
        ],
        "summary": "Retrieves deleted objects.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileVaultGetDeletedObjectsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/file-vault/restore": {
      "post": {
        "tags": [
          "FileVault"
        ],
        "summary": "Restores a deleted object.",
        "parameters": [
          {
            "name": "actionID",
            "in": "query",
            "description": "ID of deleted object.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileVaultRestoreResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/forms": {
      "post": {
        "tags": [
          "FormEditor"
        ],
        "summary": "Stores form.",
        "requestBody": {
          "description": "form model.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/FormEditorRootModel"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/forms/{formId}": {
      "get": {
        "tags": [
          "FormEditor"
        ],
        "summary": "Loads form with specified identifier.",
        "parameters": [
          {
            "name": "formId",
            "in": "path",
            "description": "Form identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormEditorRootModel"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "FormEditor"
        ],
        "summary": "Deletes form with specified identifier.",
        "parameters": [
          {
            "name": "formId",
            "in": "path",
            "description": "form identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/forms/load-state": {
      "get": {
        "tags": [
          "FormEditor"
        ],
        "summary": "Loads form's state with specified name.",
        "parameters": [
          {
            "name": "formId",
            "in": "query",
            "description": "Form identifier.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "stateName",
            "in": "query",
            "description": "State's name.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormEditorFormStateModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/forms/load-states": {
      "get": {
        "tags": [
          "FormEditor"
        ],
        "summary": "Loads form's states.",
        "parameters": [
          {
            "name": "formId",
            "in": "query",
            "description": "Form identifier.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "states",
            "in": "query",
            "description": "Array of states to load.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FormEditorFormStateModel"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/forms/load-sub-forms": {
      "get": {
        "tags": [
          "FormEditor"
        ],
        "summary": "Loads form's sub forms.",
        "parameters": [
          {
            "name": "formId",
            "in": "query",
            "description": "Form identifier.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "subForms",
            "in": "query",
            "description": "Array of sub forms to load.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FormEditorSubFormModel"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/forms/query-forms": {
      "get": {
        "tags": [
          "FormEditor"
        ],
        "summary": "Queries all forms with specified parameters.",
        "parameters": [
          {
            "name": "bundleId",
            "in": "query",
            "description": "Bundle's identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "alias",
            "in": "query",
            "description": "form name.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cardTypeId",
            "in": "query",
            "description": "Card type identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taskTypeId",
            "in": "query",
            "description": "Task type identifier.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FormEditorRootModel"
                  }
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/forms/query-states": {
      "get": {
        "tags": [
          "FormEditor"
        ],
        "summary": "Queries all form states.",
        "parameters": [
          {
            "name": "formId",
            "in": "query",
            "description": "form identifier.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FormEditorFormStateModel"
                  }
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/forms/delete": {
      "post": {
        "tags": [
          "FormEditor"
        ],
        "summary": "Deletes forms with specified identifier.",
        "requestBody": {
          "description": "form identifier.",
          "content": {
            "text/plain": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "application/octet-stream": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/forms/import": {
      "post": {
        "tags": [
          "FormEditor"
        ],
        "summary": "Imports forms.",
        "requestBody": {
          "description": "forms to import.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/FormEditorRootModel"
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/groups/{id}/is-member": {
      "get": {
        "tags": [
          "Groups"
        ],
        "summary": "Get flag whether current user is a member of specified group.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Group's identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "ignoreCache",
            "in": "query",
            "description": "Whether to ignore server cache when obtaining the value. Pass `true` for administrative UI.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/groups/{id}/admin-permissions": {
      "get": {
        "tags": [
          "Groups"
        ],
        "summary": "Get administrative permissions that current user has for the specified group.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Group's identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "ignoreCache",
            "in": "query",
            "description": "Whether to ignore server cache when obtaining the value. Pass `true` for administrative UI.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupAdminPermissions"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/groups": {
      "get": {
        "tags": [
          "Groups"
        ],
        "summary": "Get information on all available groups.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GroupInfo"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/groups/c/{category}": {
      "get": {
        "tags": [
          "Groups"
        ],
        "summary": "Get information on all available groups at category.",
        "parameters": [
          {
            "name": "category",
            "in": "path",
            "description": "The URL-encoded category name of the groups. See Tessa.SettingsUnits.SettingsUnitCategoryDescriptor.Name.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GroupInfo"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/groups/{id}": {
      "get": {
        "tags": [
          "Groups"
        ],
        "summary": "Get information on a group with specified identifier.\nReturns Microsoft.AspNetCore.Http.StatusCodes.Status404NotFound if such group doesn't exist.\nReturns Microsoft.AspNetCore.Http.StatusCodes.Status403Forbidden if the group is inaccessible.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Group's identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainGroupGetResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Groups"
        ],
        "summary": "Store information on a group with specified identifier.\nReturns Microsoft.AspNetCore.Http.StatusCodes.Status403Forbidden if the group is inaccessible or doesn't exist.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Group's identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Request to store the group. Identifier is overriden from a route's value id.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PlainGroupStoreRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/import-cards/new": {
      "post": {
        "tags": [
          "ImportCards"
        ],
        "summary": "Create an import card.",
        "parameters": [
          {
            "name": "Request",
            "in": "query",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/CreateCardImportRequest"
                }
              ]
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "files": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "File contents."
                  }
                }
              },
              "encoding": {
                "files": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateCardImportResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/import-cards/import": {
      "post": {
        "tags": [
          "ImportCards"
        ],
        "summary": "Import cards.",
        "requestBody": {
          "description": "A request to start an import, containing the import ID and the list of cards to be imported.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/StartCardImportRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/import-cards/cancel/{id}": {
      "post": {
        "tags": [
          "ImportCards"
        ],
        "summary": "Cancel import by its import card id.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The identifier of the import operation to stop.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/import-cards/{id}": {
      "delete": {
        "tags": [
          "ImportCards"
        ],
        "summary": "Delete an import card by id.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The identifier of the import operation to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/init/get": {
      "post": {
        "tags": [
          "Initialization"
        ],
        "summary": "Get data for initializing the app, including metadata, permissions info, etc.",
        "requestBody": {
          "description": "Request to get initialization data.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/InitializationRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InitializationResponse"
                }
              }
            }
          }
        }
      }
    },
    "/links/file": {
      "get": {
        "tags": [
          "Links"
        ],
        "summary": "Get file contents to download it in browser by a link.",
        "parameters": [
          {
            "name": "cardID",
            "in": "query",
            "description": "Card identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileID",
            "in": "query",
            "description": "File identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionID",
            "in": "query",
            "description": "File version identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileName",
            "in": "query",
            "description": "File name with extension.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cardTypeID",
            "in": "query",
            "description": "Card type identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cardTypeName",
            "in": "query",
            "description": "Card type name (alias).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileTypeName",
            "in": "query",
            "description": "File type name (alias).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "suggestFileNameForVersion",
            "in": "query",
            "description": "Recommendation to return suggested name for file version.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "info",
            "in": "query",
            "description": "Additional parameters of the request Tessa.Cards.CardInfoStorageObject.Info, serialized as typed JSON.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "showErrorPage",
            "in": "query",
            "description": "Flag whether to return error page for a browser, and not exception in JSON form, as it happens for other APIs.",
            "schema": {
              "type": "boolean",
              "default": true
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/links/html": {
      "get": {
        "tags": [
          "Links"
        ],
        "summary": "Get file contents in HTML format to download it in browser by a link.\nIf error occurs, browser will show error page resolved by the method.",
        "parameters": [
          {
            "name": "cardID",
            "in": "query",
            "description": "Card identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileID",
            "in": "query",
            "description": "File identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionID",
            "in": "query",
            "description": "File version identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileName",
            "in": "query",
            "description": "File name with extension.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cardTypeID",
            "in": "query",
            "description": "Card type identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cardTypeName",
            "in": "query",
            "description": "Card type name (alias).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fileTypeName",
            "in": "query",
            "description": "File type name (alias).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "suggestFileNameForVersion",
            "in": "query",
            "description": "Recommendation to return suggested name for file version.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "info",
            "in": "query",
            "description": "Additional parameters of the request Tessa.Cards.CardInfoStorageObject.Info, serialized as typed JSON.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v2/localization": {
      "get": {
        "tags": [
          "Localization"
        ],
        "summary": "Get all localization libraries.",
        "parameters": [
          {
            "name": "comments",
            "in": "query",
            "description": "Flag whether entries will be returned with comments for each entry. They are useful for localization editor.\nIf `false`, when localization strings of specified language are returned, but not the comments.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlainLocalizationLibrary"
                  }
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Localization"
        ],
        "summary": "Delete localization library. Returns flag whether library has been present prior to deletion.\nMethod is available for administrators only.",
        "requestBody": {
          "description": "Localization library to delete.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PlainLocalizationLibrary"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v2/localization/{id}": {
      "get": {
        "tags": [
          "Localization"
        ],
        "summary": "Get localization library by specified identifier. Returns 204 (No Content), if library isn't found.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Library identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "comments",
            "in": "query",
            "description": "Flag whether entries will be returned with comments for each entry. They are useful for localization editor.\nIf `false`, when localization strings of specified language are returned, but not the comments.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainLocalizationLibrary"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v2/localization/search": {
      "get": {
        "tags": [
          "Localization"
        ],
        "summary": "Get localization library by specified unique name. Returns 204 (No Content), if library isn't found.",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "description": "Unique name of returned library.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "comments",
            "in": "query",
            "description": "Flag whether entries will be returned with comments for each entry. They are useful for localization editor.\nIf `false`, when localization strings of specified language are returned, but not the comments.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainLocalizationLibrary"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v2/localization/entries": {
      "get": {
        "tags": [
          "Localization"
        ],
        "summary": "Get localization entries of specified language for all localization libraries. Entries are returned without comments.\nMethod acknowledges overriding of localization strings with same names in different libraries.",
        "parameters": [
          {
            "name": "culture",
            "in": "query",
            "description": "Localization language of returned entries. For example `\"en\"` for English, `\"ru\"` for Russian, etc.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v2/localization/entries-with-comments": {
      "get": {
        "tags": [
          "Localization"
        ],
        "summary": "Get localization entries of specified language for all localization libraries.\nEntries are returned with comments, useful for localization editor.\nMethod acknowledges overriding of localization strings with same names in different libraries.",
        "parameters": [
          {
            "name": "culture",
            "in": "query",
            "description": "Localization language of returned entries. For example `\"en\"` for English, `\"ru\"` for Russian, etc.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlainLocalizationEntry"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v2/localization/get-given-entries": {
      "post": {
        "tags": [
          "Localization"
        ],
        "summary": "Get localization entries of specified language for specified entries' names only.\nMethod acknowledges overriding of localization strings with same names in different libraries.",
        "requestBody": {
          "description": "Request to get specified localization entries.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/LocalizationEntriesRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlainLocalizationEntry"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v2/localization/store": {
      "post": {
        "tags": [
          "Localization"
        ],
        "summary": "Create or modify localization library. Method is available for administrators only.",
        "requestBody": {
          "description": "Localization library to save.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PlainLocalizationLibrary"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v2/localization/import": {
      "post": {
        "tags": [
          "Localization"
        ],
        "summary": "Import list of localization libraries. Method is available for administrators only.",
        "parameters": [
          {
            "name": "clear",
            "in": "query",
            "description": "Flag whether to delete all libraries prior to importing.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "description": "List of localization libraries.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/PlainLocalizationLibrary"
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/mail/token": {
      "post": {
        "tags": [
          "Mail"
        ],
        "summary": "Get token for requesting content with specified in request scope.",
        "requestBody": {
          "description": "Request to get token.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ContentTokenRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/mail/notify": {
      "post": {
        "tags": [
          "Mail"
        ],
        "summary": "Notify that a mail is just sent.",
        "requestBody": {
          "description": "Notification request.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/MailSentRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/mobile-client/meta": {
      "get": {
        "tags": [
          "MobileClient"
        ],
        "summary": "Get meta from file `mobile.config.json`. Used by mobile client.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/mobile-client/bundle": {
      "get": {
        "tags": [
          "MobileClient"
        ],
        "summary": "Get file `bundle.zip`. Used by mobile client.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/mobile-client/integrity-check-token": {
      "get": {
        "tags": [
          "MobileClient"
        ],
        "summary": "Get token. Used by mobile client.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/oauth/login": {
      "get": {
        "tags": [
          "OAuth"
        ],
        "summary": "Get login screen to use in conjunction with OAuth authentication.",
        "description": "Initiates a two-way call to an external authentication provider.",
        "parameters": [
          {
            "name": "scheme",
            "in": "query",
            "description": "Authentication scheme.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "redirectTo",
            "in": "query",
            "description": "URL to redirect to after successful login.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "302": {
            "description": "Found"
          }
        }
      }
    },
    "/oauth/access-denied": {
      "get": {
        "tags": [
          "OAuth"
        ],
        "summary": "Get access denied error screen to use in conjunction with OAuth authentication.",
        "parameters": [
          {
            "name": "errorUri",
            "in": "query",
            "description": "Optional URI identifying a human-readable web page with information about the error,\nused to provide the client developer with additional information about the error.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "errorDescription",
            "in": "query",
            "description": "Optional human-readable ASCII [USASCII] text providing additional information,\nused to assist the client developer in understanding the error that occurred.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "redirectTo",
            "in": "query",
            "description": "URL to redirect to after access denied error.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "302": {
            "description": "Found"
          }
        }
      }
    },
    "/oauth/remote-failure": {
      "get": {
        "tags": [
          "OAuth"
        ],
        "summary": "Get access denied error screen to use in conjunction with OAuth authentication.",
        "parameters": [
          {
            "name": "exception",
            "in": "query",
            "description": "A human-readable error message.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "error",
            "in": "query",
            "description": "Optional single ASCII [USASCII] error code.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "errorUri",
            "in": "query",
            "description": "Optional URI identifying a human-readable web page with information about the error,\nused to provide the client developer with additional information about the error.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "errorDescription",
            "in": "query",
            "description": "Optional human-readable ASCII [USASCII] text providing additional information,\nused to assist the client developer in understanding the error that occurred.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/onlyoffice/templates/{name}": {
      "get": {
        "tags": [
          "OnlyOffice"
        ],
        "summary": "Get contents of document template from `wwwroot/templates` folder by specified name.\nBy default its templates of empty documents: `empty.docx, empty.xlsx, empty.pptx`.\nReturns 404 (No Content) if file isn't found.",
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "description": "Name of file template to get.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/onlyoffice/files/{id}/state": {
      "get": {
        "tags": [
          "OnlyOffice"
        ],
        "summary": "Get state of file opened in editor by its identifier.\nReturns property `hasChangesAfterClose`: if not null then use `files/{id}` route to get actual file contents,\notherwise file is being edited and use `files/{id}/editor` route.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of file being edited.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/onlyoffice/files/{id}/editor": {
      "get": {
        "tags": [
          "OnlyOffice"
        ],
        "summary": "Get contents of file being edited used for OnlyOffice documents server.\nResult doesn't have a content disposition header.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of file being edited.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "token",
            "in": "query",
            "description": "Access token.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/onlyoffice/files/{id}": {
      "get": {
        "tags": [
          "OnlyOffice"
        ],
        "summary": "Get contents of file after its editing has been finished using OnlyOffice documents server.\nFile then can be downloaded by browser.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of file being edited.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "original-format",
            "in": "query",
            "description": "Flag if file should be converted back to its original format.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "OnlyOffice"
        ],
        "summary": "Delete file from cache which is used with OnlyOffice document server.\nCall this method when editing has been finished.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Internal document identifier for a file being edited.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/onlyoffice/files/{id}/create": {
      "post": {
        "tags": [
          "OnlyOffice"
        ],
        "summary": "\nAdd file contents (passed as request body) to the cache for usage with OnlyOffice document server.\n            File is linked to the card by its version identifier.\n\nReturn JSON with `\"accessToken\"` attribute to authenticate requests.\n\nUse route `DELETE files/{id}` to delete file from the cache when work is finished,\n            for instance when browser's tab or window is closing.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Internal document identifier, should be unique for each time the file is being opened for editing.\nGenerate new identifier, pass it to this method, and then to other methods of this API in order to work with it.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionId",
            "in": "query",
            "description": "Identifier of file version to create in the card.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "name",
            "in": "query",
            "description": "File name including extension.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/onlyoffice/files/{id}/callback": {
      "post": {
        "tags": [
          "OnlyOffice"
        ],
        "summary": "Process callback from OnlyOffice document server, used for serving requests such as saving file and closing document.\nReturn JSON with `\"error\"` property containing numeric error code.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Internal document identifier for a file being edited.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "token",
            "in": "query",
            "description": "Access token.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Callback parameters determined by OnlyOffice document server.",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": { }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/onlyoffice/files/{id}/delete": {
      "post": {
        "tags": [
          "OnlyOffice"
        ],
        "summary": "Delete file from cache which is used with OnlyOffice document server.\nCall this method when editing has been finished.",
        "description": "This is POST version of the request to delete file. Its used in conjunction with `Navigator.sendBeacon` browser feature,\nwhich is supporting only POST request. It allows to execute a request when closing the page (browser's tab or window).\nIn other cases please use M:Tessa.Extensions.Default.Server.Web.Controllers.OnlyOfficeController.Delete(System.Guid,System.Threading.CancellationToken) route: `DELETE files/{id}`.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Internal document identifier for a file being edited.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/onlyoffice/files/coedit": {
      "get": {
        "tags": [
          "OnlyOffice"
        ],
        "summary": "Initiate cooperative editing session.\nReturns JSON object with attributes:\n`\"id\"` - internal document identifier;\n`\"coeditKey\"` - a key to identify cooperative editing session;\n`\"isNew\"` - flag whether session is new, otherwise user has joined existing session;\n`\"accessToken\"` - access token to authenticate requests.",
        "parameters": [
          {
            "name": "versionId",
            "in": "query",
            "description": "Identifier of file version to edit in the card.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "name",
            "in": "query",
            "description": "File name including extension.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/onlyoffice/files/coedit-status": {
      "get": {
        "tags": [
          "OnlyOffice"
        ],
        "summary": "Get status of cooperative editing session.\nReturns JSON object with attributes:\n`\"lastVersionId\"` - identifier of last version of the document being edited;\n`\"names\"` - name of all users who are currently editing the document;\n`\"date\"` - date and time of last access to the document.",
        "parameters": [
          {
            "name": "versionId",
            "in": "query",
            "description": "Identifier of file version which is being edited, present in the card.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/onlyoffice/files/{id}/close": {
      "post": {
        "tags": [
          "OnlyOffice"
        ],
        "summary": "\nState that OnlyOffice editor (and editing session) is forcefully closed.\n\nUsually OnlyOffice sends callback that its editor is closed, but in cases when it didn't,\n            this request is performed after client timeout has passed.\n            It is required for cooperative editing sessions to work correctly.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Internal document identifier for a file being edited.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/onlyoffice/files/{id}/get_jwt": {
      "post": {
        "tags": [
          "OnlyOffice"
        ],
        "summary": "Create JWT for OnlyOffice/R7 usage\nReturn JSON with `\"token\"` property containing jwt token or nothing if there is not enabled jwt setting.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Internal document identifier for a file being edited.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "token",
            "in": "query",
            "description": "Access token.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Config to be used to initiat OnlyOffice operation.",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": { }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/operations/new": {
      "post": {
        "tags": [
          "Operations"
        ],
        "summary": "\nCreate operation with specified attributes and return its identifier. Operation can be created with state Tessa.Platform.Operations.OperationState.InProgress, if flag\n            Tessa.Platform.Operations.OperationCreationFlags.CreateInProgress is specified in the request.\n\nReturn 201 (Created), or 409 (Conflict) if operation with that identifier already exists.",
        "requestBody": {
          "description": "Request to create operation.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CreateOperationRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "201": {
            "description": "Created",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operations/{id}/start": {
      "post": {
        "tags": [
          "Operations"
        ],
        "summary": "Start operation created earlier (take it in progress), if it hasn't been started already.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of operation to start.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operations/start-first": {
      "post": {
        "tags": [
          "Operations"
        ],
        "summary": "Start an any operation of the specified types. Returns its identifier, or 204 (No Content) if there are no such operations.\nPicks operations in order they were created. Method is available for administrators only.",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "description": "Type identifiers of operation to start. System types are listed in Tessa.Platform.Operations.OperationTypes class.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uuid"
              }
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "null",
                    "string"
                  ]
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/operations/{id}/return-to-created": {
      "post": {
        "tags": [
          "Operations"
        ],
        "summary": "Return operation to the Tessa.Platform.Operations.OperationState.Created state.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of operation to modify.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operations/{id}/report-progress": {
      "post": {
        "tags": [
          "Operations"
        ],
        "summary": "Report progress of the operation. Operation has to be started with flag Tessa.Platform.Operations.OperationCreationFlags.ReportsProgress.\nReturns `true` if operation is found and its progress is set.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of operation.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "value",
            "in": "query",
            "description": "Progress percentage of operation between `0` and `100`.",
            "schema": {
              "type": "number",
              "format": "double"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operations/update-status": {
      "post": {
        "tags": [
          "Operations"
        ],
        "summary": "Update status of the operation.\nReturns `true` if operation is found and its status is set.",
        "requestBody": {
          "description": "Request to update operation status.",
          "content": {
            "text/plain": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateOperationStatusRequest"
                  }
                ]
              }
            },
            "application/octet-stream": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateOperationStatusRequest"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateOperationStatusRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateOperationStatusRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateOperationStatusRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operations/{id}/is-alive": {
      "get": {
        "tags": [
          "Operations"
        ],
        "summary": "Check if an operation is active. That operation may be created (not in progress), in progress or completed\n(if method M:Tessa.Web.Controllers.OperationsController.PostComplete(System.Guid,Tessa.Platform.Operations.OperationResponse,System.Boolean,System.Threading.CancellationToken) is used to complete operation without its deletion).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of operation to check.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/operations/get-id": {
      "get": {
        "tags": [
          "Operations"
        ],
        "summary": "Get identifier of existent operation with the same request hash and attributes,\nor 204 (No Content) if no such operation is found.",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "description": "Type identifier of operation to find. System types are listed in Tessa.Platform.Operations.OperationTypes class.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "hash",
            "in": "query",
            "description": "Operation's hash value.",
            "schema": {
              "type": "string",
              "format": "byte"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": [
                    "null",
                    "string"
                  ]
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/operations/{id}/get-state": {
      "get": {
        "tags": [
          "Operations"
        ],
        "summary": "Get state and progress of operation by its identifier,\nor 204 (No Content) if the operation isn't active (for example, it was removed after completion).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of operation.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationStateAndProgressNullable"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/operations/{id}/get-status": {
      "get": {
        "tags": [
          "Operations"
        ],
        "summary": "Get state and status of operation by its identifier,\nor 204 (No Content) if the operation isn't active (for example, it was removed after completion).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of operation.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationStateAndStatusNullable"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/operations/{id}": {
      "get": {
        "tags": [
          "Operations"
        ],
        "summary": "Get operation attributes, or 204 (No Content) if operation isn't found.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of operation.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "full",
            "in": "query",
            "description": "Flag whether all operation attributes should be returned, including properties\nTessa.Platform.Operations.Operation.Request,\nTessa.Platform.Operations.Operation.Hash\nand Tessa.Platform.Operations.Operation.Response.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "Operations"
        ],
        "summary": "Delete operation by identifier. The operation isn't considered active after that.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of operation to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/operations/{id}/complete": {
      "post": {
        "tags": [
          "Operations"
        ],
        "summary": "Complete operation by identifier, providing its result by response object.\nThe operation isn't removed, so its creator could request the result.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of operation to complete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "no-response",
            "in": "query",
            "description": "Flag whether response is ignored, as it is provided as `null`.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "description": "Operation result (response). Send empty body (`null`) if operation response isn't specified.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/OperationResponse"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/SAML/LoginRedirect": {
      "post": {
        "tags": [
          "Saml"
        ],
        "summary": "Redirect to login screen. Method is used in SAML integration.",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/SAML/Metadata": {
      "get": {
        "tags": [
          "Saml"
        ],
        "summary": "Get SAML metadata.",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/SAML/Login": {
      "post": {
        "tags": [
          "Saml"
        ],
        "summary": "Get login screen to use in conjunction with SAML authorization.",
        "parameters": [
          {
            "name": "returnUrl",
            "in": "query",
            "description": "URL to redirect to after successful login.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/SAML/AssertionConsumerService": {
      "post": {
        "tags": [
          "Saml"
        ],
        "summary": "Method is used after SAML authorization has successfully passed.\nReturns login result, usually its redirect to a page.",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/SAML/Logout": {
      "post": {
        "tags": [
          "Saml"
        ],
        "summary": "Log out when using SAML authorization.",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/SAML/LoggedOut": {
      "post": {
        "tags": [
          "Saml"
        ],
        "summary": "Method is used after session was closed, wherein SAML binding is deleted,\ncookies are appended with closure info, and redirect to the main page is performed.",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "get": {
        "tags": [
          "Saml"
        ],
        "summary": "Method is used after session was closed, wherein SAML binding is deleted,\ncookies are appended with closure info, and redirect to the main page is performed.",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/SAML/SingleLogout": {
      "post": {
        "tags": [
          "Saml"
        ],
        "summary": "SAML logout, being requested by user to delete info for all connected apps including this one.",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "get": {
        "tags": [
          "Saml"
        ],
        "summary": "SAML logout, being requested by user to delete info for all connected apps including this one.",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/scheme/invalidate": {
      "post": {
        "tags": [
          "Scheme"
        ],
        "summary": "Invalidate scheme cache on the server.\nMethod is available for administrators only.",
        "parameters": [
          {
            "name": "force",
            "in": "query",
            "description": "<с>true</с> - cache will be invalidated forcefully; \n            `false` - cache will be invalidated only if necessary.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/scheme": {
      "get": {
        "tags": [
          "Scheme"
        ],
        "summary": "Get full info on the scheme database.",
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainSchemeDatabaseInfo"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/scheme/props": {
      "get": {
        "tags": [
          "Scheme"
        ],
        "summary": "Get scheme properties of the database.",
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainSchemeDatabaseProperties"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Scheme"
        ],
        "summary": "Save scheme properties of the database.\nMethod is available for administrators only.",
        "requestBody": {
          "description": "Properties to save.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PlainSchemeDatabaseProperties"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/scheme/partitions/{id}": {
      "get": {
        "tags": [
          "Scheme"
        ],
        "summary": "Get partition by identifier. Returns 204 (No Content) if not found.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of partition.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainSchemePartition"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      },
      "put": {
        "tags": [
          "Scheme"
        ],
        "summary": "Save partition, creating new one or modifying existent.\nMethod is available for administrators only.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of partition to save.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Partition to save.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PlainSchemePartition"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK"
          },
          "201": {
            "description": "Created"
          }
        }
      },
      "delete": {
        "tags": [
          "Scheme"
        ],
        "summary": "Delete partition. Returns `true` if partition has existed and was deleted.\nMethod is available for administrators only.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of partition to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/scheme/partitions": {
      "get": {
        "tags": [
          "Scheme"
        ],
        "summary": "Get all partitions present in the database.",
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlainSchemePartition"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/scheme/tables/{id}": {
      "get": {
        "tags": [
          "Scheme"
        ],
        "summary": "Get table by identifier. Returns 204 (No Content) if not found.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of table.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainSchemeTable"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      },
      "put": {
        "tags": [
          "Scheme"
        ],
        "summary": "Save table, creating new one or modifying existent.\nMethod is available for administrators only.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of table to save.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Table to save.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PlainSchemeTable"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK"
          },
          "201": {
            "description": "Created"
          }
        }
      },
      "delete": {
        "tags": [
          "Scheme"
        ],
        "summary": "Delete table. Returns `true` if table has existed and was deleted.\nMethod is available for administrators only.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of table to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/scheme/tables": {
      "get": {
        "tags": [
          "Scheme"
        ],
        "summary": "Get all tables present in the database.",
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlainSchemeTable"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/scheme/procedures/{id}": {
      "get": {
        "tags": [
          "Scheme"
        ],
        "summary": "Get procedure by identifier. Returns 204 (No Content) if not found.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of procedure.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainSchemeProcedure"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      },
      "put": {
        "tags": [
          "Scheme"
        ],
        "summary": "Save procedure, creating new one or modifying existent.\nMethod is available for administrators only.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of procedure to save.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Procedure to save.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PlainSchemeProcedure"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK"
          },
          "201": {
            "description": "Created"
          }
        }
      },
      "delete": {
        "tags": [
          "Scheme"
        ],
        "summary": "Delete procedure. Returns `true` if procedure has existed and was deleted.\nMethod is available for administrators only.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of procedure to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/scheme/procedures": {
      "get": {
        "tags": [
          "Scheme"
        ],
        "summary": "Get all procedures present in the database.",
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlainSchemeProcedure"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/scheme/functions/{id}": {
      "get": {
        "tags": [
          "Scheme"
        ],
        "summary": "Get function by identifier. Returns 204 (No Content) if not found.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of function.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainSchemeFunction"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      },
      "put": {
        "tags": [
          "Scheme"
        ],
        "summary": "Save function, creating new one or modifying existent.\nMethod is available for administrators only.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of function to save.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Function to save.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PlainSchemeFunction"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK"
          },
          "201": {
            "description": "Created"
          }
        }
      },
      "delete": {
        "tags": [
          "Scheme"
        ],
        "summary": "Delete function. Returns `true` if function has existed and was deleted.\nMethod is available for administrators only.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of function to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/scheme/functions": {
      "get": {
        "tags": [
          "Scheme"
        ],
        "summary": "Get all functions present in the database.",
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlainSchemeFunction"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/scheme/migrations/{id}": {
      "get": {
        "tags": [
          "Scheme"
        ],
        "summary": "Get migration by identifier. Returns 204 (No Content) if not found.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of migration.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainSchemeMigration"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      },
      "put": {
        "tags": [
          "Scheme"
        ],
        "summary": "Save migration, creating new one or modifying existent.\nMethod is available for administrators only.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of migration to save.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Migration to save.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PlainSchemeMigration"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK"
          },
          "201": {
            "description": "Created"
          }
        }
      },
      "delete": {
        "tags": [
          "Scheme"
        ],
        "summary": "Delete migration. Returns `true` if migration has existed and was deleted.\nMethod is available for administrators only.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of migration to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/scheme/migrations": {
      "get": {
        "tags": [
          "Scheme"
        ],
        "summary": "Get all migrations present in the database.",
        "responses": {
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlainSchemeMigration"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/search-queries": {
      "get": {
        "tags": [
          "SearchQueries"
        ],
        "summary": "Get all search queries available for the user, or public queries available for all users,\ndetermined by query parameter public.",
        "parameters": [
          {
            "name": "public",
            "in": "query",
            "description": "`true` if public queries are returned available for all users;\n            `false` if its personal queries available for the user.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AllSearchQueryMetadataResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "SearchQueries"
        ],
        "summary": "Save search query, creating new one or modifying existent.",
        "requestBody": {
          "description": "Search query to save.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/JsonSearchQueryMetadata"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "SearchQueries"
        ],
        "summary": "Delete search queries with specified identifiers.\nUsers without administrative permissions can delete their personal queries only.",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "description": "Identifiers of search queries to delete.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uuid"
              }
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/search-queries/{id}": {
      "get": {
        "tags": [
          "SearchQueries"
        ],
        "summary": "Get search query by identifier.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of search query.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonSearchQueryMetadata"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/search-queries/import": {
      "put": {
        "tags": [
          "SearchQueries"
        ],
        "summary": "Import search queries, creating ones and/or modifying existent.",
        "requestBody": {
          "description": "Search queries to import.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JsonSearchQueryMetadata"
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/service": {
      "get": {
        "tags": [
          "Service"
        ],
        "summary": "Возвращает текстовое описание для конфигурации веб-сервиса, если в конфигурации\nустановлена настройка `HealthCheckIsEnabled` равной `true`.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/service/login": {
      "post": {
        "tags": [
          "Service"
        ],
        "summary": "Открывает сессию для входа пользователя по паре логин/пароль. Возвращает строку, содержащую токен сессии,\nкоторый должен передаваться во все другие запросы к веб-сервисам.",
        "requestBody": {
          "description": "Параметры входа.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/IntegrationLoginParameters"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/service/winlogin": {
      "post": {
        "tags": [
          "Service"
        ],
        "summary": "Открывает сессию для входа пользователя, используя windows-аутентификацию. Возвращает строку, содержащую токен сессии,\nкоторый должен передаваться во все другие запросы к веб-сервисам.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/xml": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/service/logout": {
      "post": {
        "tags": [
          "Service"
        ],
        "summary": "Закрывает сессию с указанием строки с токеном сессии. Токен возвращается методом открытия сессии M:Tessa.Extensions.Server.Web.Services.ServiceController.PostLogin(Tessa.Extensions.Shared.Services.IntegrationLoginParameters,System.Threading.CancellationToken).\nМетоду не требуется наличие информации по сессии в HTTP-заголовке, если указан токен token.",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "Токен закрываемой сессии.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/service/data": {
      "get": {
        "tags": [
          "Service"
        ],
        "summary": "Выполняет некоторый запрос для заданного параметра и возвращает результат.\nТребует наличия токена сессии в HTTP-заголовке `Tessa-Session` или в параметре token.\nЭто метод для тестирования возможностей REST веб-сервиса.",
        "description": "Информация по HTTP-заголовкам, используемым платформой, доступна в методе Tessa.Platform.Runtime.SessionHttpRequestHeader.",
        "parameters": [
          {
            "name": "p",
            "in": "query",
            "description": "Параметр запроса.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "description": "Токен текущей сессии.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/service/data-with-api-token": {
      "get": {
        "tags": [
          "Service"
        ],
        "summary": "Выполняет некоторый запрос для заданного параметра и возвращает результат.\nТребует наличия токена доступа к API в HTTP-заголовке `Authorization` или в параметре token.\nЭто метод для тестирования возможностей REST веб-сервиса.",
        "parameters": [
          {
            "name": "p",
            "in": "query",
            "description": "Параметр запроса.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "description": "Токен доступа к API.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/service/data-without-login": {
      "get": {
        "tags": [
          "Service"
        ],
        "summary": "Выполняет некоторый запрос для заданного параметра и возвращает результат.\nЭто метод для тестирования возможностей REST веб-сервиса. Метод не требует наличия сессии и токена доступа к API.",
        "parameters": [
          {
            "name": "p",
            "in": "query",
            "description": "Параметр запроса.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/service/cards/get": {
      "post": {
        "tags": [
          "Service"
        ],
        "summary": "Загружает карточку по заданному запросу для клиента.\nМетод идентичен типовому методу загрузки карточки в контроллере `CardsController`.\nЭто метод для тестирования возможностей REST веб-сервиса. Метод требует наличия сессии.",
        "requestBody": {
          "description": "Запрос на загрузку карточки.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CardGetRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardGetResponse"
                }
              }
            }
          }
        }
      }
    },
    "/service/cards/{id}": {
      "get": {
        "tags": [
          "Service"
        ],
        "summary": "Открывает карточку и возвращает JSON с типизированной структурой объекта Tessa.Cards.CardGetResponse.\nТокен сессии передаётся в HTTP-заголовке \"Tessa-Session\".",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Идентификатор карточки System.Guid. Передаётся в адресной строке.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Алиас типа карточки. Передаётся как параметр в адресной строке. Необязательный параметр.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CardGetResponse"
                }
              }
            }
          }
        }
      }
    },
    "/service/validation-result-error": {
      "get": {
        "tags": [
          "Service"
        ],
        "summary": "Возвращает `ValidationResult` с `ValidationKeys.OperationIsUnavailable`\nи кодом `HttpStatusCode.Forbidden`  - 403.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v2/sessions": {
      "get": {
        "tags": [
          "Sessions"
        ],
        "summary": "Returns the current token in json form.",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "Current session token.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionToken"
                }
              }
            }
          }
        }
      }
    },
    "/api/v2/sessions/open": {
      "get": {
        "tags": [
          "Sessions"
        ],
        "summary": "\nOpen session to login user by login/password pair.\n             Returns auth token in XML form, consumer should supply it to other web requests to authenticate.\n\nAlso returns platform version in Tessa.Platform.Runtime.SessionHttpRequestHeader.Version header.",
        "parameters": [
          {
            "name": "version",
            "in": "query",
            "description": "Platform version.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "applicationID",
            "in": "query",
            "description": "The ID of the application you are signing in to.\nIf `null` is specified, then Tessa.Platform.Runtime.ApplicationIdentifiers.Other is used.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "login",
            "in": "query",
            "description": "User login in base64 format. If the login or password is equal\nto `null` or an empty string, then Windows authentication is used.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "password",
            "in": "query",
            "description": "User passwordin base64 format. If the login or password is equal\nto `null` or an empty string, then Windows authentication is used.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cultureName",
            "in": "query",
            "description": "The name of the locale, or `null` if the current settings are used.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "uiCultureName",
            "in": "query",
            "description": "The name of the interface language or `null` if the current settings are used.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "deviceType",
            "in": "query",
            "description": "The type of device the user is using to connect to the server.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "utcOffsetMinutes",
            "in": "query",
            "description": "The number of minutes offset in the user's time zone relative to UTC.\n            \nIf `null` is specified, then the offset in the employee card is used,\nor offset in the default time zone (if not included in the employee’s card),\nor an offset on the application server (if the settings card is missing,\nthis is usually during the system installation process).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "osName",
            "in": "query",
            "description": "The name of the operating system used on the user's device, or `null` if the OS is unknown.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userAgent",
            "in": "query",
            "description": "The UserAgent string of the browser that connects to the server, or `null` if a non-browser is used to connect.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "client64Bit",
            "in": "query",
            "description": "An indication that the client application is 64-bit.\n`true` - 64-bit application, `false` - 32-bit application, `null` - bit depth unknown.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "client64BitOS",
            "in": "query",
            "description": "An indication that the client operating system is 64-bit.\n`true` - 64-bit OS, `false` - 32-bit OS, `null` - bit depth unknown.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cookies",
            "in": "query",
            "description": "Specifies that client uses cookies for authentication, i.e. it is web client or mobile app.\nParameter is ignored if current application does not support web clients.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "browser",
            "in": "query",
            "description": "Specifies that client uses browser headers to provide info on client parameters, i.e. it is web client.\nParameter is ignored if current application does not support web clients.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "support2fa",
            "in": "query",
            "description": "An indication that the client support two-factor authentication.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenSessionResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Sessions"
        ],
        "summary": "\nOpen session to login user by login/password pair.\n            Returns session token in XML form, consumer should supply it to other web requests to authenticate.\n\nAlso returns platform version in Tessa.Platform.Runtime.SessionHttpRequestHeader.Version header.\n            And miniature auth token in Tessa.Platform.Runtime.SessionHttpRequestHeader.Session header,\n            that can be used to authenticate instead of token with excess info on the session, which is being returned as method result.",
        "parameters": [
          {
            "name": "cookies",
            "in": "query",
            "description": "Indication that client uses cookies for authentication, i.e. it is web client or mobile app.\nParameter is ignored if current application does not support web clients.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "browser",
            "in": "query",
            "description": "Specifies that client uses browser headers to provide info on client parameters, i.e. it is web client.\nParameter is ignored if current application does not support web clients.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "support2fa",
            "in": "query",
            "description": "An indication that the client support two-factor authentication.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "description": "Request to open the sessions including auth parameters and info on app and the client.\nCan be passed as typed JSON or JSON without types info.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/OpenSessionRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenSessionResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v2/sessions/close": {
      "post": {
        "tags": [
          "Sessions"
        ],
        "summary": "Close current session determined by HTTP auth header or by token query parameter.\nReturns flag whether session was present and was closed.",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "Auth token to close the session. If passed then HTTP auth header is ignored.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cookies",
            "in": "query",
            "description": "Indication that client uses cookies for authentication, i.e. it is web client.\nParameter is ignored if current application does not support web clients.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v2/sessions/{id}": {
      "delete": {
        "tags": [
          "Sessions"
        ],
        "summary": "Close session with specified identifier. Returns flag whether session was present and was closed.\nMethod is available for administrators only.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of session to close.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v2/sessions/increment-configuration-version": {
      "post": {
        "tags": [
          "Sessions"
        ],
        "summary": "Increment configuration version, even if there were no changes made in configuration (modifying cards, scheme, localization, etc.).\nIts guaranteed that client metadata cache is no longer used when initializing.\nMethod is available for administrators only.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/settings/{unitName}/{fragmentName}": {
      "get": {
        "tags": [
          "SettingsUnits"
        ],
        "summary": "Retrieves the settings unit record by its name.",
        "parameters": [
          {
            "name": "unitName",
            "in": "path",
            "description": "The unique settings unit name.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fragmentName",
            "in": "path",
            "description": "The unique settings fragment name within the settings unit if specified.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SettingsUnitRecord"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SettingsUnits"
        ],
        "summary": "Resets the existing settings unit record.",
        "parameters": [
          {
            "name": "unitName",
            "in": "path",
            "description": "The unique settings unit name.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fragmentName",
            "in": "path",
            "description": "The unique settings fragment name within the settings unit if specified.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/settings/reset/c/{category}": {
      "post": {
        "tags": [
          "SettingsUnits"
        ],
        "summary": "Resets the existing settings unit records for specified category.",
        "parameters": [
          {
            "name": "category",
            "in": "path",
            "description": "The URL-encoded category name of the settings units. See Tessa.SettingsUnits.SettingsUnitCategoryDescriptor.Name.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "nested",
            "in": "query",
            "description": "Specifies that units in nested categories will also be reset.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/settings-editor/descriptors": {
      "get": {
        "tags": [
          "SettingsUnitsEditor"
        ],
        "summary": "Retrieves descriptors of settings units available for current session and filtered by category if specified.",
        "parameters": [
          {
            "name": "category",
            "in": "path",
            "description": "The URL-encoded category name of the settings units if specified. See Tessa.SettingsUnits.SettingsUnitCategoryDescriptor.Name.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SettingsUnitDescriptor"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/settings-editor/descriptors/c/{category}": {
      "get": {
        "tags": [
          "SettingsUnitsEditor"
        ],
        "summary": "Retrieves descriptors of settings units available for current session and filtered by category if specified.",
        "parameters": [
          {
            "name": "category",
            "in": "path",
            "description": "The URL-encoded category name of the settings units if specified. See Tessa.SettingsUnits.SettingsUnitCategoryDescriptor.Name.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SettingsUnitDescriptor"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/settings-editor/descriptors/{unitName}/{fragmentName}": {
      "get": {
        "tags": [
          "SettingsUnitsEditor"
        ],
        "summary": "Retrieves descriptor of settings unit available for the current session.",
        "parameters": [
          {
            "name": "unitName",
            "in": "path",
            "description": "The unique settings unit name.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fragmentName",
            "in": "path",
            "description": "The unique settings fragment name within the settings unit if specified.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SettingsUnitDescriptor"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/settings-editor/units/c/{category}": {
      "get": {
        "tags": [
          "SettingsUnitsEditor"
        ],
        "summary": "Retrieves a collection of settings unit record for specified category and unit names.",
        "parameters": [
          {
            "name": "category",
            "in": "path",
            "description": "The URL-encoded category name of the settings units. See Tessa.SettingsUnits.SettingsUnitCategoryDescriptor.Name.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "A collection of unique settings unit name.",
          "content": {
            "text/plain": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "application/octet-stream": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SettingsUnitRecord"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/settings-editor/units/{unitName}/{fragmentName}": {
      "get": {
        "tags": [
          "SettingsUnitsEditor"
        ],
        "summary": "Retrieves the settings unit record by its name available for current session.",
        "parameters": [
          {
            "name": "unitName",
            "in": "path",
            "description": "The unique settings unit name.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fragmentName",
            "in": "path",
            "description": "The unique settings fragment name within the settings unit if specified.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "defaults",
            "in": "query",
            "description": "Indicates that the retrieved settings unit record must setup to default values.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SettingsUnitRecord"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SettingsUnitsEditor"
        ],
        "summary": "Stores the changed data for settings unit record by its name if available for current session.",
        "parameters": [
          {
            "name": "unitName",
            "in": "path",
            "description": "The unique settings unit name.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fragmentName",
            "in": "path",
            "description": "The unique name of the settings fragment within the settings unit if specified.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "<inheritdoc cref=\"T:Tessa.SettingsUnits.SettingsUnitStoreRequest\" path=\"/summary\" />",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/SettingsUnitStoreRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/settings-editor/units": {
      "post": {
        "tags": [
          "SettingsUnitsEditor"
        ],
        "summary": "Stores the changed data for a collection of settings unit/fragment records if available for current session.",
        "requestBody": {
          "description": "A collection of <inheritdoc cref=\"T:Tessa.SettingsUnits.SettingsUnitStoreRequest\" path=\"/summary\" /> objects.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SettingsUnitStoreRequest"
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/settings-editor/units/export/{unitName}/{fragmentName}": {
      "get": {
        "tags": [
          "SettingsUnitsEditor"
        ],
        "summary": "Exports a settings unit available in the current session.",
        "parameters": [
          {
            "name": "unitName",
            "in": "path",
            "description": "The unique settings unit name.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fragmentName",
            "in": "path",
            "description": "The unique name of the settings fragment within the settings unit if specified.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/settings-editor/units/import/{unitName}/{fragmentName}": {
      "post": {
        "tags": [
          "SettingsUnitsEditor"
        ],
        "summary": "Imports a settings unit available in the current session.",
        "parameters": [
          {
            "name": "unitName",
            "in": "path",
            "description": "The unique settings unit name.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fragmentName",
            "in": "path",
            "description": "The unique name of the settings fragment within the settings unit if specified.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "File object containing the settings unit to import.",
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/login": {
      "get": {
        "tags": [
          "Spa"
        ],
        "summary": "Get login page as HTML.",
        "parameters": [
          {
            "name": "back_url",
            "in": "query",
            "description": "URL to redirect to after successful login.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/": {
      "get": {
        "tags": [
          "Spa"
        ],
        "summary": "Navigate to main page. If unauthorized redirects to a login page,\notherwise loads SPA app and navigates to a starting page for the user.",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/not-supported-browser": {
      "get": {
        "tags": [
          "Spa"
        ],
        "summary": "Get a page for unsupported browser such as IE and older versions of other browsers.\nPage contains info for a user to use one of the supported browsers.",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/test_service/mockPDNRequest_OutBinding": {
      "post": {
        "tags": [
          "TestService"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/test_service/mockPDNRequest_OutBindingUnauthorized": {
      "post": {
        "tags": [
          "TestService"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/tokens/{type}/get": {
      "post": {
        "tags": [
          "Tokens"
        ],
        "summary": "Get access token with type, specified in type.",
        "parameters": [
          {
            "name": "type",
            "in": "path",
            "description": "Token type.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Request to get token.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TokenRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/tokens/{type}/get/jwt": {
      "post": {
        "tags": [
          "Tokens"
        ],
        "summary": "Get access token with type, specified in type using JWT (JSON Web Token) authorization in an anonymous session.",
        "parameters": [
          {
            "name": "type",
            "in": "path",
            "description": "Token type.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Request to get token.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TokenRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/tokens/revoke": {
      "delete": {
        "tags": [
          "Tokens"
        ],
        "summary": "Revokes access token by its hash.",
        "requestBody": {
          "description": "The hash hex string of the access token to be revoked.",
          "content": {
            "text/plain": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/2fa/{typeID}/restart/{id}": {
      "post": {
        "tags": [
          "TwoFactorAuth"
        ],
        "summary": "Process restart 2FA session request with type typeID\nfor login attempt with identifier id.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Login attempt identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "typeID",
            "in": "path",
            "description": "2FA type identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Additional data for request processing.",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": { }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwoFactorAuthResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/2fa/{typeID}/command/{id}": {
      "post": {
        "tags": [
          "TwoFactorAuth"
        ],
        "summary": "Process command request at 2FA session with info\nfor login attempt with identifier id.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Login attempt identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "typeID",
            "in": "path",
            "description": "2FA type identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Additional data for request processing.",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": { }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwoFactorAuthResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/2fa/{typeID}/check/{id}": {
      "post": {
        "tags": [
          "TwoFactorAuth"
        ],
        "summary": "Process check request at 2FA session with info\nfor login attempt with identifier id.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Login attempt identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "typeID",
            "in": "path",
            "description": "2FA type identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "version",
            "in": "query",
            "description": "Platform version.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cookies",
            "in": "query",
            "description": "Specifies that client uses cookies for authentication, i.e. it is web client or mobile app.\nParameter is ignored if current application does not support web clients.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "browser",
            "in": "query",
            "description": "Specifies that client uses browser headers to provide info on client parameters, i.e. it is web client.\nParameter is ignored if current application does not support web clients.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "description": "Additional data for request processing.",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": { }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenSessionResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/user-info": {
      "post": {
        "tags": [
          "UserInfo"
        ],
        "summary": "Gets user information for multiple users with specified identifiers.",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "description": "A collection of user identifiers.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uuid"
              }
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Optional user info handler type. If null/empty string, the default handler is used.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserInfo"
                  }
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/views": {
      "get": {
        "tags": [
          "Views"
        ],
        "summary": "Get metadata for all the views accessible by current user.\nThe metadata is required to query the views, but it has no info on their internal SQL query structure.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AllViewMetadataResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Views"
        ],
        "summary": "Save views, creating ones and/or modifying existent.\nMethod is available for administrators only.",
        "requestBody": {
          "description": "Request to save the views.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ViewStoreRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "Views"
        ],
        "summary": "Delete specified views. Method is available for administrators only.",
        "requestBody": {
          "description": "Request to delete the views.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ViewStoreRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/views/get-data": {
      "post": {
        "tags": [
          "Views"
        ],
        "summary": "Query the view and get its results. View has to be accessible for current user.",
        "requestBody": {
          "description": "Request to query the view.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RequestCriteria"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TessaViewResultSpec"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/views/get-models": {
      "post": {
        "tags": [
          "Views"
        ],
        "summary": "Get requested views info including their attributes, permissions, metadata and SQL structure.\nMethod is available for administrators only.",
        "requestBody": {
          "description": "Request to get views info.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ViewGetRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TessaViewModel"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/views/import": {
      "post": {
        "tags": [
          "Views"
        ],
        "summary": "\nImport views, creating, deleting ones and/or modifying existent.\n            Method is available for administrators only.\n\nFlag Tessa.Views.ViewImportRequest.ImportRoles can be set to `false`\n            to skip any access modifications to new or existent views.",
        "requestBody": {
          "description": "Request to import the views.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ViewImportRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v2/wallpapers": {
      "get": {
        "tags": [
          "Wallpapers"
        ],
        "summary": "Get preview icons names for all the wallpapers.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v2/wallpapers/{name}": {
      "get": {
        "tags": [
          "Wallpapers"
        ],
        "summary": "Get an wallpaper by its name.",
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "description": "\nName of the wallpaper file. If it's the same as `UserWallpaperName` setting in server configuration,\n            then get custom wallpaper uploaded by current user.\n\nAs it is a query parameter of a string type, URI encoding is required to pass it.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          },
          "204": {
            "description": "No Content"
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/api/v2/wallpapers/icons/{name}": {
      "get": {
        "tags": [
          "Wallpapers"
        ],
        "summary": "Get an icon image for a wallpaper by name.",
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "description": "Name of the icon file.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          },
          "204": {
            "description": "No Content"
          },
          "304": {
            "description": "Not Modified"
          }
        }
      }
    },
    "/api/v2/wallpapers/store": {
      "post": {
        "tags": [
          "Wallpapers"
        ],
        "summary": "Upload a wallpaper file selected by the user, then select it as the current.",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "image": {
                    "type": "string",
                    "description": "Wallpaper image contents.",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "image": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v2/wallpapers/store-named/{name}": {
      "post": {
        "tags": [
          "Wallpapers"
        ],
        "summary": "Sets the current user's wallpaper to the specified named one.",
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "description": "Wallpaper name.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v2/wallpapers/store-default/{name}": {
      "post": {
        "tags": [
          "Wallpapers"
        ],
        "summary": "Sets the default corporate wallpaper.",
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "description": "Wallpaper name.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/wfe/process-templates/versions/{id}/set-default": {
      "post": {
        "tags": [
          "Wfe"
        ],
        "summary": "Set workflow process as default by ID.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Process version RowID.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/wfe/process-templates/versions/{id}/lock-status": {
      "get": {
        "tags": [
          "Wfe"
        ],
        "summary": "Check process version lock status by specified mode.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Process version RowID.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "checkMode",
            "in": "query",
            "description": "Determines which locks to check:\nTessa.Workflow.Upgrade.WorkflowProcessLockStatusCheckMode.OtherUsers - only other users' locks,\nTessa.Workflow.Upgrade.WorkflowProcessLockStatusCheckMode.CurrentUser - only current user's locks,\nTessa.Workflow.Upgrade.WorkflowProcessLockStatusCheckMode.Any - all locks regardless of user.\nDefault is Tessa.Workflow.Upgrade.WorkflowProcessLockStatusCheckMode.OtherUsers.\n\n0 = OtherUsers\n\n1 = CurrentUser\n\n2 = Any",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/WorkflowProcessLockStatusCheckMode"
                }
              ],
              "default": 0,
              "x-enumNames": [
                "OtherUsers",
                "CurrentUser",
                "Any"
              ],
              "x-enumDescriptions": [
                "",
                "",
                ""
              ]
            },
            "x-enumNames": [
              "OtherUsers",
              "CurrentUser",
              "Any"
            ],
            "x-enumDescriptions": [
              "OtherUsers",
              "CurrentUser",
              "Any"
            ]
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Wfe"
        ],
        "summary": "Set process version lock status.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Process version RowID.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "lock",
            "in": "query",
            "description": "Status value to set.",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/wfe/process-templates/{id}": {
      "get": {
        "tags": [
          "Wfe"
        ],
        "summary": "Get default process version template by template card ID.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Business process template card id.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowEngineProcessTemplateGetResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/wfe/process-templates/versions/{id}": {
      "get": {
        "tags": [
          "Wfe"
        ],
        "summary": "Get process version template by ID.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Process version RowID.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowEngineProcessTemplateGetResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowEngineProcessTemplateGetResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowEngineProcessTemplateGetResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/wfe/process-templates/store": {
      "post": {
        "tags": [
          "Wfe"
        ],
        "summary": "Update process version.",
        "requestBody": {
          "description": "Process template version.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/WorkflowProcessStorage"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/wfe/process-templates/compile": {
      "post": {
        "tags": [
          "Wfe"
        ],
        "summary": "Compile requested WFE-object.",
        "requestBody": {
          "description": "Request for compile WFE-object.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/WorkflowEngineCompileRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/wfe/process-templates/upgrade": {
      "post": {
        "tags": [
          "Wfe"
        ],
        "summary": "Upgrade requested actions for WFE process template or instance.",
        "requestBody": {
          "description": "Request for upgrade WFE-actions.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/WorkflowEngineUpgradeRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/wfe/process-instances/{id}": {
      "get": {
        "tags": [
          "Wfe"
        ],
        "summary": "Get process instance by ID.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Process instance ID.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowEngineProcessInstanceGetResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowEngineProcessInstanceGetResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowEngineProcessInstanceGetResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/wfe/send-signal": {
      "post": {
        "tags": [
          "Wfe"
        ],
        "summary": "Process signal.",
        "requestBody": {
          "description": "Workflow engine request.",
          "content": {
            "text/plain": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/WorkflowEngineProcessRequest"
                  }
                ]
              }
            },
            "application/octet-stream": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/WorkflowEngineProcessRequest"
                  }
                ]
              }
            },
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/WorkflowEngineProcessRequest"
                  }
                ]
              }
            },
            "text/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/WorkflowEngineProcessRequest"
                  }
                ]
              }
            },
            "application/*+json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/WorkflowEngineProcessRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IWorkflowEngineProcessResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IWorkflowEngineProcessResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IWorkflowEngineProcessResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/wfe/process-instances/store": {
      "post": {
        "tags": [
          "Wfe"
        ],
        "summary": "Store process and nodes states.",
        "requestBody": {
          "description": "<inheritdoc cref=\"T:Tessa.Workflow.WorkflowEngineStoreProcessStateRequest\" path=\"/summary\" />",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/WorkflowEngineStoreProcessStateRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/wfe/process-instances/{id}/errors/{errorId}": {
      "post": {
        "tags": [
          "Wfe"
        ],
        "summary": "Get process instance error data.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Process instance ID.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "errorID",
            "in": "path",
            "description": "Error ID.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowEngineProcessInstanceGetErrorDataResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/widget-templates/settings": {
      "get": {
        "tags": [
          "WidgetTemplates"
        ],
        "summary": "Retrieves global settings for the widget templates.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "405": {
            "description": "Method Not Allowed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WidgetTemplatesSettings"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "WidgetTemplates"
        ],
        "summary": "Stores global settings for the widget templates.",
        "requestBody": {
          "description": "<inheritdoc cref=\"T:Tessa.Dashboards.WidgetTemplates.WidgetTemplatesSettings\" path=\"/summary\" />",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/WidgetTemplatesSettings"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "405": {
            "description": "Method Not Allowed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/widget-templates/info": {
      "get": {
        "tags": [
          "WidgetTemplates"
        ],
        "summary": "Retrieves the widget templates info for the specified kind and type of dashboard, if any.",
        "parameters": [
          {
            "name": "dashboardType",
            "in": "query",
            "description": "<inheritdoc cref=\"T:Tessa.Dashboards.Models.DashboardType\" path=\"/summary\" />\n\n0 = Personal ($$Enum_DashboardTypes_Personal(en))\n\n1 = Template ($$Enum_DashboardTypes_Template(en))",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/DashboardType"
                }
              ],
              "x-enumNames": [
                "Personal",
                "Template"
              ],
              "x-enumDescriptions": [
                "$$Enum_DashboardTypes_Personal(en)",
                "$$Enum_DashboardTypes_Template(en)"
              ]
            },
            "x-enumNames": [
              "Personal",
              "Template"
            ],
            "x-enumDescriptions": [
              "Personal",
              "Template"
            ]
          },
          {
            "name": "kind",
            "in": "query",
            "description": "<inheritdoc cref=\"T:Tessa.Dashboards.WidgetTemplates.WidgetTemplatesKind\" path=\"/summary\" />",
            "schema": {
              "type": "string"
            },
            "x-enumNames": [
              "Template",
              "Shared"
            ],
            "x-enumDescriptions": [
              "Widget templates",
              "Shared widgets"
            ]
          },
          {
            "name": "token",
            "in": "query",
            "description": "Serialized token used for widget access control.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "405": {
            "description": "Method Not Allowed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/widget-templates/info/{templateID}": {
      "get": {
        "tags": [
          "WidgetTemplates"
        ],
        "summary": "Retrieves the widget template info by template identifier.",
        "parameters": [
          {
            "name": "templateID",
            "in": "path",
            "description": "Widget template identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "dashboardType",
            "in": "query",
            "description": "<inheritdoc cref=\"T:Tessa.Dashboards.Models.DashboardType\" path=\"/summary\" />\n\n0 = Personal ($$Enum_DashboardTypes_Personal(en))\n\n1 = Template ($$Enum_DashboardTypes_Template(en))",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/DashboardType"
                }
              ],
              "x-enumNames": [
                "Personal",
                "Template"
              ],
              "x-enumDescriptions": [
                "$$Enum_DashboardTypes_Personal(en)",
                "$$Enum_DashboardTypes_Template(en)"
              ]
            },
            "x-enumNames": [
              "Personal",
              "Template"
            ],
            "x-enumDescriptions": [
              "Personal",
              "Template"
            ]
          },
          {
            "name": "token",
            "in": "query",
            "description": "Serialized token used for widget access control.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "405": {
            "description": "Method Not Allowed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/widget-templates/{templateID}": {
      "get": {
        "tags": [
          "WidgetTemplates"
        ],
        "summary": "Retrieves the widget template by template identifier.",
        "parameters": [
          {
            "name": "templateID",
            "in": "path",
            "description": "Widget template identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "dashboardType",
            "in": "query",
            "description": "<inheritdoc cref=\"T:Tessa.Dashboards.Models.DashboardType\" path=\"/summary\" />\n\n0 = Personal ($$Enum_DashboardTypes_Personal(en))\n\n1 = Template ($$Enum_DashboardTypes_Template(en))",
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/DashboardType"
                }
              ],
              "x-enumNames": [
                "Personal",
                "Template"
              ],
              "x-enumDescriptions": [
                "$$Enum_DashboardTypes_Personal(en)",
                "$$Enum_DashboardTypes_Template(en)"
              ]
            },
            "x-enumNames": [
              "Personal",
              "Template"
            ],
            "x-enumDescriptions": [
              "Personal",
              "Template"
            ]
          },
          {
            "name": "token",
            "in": "query",
            "description": "Serialized token used for widget access control.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "405": {
            "description": "Method Not Allowed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WidgetTemplateData"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/workplaces": {
      "get": {
        "tags": [
          "Workplaces"
        ],
        "summary": "Get metadata for all the workplaces accessible by current user.\nReturned metadata can be used to show workplace to the user, but not to modify it.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/IJsonWorkplaceMetadata"
                  }
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Workplaces"
        ],
        "summary": "Save workplaces, creating ones and/or modifying existent.\nMethod is available for administrators only.",
        "requestBody": {
          "description": "Request to save the workplaces.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/WorkplaceStoreRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      },
      "delete": {
        "tags": [
          "Workplaces"
        ],
        "summary": "Delete specified workplaces. Method is available for administrators only.",
        "requestBody": {
          "description": "Request to delete the workplaces.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/WorkplaceStoreRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/workplaces/{id}": {
      "get": {
        "tags": [
          "Workplaces"
        ],
        "summary": "Get metadata for specified workplace. It has to be accessible by current user.\nReturned metadata can be used to show workplace to the user, but not to modify it.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of workplace to get.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IJsonWorkplaceMetadata"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/workplaces/get-models": {
      "post": {
        "tags": [
          "Workplaces"
        ],
        "summary": "Get requested workplaces info including their attributes, permissions and metadata.\nIt can be used to modify workplaces. Method is available for administrators only.",
        "requestBody": {
          "description": "Request to get workplaces info.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/WorkplaceGetRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/JsonWorkplaceModel"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/workplaces/import": {
      "post": {
        "tags": [
          "Workplaces"
        ],
        "summary": "\nImport workplaces, creating, deleting ones and/or modifying existent.\n            Method is available for administrators only.\n\nFlag Tessa.Views.Workplaces.WorkplaceImportRequest.ImportRoles can be set to `false`\n            to skip any access modifications to new or existent workplaces.",
        "requestBody": {
          "description": "Request to import the workplaces.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/WorkplaceImportRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/workplaces/private/settings": {
      "put": {
        "tags": [
          "Workplaces"
        ],
        "summary": "Save current user's settings for specified workplaces,\nincluding tree width, option to show empty folders, etc.\nSettings are unavailable for other users.",
        "requestBody": {
          "description": "Workplace settings to save.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JsonWorkplaceSettingsMetadata"
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/workplaces/private/properties": {
      "put": {
        "tags": [
          "Workplaces"
        ],
        "summary": "Save current user's view properties, including sorting and grouping options,\ncolumns visibility settings, relative area sizes in master-detail views, etc.\nProperties are unavailable for other users.",
        "requestBody": {
          "description": "View properties to save.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JsonItemProperties"
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/workplaces/private/metadata": {
      "get": {
        "tags": [
          "Workplaces"
        ],
        "summary": "Get current user's metadata extensions for all accessible workplaces, such as info on private search queries.\nIts unavailable for other users.",
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IJsonWorkplaceUserExtensionMetadata"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Workplaces"
        ],
        "summary": "Save current user's metadata extensions for a workplace: add search query or folder to workplace tree, etc.\nIts unavailable for other users.",
        "requestBody": {
          "description": "Metadata extensions to save.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/PlainWorkplaceComponentMetadata"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    },
    "/api/v1/workplaces/private/metadata/{compositionID}": {
      "delete": {
        "tags": [
          "Workplaces"
        ],
        "summary": "Delete current user's metadata extensions, such as info on added search queries,\nby composition identifier (workplace id, tree node id, etc.).",
        "parameters": [
          {
            "name": "compositionID",
            "in": "path",
            "description": "Composition identifier to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlainValidationResult"
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AccessTokenInfo": {
        "type": "object",
        "properties": {
          "Token": {
            "type": [
              "null",
              "string"
            ]
          },
          "Scope": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "Expires": {
            "type": "string",
            "format": "date-time"
          },
          "Hash": {
            "type": [
              "null",
              "string"
            ],
            "format": "byte"
          }
        },
        "additionalProperties": false
      },
      "AiAction": {
        "type": "object",
        "properties": {
          "ID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Client": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "AiAutoAction": {
        "type": "object",
        "properties": {
          "ID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Client": {
            "type": [
              "null",
              "string"
            ]
          },
          "Type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AiAutoActionType"
              }
            ],
            "description": "\n\n0 = OpenCard\n\n1 = OpenUrl\n\n2 = CreateCard",
            "x-enumNames": [
              "OpenCard",
              "OpenUrl",
              "CreateCard"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "Data": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/AiAutoActionData"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "AiAutoActionData": {
        "type": "object",
        "properties": {
          "CardID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "OpenInDialog": {
            "type": [
              "null",
              "string"
            ]
          },
          "Url": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExternalUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "DocTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "DocTypeTitle": {
            "type": [
              "null",
              "string"
            ]
          },
          "PreparedNewCard": {
            "type": [
              "null",
              "string"
            ],
            "format": "byte"
          },
          "PreparedNewCardSignature": {
            "type": [
              "null",
              "string"
            ],
            "format": "byte"
          }
        },
        "additionalProperties": false
      },
      "AiAutoActionType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = OpenCard\n\n1 = OpenUrl\n\n2 = CreateCard",
        "format": "int32",
        "x-enumNames": [
          "OpenCard",
          "OpenUrl",
          "CreateCard"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "AiContext": {
        "type": "object",
        "properties": {
          "Type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AiContextType"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Card\n\n2 = View\n\n3 = Workplace",
            "x-enumNames": [
              "None",
              "Card",
              "View",
              "Workplace"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "CardType": {
            "type": [
              "null",
              "string"
            ]
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "IsSealed": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "AiContextType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Card\n\n2 = View\n\n3 = Workplace",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Card",
          "View",
          "Workplace"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "AiFileOperationResponse": {
        "type": "object",
        "properties": {
          "FileID": {
            "type": "string",
            "format": "uuid"
          },
          "State": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AiFileResponseState"
              }
            ],
            "description": "\n\n0 = InProgress\n\n1 = Completed\n\n2 = Error",
            "x-enumNames": [
              "InProgress",
              "Completed",
              "Error"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "ErrorMessage": {
            "type": [
              "null",
              "string"
            ]
          },
          "Token": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "AiFileOperationStatus": {
        "type": "object",
        "properties": {
          "FileID": {
            "type": "string",
            "format": "uuid"
          },
          "State": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AiFileResponseState"
              }
            ],
            "description": "\n\n0 = InProgress\n\n1 = Completed\n\n2 = Error",
            "x-enumNames": [
              "InProgress",
              "Completed",
              "Error"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "ErrorMessage": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "AiFileRequestOperation": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = AsIs\n\n1 = Text\n\n2 = Page",
        "format": "int32",
        "x-enumNames": [
          "AsIs",
          "Text",
          "Page"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "AiFileResponseState": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = InProgress\n\n1 = Completed\n\n2 = Error",
        "format": "int32",
        "x-enumNames": [
          "InProgress",
          "Completed",
          "Error"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "AiLogFileEntry": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Operation": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AiFileRequestOperation"
              }
            ],
            "description": "\n\n0 = AsIs\n\n1 = Text\n\n2 = Page",
            "x-enumNames": [
              "AsIs",
              "Text",
              "Page"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "Token": {
            "type": [
              "null",
              "string"
            ]
          },
          "Pages": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "AiLogMessage": {
        "type": "object",
        "properties": {
          "Role": {
            "type": [
              "null",
              "string"
            ]
          },
          "Content": {
            "type": [
              "null",
              "string"
            ]
          },
          "Model": {
            "type": [
              "null",
              "string"
            ]
          },
          "Timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "Schema": {
            "type": [
              "null",
              "string"
            ]
          },
          "Files": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/AiLogFileEntry"
            }
          }
        },
        "additionalProperties": false
      },
      "AiMessage": {
        "type": "object",
        "properties": {
          "Role": {
            "type": [
              "null",
              "string"
            ]
          },
          "Content": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/AiMessagePart"
            }
          },
          "IsSealed": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "AiMessagePart": {
        "type": "object",
        "properties": {
          "Type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AiMessagePartType"
              }
            ],
            "description": "\n\n0 = Text\n\n1 = File",
            "readOnly": true,
            "x-enumNames": [
              "Text",
              "File"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "AiMessagePartType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = Text\n\n1 = File",
        "format": "int32",
        "x-enumNames": [
          "Text",
          "File"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "AiModel": {
        "type": "object",
        "properties": {
          "ID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Family": {
            "type": [
              "null",
              "string"
            ]
          },
          "Capabilities": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "IsSealed": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "AiPromptTestReportFormat": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = Yaml\n\n1 = Html",
        "format": "int32",
        "x-enumNames": [
          "Yaml",
          "Html"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "AiRequest": {
        "type": "object",
        "properties": {
          "Type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AiRequestType"
              }
            ],
            "description": "\n\n0 = Message\n\n1 = ToolSelection\n\n2 = ToolActionConfirmation",
            "x-enumNames": [
              "Message",
              "ToolSelection",
              "ToolActionConfirmation"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "Context": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/AiContext"
              }
            ]
          },
          "Messages": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/AiMessage"
            }
          },
          "Data": {
            "type": "null"
          },
          "Action": {
            "type": [
              "null",
              "string"
            ]
          },
          "Tool": {
            "type": [
              "null",
              "string"
            ]
          },
          "EnableLog": {
            "type": [
              "null",
              "string"
            ]
          },
          "Model": {
            "type": [
              "null",
              "string"
            ]
          },
          "IsSealed": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "AiRequestType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Message\n\n1 = ToolSelection\n\n2 = ToolActionConfirmation",
        "format": "int32",
        "x-enumNames": [
          "Message",
          "ToolSelection",
          "ToolActionConfirmation"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "AiResponse": {
        "type": "object",
        "properties": {
          "Type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AiResponseType"
              }
            ],
            "description": "\n\n0 = Error\n\n1 = Message\n\n2 = ToolSelection\n\n3 = ToolConfirmation\n\n4 = ToolResult",
            "x-enumNames": [
              "Error",
              "Message",
              "ToolSelection",
              "ToolConfirmation",
              "ToolResult"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "Message": {
            "type": [
              "null",
              "string"
            ]
          },
          "Tool": {
            "type": [
              "null",
              "string"
            ]
          },
          "Data": {
            "type": "null"
          },
          "CustomView": {
            "type": [
              "null",
              "string"
            ]
          },
          "Json": {
            "type": [
              "null",
              "string"
            ]
          },
          "Buttons": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/AiAction"
            }
          },
          "Action": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/AiAutoAction"
              }
            ]
          },
          "Log": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/AiLogMessage"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationResultBuilder"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "AiResponseType": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\n\n0 = Error\n\n1 = Message\n\n2 = ToolSelection\n\n3 = ToolConfirmation\n\n4 = ToolResult",
        "format": "int32",
        "x-enumNames": [
          "Error",
          "Message",
          "ToolSelection",
          "ToolConfirmation",
          "ToolResult"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "AiToolInfo": {
        "type": "object",
        "properties": {
          "ID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "Hint": {
            "type": [
              "null",
              "string"
            ]
          },
          "PluginName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Disabled": {
            "type": "boolean"
          },
          "System": {
            "type": "boolean"
          },
          "RequireFile": {
            "type": "boolean"
          },
          "Infinite": {
            "type": "boolean"
          },
          "Visible": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AllSearchQueryMetadataResponse": {
        "type": "object",
        "properties": {
          "SearchQueries": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/JsonSearchQueryMetadata"
            }
          },
          "SearchQueriesErrors": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/SearchQueryMetadataErrorInfo"
            }
          }
        },
        "additionalProperties": false
      },
      "AllViewMetadataResponse": {
        "type": "object",
        "properties": {
          "Views": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/JsonViewMetadata"
            }
          },
          "ViewErrors": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ViewMetadataErrorInfo"
            }
          }
        },
        "additionalProperties": false
      },
      "ApiAccessTokenData": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "UserID": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "UserName": {
            "type": [
              "null",
              "string"
            ]
          },
          "CreatedByID": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "CreatedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "LastActivity": {
            "type": [
              "null",
              "string"
            ]
          },
          "Info": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ITokenInfo"
              }
            ],
            "readOnly": true
          },
          "TimeZoneID": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "TimeZoneName": {
            "type": [
              "null",
              "string"
            ]
          },
          "LanguageID": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "LanguageName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Subnet": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ApiAccessTokenDataBase": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "UserID": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "UserName": {
            "type": [
              "null",
              "string"
            ]
          },
          "CreatedByID": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "CreatedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "LastActivity": {
            "type": [
              "null",
              "string"
            ]
          },
          "Info": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ITokenInfo"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ApiAccessTokenDeleteRequest": {
        "type": "object",
        "properties": {
          "Scope": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "Hash": {
            "type": [
              "null",
              "string"
            ],
            "format": "byte"
          },
          "Reason": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "ApiAccessTokenDeleteResponse": {
        "type": "object",
        "properties": {
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "ApiAccessTokenGetRequest": {
        "type": "object",
        "properties": {
          "Scope": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "Hash": {
            "type": [
              "null",
              "string"
            ],
            "format": "byte"
          }
        },
        "additionalProperties": false
      },
      "ApiAccessTokenGetResponse": {
        "type": "object",
        "properties": {
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "TokenData": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ApiAccessTokenData"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "ApiAccessTokenNewRequest": {
        "type": "object",
        "properties": {
          "Scope": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "Expires": {
            "type": [
              "null",
              "string"
            ]
          },
          "UserID": {
            "type": [
              "null",
              "string"
            ]
          },
          "UserName": {
            "type": [
              "null",
              "string"
            ]
          },
          "TimeZoneID": {
            "type": [
              "null",
              "string"
            ]
          },
          "TimeZoneName": {
            "type": [
              "null",
              "string"
            ]
          },
          "LanguageID": {
            "type": [
              "null",
              "string"
            ]
          },
          "LanguageName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Subnet": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "ApiAccessTokenNewResponse": {
        "type": "object",
        "properties": {
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "TokenInfo": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/AccessTokenInfo"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "ApiAccessTokenViewRequest": {
        "type": "object",
        "properties": {
          "Scope": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "Filter": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "ApiAccessTokenViewResponse": {
        "type": "object",
        "properties": {
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "TokenData": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ApiAccessTokenDataBase"
            }
          }
        },
        "additionalProperties": false
      },
      "ApplicationAttributesResult": {
        "type": "object",
        "properties": {
          "Modified": {
            "type": "string",
            "format": "date-time"
          },
          "Client64Bit": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ApplicationDownloadRequest": {
        "type": "object",
        "properties": {
          "Package": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ApplicationPackage"
              }
            ]
          },
          "UseCompression": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ApplicationPackage": {
        "type": "object",
        "properties": {
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "ApplicationId": {
            "type": "string",
            "format": "uuid"
          },
          "AppVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "GroupName": {
            "type": [
              "null",
              "string"
            ]
          },
          "LocalizedGroupName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExecutableFileName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Files": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ApplicationPackageFile"
            }
          },
          "ForAdmin": {
            "type": "boolean"
          },
          "Client64Bit": {
            "type": "boolean"
          },
          "Hidden": {
            "type": "boolean"
          },
          "Icon": {
            "type": [
              "null",
              "string"
            ],
            "format": "byte"
          },
          "Modified": {
            "type": "string",
            "format": "date-time"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "PlatformVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "ActionHistoryRowID": {
            "type": "string",
            "format": "uuid"
          },
          "LocalFilesHash": {
            "type": [
              "null",
              "string"
            ],
            "format": "byte"
          }
        },
        "additionalProperties": false
      },
      "ApplicationPackageFile": {
        "type": "object",
        "properties": {
          "ApplicationId": {
            "type": "string",
            "format": "uuid"
          },
          "State": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PackageFileState"
              }
            ],
            "description": "\n\n0 = Unchanged\n\n1 = Inserted\n\n2 = Replaced\n\n3 = Deleted",
            "x-enumNames": [
              "Unchanged",
              "Inserted",
              "Replaced",
              "Deleted"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "FullName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Hash": {
            "type": [
              "null",
              "string"
            ],
            "format": "byte"
          },
          "Id": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Size": {
            "type": "integer",
            "format": "int64"
          },
          "SourceType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardFileSourceType"
              }
            ],
            "readOnly": true
          },
          "SourceTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "VersionId": {
            "type": "string",
            "format": "uuid"
          },
          "IsLocal": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ApprovalProcess": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Title": {
            "type": [
              "null",
              "string"
            ]
          },
          "Nodes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ApprovalProcessNode"
            }
          },
          "Edges": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ApprovalProcessEdge"
            }
          }
        },
        "additionalProperties": false
      },
      "ApprovalProcessEdge": {
        "type": "object",
        "properties": {
          "Source": {
            "type": "string",
            "format": "uuid"
          },
          "Target": {
            "type": "string",
            "format": "uuid"
          },
          "SourceHandle": {
            "type": [
              "null",
              "string"
            ]
          },
          "TargetHandle": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "ApprovalProcessGetInstanceResponse": {
        "type": "object",
        "properties": {
          "Process": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ApprovalProcess"
              }
            ]
          },
          "HiddenRoles": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IValidationResultBuilder"
              }
            ]
          },
          "Settings": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ApprovalProcessInstanceClientSettings"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "ApprovalProcessGetTemplateResponse": {
        "type": "object",
        "properties": {
          "Process": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ApprovalProcess"
              }
            ]
          },
          "HiddenRoles": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IValidationResultBuilder"
              }
            ]
          },
          "Settings": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ApprovalProcessTemplateSettings"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "ApprovalProcessInstanceClientSettings": {
        "type": "object",
        "properties": {
          "CardID": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExternalWorkflowType": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExternalStartID": {
            "type": [
              "null",
              "string"
            ]
          },
          "ReadOnly": {
            "type": "boolean"
          },
          "CanStartProcess": {
            "type": "boolean"
          },
          "CanRevokeProcess": {
            "type": "boolean"
          },
          "State": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ApprovalProcessState"
              }
            ],
            "description": "\n\n0 = Pending\n\n1 = Running\n\n2 = Approved\n\n3 = Disapproved",
            "x-enumNames": [
              "Pending",
              "Running",
              "Approved",
              "Disapproved"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "ApprovalProcessInstanceCreateRequest": {
        "type": "object",
        "properties": {
          "CardID": {
            "type": "string",
            "format": "uuid"
          },
          "TemplateID": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "ApprovalProcessInstanceStoreRequest": {
        "type": "object",
        "properties": {
          "Process": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ApprovalProcess"
              }
            ]
          },
          "IsNew": {
            "type": "boolean"
          },
          "Settings": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ApprovalProcessInstanceClientSettings"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "ApprovalProcessNode": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Type": {
            "type": [
              "null",
              "string"
            ]
          },
          "Position": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ApprovalProcessNodePosition"
              }
            ]
          },
          "Data": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "ApprovalProcessNodePosition": {
        "type": "object",
        "properties": {
          "X": {
            "type": "integer",
            "format": "int32"
          },
          "Y": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ApprovalProcessState": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = Pending\n\n1 = Running\n\n2 = Approved\n\n3 = Disapproved",
        "format": "int32",
        "x-enumNames": [
          "Pending",
          "Running",
          "Approved",
          "Disapproved"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "ApprovalProcessTemplateSettings": {
        "type": "object",
        "properties": {
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "Users": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "object",
              "additionalProperties": { }
            }
          },
          "Writers": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "object",
              "additionalProperties": { }
            }
          },
          "Types": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "object",
              "additionalProperties": { }
            }
          }
        },
        "additionalProperties": false
      },
      "ApprovalProcessTemplateStoreRequest": {
        "type": "object",
        "properties": {
          "Process": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ApprovalProcess"
              }
            ]
          },
          "IsNew": {
            "type": "boolean"
          },
          "Settings": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ApprovalProcessTemplateSettings"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "ArrowOrientation": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\n\n0 = NoOrientation\n\n1 = Left\n\n2 = Right\n\n3 = Top\n\n4 = Bottom",
        "format": "int32",
        "x-enumNames": [
          "NoOrientation",
          "Left",
          "Right",
          "Top",
          "Bottom"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "Assembly": {
        "type": "object",
        "properties": {
          "definedTypes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "readOnly": true
          },
          "exportedTypes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "readOnly": true
          },
          "codeBase": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true,
            "deprecated": true
          },
          "entryPoint": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodInfo"
              }
            ],
            "readOnly": true
          },
          "fullName": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "imageRuntimeVersion": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "isDynamic": {
            "type": "boolean",
            "readOnly": true
          },
          "location": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "reflectionOnly": {
            "type": "boolean",
            "readOnly": true
          },
          "isCollectible": {
            "type": "boolean",
            "readOnly": true
          },
          "isFullyTrusted": {
            "type": "boolean",
            "readOnly": true
          },
          "customAttributes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "readOnly": true
          },
          "escapedCodeBase": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true,
            "deprecated": true
          },
          "manifestModule": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Module"
              }
            ],
            "readOnly": true
          },
          "modules": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/Module"
            },
            "readOnly": true
          },
          "globalAssemblyCache": {
            "type": "boolean",
            "readOnly": true,
            "deprecated": true
          },
          "hostContext": {
            "type": "integer",
            "format": "int64",
            "readOnly": true
          },
          "securityRuleSet": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SecurityRuleSet"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Level1\n\n2 = Level2",
            "readOnly": true,
            "x-enumNames": [
              "None",
              "Level1",
              "Level2"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "AutoSelectFirstRowMode": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = InViewDefined\n\n1 = True\n\n2 = False",
        "format": "int32",
        "x-enumNames": [
          "InViewDefined",
          "True",
          "False"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "BooleanPlainSchemeDbmsSpecificValue": {
        "type": "object",
        "properties": {
          "Keys": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/Dbms"
            },
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "BulkCopyOptions": {
        "type": "object",
        "properties": {
          "maxBatchSize": {
            "type": [
              "null",
              "string"
            ]
          },
          "bulkCopyTimeout": {
            "type": [
              "null",
              "string"
            ]
          },
          "bulkCopyType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BulkCopyType"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = RowByRow\n\n2 = MultipleRows\n\n3 = ProviderSpecific",
            "x-enumNames": [
              "Default",
              "RowByRow",
              "MultipleRows",
              "ProviderSpecific"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "checkConstraints": {
            "type": [
              "null",
              "string"
            ]
          },
          "keepIdentity": {
            "type": [
              "null",
              "string"
            ]
          },
          "tableLock": {
            "type": [
              "null",
              "string"
            ]
          },
          "keepNulls": {
            "type": [
              "null",
              "string"
            ]
          },
          "fireTriggers": {
            "type": [
              "null",
              "string"
            ]
          },
          "useInternalTransaction": {
            "type": [
              "null",
              "string"
            ]
          },
          "serverName": {
            "type": [
              "null",
              "string"
            ]
          },
          "databaseName": {
            "type": [
              "null",
              "string"
            ]
          },
          "schemaName": {
            "type": [
              "null",
              "string"
            ]
          },
          "tableName": {
            "type": [
              "null",
              "string"
            ]
          },
          "tableOptions": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TableOptions"
              }
            ],
            "description": "\n\n0 = NotSet\n\n1 = None\n\n2 = CreateIfNotExists\n\n4 = DropIfExists\n\n6 = CheckExistence\n\n8 = IsTemporary\n\n16 = IsLocalTemporaryStructure\n\n32 = IsGlobalTemporaryStructure\n\n64 = IsLocalTemporaryData\n\n128 = IsGlobalTemporaryData\n\n256 = IsTransactionTemporaryData\n\n504 = IsTemporaryOptionSet",
            "x-enumNames": [
              "NotSet",
              "None",
              "CreateIfNotExists",
              "DropIfExists",
              "CheckExistence",
              "IsTemporary",
              "IsLocalTemporaryStructure",
              "IsGlobalTemporaryStructure",
              "IsLocalTemporaryData",
              "IsGlobalTemporaryData",
              "IsTransactionTemporaryData",
              "IsTemporaryOptionSet"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "notifyAfter": {
            "type": "integer",
            "format": "int32"
          },
          "rowsCopiedCallback": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/BulkCopyRowsCopiedAction"
              }
            ]
          },
          "useParameters": {
            "type": "boolean"
          },
          "maxParametersForBatch": {
            "type": [
              "null",
              "string"
            ]
          },
          "maxDegreeOfParallelism": {
            "type": [
              "null",
              "string"
            ]
          },
          "withoutSession": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "BulkCopyRowsCopiedAction": {
        "type": "object",
        "properties": {
          "hasSingleTarget": {
            "type": "boolean",
            "readOnly": true
          },
          "target": {
            "type": "null",
            "readOnly": true
          },
          "method": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodInfo"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "BulkCopyType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = Default\n\n1 = RowByRow\n\n2 = MultipleRows\n\n3 = ProviderSpecific",
        "format": "int32",
        "x-enumNames": [
          "Default",
          "RowByRow",
          "MultipleRows",
          "ProviderSpecific"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "CallingConventions": {
        "enum": [
          1,
          2,
          3,
          32,
          64
        ],
        "type": "integer",
        "description": "\n\n1 = Standard\n\n2 = VarArgs\n\n3 = Any\n\n32 = HasThis\n\n64 = ExplicitThis",
        "format": "int32",
        "x-enumNames": [
          "Standard",
          "VarArgs",
          "Any",
          "HasThis",
          "ExplicitThis"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "CancellationToken": {
        "type": "object",
        "properties": {
          "isCancellationRequested": {
            "type": "boolean",
            "readOnly": true
          },
          "canBeCanceled": {
            "type": "boolean",
            "readOnly": true
          },
          "waitHandle": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WaitHandle"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "Card": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "InstanceType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardInstanceType"
              }
            ],
            "description": "\n\n0 = Card\n\n1 = File\n\n2 = Task\n\n3 = Dialog",
            "x-enumNames": [
              "Card",
              "File",
              "Task",
              "Dialog"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "TypeID": {
            "type": "string",
            "format": "uuid"
          },
          "TypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeCaption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Created": {
            "type": [
              "null",
              "string"
            ]
          },
          "CreatedByID": {
            "type": "string",
            "format": "uuid"
          },
          "CreatedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Modified": {
            "type": [
              "null",
              "string"
            ]
          },
          "ModifiedByID": {
            "type": "string",
            "format": "uuid"
          },
          "ModifiedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Flags": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardFlags"
              }
            ],
            "description": "\n\n0 = None",
            "x-enumNames": [
              "None"
            ],
            "x-enumDescriptions": [
              ""
            ]
          },
          "Version": {
            "type": "integer",
            "format": "int32"
          },
          "Sections": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/CardSection"
            }
          },
          "Files": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardFile"
            }
          },
          "Tasks": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTask"
            }
          },
          "TaskHistory": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTaskHistoryItem"
            }
          },
          "TaskHistoryGroups": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTaskHistoryGroup"
            }
          },
          "Permissions": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/CardPermissionInfo"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "CardAutoCompleteSearchMode": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = Contains\n\n1 = StartsWith\n\n2 = EndsWith\n\n3 = Equals",
        "format": "int32",
        "x-enumNames": [
          "Contains",
          "StartsWith",
          "EndsWith",
          "Equals"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "CardBundledExportRequest": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "Requests": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardGetRequest"
            }
          }
        },
        "additionalProperties": false
      },
      "CardBundledImportRequest": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "Requests": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardStoreRequest"
            }
          }
        },
        "additionalProperties": false
      },
      "CardBundledImportResponse": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "CardContentContext": {
        "type": "object",
        "properties": {
          "cardID": {
            "type": "string",
            "format": "uuid"
          },
          "fileID": {
            "type": "string",
            "format": "uuid"
          },
          "versionRowID": {
            "type": "string",
            "format": "uuid"
          },
          "source": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardFileSourceType"
              }
            ]
          },
          "validationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IValidationResultBuilder"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "CardControlType": {
        "type": "object",
        "properties": {
          "isUnknown": {
            "type": "boolean",
            "readOnly": true
          },
          "usageMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardControlTypeUsageMode"
              }
            ],
            "description": "\n\n0 = Entry\n\n1 = Table\n\n2 = Tab\n\n3 = Custom\n\n4 = Param",
            "x-enumNames": [
              "Entry",
              "Table",
              "Tab",
              "Custom",
              "Param"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "flags": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardControlTypeFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = UseInCards\n\n2 = UseInFiles\n\n4 = UseInTasks\n\n7 = UseEverywhere\n\n8 = SpanByDefault\n\n16 = HideCaptionByDefault",
            "x-enumNames": [
              "None",
              "UseInCards",
              "UseInFiles",
              "UseInTasks",
              "UseEverywhere",
              "SpanByDefault",
              "HideCaptionByDefault"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CardControlTypeFlags": {
        "enum": [
          0,
          1,
          2,
          4,
          7,
          8,
          16
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = UseInCards\n\n2 = UseInFiles\n\n4 = UseInTasks\n\n7 = UseEverywhere\n\n8 = SpanByDefault\n\n16 = HideCaptionByDefault",
        "format": "int32",
        "x-enumNames": [
          "None",
          "UseInCards",
          "UseInFiles",
          "UseInTasks",
          "UseEverywhere",
          "SpanByDefault",
          "HideCaptionByDefault"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "CardControlTypeUsageMode": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\n\n0 = Entry\n\n1 = Table\n\n2 = Tab\n\n3 = Custom\n\n4 = Param",
        "format": "int32",
        "x-enumNames": [
          "Entry",
          "Table",
          "Tab",
          "Custom",
          "Param"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "CardCopyRequest": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "ExportedCard": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Card"
              }
            ]
          },
          "SourceFileList": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardFile"
            }
          },
          "SourceCardID": {
            "type": "string",
            "format": "uuid"
          },
          "SourceCardTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "SourceCardTypeName": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "CardCreateFromTemplateRequest": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "SourceCard": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Card"
              }
            ]
          },
          "TemplateCardID": {
            "type": "string",
            "format": "uuid"
          },
          "Files": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardFile"
            }
          }
        },
        "additionalProperties": false
      },
      "CardCreateFromTemplateResponse": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          },
          "Request": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/CardNewRequest"
              }
            ]
          },
          "Response": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/CardNewResponse"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "CardDeleteMethod": {
        "enum": [
          0
        ],
        "type": "integer",
        "description": "\n\n0 = Default",
        "format": "int32",
        "x-enumNames": [
          "Default"
        ],
        "x-enumDescriptions": [
          ""
        ]
      },
      "CardDeleteRequest": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "CardID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardTypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "DeletionMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardDeletionMode"
              }
            ],
            "description": "\n\n0 = WithBackup\n\n1 = WithoutBackup",
            "x-enumNames": [
              "WithBackup",
              "WithoutBackup"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "Method": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardDeleteMethod"
              }
            ],
            "description": "\n\n0 = Default",
            "x-enumNames": [
              "Default"
            ],
            "x-enumDescriptions": [
              ""
            ]
          },
          "KeepFileContent": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CardDeleteResponse": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          },
          "DeletedCardID": {
            "type": [
              "null",
              "string"
            ]
          },
          "RestoredCardID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardTypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ContentsToDelete": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardContentContext"
            }
          }
        },
        "additionalProperties": false
      },
      "CardDeletionMode": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = WithBackup\n\n1 = WithoutBackup",
        "format": "int32",
        "x-enumNames": [
          "WithBackup",
          "WithoutBackup"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "CardFile": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "RowID": {
            "type": "string",
            "format": "uuid"
          },
          "TypeID": {
            "type": "string",
            "format": "uuid"
          },
          "TypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeCaption": {
            "type": [
              "null",
              "string"
            ]
          },
          "CategoryID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CategoryCaption": {
            "type": [
              "null",
              "string"
            ]
          },
          "CategoryOrder": {
            "type": [
              "null",
              "string"
            ]
          },
          "OriginalFileID": {
            "type": [
              "null",
              "string"
            ]
          },
          "OriginalVersionRowID": {
            "type": [
              "null",
              "string"
            ]
          },
          "TaskID": {
            "type": [
              "null",
              "string"
            ]
          },
          "NewVersionTags": {
            "type": [
              "null",
              "string"
            ]
          },
          "Options": {
            "type": [
              "null",
              "string"
            ]
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "VersionRowID": {
            "type": "string",
            "format": "uuid"
          },
          "VersionNumber": {
            "type": "integer",
            "format": "int32"
          },
          "Hash": {
            "type": [
              "null",
              "string"
            ],
            "format": "byte"
          },
          "RequestInfo": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "IsVirtual": {
            "type": "boolean"
          },
          "StoreSource": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardFileSourceType"
              }
            ]
          },
          "Versions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardFileVersion"
            }
          },
          "VersionsLoaded": {
            "type": "boolean"
          },
          "SectionRows": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "object",
              "additionalProperties": { }
            }
          },
          "State": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardFileState"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Modified\n\n2 = Replaced\n\n3 = ModifiedAndReplaced\n\n4 = Inserted\n\n5 = Deleted",
            "x-enumNames": [
              "None",
              "Modified",
              "Replaced",
              "ModifiedAndReplaced",
              "Inserted",
              "Deleted"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "DeletionMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardFileDeletionMode"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Backup\n\n2 = Restore\n\n3 = Wipe",
            "x-enumNames": [
              "None",
              "Backup",
              "Restore",
              "Wipe"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "Flags": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardFileFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = UpdateName\n\n4 = UpdateCategory\n\n8 = UpdateOrigin\n\n16 = UpdateTask\n\n32 = UpdateOptions\n\n64 = CalculateHash",
            "x-enumNames": [
              "None",
              "UpdateName",
              "UpdateCategory",
              "UpdateOrigin",
              "UpdateTask",
              "UpdateOptions",
              "CalculateHash"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "Size": {
            "type": "integer",
            "format": "int64"
          },
          "ExternalSource": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/CardFileContentSource"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "CardFileContentMapping": {
        "type": "object",
        "properties": {
          "SourceFileID": {
            "type": "string",
            "format": "uuid"
          },
          "CardID": {
            "type": "string",
            "format": "uuid"
          },
          "CardTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileID": {
            "type": "string",
            "format": "uuid"
          },
          "VersionRowID": {
            "type": "string",
            "format": "uuid"
          },
          "StoreSource": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardFileSourceType"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "CardFileContentSource": {
        "type": "object",
        "properties": {
          "CardID": {
            "type": "string",
            "format": "uuid"
          },
          "CardTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileID": {
            "type": "string",
            "format": "uuid"
          },
          "VersionRowID": {
            "type": "string",
            "format": "uuid"
          },
          "Source": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardFileSourceType"
              }
            ]
          },
          "OriginalVersionRowID": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileTypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "StoreViaContentRequest": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CardFileDeletionMode": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Backup\n\n2 = Restore\n\n3 = Wipe",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Backup",
          "Restore",
          "Wipe"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "CardFileFlags": {
        "enum": [
          0,
          1,
          4,
          8,
          16,
          32,
          64
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = UpdateName\n\n4 = UpdateCategory\n\n8 = UpdateOrigin\n\n16 = UpdateTask\n\n32 = UpdateOptions\n\n64 = CalculateHash",
        "format": "int32",
        "x-enumNames": [
          "None",
          "UpdateName",
          "UpdateCategory",
          "UpdateOrigin",
          "UpdateTask",
          "UpdateOptions",
          "CalculateHash"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "CardFileFormat": {
        "enum": [
          0
        ],
        "type": "integer",
        "description": "\n\n0 = Json",
        "format": "int32",
        "x-enumNames": [
          "Json"
        ],
        "x-enumDescriptions": [
          ""
        ]
      },
      "CardFileSourceType": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CardFileState": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Modified\n\n2 = Replaced\n\n3 = ModifiedAndReplaced\n\n4 = Inserted\n\n5 = Deleted",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Modified",
          "Replaced",
          "ModifiedAndReplaced",
          "Inserted",
          "Deleted"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "CardFileVersion": {
        "type": "object",
        "properties": {
          "RowID": {
            "type": "string",
            "format": "uuid"
          },
          "Number": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Size": {
            "type": "integer",
            "format": "int64"
          },
          "Created": {
            "type": "string",
            "format": "date-time"
          },
          "CreatedByID": {
            "type": "string",
            "format": "uuid"
          },
          "CreatedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "LinkID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Tags": {
            "type": [
              "null",
              "string"
            ]
          },
          "Options": {
            "type": [
              "null",
              "string"
            ]
          },
          "Hash": {
            "type": [
              "null",
              "string"
            ],
            "format": "byte"
          },
          "RequestInfo": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "Source": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardFileSourceType"
              }
            ]
          },
          "State": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardFileVersionState"
              }
            ],
            "description": "\n\n0 = Uploading\n\n1 = Success\n\n2 = Error",
            "x-enumNames": [
              "Uploading",
              "Success",
              "Error"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "ErrorDate": {
            "type": [
              "null",
              "string"
            ]
          },
          "ErrorMessage": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "CardFileVersionState": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Uploading\n\n1 = Success\n\n2 = Error",
        "format": "int32",
        "x-enumNames": [
          "Uploading",
          "Success",
          "Error"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "CardFlags": {
        "enum": [
          0
        ],
        "type": "integer",
        "description": "\n\n0 = None",
        "format": "int32",
        "x-enumNames": [
          "None"
        ],
        "x-enumDescriptions": [
          ""
        ]
      },
      "CardGetFileContentMethod": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = Default\n\n1 = Export",
        "format": "int32",
        "x-enumNames": [
          "Default",
          "Export"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "CardGetFileContentRequest": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "CardID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardTypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileID": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileName": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileTypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "VersionRowID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Method": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardGetFileContentMethod"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = Export",
            "x-enumNames": [
              "Default",
              "Export"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "SuggestFileNameForVersion": {
            "type": "boolean"
          },
          "SupportContentToken": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CardGetFileTemplateRequest": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "Request": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/CardGetFileContentRequest"
              }
            ]
          },
          "ViewContext": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "ExportInfo": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "UserInfo": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "CurrentCardID": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "CardGetFileVersionsMethod": {
        "enum": [
          0
        ],
        "type": "integer",
        "description": "\n\n0 = Default",
        "format": "int32",
        "x-enumNames": [
          "Default"
        ],
        "x-enumDescriptions": [
          ""
        ]
      },
      "CardGetFileVersionsRequest": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "CardID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardTypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileID": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileName": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileTypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Method": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardGetFileVersionsMethod"
              }
            ],
            "description": "\n\n0 = Default",
            "x-enumNames": [
              "Default"
            ],
            "x-enumDescriptions": [
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "CardGetFileVersionsResponse": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          },
          "FileVersions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardFileVersion"
            }
          },
          "DisallowCaching": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CardGetMethod": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = Default\n\n1 = Backup\n\n2 = Export\n\n3 = Storage",
        "format": "int32",
        "x-enumNames": [
          "Default",
          "Backup",
          "Export",
          "Storage"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "CardGetMode": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = Edit\n\n1 = ReadOnly",
        "format": "int32",
        "x-enumNames": [
          "Edit",
          "ReadOnly"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "CardGetRequest": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "CardID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardTypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "GetMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardGetMode"
              }
            ],
            "description": "\n\n0 = Edit\n\n1 = ReadOnly",
            "x-enumNames": [
              "Edit",
              "ReadOnly"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "GetTaskMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardGetTaskMode"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = All",
            "x-enumNames": [
              "Default",
              "All"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "NewMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardNewMode"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = Valid",
            "x-enumNames": [
              "Default",
              "Valid"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "Method": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardGetMethod"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = Backup\n\n2 = Export\n\n3 = Storage",
            "x-enumNames": [
              "Default",
              "Backup",
              "Export",
              "Storage"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "RestrictionFlags": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardGetRestrictionFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = RestrictSections\n\n2 = RestrictFiles\n\n4 = RestrictFileSections\n\n8 = RestrictTasks\n\n16 = RestrictTaskSections\n\n32 = RestrictTaskCalendar\n\n64 = RestrictTaskHistory",
            "x-enumNames": [
              "None",
              "RestrictSections",
              "RestrictFiles",
              "RestrictFileSections",
              "RestrictTasks",
              "RestrictTaskSections",
              "RestrictTaskCalendar",
              "RestrictTaskHistory"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "SectionsToExclude": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "TasksToUnlockRowIDList": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "ExportFormat": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardFileFormat"
              }
            ],
            "description": "\n\n0 = Json",
            "x-enumNames": [
              "Json"
            ],
            "x-enumDescriptions": [
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "CardGetResponse": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          },
          "Card": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Card"
              }
            ]
          },
          "SectionRows": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "object",
              "additionalProperties": { }
            }
          },
          "CancelOpening": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CardGetRestrictionFlags": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          16,
          32,
          64
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = RestrictSections\n\n2 = RestrictFiles\n\n4 = RestrictFileSections\n\n8 = RestrictTasks\n\n16 = RestrictTaskSections\n\n32 = RestrictTaskCalendar\n\n64 = RestrictTaskHistory",
        "format": "int32",
        "x-enumNames": [
          "None",
          "RestrictSections",
          "RestrictFiles",
          "RestrictFileSections",
          "RestrictTasks",
          "RestrictTaskSections",
          "RestrictTaskCalendar",
          "RestrictTaskHistory"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "CardGetTaskMode": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = Default\n\n1 = All",
        "format": "int32",
        "x-enumNames": [
          "Default",
          "All"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "CardIComparer": {
        "type": "object",
        "additionalProperties": false
      },
      "CardImportFileHeader": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Order": {
            "type": "integer",
            "format": "int32"
          },
          "Size": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "CardImportInfo": {
        "type": "object",
        "properties": {
          "Path": {
            "type": [
              "null",
              "string"
            ]
          },
          "MergeOptions": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "Condition": {
            "type": [
              "null",
              "string"
            ]
          },
          "Selected": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CardInstanceType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = Card\n\n1 = File\n\n2 = Task\n\n3 = Dialog",
        "format": "int32",
        "x-enumNames": [
          "Card",
          "File",
          "Task",
          "Dialog"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "CardMetadata": {
        "type": "object",
        "properties": {
          "Reference": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "CardMetadataColumn": {
        "type": "object",
        "properties": {
          "Reference": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "ColumnType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardMetadataColumnType"
              }
            ],
            "description": "\n\n0 = Physical\n\n1 = Complex\n\n2 = Reference",
            "x-enumNames": [
              "Physical",
              "Complex",
              "Reference"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "MetadataType": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/CardMetadataType"
              }
            ]
          },
          "DefaultValue": {
            "type": "null"
          },
          "DefaultValidValue": {
            "type": "null"
          },
          "CardTypeIDList": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "ReferencedSection": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/CardMetadataSectionReference"
              }
            ]
          },
          "ParentRowSection": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/CardMetadataSectionReference"
              }
            ]
          },
          "ComplexColumnIndex": {
            "type": "integer",
            "format": "int32"
          },
          "IsReference": {
            "type": "boolean"
          },
          "IsVirtual": {
            "type": "boolean"
          },
          "NormalizationSourceID": {
            "type": [
              "null",
              "string"
            ]
          },
          "NormalizationRole": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardMetadataNormalizationRole"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Key\n\n2 = Value",
            "x-enumNames": [
              "None",
              "Key",
              "Value"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "CardMetadataColumnType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Physical\n\n1 = Complex\n\n2 = Reference",
        "format": "int32",
        "x-enumNames": [
          "Physical",
          "Complex",
          "Reference"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "CardMetadataNormalizationRole": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Key\n\n2 = Value",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Key",
          "Value"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "CardMetadataRuntimeType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ],
        "type": "integer",
        "description": "\n\n0 = Object\n\n1 = String\n\n2 = Boolean\n\n3 = Int32\n\n4 = Int64\n\n5 = Guid\n\n6 = Double\n\n7 = Decimal\n\n8 = DateTime\n\n9 = DateTimeOffset\n\n10 = Binary",
        "format": "int32",
        "x-enumNames": [
          "Object",
          "String",
          "Boolean",
          "Int32",
          "Int64",
          "Guid",
          "Double",
          "Decimal",
          "DateTime",
          "DateTimeOffset",
          "Binary"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "CardMetadataSection": {
        "type": "object",
        "properties": {
          "Reference": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "SectionType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardSectionType"
              }
            ],
            "description": "\n\n0 = Entry\n\n1 = Table",
            "x-enumNames": [
              "Entry",
              "Table"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "TableType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SchemeTableContentType"
              }
            ],
            "description": "\n\n0 = Enumeration\n\n1 = Entries\n\n2 = Collections\n\n3 = Hierarchies",
            "x-enumNames": [
              "Enumeration",
              "Entries",
              "Collections",
              "Hierarchies"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "SectionTableType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardTableType"
              }
            ],
            "description": "\n\n0 = Unspecified\n\n1 = Collection\n\n2 = Hierarchy",
            "x-enumNames": [
              "Unspecified",
              "Collection",
              "Hierarchy"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "Flags": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardMetadataSectionFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Virtual",
            "x-enumNames": [
              "None",
              "Virtual"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "Order": {
            "type": "integer",
            "format": "int32"
          },
          "CardTypeIDList": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "Columns": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardMetadataColumn"
            }
          },
          "Group": {
            "type": [
              "null",
              "string"
            ]
          },
          "IsVirtual": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CardMetadataSectionFlags": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Virtual",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Virtual"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "CardMetadataSectionReference": {
        "type": "object",
        "properties": {
          "Reference": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "CardMetadataType": {
        "type": "object",
        "properties": {
          "Reference": {
            "type": [
              "null",
              "string"
            ]
          },
          "Name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "Length": {
            "type": "integer",
            "format": "int64",
            "readOnly": true
          },
          "Precision": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "Scale": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "IsNullable": {
            "type": "boolean",
            "readOnly": true
          },
          "HasMaxLength": {
            "type": "boolean",
            "readOnly": true
          },
          "DataType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SchemeDbType"
              }
            ],
            "description": "\n\n0 = AnsiString\n\n1 = Binary\n\n2 = Byte\n\n3 = Boolean\n\n4 = Currency\n\n5 = Date\n\n6 = DateTime\n\n7 = Decimal\n\n8 = Double\n\n9 = Guid\n\n10 = Int16\n\n11 = Int32\n\n12 = Int64\n\n13 = Object\n\n14 = SByte\n\n15 = Single\n\n16 = String\n\n17 = Time\n\n18 = UInt16\n\n19 = UInt32\n\n20 = UInt64\n\n21 = VarNumeric\n\n22 = AnsiStringFixedLength\n\n23 = StringFixedLength\n\n25 = Xml\n\n26 = DateTime2\n\n27 = DateTimeOffset\n\n100 = Json\n\n101 = BinaryJson",
            "readOnly": true,
            "x-enumNames": [
              "AnsiString",
              "Binary",
              "Byte",
              "Boolean",
              "Currency",
              "Date",
              "DateTime",
              "Decimal",
              "Double",
              "Guid",
              "Int16",
              "Int32",
              "Int64",
              "Object",
              "SByte",
              "Single",
              "String",
              "Time",
              "UInt16",
              "UInt32",
              "UInt64",
              "VarNumeric",
              "AnsiStringFixedLength",
              "StringFixedLength",
              "Xml",
              "DateTime2",
              "DateTimeOffset",
              "Json",
              "BinaryJson"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "Type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardMetadataRuntimeType"
              }
            ],
            "description": "\n\n0 = Object\n\n1 = String\n\n2 = Boolean\n\n3 = Int32\n\n4 = Int64\n\n5 = Guid\n\n6 = Double\n\n7 = Decimal\n\n8 = DateTime\n\n9 = DateTimeOffset\n\n10 = Binary",
            "readOnly": true,
            "x-enumNames": [
              "Object",
              "String",
              "Boolean",
              "Int32",
              "Int64",
              "Guid",
              "Double",
              "Decimal",
              "DateTime",
              "DateTimeOffset",
              "Binary"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "RuntimeType": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CardNewMethod": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = Default\n\n1 = Template",
        "format": "int32",
        "x-enumNames": [
          "Default",
          "Template"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "CardNewMode": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = Default\n\n1 = Valid",
        "format": "int32",
        "x-enumNames": [
          "Default",
          "Valid"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "CardNewRequest": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "CardTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardTypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "NewMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardNewMode"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = Valid",
            "x-enumNames": [
              "Default",
              "Valid"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "Method": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardNewMethod"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = Template",
            "x-enumNames": [
              "Default",
              "Template"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "CardNewResponse": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          },
          "Card": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Card"
              }
            ]
          },
          "SectionRows": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "object",
              "additionalProperties": { }
            }
          },
          "CancelOpening": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CardPermissionFlags": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          16,
          32,
          64,
          128,
          256,
          512,
          1024,
          2048,
          4096,
          8192,
          16384,
          32768,
          65536,
          131072,
          262144,
          524288
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = AllowModify\n\n2 = ProhibitModify\n\n4 = AllowInsertRow\n\n8 = ProhibitInsertRow\n\n16 = AllowDeleteRow\n\n32 = ProhibitDeleteRow\n\n64 = AllowDeleteCard\n\n128 = ProhibitDeleteCard\n\n256 = AllowInsertFile\n\n512 = ProhibitInsertFile\n\n1024 = AllowDeleteFile\n\n2048 = ProhibitDeleteFile\n\n4096 = AllowReplaceFile\n\n8192 = ProhibitReplaceFile\n\n16384 = AllowEditNumber\n\n32768 = ProhibitEditNumber\n\n65536 = AllowSignFile\n\n131072 = ProhibitSignFile\n\n262144 = AllowCreateFileLink\n\n524288 = ProhibitCreateFileLink",
        "format": "int32",
        "x-enumNames": [
          "None",
          "AllowModify",
          "ProhibitModify",
          "AllowInsertRow",
          "ProhibitInsertRow",
          "AllowDeleteRow",
          "ProhibitDeleteRow",
          "AllowDeleteCard",
          "ProhibitDeleteCard",
          "AllowInsertFile",
          "ProhibitInsertFile",
          "AllowDeleteFile",
          "ProhibitDeleteFile",
          "AllowReplaceFile",
          "ProhibitReplaceFile",
          "AllowEditNumber",
          "ProhibitEditNumber",
          "AllowSignFile",
          "ProhibitSignFile",
          "AllowCreateFileLink",
          "ProhibitCreateFileLink"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "CardPermissionInfo": {
        "type": "object",
        "properties": {
          "Resolver": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ICardPermissionResolver"
              }
            ],
            "readOnly": true
          },
          "CardPermissions": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardPermissionFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = AllowModify\n\n2 = ProhibitModify\n\n4 = AllowInsertRow\n\n8 = ProhibitInsertRow\n\n16 = AllowDeleteRow\n\n32 = ProhibitDeleteRow\n\n64 = AllowDeleteCard\n\n128 = ProhibitDeleteCard\n\n256 = AllowInsertFile\n\n512 = ProhibitInsertFile\n\n1024 = AllowDeleteFile\n\n2048 = ProhibitDeleteFile\n\n4096 = AllowReplaceFile\n\n8192 = ProhibitReplaceFile\n\n16384 = AllowEditNumber\n\n32768 = ProhibitEditNumber\n\n65536 = AllowSignFile\n\n131072 = ProhibitSignFile\n\n262144 = AllowCreateFileLink\n\n524288 = ProhibitCreateFileLink",
            "x-enumNames": [
              "None",
              "AllowModify",
              "ProhibitModify",
              "AllowInsertRow",
              "ProhibitInsertRow",
              "AllowDeleteRow",
              "ProhibitDeleteRow",
              "AllowDeleteCard",
              "ProhibitDeleteCard",
              "AllowInsertFile",
              "ProhibitInsertFile",
              "AllowDeleteFile",
              "ProhibitDeleteFile",
              "AllowReplaceFile",
              "ProhibitReplaceFile",
              "AllowEditNumber",
              "ProhibitEditNumber",
              "AllowSignFile",
              "ProhibitSignFile",
              "AllowCreateFileLink",
              "ProhibitCreateFileLink"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "Sections": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/CardSectionPermissionInfo"
            }
          },
          "FilePermissions": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/CardPermissionFlags"
            }
          }
        },
        "additionalProperties": false
      },
      "CardRepairRequest": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "NewMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardNewMode"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = Valid",
            "x-enumNames": [
              "Default",
              "Valid"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "NotifyFieldsUpdated": {
            "type": "boolean"
          },
          "Card": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Card"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "CardRepairResponse": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          },
          "Card": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Card"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "CardRequest": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "RequestType": {
            "type": "string",
            "format": "uuid"
          },
          "CardID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardTypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileID": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileTypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileVersionID": {
            "type": [
              "null",
              "string"
            ]
          },
          "TaskID": {
            "type": [
              "null",
              "string"
            ]
          },
          "TaskTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "TaskTypeName": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "CardResponse": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "CardRowPermissionInfo": {
        "type": "object",
        "properties": {
          "RowID": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "RowPermissions": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardPermissionFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = AllowModify\n\n2 = ProhibitModify\n\n4 = AllowInsertRow\n\n8 = ProhibitInsertRow\n\n16 = AllowDeleteRow\n\n32 = ProhibitDeleteRow\n\n64 = AllowDeleteCard\n\n128 = ProhibitDeleteCard\n\n256 = AllowInsertFile\n\n512 = ProhibitInsertFile\n\n1024 = AllowDeleteFile\n\n2048 = ProhibitDeleteFile\n\n4096 = AllowReplaceFile\n\n8192 = ProhibitReplaceFile\n\n16384 = AllowEditNumber\n\n32768 = ProhibitEditNumber\n\n65536 = AllowSignFile\n\n131072 = ProhibitSignFile\n\n262144 = AllowCreateFileLink\n\n524288 = ProhibitCreateFileLink",
            "x-enumNames": [
              "None",
              "AllowModify",
              "ProhibitModify",
              "AllowInsertRow",
              "ProhibitInsertRow",
              "AllowDeleteRow",
              "ProhibitDeleteRow",
              "AllowDeleteCard",
              "ProhibitDeleteCard",
              "AllowInsertFile",
              "ProhibitInsertFile",
              "AllowDeleteFile",
              "ProhibitDeleteFile",
              "AllowReplaceFile",
              "ProhibitReplaceFile",
              "AllowEditNumber",
              "ProhibitEditNumber",
              "AllowSignFile",
              "ProhibitSignFile",
              "AllowCreateFileLink",
              "ProhibitCreateFileLink"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "FieldPermissions": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/CardPermissionFlags"
            }
          }
        },
        "additionalProperties": false
      },
      "CardRowSortingType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = Auto\n\n1 = Manual",
        "format": "int32",
        "x-enumNames": [
          "Auto",
          "Manual"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "CardRowState": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Modified\n\n2 = Inserted\n\n3 = Deleted",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Modified",
          "Inserted",
          "Deleted"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "CardSection": {
        "type": "object",
        "properties": {
          "Name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "Type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardSectionType"
              }
            ],
            "description": "\n\n0 = Entry\n\n1 = Table",
            "x-enumNames": [
              "Entry",
              "Table"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "Rows": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "object",
              "additionalProperties": { }
            }
          },
          "RowSortingType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardRowSortingType"
              }
            ],
            "description": "\n\n0 = Auto\n\n1 = Manual",
            "x-enumNames": [
              "Auto",
              "Manual"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "TableType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardTableType"
              }
            ],
            "description": "\n\n0 = Unspecified\n\n1 = Collection\n\n2 = Hierarchy",
            "x-enumNames": [
              "Unspecified",
              "Collection",
              "Hierarchy"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "Fields": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            },
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CardSectionPermissionInfo": {
        "type": "object",
        "properties": {
          "Name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "Type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardSectionType"
              }
            ],
            "description": "\n\n0 = Entry\n\n1 = Table",
            "x-enumNames": [
              "Entry",
              "Table"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "SectionPermissions": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardPermissionFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = AllowModify\n\n2 = ProhibitModify\n\n4 = AllowInsertRow\n\n8 = ProhibitInsertRow\n\n16 = AllowDeleteRow\n\n32 = ProhibitDeleteRow\n\n64 = AllowDeleteCard\n\n128 = ProhibitDeleteCard\n\n256 = AllowInsertFile\n\n512 = ProhibitInsertFile\n\n1024 = AllowDeleteFile\n\n2048 = ProhibitDeleteFile\n\n4096 = AllowReplaceFile\n\n8192 = ProhibitReplaceFile\n\n16384 = AllowEditNumber\n\n32768 = ProhibitEditNumber\n\n65536 = AllowSignFile\n\n131072 = ProhibitSignFile\n\n262144 = AllowCreateFileLink\n\n524288 = ProhibitCreateFileLink",
            "x-enumNames": [
              "None",
              "AllowModify",
              "ProhibitModify",
              "AllowInsertRow",
              "ProhibitInsertRow",
              "AllowDeleteRow",
              "ProhibitDeleteRow",
              "AllowDeleteCard",
              "ProhibitDeleteCard",
              "AllowInsertFile",
              "ProhibitInsertFile",
              "AllowDeleteFile",
              "ProhibitDeleteFile",
              "AllowReplaceFile",
              "ProhibitReplaceFile",
              "AllowEditNumber",
              "ProhibitEditNumber",
              "AllowSignFile",
              "ProhibitSignFile",
              "AllowCreateFileLink",
              "ProhibitCreateFileLink"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "FieldPermissions": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/CardPermissionFlags"
            }
          },
          "Rows": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/CardRowPermissionInfo"
            }
          }
        },
        "additionalProperties": false
      },
      "CardSectionType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = Entry\n\n1 = Table",
        "format": "int32",
        "x-enumNames": [
          "Entry",
          "Table"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "CardStoreMethod": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Default\n\n1 = Restore\n\n2 = Import",
        "format": "int32",
        "x-enumNames": [
          "Default",
          "Restore",
          "Import"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "CardStoreRequest": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "Card": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Card"
              }
            ]
          },
          "FileMapping": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardFileContentMapping"
            }
          },
          "AffectVersion": {
            "type": "boolean"
          },
          "DoesNotAffectVersion": {
            "type": "boolean"
          },
          "ForceTransaction": {
            "type": "boolean"
          },
          "Method": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardStoreMethod"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = Restore\n\n2 = Import",
            "x-enumNames": [
              "Default",
              "Restore",
              "Import"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "CardStoreResponse": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          },
          "CardID": {
            "type": "string",
            "format": "uuid"
          },
          "CardTypeID": {
            "type": "string",
            "format": "uuid"
          },
          "CardVersion": {
            "type": "integer",
            "format": "int32"
          },
          "StoreDateTime": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "CardTableType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Unspecified\n\n1 = Collection\n\n2 = Hierarchy",
        "format": "int32",
        "x-enumNames": [
          "Unspecified",
          "Collection",
          "Hierarchy"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "CardTask": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "RowID": {
            "type": "string",
            "format": "uuid"
          },
          "GroupRowID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Action": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardTaskAction"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Progress\n\n2 = Reinstate\n\n3 = Complete\n\n4 = Postpone\n\n5 = PostponeFromCreated\n\n6 = TakeOver\n\n7 = ModifyParameters",
            "x-enumNames": [
              "None",
              "Progress",
              "Reinstate",
              "Complete",
              "Postpone",
              "PostponeFromCreated",
              "TakeOver",
              "ModifyParameters"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "TypeID": {
            "type": "string",
            "format": "uuid"
          },
          "TypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeCaption": {
            "type": [
              "null",
              "string"
            ]
          },
          "UserID": {
            "type": [
              "null",
              "string"
            ]
          },
          "UserName": {
            "type": [
              "null",
              "string"
            ]
          },
          "AuthorID": {
            "type": [
              "null",
              "string"
            ]
          },
          "AuthorName": {
            "type": [
              "null",
              "string"
            ]
          },
          "AuthorTaskAssignedRoleRowID": {
            "type": [
              "null",
              "string"
            ]
          },
          "OptionID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Result": {
            "type": [
              "null",
              "string"
            ]
          },
          "Planned": {
            "type": [
              "null",
              "string"
            ]
          },
          "PlannedQuants": {
            "type": [
              "null",
              "string"
            ]
          },
          "PlannedWorkingDays": {
            "type": [
              "null",
              "string"
            ]
          },
          "PlannedType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardTaskPlannedType"
              }
            ],
            "description": "\n\n0 = None\n\n1 = InMasterTime",
            "x-enumNames": [
              "None",
              "InMasterTime"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "InProgress": {
            "type": [
              "null",
              "string"
            ]
          },
          "Digest": {
            "type": [
              "null",
              "string"
            ]
          },
          "ParentRowID": {
            "type": [
              "null",
              "string"
            ]
          },
          "HistoryItemParentRowID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Postponed": {
            "type": [
              "null",
              "string"
            ]
          },
          "PostponedTo": {
            "type": [
              "null",
              "string"
            ]
          },
          "PostponeComment": {
            "type": [
              "null",
              "string"
            ]
          },
          "SectionRows": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "object",
              "additionalProperties": { }
            }
          },
          "State": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardRowState"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Modified\n\n2 = Inserted\n\n3 = Deleted",
            "x-enumNames": [
              "None",
              "Modified",
              "Inserted",
              "Deleted"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "Flags": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardTaskFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Locked\n\n2 = System\n\n4 = CanPerform\n\n8 = CanPerformAsDeputy\n\n16 = Author\n\n32 = AuthorDeputy\n\n64 = HiddenFromAuthor\n\n128 = KeepTemporaryRoles\n\n256 = UpdateDigest\n\n512 = CreateHistoryItem\n\n1024 = HistoryItemCreated\n\n2048 = CanPostpone\n\n4096 = Postponed\n\n8192 = CurrentPerformer\n\n16384 = UnlockedByPerformer\n\n32768 = UnlockedForPerformer\n\n65536 = AutoStart\n\n131072 = UpdatePlanned\n\n262144 = UpdateTaskAssignedRoles\n\n524288 = SuppressAutoTakeInProgressWhenCompleted\n\n1048576 = UpdateSettings\n\n2097152 = CanModifyTaskAssignedRoles\n\n4194304 = UpdateAuthor\n\n8388608 = RecalculateAuthor\n\n16777216 = CanModifyTaskParameters",
            "x-enumNames": [
              "None",
              "Locked",
              "System",
              "CanPerform",
              "CanPerformAsDeputy",
              "Author",
              "AuthorDeputy",
              "HiddenFromAuthor",
              "KeepTemporaryRoles",
              "UpdateDigest",
              "CreateHistoryItem",
              "HistoryItemCreated",
              "CanPostpone",
              "Postponed",
              "CurrentPerformer",
              "UnlockedByPerformer",
              "UnlockedForPerformer",
              "AutoStart",
              "UpdatePlanned",
              "UpdateTaskAssignedRoles",
              "SuppressAutoTakeInProgressWhenCompleted",
              "UpdateSettings",
              "CanModifyTaskAssignedRoles",
              "UpdateAuthor",
              "RecalculateAuthor",
              "CanModifyTaskParameters"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "StoredState": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardTaskState"
              }
            ],
            "description": "\n\n0 = Created\n\n1 = InProgress\n\n2 = Postponed",
            "x-enumNames": [
              "Created",
              "InProgress",
              "Postponed"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "TimeZoneID": {
            "type": [
              "null",
              "string"
            ]
          },
          "TimeZoneUtcOffsetMinutes": {
            "type": [
              "null",
              "string"
            ]
          },
          "Settings": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "HistorySettings": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "TaskAssignedRoles": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTaskAssignedRole"
            }
          },
          "TaskSessionRoles": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTaskSessionRole"
            }
          },
          "CalendarID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CalendarName": {
            "type": [
              "null",
              "string"
            ]
          },
          "FormattedPlanned": {
            "type": [
              "null",
              "string"
            ]
          },
          "IsLocked": {
            "type": "boolean",
            "readOnly": true
          },
          "IsLockedExplicit": {
            "type": [
              "null",
              "string"
            ]
          },
          "IsLockedEffective": {
            "type": "boolean",
            "readOnly": true
          },
          "IsSystem": {
            "type": "boolean",
            "readOnly": true
          },
          "IsCanPerform": {
            "type": "boolean",
            "readOnly": true
          },
          "IsCanPerformAsDeputy": {
            "type": "boolean",
            "readOnly": true
          },
          "CanPostpone": {
            "type": "boolean"
          },
          "CanPostponeExplicit": {
            "type": [
              "null",
              "string"
            ]
          },
          "CanPostponeEffective": {
            "type": "boolean",
            "readOnly": true
          },
          "IsPostponed": {
            "type": "boolean",
            "readOnly": true
          },
          "IsHidden": {
            "type": "boolean"
          },
          "RolesCached": {
            "type": "boolean"
          },
          "SessionRolesCached": {
            "type": "boolean"
          },
          "AuthorTaskAssignedRoleRowIDCached": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CardTaskAction": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Progress\n\n2 = Reinstate\n\n3 = Complete\n\n4 = Postpone\n\n5 = PostponeFromCreated\n\n6 = TakeOver\n\n7 = ModifyParameters",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Progress",
          "Reinstate",
          "Complete",
          "Postpone",
          "PostponeFromCreated",
          "TakeOver",
          "ModifyParameters"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "CardTaskAssignedRole": {
        "type": "object",
        "properties": {
          "RowID": {
            "type": "string",
            "format": "uuid"
          },
          "TaskRoleID": {
            "type": "string",
            "format": "uuid"
          },
          "RoleID": {
            "type": "string",
            "format": "uuid"
          },
          "RoleName": {
            "type": [
              "null",
              "string"
            ]
          },
          "RoleType": {
            "type": [
              "null",
              "string"
            ]
          },
          "Position": {
            "type": [
              "null",
              "string"
            ]
          },
          "ShowInTaskDetails": {
            "type": [
              "null",
              "string"
            ]
          },
          "ParentRowID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Master": {
            "type": "boolean"
          },
          "Flags": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardTaskAssignedRoleFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Hidden",
            "x-enumNames": [
              "None",
              "Hidden"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "State": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardTaskAssignedRoleState"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Inserted\n\n2 = Deleted\n\n3 = Modified",
            "x-enumNames": [
              "None",
              "Inserted",
              "Deleted",
              "Modified"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "CardTaskAssignedRoleFlags": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Hidden",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Hidden"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "CardTaskAssignedRoleState": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Inserted\n\n2 = Deleted\n\n3 = Modified",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Inserted",
          "Deleted",
          "Modified"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "CardTaskFlags": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          16,
          32,
          64,
          128,
          256,
          512,
          1024,
          2048,
          4096,
          8192,
          16384,
          32768,
          65536,
          131072,
          262144,
          524288,
          1048576,
          2097152,
          4194304,
          8388608,
          16777216
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Locked\n\n2 = System\n\n4 = CanPerform\n\n8 = CanPerformAsDeputy\n\n16 = Author\n\n32 = AuthorDeputy\n\n64 = HiddenFromAuthor\n\n128 = KeepTemporaryRoles\n\n256 = UpdateDigest\n\n512 = CreateHistoryItem\n\n1024 = HistoryItemCreated\n\n2048 = CanPostpone\n\n4096 = Postponed\n\n8192 = CurrentPerformer\n\n16384 = UnlockedByPerformer\n\n32768 = UnlockedForPerformer\n\n65536 = AutoStart\n\n131072 = UpdatePlanned\n\n262144 = UpdateTaskAssignedRoles\n\n524288 = SuppressAutoTakeInProgressWhenCompleted\n\n1048576 = UpdateSettings\n\n2097152 = CanModifyTaskAssignedRoles\n\n4194304 = UpdateAuthor\n\n8388608 = RecalculateAuthor\n\n16777216 = CanModifyTaskParameters",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Locked",
          "System",
          "CanPerform",
          "CanPerformAsDeputy",
          "Author",
          "AuthorDeputy",
          "HiddenFromAuthor",
          "KeepTemporaryRoles",
          "UpdateDigest",
          "CreateHistoryItem",
          "HistoryItemCreated",
          "CanPostpone",
          "Postponed",
          "CurrentPerformer",
          "UnlockedByPerformer",
          "UnlockedForPerformer",
          "AutoStart",
          "UpdatePlanned",
          "UpdateTaskAssignedRoles",
          "SuppressAutoTakeInProgressWhenCompleted",
          "UpdateSettings",
          "CanModifyTaskAssignedRoles",
          "UpdateAuthor",
          "RecalculateAuthor",
          "CanModifyTaskParameters"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "CardTaskHistoryGroup": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "RowID": {
            "type": "string",
            "format": "uuid"
          },
          "ParentRowID": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Iteration": {
            "type": "integer",
            "format": "int32"
          },
          "State": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardTaskHistoryState"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Inserted\n\n2 = Modified\n\n3 = Deleted",
            "x-enumNames": [
              "None",
              "Inserted",
              "Modified",
              "Deleted"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "CardTaskHistoryItem": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "RowID": {
            "type": "string",
            "format": "uuid"
          },
          "GroupRowID": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeID": {
            "type": "string",
            "format": "uuid"
          },
          "TypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeCaption": {
            "type": [
              "null",
              "string"
            ]
          },
          "OptionID": {
            "type": [
              "null",
              "string"
            ]
          },
          "OptionName": {
            "type": [
              "null",
              "string"
            ]
          },
          "OptionCaption": {
            "type": [
              "null",
              "string"
            ]
          },
          "UserID": {
            "type": [
              "null",
              "string"
            ]
          },
          "UserName": {
            "type": [
              "null",
              "string"
            ]
          },
          "AuthorID": {
            "type": [
              "null",
              "string"
            ]
          },
          "AuthorName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Result": {
            "type": [
              "null",
              "string"
            ]
          },
          "Created": {
            "type": "string",
            "format": "date-time"
          },
          "Planned": {
            "type": "string",
            "format": "date-time"
          },
          "InProgress": {
            "type": [
              "null",
              "string"
            ]
          },
          "Completed": {
            "type": [
              "null",
              "string"
            ]
          },
          "CompletedByID": {
            "type": [
              "null",
              "string"
            ]
          },
          "CompletedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "CompletedByRole": {
            "type": [
              "null",
              "string"
            ]
          },
          "ParentRowID": {
            "type": [
              "null",
              "string"
            ]
          },
          "State": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardTaskHistoryState"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Inserted\n\n2 = Modified\n\n3 = Deleted",
            "x-enumNames": [
              "None",
              "Inserted",
              "Modified",
              "Deleted"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "TimeZoneID": {
            "type": [
              "null",
              "string"
            ]
          },
          "TimeZoneUtcOffsetMinutes": {
            "type": [
              "null",
              "string"
            ]
          },
          "KindID": {
            "type": [
              "null",
              "string"
            ]
          },
          "KindCaption": {
            "type": [
              "null",
              "string"
            ]
          },
          "CalendarID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Settings": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "AssignedOnRole": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "CardTaskHistoryState": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Inserted\n\n2 = Modified\n\n3 = Deleted",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Inserted",
          "Modified",
          "Deleted"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "CardTaskPlannedType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = InMasterTime",
        "format": "int32",
        "x-enumNames": [
          "None",
          "InMasterTime"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "CardTaskSessionRole": {
        "type": "object",
        "properties": {
          "TaskRoleRowID": {
            "type": "string",
            "format": "uuid"
          },
          "FunctionRoleID": {
            "type": "string",
            "format": "uuid"
          },
          "IsDeputy": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CardTaskState": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Created\n\n1 = InProgress\n\n2 = Postponed",
        "format": "int32",
        "x-enumNames": [
          "Created",
          "InProgress",
          "Postponed"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "CardType": {
        "type": "object",
        "properties": {
          "Reference": {
            "type": [
              "null",
              "string"
            ]
          },
          "InstanceType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardInstanceType"
              }
            ],
            "description": "\n\n0 = Card\n\n1 = File\n\n2 = Task\n\n3 = Dialog",
            "x-enumNames": [
              "Card",
              "File",
              "Task",
              "Dialog"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "Flags": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardTypeFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = StoreChangesets\n\n2 = DeleteWithBackup\n\n4 = SaveTaskWithFiles\n\n8 = AllowTasks\n\n16 = Hidden\n\n32 = AutoStartTasks\n\n64 = HiddenFromAuthor\n\n128 = Singleton\n\n256 = Administrative\n\n512 = CanPostpone\n\n1024 = NoSigning\n\n2048 = LoadWhenInitializing\n\n4096 = AllowFiles\n\n8192 = AllowReadOnlyForAllUsers\n\n16384 = CanModifyTaskParameters\n\n32768 = AllowTags\n\n65536 = UseFormEditor\n\n131072 = WithoutInstancesTable",
            "x-enumNames": [
              "None",
              "StoreChangesets",
              "DeleteWithBackup",
              "SaveTaskWithFiles",
              "AllowTasks",
              "Hidden",
              "AutoStartTasks",
              "HiddenFromAuthor",
              "Singleton",
              "Administrative",
              "CanPostpone",
              "NoSigning",
              "LoadWhenInitializing",
              "AllowFiles",
              "AllowReadOnlyForAllUsers",
              "CanModifyTaskParameters",
              "AllowTags",
              "UseFormEditor",
              "WithoutInstancesTable"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "MainFormName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Group": {
            "type": [
              "null",
              "string"
            ]
          },
          "DigestFormat": {
            "type": [
              "null",
              "string"
            ]
          },
          "SchemeItems": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTypeSchemeItem"
            }
          },
          "CompletionOptions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTypeCompletionOption"
            }
          },
          "CardTypeSections": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTypeSection"
            }
          },
          "Forms": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTypeNamedForm"
            }
          },
          "Extensions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTypeExtension"
            }
          },
          "Validators": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTypeValidator"
            }
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "CardTypeBlock": {
        "type": "object",
        "properties": {
          "Reference": {
            "type": [
              "null",
              "string"
            ]
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "BlockClass": {
            "type": [
              "null",
              "string"
            ]
          },
          "BlockSettings": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": { }
          },
          "FormSettings": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": { }
          },
          "Controls": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTypeControl"
            }
          }
        },
        "additionalProperties": false
      },
      "CardTypeCompletionOption": {
        "type": "object",
        "properties": {
          "Reference": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeID": {
            "type": "string",
            "format": "uuid"
          },
          "FormName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Flags": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardTypeCompletionOptionFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Additional\n\n2 = DoNotDeleteTask\n\n4 = ShowForAuthor\n\n8 = HideForPerformer",
            "x-enumNames": [
              "None",
              "Additional",
              "DoNotDeleteTask",
              "ShowForAuthor",
              "HideForPerformer"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "Validators": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTypeValidator"
            }
          },
          "FunctionRoleIDs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          }
        },
        "additionalProperties": false
      },
      "CardTypeCompletionOptionFlags": {
        "enum": [
          0,
          1,
          2,
          4,
          8
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Additional\n\n2 = DoNotDeleteTask\n\n4 = ShowForAuthor\n\n8 = HideForPerformer",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Additional",
          "DoNotDeleteTask",
          "ShowForAuthor",
          "HideForPerformer"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "CardTypeControl": {
        "type": "object",
        "properties": {
          "Reference": {
            "type": [
              "null",
              "string"
            ]
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "ToolTip": {
            "type": [
              "null",
              "string"
            ]
          },
          "Type": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/CardControlType"
              }
            ]
          },
          "ControlSettings": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": { }
          },
          "BlockSettings": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": { }
          }
        },
        "additionalProperties": false
      },
      "CardTypeEnrichedInfo": {
        "type": "object",
        "properties": {
          "Reference": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardType": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/CardType"
              }
            ]
          },
          "Sections": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardMetadataSection"
            }
          }
        },
        "additionalProperties": false
      },
      "CardTypeExtension": {
        "type": "object",
        "properties": {
          "Reference": {
            "type": [
              "null",
              "string"
            ]
          },
          "Type": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/CardTypeExtensionType"
              }
            ]
          },
          "ExtensionSettings": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": { }
          }
        },
        "additionalProperties": false
      },
      "CardTypeExtensionType": {
        "type": "object",
        "properties": {
          "isUnknown": {
            "type": "boolean",
            "readOnly": true
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CardTypeFlags": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          16,
          32,
          64,
          128,
          256,
          512,
          1024,
          2048,
          4096,
          8192,
          16384,
          32768,
          65536,
          131072
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = StoreChangesets\n\n2 = DeleteWithBackup\n\n4 = SaveTaskWithFiles\n\n8 = AllowTasks\n\n16 = Hidden\n\n32 = AutoStartTasks\n\n64 = HiddenFromAuthor\n\n128 = Singleton\n\n256 = Administrative\n\n512 = CanPostpone\n\n1024 = NoSigning\n\n2048 = LoadWhenInitializing\n\n4096 = AllowFiles\n\n8192 = AllowReadOnlyForAllUsers\n\n16384 = CanModifyTaskParameters\n\n32768 = AllowTags\n\n65536 = UseFormEditor\n\n131072 = WithoutInstancesTable",
        "format": "int32",
        "x-enumNames": [
          "None",
          "StoreChangesets",
          "DeleteWithBackup",
          "SaveTaskWithFiles",
          "AllowTasks",
          "Hidden",
          "AutoStartTasks",
          "HiddenFromAuthor",
          "Singleton",
          "Administrative",
          "CanPostpone",
          "NoSigning",
          "LoadWhenInitializing",
          "AllowFiles",
          "AllowReadOnlyForAllUsers",
          "CanModifyTaskParameters",
          "AllowTags",
          "UseFormEditor",
          "WithoutInstancesTable"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "CardTypeNamedForm": {
        "type": "object",
        "properties": {
          "Reference": {
            "type": [
              "null",
              "string"
            ]
          },
          "FormClass": {
            "type": [
              "null",
              "string"
            ]
          },
          "FormSettings": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": { }
          },
          "Blocks": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTypeBlock"
            }
          },
          "TabCaption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "CardTypeSchemeItem": {
        "type": "object",
        "properties": {
          "Reference": {
            "type": [
              "null",
              "string"
            ]
          },
          "SectionID": {
            "type": "string",
            "format": "uuid"
          },
          "ColumnIDList": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          }
        },
        "additionalProperties": false
      },
      "CardTypeSection": {
        "type": "object",
        "properties": {
          "Reference": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "TableType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SchemeTableContentType"
              }
            ],
            "description": "\n\n0 = Enumeration\n\n1 = Entries\n\n2 = Collections\n\n3 = Hierarchies",
            "x-enumNames": [
              "Enumeration",
              "Entries",
              "Collections",
              "Hierarchies"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "Columns": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTypeSectionColumn"
            }
          }
        },
        "additionalProperties": false
      },
      "CardTypeSectionColumn": {
        "type": "object",
        "properties": {
          "Reference": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "ColumnType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardMetadataColumnType"
              }
            ],
            "description": "\n\n0 = Physical\n\n1 = Complex\n\n2 = Reference",
            "x-enumNames": [
              "Physical",
              "Complex",
              "Reference"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "SchemeType": {
            "type": [
              "null",
              "string"
            ]
          },
          "DefaultValue": {
            "type": "null"
          },
          "ReferencedTableID": {
            "type": [
              "null",
              "string"
            ]
          },
          "ReferencedColumnID": {
            "type": [
              "null",
              "string"
            ]
          },
          "IsReferencedToOwner": {
            "type": "boolean"
          },
          "ReferencedColumns": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTypeSectionColumn"
            }
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "CardTypeServerStoreRequest": {
        "type": "object",
        "properties": {
          "Types": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardType"
            }
          },
          "TypeIdentifiersToDelete": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          }
        },
        "additionalProperties": false
      },
      "CardTypeValidator": {
        "type": "object",
        "properties": {
          "Reference": {
            "type": [
              "null",
              "string"
            ]
          },
          "Type": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/CardValidatorType"
              }
            ]
          },
          "ValidatorSettings": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": { }
          }
        },
        "additionalProperties": false
      },
      "CardValidatorType": {
        "type": "object",
        "properties": {
          "isUnknown": {
            "type": "boolean",
            "readOnly": true
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CollapseGroupsMode": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = InViewDefined\n\n1 = True\n\n2 = False",
        "format": "int32",
        "x-enumNames": [
          "InViewDefined",
          "True",
          "False"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "CommandBehavior": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          16,
          32
        ],
        "type": "integer",
        "description": "\n\n0 = Default\n\n1 = SingleResult\n\n2 = SchemaOnly\n\n4 = KeyInfo\n\n8 = SingleRow\n\n16 = SequentialAccess\n\n32 = CloseConnection",
        "format": "int32",
        "x-enumNames": [
          "Default",
          "SingleResult",
          "SchemaOnly",
          "KeyInfo",
          "SingleRow",
          "SequentialAccess",
          "CloseConnection"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "CommandInfo": {
        "type": "object",
        "properties": {
          "commandText": {
            "type": [
              "null",
              "string"
            ]
          },
          "parameters": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/DataParameter"
            }
          },
          "commandType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommandType"
              }
            ],
            "description": "\n\n1 = Text\n\n4 = StoredProcedure\n\n512 = TableDirect",
            "x-enumNames": [
              "Text",
              "StoredProcedure",
              "TableDirect"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "commandBehavior": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommandBehavior"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = SingleResult\n\n2 = SchemaOnly\n\n4 = KeyInfo\n\n8 = SingleRow\n\n16 = SequentialAccess\n\n32 = CloseConnection",
            "x-enumNames": [
              "Default",
              "SingleResult",
              "SchemaOnly",
              "KeyInfo",
              "SingleRow",
              "SequentialAccess",
              "CloseConnection"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "CommandType": {
        "enum": [
          1,
          4,
          512
        ],
        "type": "integer",
        "description": "\n\n1 = Text\n\n4 = StoredProcedure\n\n512 = TableDirect",
        "format": "int32",
        "x-enumNames": [
          "Text",
          "StoredProcedure",
          "TableDirect"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "CompareNulls": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = LikeClr\n\n1 = LikeSql\n\n2 = LikeSqlExceptParameters",
        "format": "int32",
        "x-enumNames": [
          "LikeClr",
          "LikeSql",
          "LikeSqlExceptParameters"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "ConnectionOptions": {
        "type": "object",
        "properties": {
          "configurationString": {
            "type": [
              "null",
              "string"
            ]
          },
          "connectionString": {
            "type": [
              "null",
              "string"
            ]
          },
          "dataProvider": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IDataProvider"
              }
            ]
          },
          "providerName": {
            "type": [
              "null",
              "string"
            ]
          },
          "mappingSchema": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MappingSchema"
              }
            ]
          },
          "dbConnection": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DbConnection"
              }
            ]
          },
          "dbTransaction": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DbTransaction"
              }
            ]
          },
          "disposeConnection": {
            "type": [
              "null",
              "string"
            ]
          },
          "connectionFactory": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DataOptionsDbConnectionFunc"
              }
            ]
          },
          "dataProviderFactory": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ConnectionOptionsIDataProviderFunc"
              }
            ]
          },
          "connectionInterceptor": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ConnectionOptionsConnectionInterceptor"
              }
            ]
          },
          "onEntityDescriptorCreated": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MappingSchemaIEntityChangeDescriptorAction"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "ConnectionOptionsConnectionInterceptor": {
        "type": "object",
        "additionalProperties": false
      },
      "ConnectionOptionsIDataProviderFunc": {
        "type": "object",
        "properties": {
          "hasSingleTarget": {
            "type": "boolean",
            "readOnly": true
          },
          "target": {
            "type": "null",
            "readOnly": true
          },
          "method": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodInfo"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ConnectionState": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          16
        ],
        "type": "integer",
        "description": "\n\n0 = Closed\n\n1 = Open\n\n2 = Connecting\n\n4 = Executing\n\n8 = Fetching\n\n16 = Broken",
        "format": "int32",
        "x-enumNames": [
          "Closed",
          "Open",
          "Connecting",
          "Executing",
          "Fetching",
          "Broken"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "ConstructorInfo": {
        "type": "object",
        "properties": {
          "memberType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MemberTypes"
              }
            ],
            "description": "\n\n1 = Constructor\n\n2 = Event\n\n4 = Field\n\n8 = Method\n\n16 = Property\n\n32 = TypeInfo\n\n64 = Custom\n\n128 = NestedType\n\n191 = All",
            "readOnly": true,
            "x-enumNames": [
              "Constructor",
              "Event",
              "Field",
              "Method",
              "Property",
              "TypeInfo",
              "Custom",
              "NestedType",
              "All"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "attributes": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodAttributes"
              }
            ],
            "description": "\n\n0 = ReuseSlot\n\n1 = Private\n\n2 = FamANDAssem\n\n3 = Assembly\n\n4 = Family\n\n5 = FamORAssem\n\n6 = Public\n\n7 = MemberAccessMask\n\n8 = UnmanagedExport\n\n16 = Static\n\n32 = Final\n\n64 = Virtual\n\n128 = HideBySig\n\n256 = VtableLayoutMask\n\n512 = CheckAccessOnOverride\n\n1024 = Abstract\n\n2048 = SpecialName\n\n4096 = RTSpecialName\n\n8192 = PinvokeImpl\n\n16384 = HasSecurity\n\n32768 = RequireSecObject\n\n53248 = ReservedMask",
            "readOnly": true,
            "x-enumNames": [
              "ReuseSlot",
              "Private",
              "FamANDAssem",
              "Assembly",
              "Family",
              "FamORAssem",
              "Public",
              "MemberAccessMask",
              "UnmanagedExport",
              "Static",
              "Final",
              "Virtual",
              "HideBySig",
              "VtableLayoutMask",
              "CheckAccessOnOverride",
              "Abstract",
              "SpecialName",
              "RTSpecialName",
              "PinvokeImpl",
              "HasSecurity",
              "RequireSecObject",
              "ReservedMask"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "methodImplementationFlags": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodImplAttributes"
              }
            ],
            "description": "\n\n0 = Managed\n\n1 = Native\n\n2 = OPTIL\n\n3 = Runtime\n\n4 = Unmanaged\n\n8 = NoInlining\n\n16 = ForwardRef\n\n32 = Synchronized\n\n64 = NoOptimization\n\n128 = PreserveSig\n\n256 = AggressiveInlining\n\n512 = AggressiveOptimization\n\n4096 = InternalCall\n\n8192 = Async\n\n65535 = MaxMethodImplVal",
            "readOnly": true,
            "x-enumNames": [
              "Managed",
              "Native",
              "OPTIL",
              "Runtime",
              "Unmanaged",
              "NoInlining",
              "ForwardRef",
              "Synchronized",
              "NoOptimization",
              "PreserveSig",
              "AggressiveInlining",
              "AggressiveOptimization",
              "InternalCall",
              "Async",
              "MaxMethodImplVal"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "callingConvention": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CallingConventions"
              }
            ],
            "description": "\n\n1 = Standard\n\n2 = VarArgs\n\n3 = Any\n\n32 = HasThis\n\n64 = ExplicitThis",
            "readOnly": true,
            "x-enumNames": [
              "Standard",
              "VarArgs",
              "Any",
              "HasThis",
              "ExplicitThis"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "isAbstract": {
            "type": "boolean",
            "readOnly": true
          },
          "isConstructor": {
            "type": "boolean",
            "readOnly": true
          },
          "isFinal": {
            "type": "boolean",
            "readOnly": true
          },
          "isHideBySig": {
            "type": "boolean",
            "readOnly": true
          },
          "isSpecialName": {
            "type": "boolean",
            "readOnly": true
          },
          "isStatic": {
            "type": "boolean",
            "readOnly": true
          },
          "isVirtual": {
            "type": "boolean",
            "readOnly": true
          },
          "isAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamily": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamilyAndAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamilyOrAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isPrivate": {
            "type": "boolean",
            "readOnly": true
          },
          "isPublic": {
            "type": "boolean",
            "readOnly": true
          },
          "isConstructedGenericMethod": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericMethod": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericMethodDefinition": {
            "type": "boolean",
            "readOnly": true
          },
          "containsGenericParameters": {
            "type": "boolean",
            "readOnly": true
          },
          "methodHandle": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RuntimeMethodHandle"
              }
            ],
            "readOnly": true
          },
          "isSecurityCritical": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecuritySafeCritical": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecurityTransparent": {
            "type": "boolean",
            "readOnly": true
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "declaringType": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "reflectedType": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "module": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Module"
              }
            ],
            "readOnly": true
          },
          "customAttributes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "readOnly": true
          },
          "isCollectible": {
            "type": "boolean",
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ContentTokenRequest": {
        "type": "object",
        "properties": {
          "Scope": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "ContentType": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "CreateCardImportRequest": {
        "type": "object",
        "properties": {
          "FileHeaders": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardImportFileHeader"
            }
          }
        },
        "additionalProperties": false
      },
      "CreateCardImportResponse": {
        "type": "object",
        "properties": {
          "ID": {
            "type": [
              "null",
              "string"
            ]
          },
          "ImportingCardsInfo": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardImportInfo"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationResult"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "CreateOperationRequest": {
        "type": "object",
        "properties": {
          "TypeID": {
            "type": "string",
            "format": "uuid"
          },
          "Flags": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OperationCreationFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = CreateInProgress\n\n2 = ReportsProgress\n\n4 = FailOnHashCollision",
            "x-enumNames": [
              "None",
              "CreateInProgress",
              "ReportsProgress",
              "FailOnHashCollision"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "Digest": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": [
              "null",
              "string"
            ]
          },
          "ObjectID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Request": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/OperationRequest"
              }
            ]
          },
          "Hash": {
            "type": [
              "null",
              "string"
            ],
            "format": "byte"
          },
          "Postponed": {
            "type": [
              "null",
              "string"
            ]
          },
          "JsonStatus": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "CriteriaValue": {
        "type": "object",
        "properties": {
          "Value": {
            "type": "null"
          },
          "Text": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "CustomAttributeData": {
        "type": "object",
        "properties": {
          "attributeType": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "constructor": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ConstructorInfo"
              }
            ],
            "readOnly": true
          },
          "constructorArguments": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CustomAttributeTypedArgument"
            },
            "readOnly": true
          },
          "namedArguments": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CustomAttributeNamedArgument"
            },
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CustomAttributeNamedArgument": {
        "type": "object",
        "properties": {
          "memberInfo": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MemberInfo"
              }
            ]
          },
          "typedValue": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomAttributeTypedArgument"
              }
            ],
            "readOnly": true
          },
          "memberName": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "isField": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CustomAttributeTypedArgument": {
        "type": "object",
        "properties": {
          "argumentType": {
            "type": [
              "null",
              "string"
            ]
          },
          "value": {
            "type": "null"
          }
        },
        "additionalProperties": false
      },
      "Dashboard": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DashboardType"
              }
            ],
            "description": "\n\n0 = Personal ($$Enum_DashboardTypes_Personal(en))\n\n1 = Template ($$Enum_DashboardTypes_Template(en))",
            "x-enumNames": [
              "Personal",
              "Template"
            ],
            "x-enumDescriptions": [
              "$$Enum_DashboardTypes_Personal(en)",
              "$$Enum_DashboardTypes_Template(en)"
            ]
          },
          "Version": {
            "type": "integer",
            "format": "int32"
          },
          "LayoutSettings": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "Widgets": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/Widget"
            }
          }
        },
        "additionalProperties": false
      },
      "DashboardGetResult": {
        "type": "object",
        "properties": {
          "Dashboard": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Dashboard"
              }
            ]
          },
          "Token": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DashboardToken"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "DashboardStoreRequest": {
        "type": "object",
        "properties": {
          "Dashboard": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Dashboard"
              }
            ]
          },
          "Files": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/WidgetFile"
              }
            }
          },
          "FileHeaders": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/WidgetFileHeader"
            }
          },
          "WidgetOptions": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/WidgetStoreOptions"
            }
          }
        },
        "additionalProperties": false
      },
      "DashboardStoreResponse": {
        "type": "object",
        "properties": {
          "Result": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DashboardStoreResult"
              }
            ]
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "DashboardStoreResult": {
        "type": "object",
        "properties": {
          "DashboardVersion": {
            "type": "integer",
            "format": "int32"
          },
          "WidgetUpdates": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/WidgetUpdateInfo"
            }
          }
        },
        "additionalProperties": false
      },
      "DashboardToken": {
        "type": "object",
        "properties": {
          "WidgetID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Issued": {
            "type": "string",
            "format": "date-time"
          },
          "Expires": {
            "type": "string",
            "format": "date-time"
          },
          "Access": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DashboardTokenAccess"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Read\n\n3 = Write",
            "x-enumNames": [
              "None",
              "Read",
              "Write"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "Signature": {
            "type": [
              "null",
              "string"
            ]
          },
          "IsSealed": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "DashboardTokenAccess": {
        "enum": [
          0,
          1,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Read\n\n3 = Write",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Read",
          "Write"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "DashboardType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = Personal ($$Enum_DashboardTypes_Personal(en))\n\n1 = Template ($$Enum_DashboardTypes_Template(en))",
        "format": "int32",
        "x-enumNames": [
          "Personal",
          "Template"
        ],
        "x-enumDescriptions": [
          "$$Enum_DashboardTypes_Personal(en)",
          "$$Enum_DashboardTypes_Template(en)"
        ]
      },
      "DataConnection": {
        "type": "object",
        "properties": {
          "options": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DataOptions"
              }
            ]
          },
          "configurationString": {
            "type": [
              "null",
              "string"
            ]
          },
          "dataProvider": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IDataProvider"
              }
            ]
          },
          "connectionString": {
            "type": [
              "null",
              "string"
            ]
          },
          "retryPolicy": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IRetryPolicy"
              }
            ]
          },
          "tag": {
            "type": [
              "null",
              "string"
            ]
          },
          "isMarsEnabled": {
            "type": "boolean",
            "deprecated": true
          },
          "onTraceConnection": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/TraceInfoAction"
              }
            ]
          },
          "traceSwitchConnection": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/TraceSwitch"
              }
            ]
          },
          "writeTraceLineConnection": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/StringStringTraceLevelAction"
              }
            ],
            "readOnly": true
          },
          "connection": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DbConnection"
              }
            ],
            "deprecated": true
          },
          "lastQuery": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "commandTimeout": {
            "type": "integer",
            "format": "int32"
          },
          "transaction": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DbTransaction"
              }
            ]
          },
          "mappingSchema": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MappingSchema"
              }
            ]
          },
          "inlineParameters": {
            "type": "boolean"
          },
          "queryHints": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "readOnly": true
          },
          "nextQueryHints": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "readOnly": true
          },
          "throwOnDisposed": {
            "type": [
              "null",
              "string"
            ],
            "deprecated": true
          },
          "onRemoveInterceptor": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IInterceptorAction"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "DataConnectionIRetryPolicyFunc": {
        "type": "object",
        "properties": {
          "hasSingleTarget": {
            "type": "boolean",
            "readOnly": true
          },
          "target": {
            "type": "null",
            "readOnly": true
          },
          "method": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodInfo"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "DataContextOptions": {
        "type": "object",
        "properties": {
          "commandTimeout": {
            "type": [
              "null",
              "string"
            ]
          },
          "interceptors": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IInterceptor"
            }
          },
          "memberTranslators": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IMemberTranslator"
            }
          }
        },
        "additionalProperties": false
      },
      "DataOptions": {
        "type": "object",
        "properties": {
          "linqOptions": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/LinqOptions"
              }
            ],
            "readOnly": true
          },
          "retryPolicyOptions": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/RetryPolicyOptions"
              }
            ],
            "readOnly": true
          },
          "connectionOptions": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ConnectionOptions"
              }
            ]
          },
          "dataContextOptions": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DataContextOptions"
              }
            ],
            "readOnly": true
          },
          "bulkCopyOptions": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/BulkCopyOptions"
              }
            ],
            "readOnly": true
          },
          "sqlOptions": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/SqlOptions"
              }
            ],
            "readOnly": true
          },
          "optionSets": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IOptionSet"
            },
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "DataOptionsDbConnectionFunc": {
        "type": "object",
        "properties": {
          "hasSingleTarget": {
            "type": "boolean",
            "readOnly": true
          },
          "target": {
            "type": "null",
            "readOnly": true
          },
          "method": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodInfo"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "DataParameter": {
        "type": "object",
        "properties": {
          "dataType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DataType"
              }
            ],
            "description": "\n\n0 = Undefined\n\n1 = Char\n\n2 = VarChar\n\n3 = Text\n\n4 = NChar\n\n5 = NVarChar\n\n6 = NText\n\n7 = Binary\n\n8 = VarBinary\n\n9 = Blob\n\n10 = Image\n\n11 = Boolean\n\n12 = Guid\n\n13 = SByte\n\n14 = Int16\n\n15 = Int32\n\n16 = Int64\n\n17 = Byte\n\n18 = UInt16\n\n19 = UInt32\n\n20 = UInt64\n\n21 = Half\n\n22 = Single\n\n23 = Double\n\n24 = Decimal\n\n25 = Money\n\n26 = SmallMoney\n\n27 = Date\n\n28 = DateTz\n\n29 = Date32\n\n30 = Time\n\n31 = DateTime\n\n32 = DateTime2\n\n33 = DateTimeTz\n\n34 = DateTime2Tz\n\n35 = SmallDateTime\n\n36 = DateTimeOffset\n\n37 = DateTime64\n\n38 = Timestamp\n\n39 = Timestamp64\n\n40 = Xml\n\n41 = Variant\n\n42 = VarNumeric\n\n43 = Udt\n\n44 = BitArray\n\n45 = Dictionary\n\n46 = Cursor\n\n47 = Json\n\n48 = BinaryJson\n\n49 = Yson\n\n50 = Structured\n\n51 = Long\n\n52 = LongRaw\n\n53 = Interval\n\n54 = Interval64\n\n55 = Enum\n\n56 = Enum8\n\n57 = Enum16\n\n58 = BFile\n\n59 = DecFloat\n\n60 = SmallDecFloat\n\n61 = TimeTZ\n\n62 = Int128\n\n63 = UInt128\n\n64 = Int256\n\n65 = UInt256\n\n66 = IPv4\n\n67 = IPv6\n\n68 = IntervalSecond\n\n69 = IntervalMinute\n\n70 = IntervalHour\n\n71 = IntervalDay\n\n72 = IntervalWeek\n\n73 = IntervalMonth\n\n74 = IntervalQuarter\n\n75 = IntervalYear\n\n76 = Decimal32\n\n77 = Decimal64\n\n78 = Decimal128\n\n79 = Decimal256\n\n-2147483648 = Array\n\n-2147483627 = Vector16\n\n-2147483626 = Vector32",
            "x-enumNames": [
              "Undefined",
              "Char",
              "VarChar",
              "Text",
              "NChar",
              "NVarChar",
              "NText",
              "Binary",
              "VarBinary",
              "Blob",
              "Image",
              "Boolean",
              "Guid",
              "SByte",
              "Int16",
              "Int32",
              "Int64",
              "Byte",
              "UInt16",
              "UInt32",
              "UInt64",
              "Half",
              "Single",
              "Double",
              "Decimal",
              "Money",
              "SmallMoney",
              "Date",
              "DateTz",
              "Date32",
              "Time",
              "DateTime",
              "DateTime2",
              "DateTimeTz",
              "DateTime2Tz",
              "SmallDateTime",
              "DateTimeOffset",
              "DateTime64",
              "Timestamp",
              "Timestamp64",
              "Xml",
              "Variant",
              "VarNumeric",
              "Udt",
              "BitArray",
              "Dictionary",
              "Cursor",
              "Json",
              "BinaryJson",
              "Yson",
              "Structured",
              "Long",
              "LongRaw",
              "Interval",
              "Interval64",
              "Enum",
              "Enum8",
              "Enum16",
              "BFile",
              "DecFloat",
              "SmallDecFloat",
              "TimeTZ",
              "Int128",
              "UInt128",
              "Int256",
              "UInt256",
              "IPv4",
              "IPv6",
              "IntervalSecond",
              "IntervalMinute",
              "IntervalHour",
              "IntervalDay",
              "IntervalWeek",
              "IntervalMonth",
              "IntervalQuarter",
              "IntervalYear",
              "Decimal32",
              "Decimal64",
              "Decimal128",
              "Decimal256",
              "Array",
              "Vector16",
              "Vector32"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "dbType": {
            "type": [
              "null",
              "string"
            ]
          },
          "direction": {
            "type": [
              "null",
              "string"
            ]
          },
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "isArray": {
            "type": "boolean"
          },
          "precision": {
            "type": [
              "null",
              "string"
            ]
          },
          "scale": {
            "type": [
              "null",
              "string"
            ]
          },
          "size": {
            "type": [
              "null",
              "string"
            ]
          },
          "value": {
            "type": "null"
          },
          "output": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DbParameter"
              }
            ],
            "readOnly": true
          },
          "dbDataType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DbDataType"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "DataRowVersion": {
        "enum": [
          256,
          512,
          1024,
          1536
        ],
        "type": "integer",
        "description": "\n\n256 = Original\n\n512 = Current\n\n1024 = Proposed\n\n1536 = Default",
        "format": "int32",
        "x-enumNames": [
          "Original",
          "Current",
          "Proposed",
          "Default"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "DataType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47,
          48,
          49,
          50,
          51,
          52,
          53,
          54,
          55,
          56,
          57,
          58,
          59,
          60,
          61,
          62,
          63,
          64,
          65,
          66,
          67,
          68,
          69,
          70,
          71,
          72,
          73,
          74,
          75,
          76,
          77,
          78,
          79,
          -2147483648,
          -2147483627,
          -2147483626
        ],
        "type": "integer",
        "description": "\n\n0 = Undefined\n\n1 = Char\n\n2 = VarChar\n\n3 = Text\n\n4 = NChar\n\n5 = NVarChar\n\n6 = NText\n\n7 = Binary\n\n8 = VarBinary\n\n9 = Blob\n\n10 = Image\n\n11 = Boolean\n\n12 = Guid\n\n13 = SByte\n\n14 = Int16\n\n15 = Int32\n\n16 = Int64\n\n17 = Byte\n\n18 = UInt16\n\n19 = UInt32\n\n20 = UInt64\n\n21 = Half\n\n22 = Single\n\n23 = Double\n\n24 = Decimal\n\n25 = Money\n\n26 = SmallMoney\n\n27 = Date\n\n28 = DateTz\n\n29 = Date32\n\n30 = Time\n\n31 = DateTime\n\n32 = DateTime2\n\n33 = DateTimeTz\n\n34 = DateTime2Tz\n\n35 = SmallDateTime\n\n36 = DateTimeOffset\n\n37 = DateTime64\n\n38 = Timestamp\n\n39 = Timestamp64\n\n40 = Xml\n\n41 = Variant\n\n42 = VarNumeric\n\n43 = Udt\n\n44 = BitArray\n\n45 = Dictionary\n\n46 = Cursor\n\n47 = Json\n\n48 = BinaryJson\n\n49 = Yson\n\n50 = Structured\n\n51 = Long\n\n52 = LongRaw\n\n53 = Interval\n\n54 = Interval64\n\n55 = Enum\n\n56 = Enum8\n\n57 = Enum16\n\n58 = BFile\n\n59 = DecFloat\n\n60 = SmallDecFloat\n\n61 = TimeTZ\n\n62 = Int128\n\n63 = UInt128\n\n64 = Int256\n\n65 = UInt256\n\n66 = IPv4\n\n67 = IPv6\n\n68 = IntervalSecond\n\n69 = IntervalMinute\n\n70 = IntervalHour\n\n71 = IntervalDay\n\n72 = IntervalWeek\n\n73 = IntervalMonth\n\n74 = IntervalQuarter\n\n75 = IntervalYear\n\n76 = Decimal32\n\n77 = Decimal64\n\n78 = Decimal128\n\n79 = Decimal256\n\n-2147483648 = Array\n\n-2147483627 = Vector16\n\n-2147483626 = Vector32",
        "format": "int32",
        "x-enumNames": [
          "Undefined",
          "Char",
          "VarChar",
          "Text",
          "NChar",
          "NVarChar",
          "NText",
          "Binary",
          "VarBinary",
          "Blob",
          "Image",
          "Boolean",
          "Guid",
          "SByte",
          "Int16",
          "Int32",
          "Int64",
          "Byte",
          "UInt16",
          "UInt32",
          "UInt64",
          "Half",
          "Single",
          "Double",
          "Decimal",
          "Money",
          "SmallMoney",
          "Date",
          "DateTz",
          "Date32",
          "Time",
          "DateTime",
          "DateTime2",
          "DateTimeTz",
          "DateTime2Tz",
          "SmallDateTime",
          "DateTimeOffset",
          "DateTime64",
          "Timestamp",
          "Timestamp64",
          "Xml",
          "Variant",
          "VarNumeric",
          "Udt",
          "BitArray",
          "Dictionary",
          "Cursor",
          "Json",
          "BinaryJson",
          "Yson",
          "Structured",
          "Long",
          "LongRaw",
          "Interval",
          "Interval64",
          "Enum",
          "Enum8",
          "Enum16",
          "BFile",
          "DecFloat",
          "SmallDecFloat",
          "TimeTZ",
          "Int128",
          "UInt128",
          "Int256",
          "UInt256",
          "IPv4",
          "IPv6",
          "IntervalSecond",
          "IntervalMinute",
          "IntervalHour",
          "IntervalDay",
          "IntervalWeek",
          "IntervalMonth",
          "IntervalQuarter",
          "IntervalYear",
          "Decimal32",
          "Decimal64",
          "Decimal128",
          "Decimal256",
          "Array",
          "Vector16",
          "Vector32"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "DbConnection": {
        "type": "object",
        "properties": {
          "connectionString": {
            "type": [
              "null",
              "string"
            ],
            "default": ""
          },
          "connectionTimeout": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "database": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "dataSource": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "serverVersion": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "state": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ConnectionState"
              }
            ],
            "description": "\n\n0 = Closed\n\n1 = Open\n\n2 = Connecting\n\n4 = Executing\n\n8 = Fetching\n\n16 = Broken",
            "readOnly": true,
            "x-enumNames": [
              "Closed",
              "Open",
              "Connecting",
              "Executing",
              "Fetching",
              "Broken"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "canCreateBatch": {
            "type": "boolean",
            "readOnly": true
          },
          "site": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ISite"
              }
            ]
          },
          "container": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IContainer"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "DbDataType": {
        "type": "object",
        "properties": {
          "systemType": {
            "type": [
              "null",
              "string"
            ]
          },
          "dataType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DataType"
              }
            ],
            "description": "\n\n0 = Undefined\n\n1 = Char\n\n2 = VarChar\n\n3 = Text\n\n4 = NChar\n\n5 = NVarChar\n\n6 = NText\n\n7 = Binary\n\n8 = VarBinary\n\n9 = Blob\n\n10 = Image\n\n11 = Boolean\n\n12 = Guid\n\n13 = SByte\n\n14 = Int16\n\n15 = Int32\n\n16 = Int64\n\n17 = Byte\n\n18 = UInt16\n\n19 = UInt32\n\n20 = UInt64\n\n21 = Half\n\n22 = Single\n\n23 = Double\n\n24 = Decimal\n\n25 = Money\n\n26 = SmallMoney\n\n27 = Date\n\n28 = DateTz\n\n29 = Date32\n\n30 = Time\n\n31 = DateTime\n\n32 = DateTime2\n\n33 = DateTimeTz\n\n34 = DateTime2Tz\n\n35 = SmallDateTime\n\n36 = DateTimeOffset\n\n37 = DateTime64\n\n38 = Timestamp\n\n39 = Timestamp64\n\n40 = Xml\n\n41 = Variant\n\n42 = VarNumeric\n\n43 = Udt\n\n44 = BitArray\n\n45 = Dictionary\n\n46 = Cursor\n\n47 = Json\n\n48 = BinaryJson\n\n49 = Yson\n\n50 = Structured\n\n51 = Long\n\n52 = LongRaw\n\n53 = Interval\n\n54 = Interval64\n\n55 = Enum\n\n56 = Enum8\n\n57 = Enum16\n\n58 = BFile\n\n59 = DecFloat\n\n60 = SmallDecFloat\n\n61 = TimeTZ\n\n62 = Int128\n\n63 = UInt128\n\n64 = Int256\n\n65 = UInt256\n\n66 = IPv4\n\n67 = IPv6\n\n68 = IntervalSecond\n\n69 = IntervalMinute\n\n70 = IntervalHour\n\n71 = IntervalDay\n\n72 = IntervalWeek\n\n73 = IntervalMonth\n\n74 = IntervalQuarter\n\n75 = IntervalYear\n\n76 = Decimal32\n\n77 = Decimal64\n\n78 = Decimal128\n\n79 = Decimal256\n\n-2147483648 = Array\n\n-2147483627 = Vector16\n\n-2147483626 = Vector32",
            "x-enumNames": [
              "Undefined",
              "Char",
              "VarChar",
              "Text",
              "NChar",
              "NVarChar",
              "NText",
              "Binary",
              "VarBinary",
              "Blob",
              "Image",
              "Boolean",
              "Guid",
              "SByte",
              "Int16",
              "Int32",
              "Int64",
              "Byte",
              "UInt16",
              "UInt32",
              "UInt64",
              "Half",
              "Single",
              "Double",
              "Decimal",
              "Money",
              "SmallMoney",
              "Date",
              "DateTz",
              "Date32",
              "Time",
              "DateTime",
              "DateTime2",
              "DateTimeTz",
              "DateTime2Tz",
              "SmallDateTime",
              "DateTimeOffset",
              "DateTime64",
              "Timestamp",
              "Timestamp64",
              "Xml",
              "Variant",
              "VarNumeric",
              "Udt",
              "BitArray",
              "Dictionary",
              "Cursor",
              "Json",
              "BinaryJson",
              "Yson",
              "Structured",
              "Long",
              "LongRaw",
              "Interval",
              "Interval64",
              "Enum",
              "Enum8",
              "Enum16",
              "BFile",
              "DecFloat",
              "SmallDecFloat",
              "TimeTZ",
              "Int128",
              "UInt128",
              "Int256",
              "UInt256",
              "IPv4",
              "IPv6",
              "IntervalSecond",
              "IntervalMinute",
              "IntervalHour",
              "IntervalDay",
              "IntervalWeek",
              "IntervalMonth",
              "IntervalQuarter",
              "IntervalYear",
              "Decimal32",
              "Decimal64",
              "Decimal128",
              "Decimal256",
              "Array",
              "Vector16",
              "Vector32"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "dbType": {
            "type": [
              "null",
              "string"
            ]
          },
          "length": {
            "type": [
              "null",
              "string"
            ]
          },
          "precision": {
            "type": [
              "null",
              "string"
            ]
          },
          "scale": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "DbManager": {
        "type": "object",
        "properties": {
          "dbms": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Dbms"
              }
            ],
            "description": "\n\n0 = Unknown\n\n1 = SqlServer\n\n2 = PostgreSql",
            "readOnly": true,
            "x-enumNames": [
              "Unknown",
              "SqlServer",
              "PostgreSql"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "dataConnection": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DataConnection"
              }
            ]
          },
          "commandInfoTimeout": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "queryExecutorFlags": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QueryExecutorFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = WithoutParameters",
            "readOnly": true,
            "x-enumNames": [
              "None",
              "WithoutParameters"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "commandInfo": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/CommandInfo"
              }
            ],
            "readOnly": true
          },
          "commandInitialized": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DbManagerDbCommandDbCommandFunc"
              }
            ]
          },
          "beforeCommandExecuted": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DbManagerDbCommandAction"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "DbManagerDbCommandAction": {
        "type": "object",
        "properties": {
          "hasSingleTarget": {
            "type": "boolean",
            "readOnly": true
          },
          "target": {
            "type": "null",
            "readOnly": true
          },
          "method": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodInfo"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "DbManagerDbCommandDbCommandFunc": {
        "type": "object",
        "properties": {
          "hasSingleTarget": {
            "type": "boolean",
            "readOnly": true
          },
          "target": {
            "type": "null",
            "readOnly": true
          },
          "method": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodInfo"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "DbParameter": {
        "type": "object",
        "properties": {
          "dbType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DbType"
              }
            ],
            "description": "\n\n0 = AnsiString\n\n1 = Binary\n\n2 = Byte\n\n3 = Boolean\n\n4 = Currency\n\n5 = Date\n\n6 = DateTime\n\n7 = Decimal\n\n8 = Double\n\n9 = Guid\n\n10 = Int16\n\n11 = Int32\n\n12 = Int64\n\n13 = Object\n\n14 = SByte\n\n15 = Single\n\n16 = String\n\n17 = Time\n\n18 = UInt16\n\n19 = UInt32\n\n20 = UInt64\n\n21 = VarNumeric\n\n22 = AnsiStringFixedLength\n\n23 = StringFixedLength\n\n25 = Xml\n\n26 = DateTime2\n\n27 = DateTimeOffset",
            "x-enumNames": [
              "AnsiString",
              "Binary",
              "Byte",
              "Boolean",
              "Currency",
              "Date",
              "DateTime",
              "Decimal",
              "Double",
              "Guid",
              "Int16",
              "Int32",
              "Int64",
              "Object",
              "SByte",
              "Single",
              "String",
              "Time",
              "UInt16",
              "UInt32",
              "UInt64",
              "VarNumeric",
              "AnsiStringFixedLength",
              "StringFixedLength",
              "Xml",
              "DateTime2",
              "DateTimeOffset"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "direction": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ParameterDirection"
              }
            ],
            "description": "\n\n1 = Input\n\n2 = Output\n\n3 = InputOutput\n\n6 = ReturnValue",
            "default": 1,
            "x-enumNames": [
              "Input",
              "Output",
              "InputOutput",
              "ReturnValue"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "isNullable": {
            "type": "boolean"
          },
          "parameterName": {
            "type": [
              "null",
              "string"
            ],
            "default": ""
          },
          "precision": {
            "type": "integer",
            "format": "int32"
          },
          "scale": {
            "type": "integer",
            "format": "int32"
          },
          "size": {
            "type": "integer",
            "format": "int32"
          },
          "sourceColumn": {
            "type": [
              "null",
              "string"
            ],
            "default": ""
          },
          "sourceColumnNullMapping": {
            "type": "boolean",
            "default": false
          },
          "sourceVersion": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DataRowVersion"
              }
            ],
            "description": "\n\n256 = Original\n\n512 = Current\n\n1024 = Proposed\n\n1536 = Default",
            "default": 512,
            "x-enumNames": [
              "Original",
              "Current",
              "Proposed",
              "Default"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "value": {
            "type": "null"
          }
        },
        "additionalProperties": false
      },
      "DbTransaction": {
        "type": "object",
        "properties": {
          "connection": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DbConnection"
              }
            ],
            "readOnly": true
          },
          "isolationLevel": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IsolationLevel"
              }
            ],
            "description": "\n\n16 = Chaos\n\n256 = ReadUncommitted\n\n4096 = ReadCommitted\n\n65536 = RepeatableRead\n\n1048576 = Serializable\n\n16777216 = Snapshot\n\n-1 = Unspecified",
            "readOnly": true,
            "x-enumNames": [
              "Chaos",
              "ReadUncommitted",
              "ReadCommitted",
              "RepeatableRead",
              "Serializable",
              "Snapshot",
              "Unspecified"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "supportsSavepoints": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "DbType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          25,
          26,
          27
        ],
        "type": "integer",
        "description": "\n\n0 = AnsiString\n\n1 = Binary\n\n2 = Byte\n\n3 = Boolean\n\n4 = Currency\n\n5 = Date\n\n6 = DateTime\n\n7 = Decimal\n\n8 = Double\n\n9 = Guid\n\n10 = Int16\n\n11 = Int32\n\n12 = Int64\n\n13 = Object\n\n14 = SByte\n\n15 = Single\n\n16 = String\n\n17 = Time\n\n18 = UInt16\n\n19 = UInt32\n\n20 = UInt64\n\n21 = VarNumeric\n\n22 = AnsiStringFixedLength\n\n23 = StringFixedLength\n\n25 = Xml\n\n26 = DateTime2\n\n27 = DateTimeOffset",
        "format": "int32",
        "x-enumNames": [
          "AnsiString",
          "Binary",
          "Byte",
          "Boolean",
          "Currency",
          "Date",
          "DateTime",
          "Decimal",
          "Double",
          "Guid",
          "Int16",
          "Int32",
          "Int64",
          "Object",
          "SByte",
          "Single",
          "String",
          "Time",
          "UInt16",
          "UInt32",
          "UInt64",
          "VarNumeric",
          "AnsiStringFixedLength",
          "StringFixedLength",
          "Xml",
          "DateTime2",
          "DateTimeOffset"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "Dbms": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Unknown\n\n1 = SqlServer\n\n2 = PostgreSql",
        "format": "int32",
        "x-enumNames": [
          "Unknown",
          "SqlServer",
          "PostgreSql"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "DeleteOperationResponse": {
        "type": "object",
        "properties": {
          "Response": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/OperationResponse"
              }
            ],
            "description": "Полезная нагрузка, заложенная в операцию"
          },
          "Deleted": {
            "type": "boolean",
            "description": "Указывает, была ли удалена операция"
          }
        },
        "additionalProperties": false,
        "description": "Модель для хранения информации при завершении работы с TESSA Assistant."
      },
      "DeltaKind": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = Unchanged\n\n1 = Added\n\n2 = Changed\n\n3 = Deleted",
        "format": "int32",
        "x-enumNames": [
          "Unchanged",
          "Added",
          "Changed",
          "Deleted"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "DeskiMobileEnhanceRequest": {
        "type": "object",
        "properties": {
          "Values": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string"
            },
            "description": "Данные подписи, где\nKey - CacheID файла из операции,\nValue - сигнатура подписи в base64."
          }
        },
        "additionalProperties": false,
        "description": "Модель, которая ожидается в теле запроса на обогащение подписей файлов из операции."
      },
      "DeskiMobileFile": {
        "type": "object",
        "properties": {
          "CacheID": {
            "type": [
              "null",
              "string"
            ],
            "description": "Уникальный идентификатор."
          },
          "CardID": {
            "type": "string",
            "description": "Идентификатор карточки.",
            "format": "uuid"
          },
          "FileID": {
            "type": "string",
            "description": "Идентификатор файла.",
            "format": "uuid"
          },
          "VersionRowID": {
            "type": "string",
            "description": "Идентификатор версии файла.",
            "format": "uuid"
          },
          "FileName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Имя файла."
          }
        },
        "additionalProperties": false,
        "description": "Модель для хранения информации о файле, над которым будет выполняться операция в мобильном приложении."
      },
      "DeskiMobileVerifyRequest": {
        "type": "object",
        "properties": {
          "Values": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "description": "Информация о подписях, где\nKey - CacheID файла из операции,\nValue - информация о подписях файла с конкретным CacheID.\n    Key - идентификатор подписи файла,\n    Value - подпись файла,"
          }
        },
        "additionalProperties": false,
        "description": "Модель, которая ожидается в теле запроса на проверку подписи всех файлов из операции."
      },
      "DeviceType": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "ExpandingMode": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = Collapsed\n\n1 = Expanded",
        "format": "int32",
        "x-enumNames": [
          "Collapsed",
          "Expanded"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "FileSignatureEventType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Other\n\n1 = Imported\n\n2 = Signed",
        "format": "int32",
        "x-enumNames": [
          "Other",
          "Imported",
          "Signed"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "FileSignatureResponse": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "description": "Идентификатор подписи.",
            "format": "uuid"
          },
          "Signature": {
            "type": [
              "null",
              "string"
            ],
            "description": "Данные подписи в виде base64 строки."
          },
          "SubjectName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Получатель сертификата, указанный в файле подписи."
          },
          "Company": {
            "type": [
              "null",
              "string"
            ],
            "description": "Название компании, указанное в файле подписи."
          },
          "SignedDate": {
            "type": "string",
            "description": "Дата и время подписи, указанная в файле подписи.",
            "format": "date-time"
          },
          "EventType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FileSignatureEventType"
              }
            ],
            "description": "Тип действия, в результате которого подпись была создана.\n\n0 = Other\n\n1 = Imported\n\n2 = Signed",
            "x-enumNames": [
              "Other",
              "Imported",
              "Signed"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "SignatureProfile": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SignatureProfile"
              }
            ],
            "description": "Профиль ЭЦП, обычно для типа подписи Tessa.Platform.EDS.SignatureType.CAdES.\n\n0 = None ($Enum_Signature_Profiles_None)\n\n1 = Bes ($Enum_Signature_Profiles_BES)\n\n2 = Epes ($Enum_Signature_Profiles_EPES)\n\n3 = T ($Enum_Signature_Profiles_T)\n\n4 = C ($Enum_Signature_Profiles_C)\n\n5 = Xl ($Enum_Signature_Profiles_XL)\n\n6 = XType1 ($Enum_Signature_Profiles_X_Type1)\n\n7 = XType2 ($Enum_Signature_Profiles_X_Type2)\n\n8 = XlType1 ($Enum_Signature_Profiles_XL_Type1)\n\n9 = XlType2 ($Enum_Signature_Profiles_XL_Type2)\n\n10 = A ($Enum_Signature_Profiles_A)",
            "x-enumNames": [
              "None",
              "Bes",
              "Epes",
              "T",
              "C",
              "Xl",
              "XType1",
              "XType2",
              "XlType1",
              "XlType2",
              "A"
            ],
            "x-enumDescriptions": [
              "$Enum_Signature_Profiles_None",
              "$Enum_Signature_Profiles_BES",
              "$Enum_Signature_Profiles_EPES",
              "$Enum_Signature_Profiles_T",
              "$Enum_Signature_Profiles_C",
              "$Enum_Signature_Profiles_XL",
              "$Enum_Signature_Profiles_X_Type1",
              "$Enum_Signature_Profiles_X_Type2",
              "$Enum_Signature_Profiles_XL_Type1",
              "$Enum_Signature_Profiles_XL_Type2",
              "$Enum_Signature_Profiles_A"
            ]
          },
          "SignatureType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SignatureType"
              }
            ],
            "description": "Тип подписи.\n\n0 = None ($Enum_SignatureTypes_None)\n\n1 = CAdES ($Enum_SignatureTypes_CAdES)",
            "x-enumNames": [
              "None",
              "CAdES"
            ],
            "x-enumDescriptions": [
              "$Enum_SignatureTypes_None",
              "$Enum_SignatureTypes_CAdES"
            ]
          },
          "UserName": {
            "type": [
              "null",
              "string"
            ],
            "description": "Имя пользователя, который зарегистрировал подпись в системе."
          }
        },
        "additionalProperties": false,
        "description": "Модель для хранения информации о конкретной подписи, передаваемой в мобильное приложение."
      },
      "FileVaultDeletedObject": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "DeletedByID": {
            "type": "string",
            "format": "uuid"
          },
          "DeletedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "DeletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "FolderID": {
            "type": [
              "null",
              "string"
            ]
          },
          "FolderName": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileID": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileName": {
            "type": [
              "null",
              "string"
            ]
          },
          "FullPath": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "FileVaultFileDeleteRequest": {
        "type": "object",
        "properties": {
          "FolderID": {
            "type": "string",
            "format": "uuid"
          },
          "FileIDs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "WithoutBackup": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "FileVaultFileDeleteResponse": {
        "type": "object",
        "properties": {
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "FileVaultFileHeader": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "VersionRowID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Order": {
            "type": "integer",
            "format": "int32"
          },
          "Size": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "FileVaultFileStorage": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "VersionID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Size": {
            "type": "integer",
            "format": "int64"
          },
          "Modified": {
            "type": "string",
            "format": "date-time"
          },
          "ModifiedByID": {
            "type": "string",
            "format": "uuid"
          },
          "ModifiedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ParentFolderID": {
            "type": "string",
            "format": "uuid"
          },
          "CanEdit": {
            "type": "boolean"
          },
          "CanDelete": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "FileVaultFileStoreRequest": {
        "type": "object",
        "properties": {
          "FolderID": {
            "type": "string",
            "format": "uuid"
          },
          "FileHeaders": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/FileVaultFileHeader"
            }
          }
        },
        "additionalProperties": false
      },
      "FileVaultFilesGetResponse": {
        "type": "object",
        "properties": {
          "Files": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/FileVaultFileStorage"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "FileVaultFilesStoreResponse": {
        "type": "object",
        "properties": {
          "FilesMapping": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string",
              "format": "uuid"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "FileVaultFolderDeleteResponse": {
        "type": "object",
        "properties": {
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "FileVaultFolderGetResponse": {
        "type": "object",
        "properties": {
          "Folder": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/FileVaultFolderStorage"
              }
            ]
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "FileVaultFolderPermissions": {
        "type": "object",
        "properties": {
          "RowID": {
            "type": [
              "null",
              "string"
            ]
          },
          "RoleID": {
            "type": "string",
            "format": "uuid"
          },
          "RoleName": {
            "type": [
              "null",
              "string"
            ]
          },
          "CanEdit": {
            "type": "boolean"
          },
          "CanDelete": {
            "type": "boolean"
          },
          "Inherited": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "FileVaultFolderStorage": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "ParentID": {
            "type": [
              "null",
              "string"
            ]
          },
          "OwnerID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FileVaultFolderTypes"
              }
            ],
            "description": "\n\n0 = Personal\n\n1 = Shared\n\n2 = Home",
            "x-enumNames": [
              "Personal",
              "Shared",
              "Home"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "InheritPermissions": {
            "type": "boolean"
          },
          "HasReadPermissions": {
            "type": [
              "null",
              "string"
            ]
          },
          "HasEditPermissions": {
            "type": [
              "null",
              "string"
            ]
          },
          "HasCreatePermissions": {
            "type": [
              "null",
              "string"
            ]
          },
          "Permissions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/FileVaultFolderPermissions"
            }
          }
        },
        "additionalProperties": false
      },
      "FileVaultFolderStoreRequest": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "OwnerID": {
            "type": [
              "null",
              "string"
            ]
          },
          "ParentID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Permissions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/FileVaultFolderPermissions"
            }
          },
          "InheritPermissions": {
            "type": [
              "null",
              "string"
            ]
          },
          "Type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FileVaultFolderTypes"
              }
            ],
            "description": "\n\n0 = Personal\n\n1 = Shared\n\n2 = Home",
            "x-enumNames": [
              "Personal",
              "Shared",
              "Home"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "FileVaultFolderStoreResponse": {
        "type": "object",
        "properties": {
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "FileVaultFolderTypes": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Personal\n\n1 = Shared\n\n2 = Home",
        "format": "int32",
        "x-enumNames": [
          "Personal",
          "Shared",
          "Home"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "FileVaultGetDeletedObjectsResponse": {
        "type": "object",
        "properties": {
          "DeletedObjects": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/FileVaultDeletedObject"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "FileVaultGetFileContentRequest": {
        "type": "object",
        "properties": {
          "FolderID": {
            "type": "string",
            "format": "uuid"
          },
          "FileID": {
            "type": "string",
            "format": "uuid"
          },
          "FileName": {
            "type": [
              "null",
              "string"
            ]
          },
          "FileVersionID": {
            "type": "string",
            "format": "uuid"
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "FileVaultRestoreResponse": {
        "type": "object",
        "properties": {
          "Folders": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/FileVaultFolderStorage"
            }
          },
          "Files": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/FileVaultFileStorage"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "Filter": {
        "type": "object",
        "properties": {
          "action": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FilterResult"
              }
            ],
            "description": "\n\n0 = Neutral\n\n1 = Log\n\n2 = Ignore\n\n3 = LogFinal\n\n4 = IgnoreFinal",
            "x-enumNames": [
              "Neutral",
              "Log",
              "Ignore",
              "LogFinal",
              "IgnoreFinal"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "FilterResult": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\n\n0 = Neutral\n\n1 = Log\n\n2 = Ignore\n\n3 = LogFinal\n\n4 = IgnoreFinal",
        "format": "int32",
        "x-enumNames": [
          "Neutral",
          "Log",
          "Ignore",
          "LogFinal",
          "IgnoreFinal"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "FormEditorFormStateModel": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Parts": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/FormEditorItemStatePartModel"
            }
          }
        },
        "additionalProperties": false
      },
      "FormEditorItemModel": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Children": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/FormEditorItemModel"
            }
          },
          "Rows": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "object",
              "additionalProperties": { }
            }
          },
          "Columns": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "object",
              "additionalProperties": { }
            }
          },
          "Groups": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "object",
              "additionalProperties": { }
            }
          },
          "PropertiesBag": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "FormEditorItemStatePartModel": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "ItemID": {
            "type": "string",
            "format": "uuid"
          },
          "Item": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/FormEditorItemModel"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "FormEditorRootModel": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "Version": {
            "type": "integer",
            "format": "int32"
          },
          "CardTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "TaskTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "BundleID": {
            "type": [
              "null",
              "string"
            ]
          },
          "ViewPortWidth": {
            "type": [
              "null",
              "string"
            ]
          },
          "ViewPortHeight": {
            "type": [
              "null",
              "string"
            ]
          },
          "States": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/FormEditorFormStateModel"
            }
          },
          "SubForms": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/FormEditorSubFormModel"
            }
          },
          "Child": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/FormEditorItemModel"
              }
            ]
          },
          "BackgroundType": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "FormEditorSubFormModel": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Child": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/FormEditorItemModel"
              }
            ]
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "ItemID": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "GetDashboardChangesRequest": {
        "type": "object",
        "properties": {
          "DashboardVersion": {
            "type": "integer",
            "format": "int32"
          },
          "WidgetOriginStatuses": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/WidgetStatusInfo"
            }
          }
        },
        "additionalProperties": false
      },
      "GroupAdminInfo": {
        "type": "object",
        "properties": {
          "RowID": {
            "type": "string",
            "format": "uuid"
          },
          "RoleID": {
            "type": "string",
            "format": "uuid"
          },
          "RoleName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Modified": {
            "type": "string",
            "format": "date-time"
          },
          "ModifiedByID": {
            "type": "string",
            "format": "uuid"
          },
          "ModifiedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "FullPermissions": {
            "type": "boolean"
          },
          "IsSystem": {
            "type": "boolean"
          },
          "State": {
            "allOf": [
              {
                "$ref": "#/components/schemas/GroupMemberState"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Modified\n\n2 = Inserted\n\n3 = Deleted",
            "x-enumNames": [
              "None",
              "Modified",
              "Inserted",
              "Deleted"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "GroupAdminPermissions": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Limited\n\n2 = Full",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Limited",
          "Full"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "GroupInfo": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "Category": {
            "type": [
              "null",
              "string"
            ]
          },
          "HiddenGroup": {
            "type": "boolean"
          },
          "HiddenRole": {
            "type": "boolean"
          },
          "Modified": {
            "type": "string",
            "format": "date-time"
          },
          "ModifiedByID": {
            "type": "string",
            "format": "uuid"
          },
          "ModifiedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Hash": {
            "type": [
              "null",
              "string"
            ],
            "format": "byte"
          }
        },
        "additionalProperties": false
      },
      "GroupMemberInfo": {
        "type": "object",
        "properties": {
          "RowID": {
            "type": "string",
            "format": "uuid"
          },
          "RoleID": {
            "type": "string",
            "format": "uuid"
          },
          "RoleName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Modified": {
            "type": "string",
            "format": "date-time"
          },
          "ModifiedByID": {
            "type": "string",
            "format": "uuid"
          },
          "ModifiedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "IsSystem": {
            "type": "boolean"
          },
          "State": {
            "allOf": [
              {
                "$ref": "#/components/schemas/GroupMemberState"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Modified\n\n2 = Inserted\n\n3 = Deleted",
            "x-enumNames": [
              "None",
              "Modified",
              "Inserted",
              "Deleted"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "GroupMemberState": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Modified\n\n2 = Inserted\n\n3 = Deleted",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Modified",
          "Inserted",
          "Deleted"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "HttpContent": {
        "type": "object",
        "properties": {
          "headers": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/StringStringIEnumerableKeyValuePair"
            },
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ICardMetadata": {
        "type": "object",
        "properties": {
          "isSealed": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ICardPermissionResolver": {
        "type": "object",
        "additionalProperties": false
      },
      "IComponent": {
        "type": "object",
        "properties": {
          "site": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ISite"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "IContainer": {
        "type": "object",
        "properties": {
          "components": {
            "type": [
              "null",
              "array"
            ],
            "items": { },
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IContainerRegistration": {
        "type": "object",
        "properties": {
          "registeredType": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "mappedToType": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "lifetimeManager": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/LifetimeManager"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ICustomAttributeProvider": {
        "type": "object",
        "additionalProperties": false
      },
      "IDataProvider": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "connectionNamespace": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "dataReaderType": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "mappingSchema": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MappingSchema"
              }
            ],
            "readOnly": true
          },
          "sqlProviderFlags": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/SqlProviderFlags"
              }
            ],
            "readOnly": true
          },
          "supportedTableOptions": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TableOptions"
              }
            ],
            "description": "\n\n0 = NotSet\n\n1 = None\n\n2 = CreateIfNotExists\n\n4 = DropIfExists\n\n6 = CheckExistence\n\n8 = IsTemporary\n\n16 = IsLocalTemporaryStructure\n\n32 = IsGlobalTemporaryStructure\n\n64 = IsLocalTemporaryData\n\n128 = IsGlobalTemporaryData\n\n256 = IsTransactionTemporaryData\n\n504 = IsTemporaryOptionSet",
            "readOnly": true,
            "x-enumNames": [
              "NotSet",
              "None",
              "CreateIfNotExists",
              "DropIfExists",
              "CheckExistence",
              "IsTemporary",
              "IsLocalTemporaryStructure",
              "IsGlobalTemporaryStructure",
              "IsLocalTemporaryData",
              "IsGlobalTemporaryData",
              "IsTransactionTemporaryData",
              "IsTemporaryOptionSet"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "transactionsSupported": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IDbScope": {
        "type": "object",
        "properties": {
          "db": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DbManager"
              }
            ],
            "readOnly": true
          },
          "executor": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IQueryExecutor"
              }
            ],
            "readOnly": true
          },
          "description": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "builderFactory": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IQueryBuilderFactory"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IExtensionMetadata": {
        "type": "object",
        "properties": {
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "typeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "settings": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IExtensionSettingsMetadata"
              }
            ]
          },
          "isSealed": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IExtensionSettingsMetadata": {
        "type": "object",
        "properties": {
          "data": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "isSealed": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IInterceptor": {
        "type": "object",
        "additionalProperties": false
      },
      "IInterceptorAction": {
        "type": "object",
        "properties": {
          "hasSingleTarget": {
            "type": "boolean",
            "readOnly": true
          },
          "target": {
            "type": "null",
            "readOnly": true
          },
          "method": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodInfo"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IJsonDataSourceMetadata": {
        "type": "object",
        "properties": {
          "TypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": [
              "null",
              "string"
            ]
          },
          "SourceType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MetadataDataSourceType"
              }
            ],
            "description": "\n\n0 = EmptySource\n\n1 = ViewSource\n\n2 = SearchQuerySource\n\n3 = MissedSource",
            "x-enumNames": [
              "EmptySource",
              "ViewSource",
              "SearchQuerySource",
              "MissedSource"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "IJsonExtensionMetadata": {
        "type": "object",
        "properties": {
          "Condition": {
            "type": [
              "null",
              "string"
            ]
          },
          "Order": {
            "type": "integer",
            "format": "int32"
          },
          "TypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Data": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "IJsonSearchQueryMetadata": {
        "type": "object",
        "properties": {
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "CreatedByUserID": {
            "type": "string",
            "format": "uuid"
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "IsPublic": {
            "type": "boolean"
          },
          "Items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonSearchQueryMetadata"
            }
          },
          "ModificationDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "TemplateCompositionID": {
            "type": "string",
            "format": "uuid"
          },
          "ViewAlias": {
            "type": [
              "null",
              "string"
            ]
          },
          "FormatVersion": {
            "type": "integer",
            "format": "int32"
          },
          "Extensions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonExtensionMetadata"
            }
          },
          "Parameters": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/JsonRequestParameter"
            }
          },
          "ParametersByState": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/JsonRequestParameter"
              }
            }
          }
        },
        "additionalProperties": false
      },
      "IJsonSortingColumn": {
        "type": "object",
        "properties": {
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "Descending": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "IJsonViewAppearanceMetadata": {
        "type": "object",
        "properties": {
          "Condition": {
            "type": [
              "null",
              "string"
            ]
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "Background": {
            "type": [
              "null",
              "string"
            ]
          },
          "FontFamily": {
            "type": [
              "null",
              "string"
            ]
          },
          "FontFamilyUri": {
            "type": [
              "null",
              "string"
            ]
          },
          "FontSize": {
            "type": [
              "null",
              "string"
            ]
          },
          "FontStretch": {
            "type": [
              "null",
              "string"
            ]
          },
          "FontStyle": {
            "type": [
              "null",
              "string"
            ]
          },
          "FontWeight": {
            "type": [
              "null",
              "string"
            ]
          },
          "Foreground": {
            "type": [
              "null",
              "string"
            ]
          },
          "ToolTip": {
            "type": [
              "null",
              "string"
            ]
          },
          "HorizontalAlignment": {
            "type": [
              "null",
              "string"
            ]
          },
          "VerticalAlignment": {
            "type": [
              "null",
              "string"
            ]
          },
          "TextAlignment": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "IJsonViewColumnMetadata": {
        "type": "object",
        "properties": {
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Condition": {
            "type": [
              "null",
              "string"
            ]
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "Appearance": {
            "type": [
              "null",
              "string"
            ]
          },
          "CalendarQuantsColumn": {
            "type": [
              "null",
              "string"
            ]
          },
          "PlannedColumn": {
            "type": [
              "null",
              "string"
            ]
          },
          "CalendarIDColumn": {
            "type": [
              "null",
              "string"
            ]
          },
          "CalendarOverdueFormat": {
            "type": [
              "null",
              "string"
            ]
          },
          "NullValue": {
            "type": [
              "null",
              "string"
            ]
          },
          "NormalizationSource": {
            "type": [
              "null",
              "string"
            ]
          },
          "NormalizationKeyColumn": {
            "type": [
              "null",
              "string"
            ]
          },
          "TreatValueAsUtc": {
            "type": "boolean"
          },
          "DisableGrouping": {
            "type": "boolean"
          },
          "Hidden": {
            "type": "boolean"
          },
          "Localizable": {
            "type": "boolean"
          },
          "MaxLength": {
            "type": [
              "null",
              "string"
            ]
          },
          "SortBy": {
            "type": [
              "null",
              "string"
            ]
          },
          "SortByFormat": {
            "type": [
              "null",
              "string"
            ]
          },
          "Type": {
            "type": [
              "null",
              "string"
            ]
          },
          "InvisibleByDefault": {
            "type": "boolean"
          },
          "FilterType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ViewColumnFilterType"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Parameter\n\n2 = Subset",
            "x-enumNames": [
              "None",
              "Parameter",
              "Subset"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "FilterParameter": {
            "type": [
              "null",
              "string"
            ]
          },
          "FilterSubset": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "IJsonViewParameterMetadata": {
        "type": "object",
        "properties": {
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Condition": {
            "type": [
              "null",
              "string"
            ]
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "AllowedOperands": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "AutoCompleteInfo": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/JsonAutoCompleteInfo"
              }
            ]
          },
          "AutoCompleteMapping": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "object",
              "additionalProperties": { }
            }
          },
          "TreatValueAsUtc": {
            "type": "boolean"
          },
          "DisallowedOperands": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "DropDownInfo": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/JsonDropDownInfo"
              }
            ]
          },
          "Hidden": {
            "type": "boolean"
          },
          "HideAutoCompleteButton": {
            "type": "boolean"
          },
          "EmptyStringIsNotNull": {
            "type": "boolean"
          },
          "Multiple": {
            "type": "boolean"
          },
          "Mandatory": {
            "type": "boolean"
          },
          "RefSection": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "Type": {
            "type": [
              "null",
              "string"
            ]
          },
          "DateTimeType": {
            "type": [
              "null",
              "string"
            ]
          },
          "IgnoreCase": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "IJsonViewReferenceMetadata": {
        "type": "object",
        "properties": {
          "Condition": {
            "type": [
              "null",
              "string"
            ]
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardType": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardTypeColumn": {
            "type": [
              "null",
              "string"
            ]
          },
          "ColPrefix": {
            "type": [
              "null",
              "string"
            ]
          },
          "DisplayValueColumn": {
            "type": [
              "null",
              "string"
            ]
          },
          "IsCard": {
            "type": "boolean"
          },
          "OpenOnDoubleClick": {
            "type": "boolean"
          },
          "RefSection": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "IJsonViewSubsetMetadata": {
        "type": "object",
        "properties": {
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Condition": {
            "type": [
              "null",
              "string"
            ]
          },
          "Kind": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SubsetKind"
              }
            ],
            "description": "\n\n0 = List\n\n1 = Tree",
            "x-enumNames": [
              "List",
              "Tree"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "TreeHasChildrenColumn": {
            "type": [
              "null",
              "string"
            ]
          },
          "TreeRefParam": {
            "type": [
              "null",
              "string"
            ]
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "CaptionColumn": {
            "type": [
              "null",
              "string"
            ]
          },
          "CountColumn": {
            "type": [
              "null",
              "string"
            ]
          },
          "HideZeroCount": {
            "type": "boolean"
          },
          "RefColumn": {
            "type": [
              "null",
              "string"
            ]
          },
          "RefParam": {
            "type": [
              "null",
              "string"
            ]
          },
          "NormalizationSource": {
            "type": [
              "null",
              "string"
            ]
          },
          "NullRefCaption": {
            "type": [
              "null",
              "string"
            ]
          },
          "SortingColumns": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonSortingColumn"
            }
          }
        },
        "additionalProperties": false
      },
      "IJsonWorkplaceComponentMetadata": {
        "type": "object",
        "properties": {
          "CompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "IconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExpandedIconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "OrderPos": {
            "type": "integer",
            "format": "int32"
          },
          "IsOwnedByUser": {
            "type": "boolean"
          },
          "ParentCompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Extensions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonExtensionMetadata"
            }
          }
        },
        "additionalProperties": false
      },
      "IJsonWorkplaceMetadata": {
        "type": "object",
        "properties": {
          "CompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "IconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExpandedIconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "OrderPos": {
            "type": "integer",
            "format": "int32"
          },
          "IsOwnedByUser": {
            "type": "boolean"
          },
          "ParentCompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Extensions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonExtensionMetadata"
            }
          },
          "Items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonWorkplaceComponentMetadata"
            }
          },
          "EmptyFoldersVisible": {
            "type": "boolean"
          },
          "FormatVersion": {
            "type": "integer",
            "format": "int32"
          },
          "LeftSideWidth": {
            "type": "number",
            "format": "double"
          },
          "TreeVisibility": {
            "type": "boolean"
          },
          "Version": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IJsonWorkplaceUserExtensionMetadata": {
        "type": "object",
        "properties": {
          "CompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "IconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExpandedIconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "OrderPos": {
            "type": "integer",
            "format": "int32"
          },
          "IsOwnedByUser": {
            "type": "boolean"
          },
          "ParentCompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Extensions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonExtensionMetadata"
            }
          },
          "Items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonWorkplaceComponentMetadata"
            }
          },
          "UserSettingsLastUpdate": {
            "type": "string",
            "format": "date-time"
          },
          "FormatVersion": {
            "type": "integer",
            "format": "int32"
          },
          "Roles": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/RoleLink"
            }
          }
        },
        "additionalProperties": false
      },
      "IJsonWorkplaceViewReferenceMetadata": {
        "type": "object",
        "properties": {
          "ColPrefix": {
            "type": [
              "null",
              "string"
            ]
          },
          "RefSection": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "ILifetimeContainerObjectFunc": {
        "type": "object",
        "properties": {
          "hasSingleTarget": {
            "type": "boolean",
            "readOnly": true
          },
          "target": {
            "type": "null",
            "readOnly": true
          },
          "method": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodInfo"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ILogger": {
        "type": "object",
        "properties": {
          "isTraceEnabled": {
            "type": "boolean",
            "readOnly": true
          },
          "isDebugEnabled": {
            "type": "boolean",
            "readOnly": true
          },
          "isInfoEnabled": {
            "type": "boolean",
            "readOnly": true
          },
          "isWarnEnabled": {
            "type": "boolean",
            "readOnly": true
          },
          "isErrorEnabled": {
            "type": "boolean",
            "readOnly": true
          },
          "isFatalEnabled": {
            "type": "boolean",
            "readOnly": true
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "factory": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/LogFactory"
              }
            ],
            "readOnly": true,
            "deprecated": true
          }
        },
        "additionalProperties": false
      },
      "IMemberTranslator": {
        "type": "object",
        "additionalProperties": false
      },
      "IOptionSet": {
        "type": "object",
        "properties": {
          "default": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IOptionSet"
              }
            ],
            "readOnly": true
          },
          "configurationID": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IQueryBuilderFactory": {
        "type": "object",
        "properties": {
          "dbms": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Dbms"
              }
            ],
            "description": "\n\n0 = Unknown\n\n1 = SqlServer\n\n2 = PostgreSql",
            "readOnly": true,
            "x-enumNames": [
              "Unknown",
              "SqlServer",
              "PostgreSql"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "IQueryExecutor": {
        "type": "object",
        "properties": {
          "executedCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IRetryPolicy": {
        "type": "object",
        "additionalProperties": false
      },
      "ISearchQueryMetadata": {
        "type": "object",
        "properties": {
          "Extensions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IExtensionMetadata"
            },
            "readOnly": true
          },
          "IsSealed": {
            "type": "boolean",
            "readOnly": true
          },
          "Parameters": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/RequestCriteria"
              }
            }
          },
          "ParametersByState": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/RequestCriteria"
                }
              }
            }
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "ViewAlias": {
            "type": [
              "null",
              "string"
            ]
          },
          "IsPublic": {
            "type": "boolean"
          },
          "CreatedByUserID": {
            "type": "string",
            "format": "uuid"
          },
          "ModificationDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "TemplateCompositionID": {
            "type": "string",
            "format": "uuid"
          },
          "Items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ISearchQueryMetadata"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationResult"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "ISession": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "user": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IUser"
              }
            ],
            "readOnly": true
          },
          "serverCode": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "clientCulture": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "clientUICulture": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "clientUtcOffset": {
            "type": "string",
            "format": "date-span",
            "readOnly": true
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SessionType"
              }
            ],
            "description": "\n\n0 = Unknown\n\n1 = Client\n\n2 = Server",
            "readOnly": true,
            "x-enumNames": [
              "Unknown",
              "Client",
              "Server"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "token": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ISessionToken"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ISessionToken": {
        "type": "object",
        "properties": {
          "SessionID": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "ApplicationID": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "ServerCode": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "Signature": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "LicenseType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SessionLicenseType"
              }
            ],
            "description": "\n\n0 = Unspecified\n\n1 = Concurrent\n\n2 = Personal",
            "readOnly": true,
            "x-enumNames": [
              "Unspecified",
              "Concurrent",
              "Personal"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "LoginType": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/UserLoginType"
              }
            ],
            "readOnly": true
          },
          "AccessLevel": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UserAccessLevel"
              }
            ],
            "description": "\n\n0 = Regular\n\n1 = Administrator",
            "readOnly": true,
            "x-enumNames": [
              "Regular",
              "Administrator"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "DeviceType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DeviceType"
              }
            ],
            "readOnly": true
          },
          "UserID": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "UserName": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "UserLogin": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "HostIP": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "HostName": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "OSName": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "UserAgent": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "Created": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "Expires": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "Culture": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "UICulture": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "UtcOffset": {
            "type": "string",
            "format": "date-span",
            "readOnly": true
          },
          "TimeZoneUtcOffset": {
            "type": "string",
            "format": "date-span",
            "readOnly": true
          },
          "CalendarID": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "Client64Bit": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "Client64BitOS": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "PlatformVersion": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "Kind": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SessionTokenKind"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = ApiToken",
            "readOnly": true,
            "x-enumNames": [
              "Default",
              "ApiToken"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "ISite": {
        "type": "object",
        "properties": {
          "component": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IComponent"
              }
            ],
            "readOnly": true
          },
          "container": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IContainer"
              }
            ],
            "readOnly": true
          },
          "designMode": {
            "type": "boolean",
            "readOnly": true
          },
          "name": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "ITokenInfo": {
        "type": "object",
        "properties": {
          "isVerified": {
            "type": "boolean",
            "readOnly": true
          },
          "token": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "format": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TokenFormat"
              }
            ],
            "description": "\n\n0 = Unknown ($Enums_TokenFormats_Unknown)\n\n1 = Plain ($Enums_TokenFormats_Plain)\n\n2 = Protected ($Enums_TokenFormats_Protected)",
            "readOnly": true,
            "x-enumNames": [
              "Unknown",
              "Plain",
              "Protected"
            ],
            "x-enumDescriptions": [
              "$Enums_TokenFormats_Unknown",
              "$Enums_TokenFormats_Plain",
              "$Enums_TokenFormats_Protected"
            ]
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TokenType"
              }
            ],
            "description": "\n\n0 = Common ($Enums_TokenTypes_Common)\n\n1 = Api ($Enums_TokenTypes_Api)\n\n2 = Content ($Enums_TokenTypes_Content)\n\n3 = Avatar ($Enums_TokenTypes_Avatar)\n\n4 = File ($Enums_TokenTypes_File)\n\n5 = SaaS ($Enums_TokenTypes_SaaS)",
            "readOnly": true,
            "x-enumNames": [
              "Common",
              "Api",
              "Content",
              "Avatar",
              "File",
              "SaaS"
            ],
            "x-enumDescriptions": [
              "$Enums_TokenTypes_Common",
              "$Enums_TokenTypes_Api",
              "$Enums_TokenTypes_Content",
              "$Enums_TokenTypes_Avatar",
              "$Enums_TokenTypes_File",
              "$Enums_TokenTypes_SaaS"
            ]
          },
          "hash": {
            "type": [
              "null",
              "string"
            ],
            "format": "byte",
            "readOnly": true
          },
          "id": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "scope": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "readOnly": true
          },
          "description": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "expires": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "createdByID": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "refID": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "userID": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "options": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": { },
            "readOnly": true
          },
          "isSealed": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IUnityContainer": {
        "type": "object",
        "properties": {
          "registrations": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IContainerRegistration"
            },
            "readOnly": true
          },
          "parent": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IUnityContainer"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IUser": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "accessLevel": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UserAccessLevel"
              }
            ],
            "description": "\n\n0 = Regular\n\n1 = Administrator",
            "readOnly": true,
            "x-enumNames": [
              "Regular",
              "Administrator"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "IUserLoginTypeOptions": {
        "type": "object",
        "properties": {
          "loginCaption": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "loginIsAbsentText": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "passwordIsAbsentText": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "repeatPasswordText": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "repeatPasswordErrorText": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "specifyOldPasswordText": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "specifyNewPasswordText": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "emptyPasswordText": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IValidationResultBuilder": {
        "type": "object",
        "properties": {
          "Count": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IWorkflowEngineActivitySource": {
        "type": "object",
        "additionalProperties": false
      },
      "IWorkflowEngineCardsScope": {
        "type": "object",
        "properties": {
          "cardStorePriorityComparer": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/CardIComparer"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "IWorkflowEngineContext": {
        "type": "object",
        "properties": {
          "info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            },
            "readOnly": true
          },
          "validationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IValidationResultBuilder"
              }
            ],
            "readOnly": true
          },
          "container": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IUnityContainer"
              }
            ],
            "readOnly": true
          },
          "session": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ISession"
              }
            ],
            "readOnly": true
          },
          "dbScope": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IDbScope"
              }
            ],
            "readOnly": true
          },
          "workflowService": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IWorkflowInstanceService"
              }
            ],
            "readOnly": true
          },
          "cardsScope": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IWorkflowEngineCardsScope"
              }
            ],
            "readOnly": true
          },
          "cardMetadata": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ICardMetadata"
              }
            ],
            "readOnly": true
          },
          "processTemplate": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowProcessStorage"
              }
            ],
            "readOnly": true
          },
          "nodeTemplate": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowNodeStorage"
              }
            ],
            "readOnly": true
          },
          "actionTemplate": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowActionStorage"
              }
            ],
            "readOnly": true
          },
          "signal": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IWorkflowEngineSignal"
              }
            ],
            "readOnly": true
          },
          "processInstance": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowProcessStateStorage"
              }
            ],
            "readOnly": true
          },
          "nodeInstance": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowNodeStateStorage"
              }
            ],
            "readOnly": true
          },
          "actionInstance": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowActionStateStorage"
              }
            ],
            "readOnly": true
          },
          "previousNode": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowNodeStateStorage"
              }
            ]
          },
          "workflowCardID": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "storeCard": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Card"
              }
            ],
            "readOnly": true
          },
          "task": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/CardTask"
              }
            ],
            "readOnly": true
          },
          "tasks": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CardTask"
            },
            "readOnly": true
          },
          "isMainCardLoaded": {
            "type": "boolean",
            "readOnly": true
          },
          "links": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/IWorkflowEngineSignal"
            },
            "readOnly": true
          },
          "taskSubscriptions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowTaskSubscriptionStorage"
            },
            "readOnly": true
          },
          "subprocessSubscriptions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowSubprocessSubscriptionStorage"
            },
            "readOnly": true
          },
          "timerSubscriptions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowTimerSubscriptionStorage"
            },
            "readOnly": true
          },
          "endSignals": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IWorkflowEngineSignal"
            },
            "readOnly": true
          },
          "asyncRequests": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IWorkflowEngineProcessRequest"
            },
            "readOnly": true
          },
          "cancel": {
            "type": "boolean"
          },
          "keepAlive": {
            "type": "boolean",
            "readOnly": true
          },
          "stopPending": {
            "type": "boolean",
            "readOnly": true
          },
          "logger": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ILogger"
              }
            ],
            "readOnly": true
          },
          "sendParentProcessExitSignals": {
            "type": "boolean",
            "readOnly": true
          },
          "isMain": {
            "type": "boolean",
            "readOnly": true
          },
          "isAsync": {
            "type": "boolean",
            "readOnly": true
          },
          "responseInfo": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            },
            "readOnly": true
          },
          "storeDateTime": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "inNonPersistentMode": {
            "type": "boolean",
            "readOnly": true
          },
          "parameters": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            },
            "readOnly": true
          },
          "activitySource": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IWorkflowEngineActivitySource"
              }
            ],
            "readOnly": true
          },
          "retryInfo": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IWorkflowEngineRetryInfo"
              }
            ],
            "readOnly": true
          },
          "cancellationToken": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CancellationToken"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "IWorkflowEngineProcessRequest": {
        "type": "object",
        "properties": {
          "ProcessInstanceID": {
            "type": [
              "null",
              "string"
            ]
          },
          "ProcessTemplateID": {
            "type": [
              "null",
              "string"
            ]
          },
          "ProcessTemplateVersionID": {
            "type": [
              "null",
              "string"
            ]
          },
          "ProcessDigest": {
            "type": [
              "null",
              "string"
            ]
          },
          "ProcessInstance": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowProcessStateStorage"
              }
            ]
          },
          "CardID": {
            "type": [
              "null",
              "string"
            ]
          },
          "StoreCard": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Card"
              }
            ]
          },
          "StoreCardDigest": {
            "type": [
              "null",
              "string"
            ]
          },
          "WorkflowCard": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Card"
              }
            ]
          },
          "NodeIDs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "NodeInstanceIDs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "Signal": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IWorkflowEngineSignal"
              }
            ]
          },
          "ProcessFlag": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowEngineProcessFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = GenerateNextLinks\n\n2 = LockProcess\n\n3 = DefaultRuntime\n\n4 = IsAsync\n\n5 = DefaultAsync\n\n8 = IsDebug\n\n11 = DefaultDebug\n\n16 = StartNew\n\n32 = SendToSubscribers\n\n64 = NotInDb\n\n83 = DefaultNew\n\n128 = SendToTaskSubscribers",
            "x-enumNames": [
              "None",
              "GenerateNextLinks",
              "LockProcess",
              "DefaultRuntime",
              "IsAsync",
              "DefaultAsync",
              "IsDebug",
              "DefaultDebug",
              "StartNew",
              "SendToSubscribers",
              "NotInDb",
              "DefaultNew",
              "SendToTaskSubscribers"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "SignalProcessingMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowSignalProcessingMode"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = Async\n\n2 = AfterUploadingFiles",
            "x-enumNames": [
              "Default",
              "Async",
              "AfterUploadingFiles"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "EngineContext": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IWorkflowEngineContext"
              }
            ]
          },
          "RetryInfo": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowEngineRetryInfo"
              }
            ]
          },
          "SyncObject": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "IWorkflowEngineProcessResult": {
        "type": "object",
        "properties": {
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationResult"
              }
            ],
            "readOnly": true
          },
          "StopPending": {
            "type": "boolean",
            "readOnly": true
          },
          "EndSignals": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IWorkflowEngineSignal"
            },
            "readOnly": true
          },
          "ResponseInfo": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            },
            "readOnly": true
          },
          "RetryInfo": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IWorkflowEngineRetryInfo"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IWorkflowEngineRetryInfo": {
        "type": "object",
        "properties": {
          "ErrorDate": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "LastErrorDate": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "LastErrorResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationResult"
              }
            ],
            "readOnly": true
          },
          "RetryCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "RetryPeriod": {
            "type": [
              "null",
              "string"
            ]
          },
          "RetryTimeout": {
            "type": [
              "null",
              "string"
            ]
          },
          "RetryAllowed": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "IWorkflowEngineSignal": {
        "type": "object",
        "properties": {
          "type": {
            "type": [
              "null",
              "string"
            ]
          },
          "ignoreSignalProcessingMode": {
            "type": "boolean"
          },
          "hash": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            },
            "readOnly": true
          },
          "dynamicHash": {
            "type": "null",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "IWorkflowInstanceService": {
        "type": "object",
        "additionalProperties": false
      },
      "InitOperationRequest": {
        "type": "object",
        "properties": {
          "Files": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "description": "Модель для хранения информации о файле, над которым будет выполняться операция в мобильном приложении.",
              "$ref": "#/components/schemas/DeskiMobileFile"
            },
            "description": "Список файлов."
          }
        },
        "additionalProperties": false,
        "description": "Модель, которая ожидается в теле запроса на cоздание операции для работы с TESSA Assistant."
      },
      "InitializationRequest": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "Version": {
            "type": [
              "null",
              "string"
            ]
          },
          "BuildDate": {
            "type": "string",
            "format": "date-time"
          },
          "PublishMode": {
            "type": "boolean"
          },
          "CachedConfigurationVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "CachedConfigurationInfo": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "CachedSessionInfo": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "InitializationResponse": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "Version": {
            "type": [
              "null",
              "string"
            ]
          },
          "BuildDate": {
            "type": "string",
            "format": "date-time"
          },
          "ConfigurationCacheIsActual": {
            "type": "boolean"
          },
          "ConfigurationVersion": {
            "type": "integer",
            "format": "int32"
          },
          "Dbms": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Dbms"
              }
            ],
            "description": "\n\n0 = Unknown\n\n1 = SqlServer\n\n2 = PostgreSql",
            "x-enumNames": [
              "Unknown",
              "SqlServer",
              "PostgreSql"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "DbmsVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "PersonalRoleSatellite": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Card"
              }
            ]
          },
          "CipherInfo": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/UserCipherInfoObject"
              }
            ]
          },
          "DefaultColors": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/StorageDefaultColors"
              }
            ]
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          },
          "SessionInfo": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "IntegrationLoginParameters": {
        "type": "object",
        "properties": {
          "Login": {
            "type": [
              "null",
              "string"
            ]
          },
          "Password": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "IsolationLevel": {
        "enum": [
          16,
          256,
          4096,
          65536,
          1048576,
          16777216,
          -1
        ],
        "type": "integer",
        "description": "\n\n16 = Chaos\n\n256 = ReadUncommitted\n\n4096 = ReadCommitted\n\n65536 = RepeatableRead\n\n1048576 = Serializable\n\n16777216 = Snapshot\n\n-1 = Unspecified",
        "format": "int32",
        "x-enumNames": [
          "Chaos",
          "ReadUncommitted",
          "ReadCommitted",
          "RepeatableRead",
          "Serializable",
          "Snapshot",
          "Unspecified"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "JsonAutoCompleteInfo": {
        "type": "object",
        "properties": {
          "ParamAlias": {
            "type": [
              "null",
              "string"
            ]
          },
          "SearchMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CardAutoCompleteSearchMode"
              }
            ],
            "description": "\n\n0 = Contains\n\n1 = StartsWith\n\n2 = EndsWith\n\n3 = Equals",
            "x-enumNames": [
              "Contains",
              "StartsWith",
              "EndsWith",
              "Equals"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "ViewAlias": {
            "type": [
              "null",
              "string"
            ]
          },
          "RefPrefix": {
            "type": [
              "null",
              "string"
            ]
          },
          "PopupColumns": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "integer",
              "format": "int32"
            }
          }
        },
        "additionalProperties": false
      },
      "JsonConditionalOverride": {
        "type": "object",
        "properties": {
          "Condition": {
            "type": [
              "null",
              "string"
            ]
          },
          "Overrides": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "JsonCriteriaValue": {
        "type": "object",
        "properties": {
          "Value": {
            "type": "null"
          },
          "Text": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "JsonDataNodeMetadata": {
        "type": "object",
        "properties": {
          "CompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "OrderPos": {
            "type": "integer",
            "format": "int32"
          },
          "IsOwnedByUser": {
            "type": "boolean"
          },
          "ParentCompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Extensions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonExtensionMetadata"
            }
          },
          "IconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExpandedIconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExpandingMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ExpandingMode"
              }
            ],
            "description": "\n\n0 = Collapsed\n\n1 = Expanded",
            "x-enumNames": [
              "Collapsed",
              "Expanded"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "ShowMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ShowMode"
              }
            ],
            "description": "\n\n0 = Always\n\n1 = NormalMode\n\n2 = SelectionMode",
            "x-enumNames": [
              "Always",
              "NormalMode",
              "SelectionMode"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "DataSourceMetadata": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IJsonDataSourceMetadata"
              }
            ]
          },
          "EnableAutoWidth": {
            "type": "boolean"
          },
          "MultiSelect": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ViewMultipleSelectionMode"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = Single\n\n2 = Multiple",
            "x-enumNames": [
              "Default",
              "Single",
              "Multiple"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "ScopeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "SelectionMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ViewSelectionMode"
              }
            ],
            "description": "\n\n0 = Row\n\n1 = Cell",
            "x-enumNames": [
              "Row",
              "Cell"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "AutoSelectFirstRowMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AutoSelectFirstRowMode"
              }
            ],
            "description": "\n\n0 = InViewDefined\n\n1 = True\n\n2 = False",
            "x-enumNames": [
              "InViewDefined",
              "True",
              "False"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "CollapseGroupsMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CollapseGroupsMode"
              }
            ],
            "description": "\n\n0 = InViewDefined\n\n1 = True\n\n2 = False",
            "x-enumNames": [
              "InViewDefined",
              "True",
              "False"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "References": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonWorkplaceViewReferenceMetadata"
            }
          },
          "Parameters": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/JsonRequestParameter"
            }
          },
          "ParametersByState": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/JsonRequestParameter"
              }
            }
          },
          "Items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonWorkplaceComponentMetadata"
            }
          },
          "IsNode": {
            "type": "boolean"
          },
          "HideRowsCounter": {
            "type": "boolean"
          },
          "TitleVisibility": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TitleVisibility"
              }
            ],
            "description": "\n\n0 = All\n\n1 = OnlyText\n\n2 = OnlyIcon\n\n3 = Collapsed",
            "x-enumNames": [
              "All",
              "OnlyText",
              "OnlyIcon",
              "Collapsed"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "JsonDropDownInfo": {
        "type": "object",
        "properties": {
          "ViewAlias": {
            "type": [
              "null",
              "string"
            ]
          },
          "RefPrefix": {
            "type": [
              "null",
              "string"
            ]
          },
          "PopupColumns": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "integer",
              "format": "int32"
            }
          }
        },
        "additionalProperties": false
      },
      "JsonFolderNodeMetadata": {
        "type": "object",
        "properties": {
          "CompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "OrderPos": {
            "type": "integer",
            "format": "int32"
          },
          "IsOwnedByUser": {
            "type": "boolean"
          },
          "ParentCompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Extensions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonExtensionMetadata"
            }
          },
          "IconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExpandedIconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExpandingMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ExpandingMode"
              }
            ],
            "description": "\n\n0 = Collapsed\n\n1 = Expanded",
            "x-enumNames": [
              "Collapsed",
              "Expanded"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "ShowMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ShowMode"
              }
            ],
            "description": "\n\n0 = Always\n\n1 = NormalMode\n\n2 = SelectionMode",
            "x-enumNames": [
              "Always",
              "NormalMode",
              "SelectionMode"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "Items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonWorkplaceComponentMetadata"
            }
          }
        },
        "additionalProperties": false
      },
      "JsonItemProperties": {
        "type": "object",
        "properties": {
          "CompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "OrderPos": {
            "type": "integer",
            "format": "int32"
          },
          "IsOwnedByUser": {
            "type": "boolean"
          },
          "ParentCompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Extensions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonExtensionMetadata"
            }
          },
          "IconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExpandedIconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonWorkplaceComponentMetadata"
            }
          },
          "PropertyClass": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "JsonRequestCriteria": {
        "type": "object",
        "properties": {
          "CriteriaName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Values": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/JsonCriteriaValue"
            }
          }
        },
        "additionalProperties": false
      },
      "JsonRequestParameter": {
        "type": "object",
        "properties": {
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "CriteriaValues": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/JsonRequestCriteria"
            }
          }
        },
        "additionalProperties": false
      },
      "JsonSearchQueryMetadata": {
        "type": "object",
        "properties": {
          "ParametersByState": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/JsonRequestParameter"
              }
            }
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "CreatedByUserID": {
            "type": "string",
            "format": "uuid"
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "IsPublic": {
            "type": "boolean"
          },
          "Items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonSearchQueryMetadata"
            }
          },
          "ModificationDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "TemplateCompositionID": {
            "type": "string",
            "format": "uuid"
          },
          "ViewAlias": {
            "type": [
              "null",
              "string"
            ]
          },
          "FormatVersion": {
            "type": "integer",
            "format": "int32"
          },
          "Extensions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonExtensionMetadata"
            }
          },
          "Parameters": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/JsonRequestParameter"
            }
          }
        },
        "additionalProperties": false
      },
      "JsonViewMetadata": {
        "type": "object",
        "properties": {
          "Overrides": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/JsonConditionalOverride"
            }
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Appearance": {
            "type": [
              "null",
              "string"
            ]
          },
          "AutoWidthRowLimit": {
            "type": [
              "null",
              "string"
            ]
          },
          "EnableAutoWidth": {
            "type": "boolean"
          },
          "ExportDataPageLimit": {
            "type": [
              "null",
              "string"
            ]
          },
          "FormatVersion": {
            "type": "integer",
            "format": "int32"
          },
          "GroupingColumn": {
            "type": [
              "null",
              "string"
            ]
          },
          "MultiSelect": {
            "type": "boolean"
          },
          "PageLimit": {
            "type": [
              "null",
              "string"
            ]
          },
          "Paging": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Paging"
              }
            ],
            "description": "\n\n0 = No\n\n1 = Always\n\n2 = Optional",
            "x-enumNames": [
              "No",
              "Always",
              "Optional"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "QuickSearchParam": {
            "type": [
              "null",
              "string"
            ]
          },
          "RowCountSubset": {
            "type": [
              "null",
              "string"
            ]
          },
          "SelectionMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ViewSelectionMode"
              }
            ],
            "description": "\n\n0 = Row\n\n1 = Cell",
            "x-enumNames": [
              "Row",
              "Cell"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "TreatAsSingleQuery": {
            "type": "boolean"
          },
          "TreeGroupDisplayValue": {
            "type": [
              "null",
              "string"
            ]
          },
          "TreeGroup": {
            "type": [
              "null",
              "string"
            ]
          },
          "TreeGroupId": {
            "type": [
              "null",
              "string"
            ]
          },
          "TreeGroupParentId": {
            "type": [
              "null",
              "string"
            ]
          },
          "TreeId": {
            "type": [
              "null",
              "string"
            ]
          },
          "TreeParentId": {
            "type": [
              "null",
              "string"
            ]
          },
          "ConnectionAlias": {
            "type": [
              "null",
              "string"
            ]
          },
          "TagsPosition": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TagsPosition"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Top\n\n2 = Bottom\n\n3 = InColumn",
            "x-enumNames": [
              "None",
              "Top",
              "Bottom",
              "InColumn"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "AutoSelectFirstRow": {
            "type": "boolean"
          },
          "CollapseGroups": {
            "type": "boolean"
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationResult"
              }
            ]
          },
          "Columns": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonViewColumnMetadata"
            }
          },
          "DefaultSortColumns": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonSortingColumn"
            }
          },
          "Parameters": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonViewParameterMetadata"
            }
          },
          "References": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonViewReferenceMetadata"
            }
          },
          "Subsets": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonViewSubsetMetadata"
            }
          },
          "Appearances": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonViewAppearanceMetadata"
            }
          },
          "Extensions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonExtensionMetadata"
            }
          }
        },
        "additionalProperties": false
      },
      "JsonViewModel": {
        "type": "object",
        "properties": {
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "GroupName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "ModifiedByID": {
            "type": "string",
            "format": "uuid"
          },
          "ModifiedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ModifiedDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "MsQuerySource": {
            "type": [
              "null",
              "string"
            ]
          },
          "PgQuerySource": {
            "type": [
              "null",
              "string"
            ]
          },
          "JsonMetadataSource": {
            "type": [
              "null",
              "string"
            ]
          },
          "Roles": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/RoleLink"
            }
          }
        },
        "additionalProperties": false
      },
      "JsonWorkplace": {
        "type": "object",
        "properties": {
          "Metadata": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IJsonWorkplaceMetadata"
              }
            ]
          },
          "Order": {
            "type": "integer",
            "format": "int32"
          },
          "Roles": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/RoleLink"
            }
          }
        },
        "additionalProperties": false
      },
      "JsonWorkplaceModel": {
        "type": "object",
        "properties": {
          "Content": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/JsonWorkplace"
              }
            ]
          },
          "Views": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/JsonViewModel"
            }
          },
          "SearchQueries": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/JsonSearchQueryMetadata"
            }
          }
        },
        "additionalProperties": false
      },
      "JsonWorkplaceSearchQueryMetadata": {
        "type": "object",
        "properties": {
          "CompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "OrderPos": {
            "type": "integer",
            "format": "int32"
          },
          "IsOwnedByUser": {
            "type": "boolean"
          },
          "ParentCompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Extensions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonExtensionMetadata"
            }
          },
          "IconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExpandedIconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExpandingMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ExpandingMode"
              }
            ],
            "description": "\n\n0 = Collapsed\n\n1 = Expanded",
            "x-enumNames": [
              "Collapsed",
              "Expanded"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "ShowMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ShowMode"
              }
            ],
            "description": "\n\n0 = Always\n\n1 = NormalMode\n\n2 = SelectionMode",
            "x-enumNames": [
              "Always",
              "NormalMode",
              "SelectionMode"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "Items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonWorkplaceComponentMetadata"
            }
          },
          "IsNode": {
            "type": "boolean"
          },
          "HideRowsCounter": {
            "type": "boolean"
          },
          "TitleVisibility": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TitleVisibility"
              }
            ],
            "description": "\n\n0 = All\n\n1 = OnlyText\n\n2 = OnlyIcon\n\n3 = Collapsed",
            "x-enumNames": [
              "All",
              "OnlyText",
              "OnlyIcon",
              "Collapsed"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "SearchQueryId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "JsonWorkplaceSettingsMetadata": {
        "type": "object",
        "properties": {
          "CompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "OrderPos": {
            "type": "integer",
            "format": "int32"
          },
          "IsOwnedByUser": {
            "type": "boolean"
          },
          "ParentCompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Extensions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonExtensionMetadata"
            }
          },
          "IconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExpandedIconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "EmptyFoldersVisible": {
            "type": "boolean"
          },
          "LeftSideWidth": {
            "type": "number",
            "format": "double"
          },
          "TreeVisibility": {
            "type": [
              "null",
              "string"
            ]
          },
          "WorkplaceId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "JsonWorkplaceUnusedComponentsMetadata": {
        "type": "object",
        "properties": {
          "CompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "OrderPos": {
            "type": "integer",
            "format": "int32"
          },
          "IsOwnedByUser": {
            "type": "boolean"
          },
          "ParentCompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Extensions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonExtensionMetadata"
            }
          },
          "IconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExpandedIconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonWorkplaceComponentMetadata"
            }
          }
        },
        "additionalProperties": false
      },
      "JsonWorkplaceUserExtensionMetadata": {
        "type": "object",
        "properties": {
          "CompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "OrderPos": {
            "type": "integer",
            "format": "int32"
          },
          "IsOwnedByUser": {
            "type": "boolean"
          },
          "ParentCompositionId": {
            "type": "string",
            "format": "uuid"
          },
          "Extensions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonExtensionMetadata"
            }
          },
          "IconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExpandedIconName": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IJsonWorkplaceComponentMetadata"
            }
          },
          "UserSettingsLastUpdate": {
            "type": "string",
            "format": "date-time"
          },
          "FormatVersion": {
            "type": "integer",
            "format": "int32"
          },
          "Roles": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/RoleLink"
            }
          }
        },
        "additionalProperties": false
      },
      "Layout": {
        "type": "object",
        "additionalProperties": false
      },
      "LifetimeManager": {
        "type": "object",
        "properties": {
          "inUse": {
            "type": "boolean"
          },
          "tryGet": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ILifetimeContainerObjectFunc"
              }
            ],
            "readOnly": true
          },
          "get": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ILifetimeContainerObjectFunc"
              }
            ],
            "readOnly": true
          },
          "set": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ObjectILifetimeContainerAction"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "LinqOptions": {
        "type": "object",
        "properties": {
          "preloadGroups": {
            "type": "boolean",
            "deprecated": true
          },
          "ignoreEmptyUpdate": {
            "type": "boolean"
          },
          "generateExpressionTest": {
            "type": "boolean"
          },
          "traceMapperExpression": {
            "type": "boolean"
          },
          "concatenateOrderBy": {
            "type": "boolean"
          },
          "optimizeJoins": {
            "type": "boolean"
          },
          "compareNulls": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CompareNulls"
              }
            ],
            "description": "\n\n0 = LikeClr\n\n1 = LikeSql\n\n2 = LikeSqlExceptParameters",
            "x-enumNames": [
              "LikeClr",
              "LikeSql",
              "LikeSqlExceptParameters"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "guardGrouping": {
            "type": "boolean"
          },
          "disableQueryCache": {
            "type": "boolean"
          },
          "cacheSlidingExpiration": {
            "type": [
              "null",
              "string"
            ]
          },
          "preferApply": {
            "type": "boolean",
            "deprecated": true
          },
          "keepDistinctOrdered": {
            "type": "boolean",
            "deprecated": true
          },
          "parameterizeTakeSkip": {
            "type": "boolean"
          },
          "enableContextSchemaEdit": {
            "type": "boolean"
          },
          "preferExistsForScalar": {
            "type": "boolean"
          },
          "cacheSlidingExpirationOrDefault": {
            "type": "string",
            "format": "date-span",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "LocalizationEntriesRequest": {
        "type": "object",
        "properties": {
          "Names": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "LogFactory": {
        "type": "object",
        "properties": {
          "serviceRepository": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ServiceRepository"
              }
            ],
            "readOnly": true
          },
          "throwExceptions": {
            "type": "boolean"
          },
          "throwConfigExceptions": {
            "type": [
              "null",
              "string"
            ]
          },
          "keepVariablesOnReload": {
            "type": "boolean"
          },
          "autoShutdown": {
            "type": "boolean"
          },
          "configuration": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/LoggingConfiguration"
              }
            ]
          },
          "globalThreshold": {
            "type": [
              "null",
              "string"
            ]
          },
          "defaultCultureInfo": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "LoggingConfiguration": {
        "type": "object",
        "properties": {
          "logFactory": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/LogFactory"
              }
            ]
          },
          "variables": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/Layout"
            },
            "readOnly": true
          },
          "configuredNamedTargets": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/Target"
            },
            "readOnly": true
          },
          "fileNamesToWatch": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "readOnly": true,
            "deprecated": true
          },
          "loggingRules": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/LoggingRule"
            },
            "readOnly": true
          },
          "defaultCultureInfo": {
            "type": [
              "null",
              "string"
            ]
          },
          "allTargets": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/Target"
            },
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "LoggingRule": {
        "type": "object",
        "properties": {
          "ruleName": {
            "type": [
              "null",
              "string"
            ]
          },
          "targets": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/Target"
            },
            "readOnly": true
          },
          "childRules": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/LoggingRule"
            },
            "readOnly": true,
            "deprecated": true
          },
          "filters": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/Filter"
            },
            "readOnly": true
          },
          "final": {
            "type": "boolean"
          },
          "finalMinLevel": {
            "type": [
              "null",
              "string"
            ]
          },
          "loggerNamePattern": {
            "type": [
              "null",
              "string"
            ]
          },
          "levels": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "readOnly": true
          },
          "defaultFilterResult": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FilterResult"
              }
            ],
            "description": "\n\n0 = Neutral\n\n1 = Log\n\n2 = Ignore\n\n3 = LogFinal\n\n4 = IgnoreFinal",
            "deprecated": true,
            "x-enumNames": [
              "Neutral",
              "Log",
              "Ignore",
              "LogFinal",
              "IgnoreFinal"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "filterDefaultAction": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FilterResult"
              }
            ],
            "description": "\n\n0 = Neutral\n\n1 = Log\n\n2 = Ignore\n\n3 = LogFinal\n\n4 = IgnoreFinal",
            "x-enumNames": [
              "Neutral",
              "Log",
              "Ignore",
              "LogFinal",
              "IgnoreFinal"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "MailSentRequest": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Email": {
            "type": [
              "null",
              "string"
            ]
          },
          "Subject": {
            "type": [
              "null",
              "string"
            ]
          },
          "Body": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "MappingSchema": {
        "type": "object",
        "properties": {
          "valueToSqlConverter": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValueToSqlConverter"
              }
            ],
            "readOnly": true
          },
          "configurationList": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "readOnly": true
          },
          "displayID": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "columnNameComparer": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/StringComparer"
              }
            ]
          },
          "isLockable": {
            "type": "boolean",
            "readOnly": true
          },
          "isLocked": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "MappingSchemaIEntityChangeDescriptorAction": {
        "type": "object",
        "properties": {
          "hasSingleTarget": {
            "type": "boolean",
            "readOnly": true
          },
          "target": {
            "type": "null",
            "readOnly": true
          },
          "method": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodInfo"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "MemberInfo": {
        "type": "object",
        "properties": {
          "memberType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MemberTypes"
              }
            ],
            "description": "\n\n1 = Constructor\n\n2 = Event\n\n4 = Field\n\n8 = Method\n\n16 = Property\n\n32 = TypeInfo\n\n64 = Custom\n\n128 = NestedType\n\n191 = All",
            "readOnly": true,
            "x-enumNames": [
              "Constructor",
              "Event",
              "Field",
              "Method",
              "Property",
              "TypeInfo",
              "Custom",
              "NestedType",
              "All"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "declaringType": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "reflectedType": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "module": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Module"
              }
            ],
            "readOnly": true
          },
          "customAttributes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "readOnly": true
          },
          "isCollectible": {
            "type": "boolean",
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "MemberTypes": {
        "enum": [
          1,
          2,
          4,
          8,
          16,
          32,
          64,
          128,
          191
        ],
        "type": "integer",
        "description": "\n\n1 = Constructor\n\n2 = Event\n\n4 = Field\n\n8 = Method\n\n16 = Property\n\n32 = TypeInfo\n\n64 = Custom\n\n128 = NestedType\n\n191 = All",
        "format": "int32",
        "x-enumNames": [
          "Constructor",
          "Event",
          "Field",
          "Method",
          "Property",
          "TypeInfo",
          "Custom",
          "NestedType",
          "All"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "MetadataDataSourceType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = EmptySource\n\n1 = ViewSource\n\n2 = SearchQuerySource\n\n3 = MissedSource",
        "format": "int32",
        "x-enumNames": [
          "EmptySource",
          "ViewSource",
          "SearchQuerySource",
          "MissedSource"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "MethodAttributes": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          16,
          32,
          64,
          128,
          256,
          512,
          1024,
          2048,
          4096,
          8192,
          16384,
          32768,
          53248
        ],
        "type": "integer",
        "description": "\n\n0 = ReuseSlot\n\n1 = Private\n\n2 = FamANDAssem\n\n3 = Assembly\n\n4 = Family\n\n5 = FamORAssem\n\n6 = Public\n\n7 = MemberAccessMask\n\n8 = UnmanagedExport\n\n16 = Static\n\n32 = Final\n\n64 = Virtual\n\n128 = HideBySig\n\n256 = VtableLayoutMask\n\n512 = CheckAccessOnOverride\n\n1024 = Abstract\n\n2048 = SpecialName\n\n4096 = RTSpecialName\n\n8192 = PinvokeImpl\n\n16384 = HasSecurity\n\n32768 = RequireSecObject\n\n53248 = ReservedMask",
        "format": "int32",
        "x-enumNames": [
          "ReuseSlot",
          "Private",
          "FamANDAssem",
          "Assembly",
          "Family",
          "FamORAssem",
          "Public",
          "MemberAccessMask",
          "UnmanagedExport",
          "Static",
          "Final",
          "Virtual",
          "HideBySig",
          "VtableLayoutMask",
          "CheckAccessOnOverride",
          "Abstract",
          "SpecialName",
          "RTSpecialName",
          "PinvokeImpl",
          "HasSecurity",
          "RequireSecObject",
          "ReservedMask"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "MethodImplAttributes": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          8,
          16,
          32,
          64,
          128,
          256,
          512,
          4096,
          8192,
          65535
        ],
        "type": "integer",
        "description": "\n\n0 = Managed\n\n1 = Native\n\n2 = OPTIL\n\n3 = Runtime\n\n4 = Unmanaged\n\n8 = NoInlining\n\n16 = ForwardRef\n\n32 = Synchronized\n\n64 = NoOptimization\n\n128 = PreserveSig\n\n256 = AggressiveInlining\n\n512 = AggressiveOptimization\n\n4096 = InternalCall\n\n8192 = Async\n\n65535 = MaxMethodImplVal",
        "format": "int32",
        "x-enumNames": [
          "Managed",
          "Native",
          "OPTIL",
          "Runtime",
          "Unmanaged",
          "NoInlining",
          "ForwardRef",
          "Synchronized",
          "NoOptimization",
          "PreserveSig",
          "AggressiveInlining",
          "AggressiveOptimization",
          "InternalCall",
          "Async",
          "MaxMethodImplVal"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "MethodInfo": {
        "type": "object",
        "properties": {
          "memberType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MemberTypes"
              }
            ],
            "description": "\n\n1 = Constructor\n\n2 = Event\n\n4 = Field\n\n8 = Method\n\n16 = Property\n\n32 = TypeInfo\n\n64 = Custom\n\n128 = NestedType\n\n191 = All",
            "readOnly": true,
            "x-enumNames": [
              "Constructor",
              "Event",
              "Field",
              "Method",
              "Property",
              "TypeInfo",
              "Custom",
              "NestedType",
              "All"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "returnParameter": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ParameterInfo"
              }
            ],
            "readOnly": true
          },
          "returnType": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "returnTypeCustomAttributes": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ICustomAttributeProvider"
              }
            ],
            "readOnly": true
          },
          "attributes": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodAttributes"
              }
            ],
            "description": "\n\n0 = ReuseSlot\n\n1 = Private\n\n2 = FamANDAssem\n\n3 = Assembly\n\n4 = Family\n\n5 = FamORAssem\n\n6 = Public\n\n7 = MemberAccessMask\n\n8 = UnmanagedExport\n\n16 = Static\n\n32 = Final\n\n64 = Virtual\n\n128 = HideBySig\n\n256 = VtableLayoutMask\n\n512 = CheckAccessOnOverride\n\n1024 = Abstract\n\n2048 = SpecialName\n\n4096 = RTSpecialName\n\n8192 = PinvokeImpl\n\n16384 = HasSecurity\n\n32768 = RequireSecObject\n\n53248 = ReservedMask",
            "readOnly": true,
            "x-enumNames": [
              "ReuseSlot",
              "Private",
              "FamANDAssem",
              "Assembly",
              "Family",
              "FamORAssem",
              "Public",
              "MemberAccessMask",
              "UnmanagedExport",
              "Static",
              "Final",
              "Virtual",
              "HideBySig",
              "VtableLayoutMask",
              "CheckAccessOnOverride",
              "Abstract",
              "SpecialName",
              "RTSpecialName",
              "PinvokeImpl",
              "HasSecurity",
              "RequireSecObject",
              "ReservedMask"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "methodImplementationFlags": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodImplAttributes"
              }
            ],
            "description": "\n\n0 = Managed\n\n1 = Native\n\n2 = OPTIL\n\n3 = Runtime\n\n4 = Unmanaged\n\n8 = NoInlining\n\n16 = ForwardRef\n\n32 = Synchronized\n\n64 = NoOptimization\n\n128 = PreserveSig\n\n256 = AggressiveInlining\n\n512 = AggressiveOptimization\n\n4096 = InternalCall\n\n8192 = Async\n\n65535 = MaxMethodImplVal",
            "readOnly": true,
            "x-enumNames": [
              "Managed",
              "Native",
              "OPTIL",
              "Runtime",
              "Unmanaged",
              "NoInlining",
              "ForwardRef",
              "Synchronized",
              "NoOptimization",
              "PreserveSig",
              "AggressiveInlining",
              "AggressiveOptimization",
              "InternalCall",
              "Async",
              "MaxMethodImplVal"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "callingConvention": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CallingConventions"
              }
            ],
            "description": "\n\n1 = Standard\n\n2 = VarArgs\n\n3 = Any\n\n32 = HasThis\n\n64 = ExplicitThis",
            "readOnly": true,
            "x-enumNames": [
              "Standard",
              "VarArgs",
              "Any",
              "HasThis",
              "ExplicitThis"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "isAbstract": {
            "type": "boolean",
            "readOnly": true
          },
          "isConstructor": {
            "type": "boolean",
            "readOnly": true
          },
          "isFinal": {
            "type": "boolean",
            "readOnly": true
          },
          "isHideBySig": {
            "type": "boolean",
            "readOnly": true
          },
          "isSpecialName": {
            "type": "boolean",
            "readOnly": true
          },
          "isStatic": {
            "type": "boolean",
            "readOnly": true
          },
          "isVirtual": {
            "type": "boolean",
            "readOnly": true
          },
          "isAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamily": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamilyAndAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamilyOrAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isPrivate": {
            "type": "boolean",
            "readOnly": true
          },
          "isPublic": {
            "type": "boolean",
            "readOnly": true
          },
          "isConstructedGenericMethod": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericMethod": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericMethodDefinition": {
            "type": "boolean",
            "readOnly": true
          },
          "containsGenericParameters": {
            "type": "boolean",
            "readOnly": true
          },
          "methodHandle": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RuntimeMethodHandle"
              }
            ],
            "readOnly": true
          },
          "isSecurityCritical": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecuritySafeCritical": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecurityTransparent": {
            "type": "boolean",
            "readOnly": true
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "declaringType": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "reflectedType": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "module": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Module"
              }
            ],
            "readOnly": true
          },
          "customAttributes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "readOnly": true
          },
          "isCollectible": {
            "type": "boolean",
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "Module": {
        "type": "object",
        "properties": {
          "assembly": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Assembly"
              }
            ],
            "readOnly": true
          },
          "fullyQualifiedName": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "mdStreamVersion": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "moduleVersionId": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "scopeName": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "moduleHandle": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ModuleHandle"
              }
            ],
            "readOnly": true
          },
          "customAttributes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ModuleHandle": {
        "type": "object",
        "properties": {
          "mdStreamVersion": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ObjectILifetimeContainerAction": {
        "type": "object",
        "properties": {
          "hasSingleTarget": {
            "type": "boolean",
            "readOnly": true
          },
          "target": {
            "type": "null",
            "readOnly": true
          },
          "method": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodInfo"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "OpenSessionRequest": {
        "type": "object",
        "properties": {
          "CultureName": {
            "type": [
              "null",
              "string"
            ]
          },
          "UICultureName": {
            "type": [
              "null",
              "string"
            ]
          },
          "UtcOffsetMinutes": {
            "type": [
              "null",
              "string"
            ]
          },
          "OSName": {
            "type": [
              "null",
              "string"
            ]
          },
          "UserAgent": {
            "type": [
              "null",
              "string"
            ]
          },
          "DeviceType": {
            "type": "integer",
            "format": "int32"
          },
          "Client64Bit": {
            "type": [
              "null",
              "string"
            ]
          },
          "Client64BitOS": {
            "type": [
              "null",
              "string"
            ]
          },
          "ApplicationID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Login": {
            "type": [
              "null",
              "string"
            ]
          },
          "Password": {
            "type": [
              "null",
              "string"
            ]
          },
          "PlatformVersion": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "OpenSessionResponse": {
        "type": "object",
        "properties": {
          "TokenXml": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "Response2fa": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/TwoFactorAuthResponse"
              }
            ],
            "readOnly": true
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "Operation": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "TypeID": {
            "type": "string",
            "format": "uuid"
          },
          "State": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OperationState"
              }
            ],
            "description": "\n\n0 = Created\n\n1 = InProgress\n\n2 = Completed\n\n3 = Postponed",
            "x-enumNames": [
              "Created",
              "InProgress",
              "Completed",
              "Postponed"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "CreatedByID": {
            "type": "string",
            "format": "uuid"
          },
          "SessionID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Created": {
            "type": "string",
            "format": "date-time"
          },
          "InProgress": {
            "type": [
              "null",
              "string"
            ]
          },
          "Completed": {
            "type": [
              "null",
              "string"
            ]
          },
          "Postponed": {
            "type": [
              "null",
              "string"
            ]
          },
          "CreationFlags": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OperationCreationFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = CreateInProgress\n\n2 = ReportsProgress\n\n4 = FailOnHashCollision",
            "x-enumNames": [
              "None",
              "CreateInProgress",
              "ReportsProgress",
              "FailOnHashCollision"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "Progress": {
            "type": [
              "null",
              "string"
            ]
          },
          "Digest": {
            "type": [
              "null",
              "string"
            ]
          },
          "ObjectID": {
            "type": [
              "null",
              "string"
            ]
          },
          "Request": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/OperationRequest"
              }
            ]
          },
          "Hash": {
            "type": [
              "null",
              "string"
            ],
            "format": "byte"
          },
          "Response": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/OperationResponse"
              }
            ]
          },
          "JsonStatus": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "OperationCreationFlags": {
        "enum": [
          0,
          1,
          2,
          4
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = CreateInProgress\n\n2 = ReportsProgress\n\n4 = FailOnHashCollision",
        "format": "int32",
        "x-enumNames": [
          "None",
          "CreateInProgress",
          "ReportsProgress",
          "FailOnHashCollision"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "OperationRequest": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "OperationResponse": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "OperationState": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = Created\n\n1 = InProgress\n\n2 = Completed\n\n3 = Postponed",
        "format": "int32",
        "x-enumNames": [
          "Created",
          "InProgress",
          "Completed",
          "Postponed"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "OperationStateAndProgressNullable": {
        "type": "object",
        "properties": {
          "state": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OperationState"
              }
            ],
            "description": "\n\n0 = Created\n\n1 = InProgress\n\n2 = Completed\n\n3 = Postponed",
            "x-enumNames": [
              "Created",
              "InProgress",
              "Completed",
              "Postponed"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "progress": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "OperationStateAndStatusNullable": {
        "type": "object",
        "properties": {
          "state": {
            "allOf": [
              {
                "$ref": "#/components/schemas/OperationState"
              }
            ],
            "description": "\n\n0 = Created\n\n1 = InProgress\n\n2 = Completed\n\n3 = Postponed",
            "x-enumNames": [
              "Created",
              "InProgress",
              "Completed",
              "Postponed"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "jsonStatus": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "PackageFileState": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = Unchanged\n\n1 = Inserted\n\n2 = Replaced\n\n3 = Deleted",
        "format": "int32",
        "x-enumNames": [
          "Unchanged",
          "Inserted",
          "Replaced",
          "Deleted"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "Paging": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = No\n\n1 = Always\n\n2 = Optional",
        "format": "int32",
        "x-enumNames": [
          "No",
          "Always",
          "Optional"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "ParameterAttributes": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          16,
          4096,
          8192,
          16384,
          32768,
          61440
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = In\n\n2 = Out\n\n4 = Lcid\n\n8 = Retval\n\n16 = Optional\n\n4096 = HasDefault\n\n8192 = HasFieldMarshal\n\n16384 = Reserved3\n\n32768 = Reserved4\n\n61440 = ReservedMask",
        "format": "int32",
        "x-enumNames": [
          "None",
          "In",
          "Out",
          "Lcid",
          "Retval",
          "Optional",
          "HasDefault",
          "HasFieldMarshal",
          "Reserved3",
          "Reserved4",
          "ReservedMask"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "ParameterDirection": {
        "enum": [
          1,
          2,
          3,
          6
        ],
        "type": "integer",
        "description": "\n\n1 = Input\n\n2 = Output\n\n3 = InputOutput\n\n6 = ReturnValue",
        "format": "int32",
        "x-enumNames": [
          "Input",
          "Output",
          "InputOutput",
          "ReturnValue"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "ParameterInfo": {
        "type": "object",
        "properties": {
          "attributes": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ParameterAttributes"
              }
            ],
            "description": "\n\n0 = None\n\n1 = In\n\n2 = Out\n\n4 = Lcid\n\n8 = Retval\n\n16 = Optional\n\n4096 = HasDefault\n\n8192 = HasFieldMarshal\n\n16384 = Reserved3\n\n32768 = Reserved4\n\n61440 = ReservedMask",
            "readOnly": true,
            "x-enumNames": [
              "None",
              "In",
              "Out",
              "Lcid",
              "Retval",
              "Optional",
              "HasDefault",
              "HasFieldMarshal",
              "Reserved3",
              "Reserved4",
              "ReservedMask"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "member": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MemberInfo"
              }
            ],
            "readOnly": true
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "parameterType": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "position": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "isIn": {
            "type": "boolean",
            "readOnly": true
          },
          "isLcid": {
            "type": "boolean",
            "readOnly": true
          },
          "isOptional": {
            "type": "boolean",
            "readOnly": true
          },
          "isOut": {
            "type": "boolean",
            "readOnly": true
          },
          "isRetval": {
            "type": "boolean",
            "readOnly": true
          },
          "defaultValue": {
            "type": "null",
            "readOnly": true
          },
          "rawDefaultValue": {
            "type": "null",
            "readOnly": true
          },
          "hasDefaultValue": {
            "type": "boolean",
            "readOnly": true
          },
          "customAttributes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "PlainGroupGetResponse": {
        "type": "object",
        "properties": {
          "GroupInfo": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/GroupInfo"
              }
            ]
          },
          "Admins": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/GroupAdminInfo"
            }
          },
          "Members": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/GroupMemberInfo"
            }
          },
          "AdminsAreLoaded": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PlainGroupStoreRequest": {
        "type": "object",
        "properties": {
          "GroupInfo": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/GroupInfo"
              }
            ]
          },
          "Admins": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/GroupAdminInfo"
            }
          },
          "Members": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/GroupMemberInfo"
            }
          },
          "GroupID": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "PlainLocalizationEntry": {
        "type": "object",
        "properties": {
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Comment": {
            "type": [
              "null",
              "string"
            ]
          },
          "Strings": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PlainLocalizationString"
            }
          },
          "FormatVersion": {
            "type": "integer",
            "format": "int32"
          },
          "TargetFormatVersion": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PlainLocalizationLibrary": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Priority": {
            "type": "integer",
            "format": "int32"
          },
          "DetachedCultures": {
            "type": [
              "null",
              "string"
            ]
          },
          "FormatVersion": {
            "type": "integer",
            "format": "int32"
          },
          "Entries": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PlainLocalizationEntry"
            }
          }
        },
        "additionalProperties": false
      },
      "PlainLocalizationString": {
        "type": "object",
        "properties": {
          "Culture": {
            "type": [
              "null",
              "string"
            ]
          },
          "Value": {
            "type": [
              "null",
              "string"
            ]
          },
          "FormatVersion": {
            "type": "integer",
            "format": "int32"
          },
          "TargetFormatVersion": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PlainSchemeColumn": {
        "type": "object",
        "properties": {
          "IsSystem": {
            "type": "boolean"
          },
          "IsPermanent": {
            "type": "boolean"
          },
          "IsSealed": {
            "type": "boolean"
          },
          "Partition": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "Type": {
            "type": [
              "null",
              "string"
            ]
          },
          "IsVirtual": {
            "type": "boolean"
          },
          "ColumnType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PlainSchemeColumnType"
              }
            ],
            "description": "\n\n0 = Physical\n\n1 = Referencing\n\n2 = Complex",
            "x-enumNames": [
              "Physical",
              "Referencing",
              "Complex"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "PlainSchemeColumnType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Physical\n\n1 = Referencing\n\n2 = Complex",
        "format": "int32",
        "x-enumNames": [
          "Physical",
          "Referencing",
          "Complex"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "PlainSchemeConstraint": {
        "type": "object",
        "properties": {
          "IsSystem": {
            "type": "boolean"
          },
          "IsPermanent": {
            "type": "boolean"
          },
          "IsSealed": {
            "type": "boolean"
          },
          "Partition": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "ConstraintType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PlainSchemeConstraintType"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = ForeignKey\n\n2 = PrimaryKey\n\n3 = UniqueKey",
            "x-enumNames": [
              "Default",
              "ForeignKey",
              "PrimaryKey",
              "UniqueKey"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "PlainSchemeConstraintType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = Default\n\n1 = ForeignKey\n\n2 = PrimaryKey\n\n3 = UniqueKey",
        "format": "int32",
        "x-enumNames": [
          "Default",
          "ForeignKey",
          "PrimaryKey",
          "UniqueKey"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "PlainSchemeDatabaseInfo": {
        "type": "object",
        "properties": {
          "Properties": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/PlainSchemeDatabaseProperties"
              }
            ]
          },
          "Partitions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PlainSchemePartition"
            }
          },
          "Tables": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PlainSchemeTable"
            }
          },
          "Functions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PlainSchemeFunction"
            }
          },
          "Procedures": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PlainSchemeProcedure"
            }
          },
          "Migrations": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PlainSchemeMigration"
            }
          }
        },
        "additionalProperties": false
      },
      "PlainSchemeDatabaseProperties": {
        "type": "object",
        "properties": {
          "IsSystem": {
            "type": "boolean"
          },
          "IsPermanent": {
            "type": "boolean"
          },
          "IsSealed": {
            "type": "boolean"
          },
          "Partition": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "Modified": {
            "type": "string",
            "format": "date-time"
          },
          "ModifiedByID": {
            "type": "string",
            "format": "uuid"
          },
          "ModifiedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Collation": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/StringPlainSchemeDbmsSpecificValue"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "PlainSchemeDbmsByte": {
        "type": "object",
        "properties": {
          "Keys": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/Dbms"
            },
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "PlainSchemeFunction": {
        "type": "object",
        "properties": {
          "IsSystem": {
            "type": "boolean"
          },
          "IsPermanent": {
            "type": "boolean"
          },
          "IsSealed": {
            "type": "boolean"
          },
          "Partition": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "Group": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExecuteBeforeModifyingTables": {
            "type": [
              "null",
              "string"
            ]
          },
          "Order": {
            "type": [
              "null",
              "string"
            ]
          },
          "Definition": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/StringPlainSchemeDbmsSpecificValue"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "PlainSchemeIncludedColumn": {
        "type": "object",
        "properties": {
          "IsSystem": {
            "type": "boolean"
          },
          "IsPermanent": {
            "type": "boolean"
          },
          "IsSealed": {
            "type": "boolean"
          },
          "Column": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "PlainSchemeIndex": {
        "type": "object",
        "properties": {
          "IsSystem": {
            "type": "boolean"
          },
          "IsPermanent": {
            "type": "boolean"
          },
          "IsSealed": {
            "type": "boolean"
          },
          "Partition": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "AllowPageLocks": {
            "type": [
              "null",
              "string"
            ]
          },
          "AllowRowLocks": {
            "type": [
              "null",
              "string"
            ]
          },
          "DataCompression": {
            "type": [
              "null",
              "string"
            ]
          },
          "Expression": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/StringPlainSchemeDbmsSpecificValue"
              }
            ]
          },
          "FillFactor": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/PlainSchemeDbmsByte"
              }
            ]
          },
          "IgnoreDuplicateKey": {
            "type": [
              "null",
              "string"
            ]
          },
          "IncludedColumns": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PlainSchemeIncludedColumn"
            }
          },
          "IndexedColumns": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PlainSchemeIndexedColumn"
            }
          },
          "IsClustered": {
            "type": [
              "null",
              "string"
            ]
          },
          "IsEnabled": {
            "type": [
              "null",
              "string"
            ]
          },
          "IsPadded": {
            "type": [
              "null",
              "string"
            ]
          },
          "IsUnique": {
            "type": [
              "null",
              "string"
            ]
          },
          "MaxDegreeOfParallelism": {
            "type": [
              "null",
              "string"
            ]
          },
          "NoRecomputeStatistics": {
            "type": [
              "null",
              "string"
            ]
          },
          "Predicate": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/StringPlainSchemeDbmsSpecificValue"
              }
            ]
          },
          "SortInTemporaryDatabase": {
            "type": [
              "null",
              "string"
            ]
          },
          "SupportsDbms": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/BooleanPlainSchemeDbmsSpecificValue"
              }
            ]
          },
          "Type": {
            "type": [
              "null",
              "string"
            ]
          },
          "UseOnlineOperations": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "PlainSchemeIndexedColumn": {
        "type": "object",
        "properties": {
          "IsSystem": {
            "type": "boolean"
          },
          "IsPermanent": {
            "type": "boolean"
          },
          "IsSealed": {
            "type": "boolean"
          },
          "Column": {
            "type": [
              "null",
              "string"
            ]
          },
          "SortOrder": {
            "type": [
              "null",
              "string"
            ]
          },
          "Expression": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/StringPlainSchemeDbmsSpecificValue"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "PlainSchemeMigration": {
        "type": "object",
        "properties": {
          "IsSystem": {
            "type": "boolean"
          },
          "IsPermanent": {
            "type": "boolean"
          },
          "IsSealed": {
            "type": "boolean"
          },
          "Partition": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "Group": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExecuteBeforeModifyingTables": {
            "type": [
              "null",
              "string"
            ]
          },
          "Order": {
            "type": [
              "null",
              "string"
            ]
          },
          "Definition": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/StringPlainSchemeDbmsSpecificValue"
              }
            ]
          },
          "WithoutTransaction": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "PlainSchemePartition": {
        "type": "object",
        "properties": {
          "IsSystem": {
            "type": "boolean"
          },
          "IsPermanent": {
            "type": "boolean"
          },
          "IsSealed": {
            "type": "boolean"
          },
          "Partition": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "PlainSchemeProcedure": {
        "type": "object",
        "properties": {
          "IsSystem": {
            "type": "boolean"
          },
          "IsPermanent": {
            "type": "boolean"
          },
          "IsSealed": {
            "type": "boolean"
          },
          "Partition": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "Group": {
            "type": [
              "null",
              "string"
            ]
          },
          "ExecuteBeforeModifyingTables": {
            "type": [
              "null",
              "string"
            ]
          },
          "Order": {
            "type": [
              "null",
              "string"
            ]
          },
          "Definition": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/StringPlainSchemeDbmsSpecificValue"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "PlainSchemeRecord": {
        "type": "object",
        "properties": {
          "IsSystem": {
            "type": "boolean"
          },
          "IsPermanent": {
            "type": "boolean"
          },
          "IsSealed": {
            "type": "boolean"
          },
          "Partition": {
            "type": [
              "null",
              "string"
            ]
          },
          "Columns": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PlainSchemeRecordItem"
            }
          }
        },
        "additionalProperties": false
      },
      "PlainSchemeRecordItem": {
        "type": "object",
        "properties": {
          "ColumnID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Value": {
            "type": "null"
          }
        },
        "additionalProperties": false
      },
      "PlainSchemeTable": {
        "type": "object",
        "properties": {
          "IsSystem": {
            "type": "boolean"
          },
          "IsPermanent": {
            "type": "boolean"
          },
          "IsSealed": {
            "type": "boolean"
          },
          "Partition": {
            "type": [
              "null",
              "string"
            ]
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "Group": {
            "type": [
              "null",
              "string"
            ]
          },
          "Columns": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PlainSchemeColumn"
            }
          },
          "Constraints": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PlainSchemeConstraint"
            }
          },
          "Indexes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PlainSchemeIndex"
            }
          },
          "Records": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PlainSchemeRecord"
            }
          },
          "IsVirtual": {
            "type": "boolean"
          },
          "InstanceType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SchemeTableInstanceType"
              }
            ],
            "description": "\n\n0 = Unspecified\n\n1 = Cards\n\n2 = Files\n\n3 = Tasks",
            "x-enumNames": [
              "Unspecified",
              "Cards",
              "Files",
              "Tasks"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "ContentType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SchemeTableContentType"
              }
            ],
            "description": "\n\n0 = Enumeration\n\n1 = Entries\n\n2 = Collections\n\n3 = Hierarchies",
            "x-enumNames": [
              "Enumeration",
              "Entries",
              "Collections",
              "Hierarchies"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "PlainValidationResult": {
        "type": "object",
        "properties": {
          "Items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/PlainValidationResultItem"
            }
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "PlainValidationResultItem": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "format": "uuid"
          },
          "Type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationResultType"
              }
            ],
            "description": "\n\n0 = Info\n\n1 = Warning\n\n2 = Error",
            "x-enumNames": [
              "Info",
              "Warning",
              "Error"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "Message": {
            "type": [
              "null",
              "string"
            ]
          },
          "ObjectName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ObjectType": {
            "type": [
              "null",
              "string"
            ]
          },
          "FieldName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Details": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "PlainWorkplaceComponentMetadata": {
        "type": "object",
        "properties": {
          "FolderMetadata": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/JsonFolderNodeMetadata"
              }
            ]
          },
          "DataNodeMetadata": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/JsonDataNodeMetadata"
              }
            ]
          },
          "SearchQueryMetadata": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/JsonWorkplaceSearchQueryMetadata"
              }
            ]
          },
          "UnusedComponentMetadata": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/JsonWorkplaceUnusedComponentsMetadata"
              }
            ]
          },
          "WorkplaceUserExtensionMetadata": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/JsonWorkplaceUserExtensionMetadata"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": [
              "null",
              "string"
            ]
          },
          "title": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "type": [
              "null",
              "string"
            ]
          },
          "detail": {
            "type": [
              "null",
              "string"
            ]
          },
          "instance": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": { }
      },
      "QueryExecutorFlags": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = WithoutParameters",
        "format": "int32",
        "x-enumNames": [
          "None",
          "WithoutParameters"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "RequestCriteria": {
        "type": "object",
        "properties": {
          "CriteriaName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Values": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CriteriaValue"
            }
          }
        },
        "additionalProperties": false
      },
      "RetryPolicyOptions": {
        "type": "object",
        "properties": {
          "retryPolicy": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IRetryPolicy"
              }
            ]
          },
          "factory": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DataConnectionIRetryPolicyFunc"
              }
            ]
          },
          "maxRetryCount": {
            "type": "integer",
            "format": "int32"
          },
          "maxDelay": {
            "type": "string",
            "format": "date-span"
          },
          "randomFactor": {
            "type": "number",
            "format": "double"
          },
          "exponentialBase": {
            "type": "number",
            "format": "double"
          },
          "coefficient": {
            "type": "string",
            "format": "date-span"
          }
        },
        "additionalProperties": false
      },
      "RoleLink": {
        "type": "object",
        "properties": {
          "RoleId": {
            "type": "string",
            "format": "uuid"
          },
          "RoleName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ObjectId": {
            "type": "string",
            "format": "uuid"
          },
          "DeltaKind": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DeltaKind"
              }
            ],
            "description": "\n\n0 = Unchanged\n\n1 = Added\n\n2 = Changed\n\n3 = Deleted",
            "x-enumNames": [
              "Unchanged",
              "Added",
              "Changed",
              "Deleted"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "IsSealed": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "RowFeature": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          16,
          32,
          64,
          128,
          256
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = IsNull\n\n2 = Equality\n\n4 = Comparisons\n\n8 = Overlaps\n\n16 = Between\n\n32 = CompareToSelect\n\n64 = In\n\n128 = Update\n\n256 = UpdateLiteral",
        "format": "int32",
        "x-enumNames": [
          "None",
          "IsNull",
          "Equality",
          "Comparisons",
          "Overlaps",
          "Between",
          "CompareToSelect",
          "In",
          "Update",
          "UpdateLiteral"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "RuntimeMethodHandle": {
        "type": "object",
        "properties": {
          "value": {
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "SafeWaitHandle": {
        "type": "object",
        "properties": {
          "isInvalid": {
            "type": "boolean",
            "readOnly": true
          },
          "isClosed": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "SchemeDbType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          25,
          26,
          27,
          100,
          101
        ],
        "type": "integer",
        "description": "\n\n0 = AnsiString\n\n1 = Binary\n\n2 = Byte\n\n3 = Boolean\n\n4 = Currency\n\n5 = Date\n\n6 = DateTime\n\n7 = Decimal\n\n8 = Double\n\n9 = Guid\n\n10 = Int16\n\n11 = Int32\n\n12 = Int64\n\n13 = Object\n\n14 = SByte\n\n15 = Single\n\n16 = String\n\n17 = Time\n\n18 = UInt16\n\n19 = UInt32\n\n20 = UInt64\n\n21 = VarNumeric\n\n22 = AnsiStringFixedLength\n\n23 = StringFixedLength\n\n25 = Xml\n\n26 = DateTime2\n\n27 = DateTimeOffset\n\n100 = Json\n\n101 = BinaryJson",
        "format": "int32",
        "x-enumNames": [
          "AnsiString",
          "Binary",
          "Byte",
          "Boolean",
          "Currency",
          "Date",
          "DateTime",
          "Decimal",
          "Double",
          "Guid",
          "Int16",
          "Int32",
          "Int64",
          "Object",
          "SByte",
          "Single",
          "String",
          "Time",
          "UInt16",
          "UInt32",
          "UInt64",
          "VarNumeric",
          "AnsiStringFixedLength",
          "StringFixedLength",
          "Xml",
          "DateTime2",
          "DateTimeOffset",
          "Json",
          "BinaryJson"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "SchemeTableContentType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = Enumeration\n\n1 = Entries\n\n2 = Collections\n\n3 = Hierarchies",
        "format": "int32",
        "x-enumNames": [
          "Enumeration",
          "Entries",
          "Collections",
          "Hierarchies"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "SchemeTableInstanceType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = Unspecified\n\n1 = Cards\n\n2 = Files\n\n3 = Tasks",
        "format": "int32",
        "x-enumNames": [
          "Unspecified",
          "Cards",
          "Files",
          "Tasks"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "SearchQueryMetadataErrorInfo": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "IsPublic": {
            "type": "boolean"
          },
          "ViewAlias": {
            "type": [
              "null",
              "string"
            ]
          },
          "TemplateCompositionID": {
            "type": "string",
            "format": "uuid"
          },
          "CreatedByUserID": {
            "type": "string",
            "format": "uuid"
          },
          "ModificationDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "SecurityRuleSet": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Level1\n\n2 = Level2",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Level1",
          "Level2"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "ServiceRepository": {
        "type": "object",
        "additionalProperties": false
      },
      "SessionLicenseType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Unspecified\n\n1 = Concurrent\n\n2 = Personal",
        "format": "int32",
        "x-enumNames": [
          "Unspecified",
          "Concurrent",
          "Personal"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "SessionToken": {
        "type": "object",
        "properties": {
          "IsSealed": {
            "type": "boolean",
            "readOnly": true
          },
          "SessionID": {
            "type": "string",
            "format": "uuid"
          },
          "ApplicationID": {
            "type": "string",
            "format": "uuid"
          },
          "ServerCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "Signature": {
            "type": [
              "null",
              "string"
            ]
          },
          "LicenseType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SessionLicenseType"
              }
            ],
            "description": "\n\n0 = Unspecified\n\n1 = Concurrent\n\n2 = Personal",
            "x-enumNames": [
              "Unspecified",
              "Concurrent",
              "Personal"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "LoginType": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/UserLoginType"
              }
            ]
          },
          "AccessLevel": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UserAccessLevel"
              }
            ],
            "description": "\n\n0 = Regular\n\n1 = Administrator",
            "x-enumNames": [
              "Regular",
              "Administrator"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "DeviceType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DeviceType"
              }
            ]
          },
          "UserID": {
            "type": "string",
            "format": "uuid"
          },
          "UserName": {
            "type": [
              "null",
              "string"
            ]
          },
          "UserLogin": {
            "type": [
              "null",
              "string"
            ]
          },
          "HostIP": {
            "type": [
              "null",
              "string"
            ]
          },
          "HostName": {
            "type": [
              "null",
              "string"
            ]
          },
          "OSName": {
            "type": [
              "null",
              "string"
            ]
          },
          "UserAgent": {
            "type": [
              "null",
              "string"
            ]
          },
          "Created": {
            "type": "string",
            "format": "date-time"
          },
          "Expires": {
            "type": "string",
            "format": "date-time"
          },
          "Culture": {
            "type": [
              "null",
              "string"
            ]
          },
          "UICulture": {
            "type": [
              "null",
              "string"
            ]
          },
          "UtcOffset": {
            "type": "string",
            "format": "date-span"
          },
          "TimeZoneUtcOffset": {
            "type": "string",
            "format": "date-span"
          },
          "CalendarID": {
            "type": "string",
            "format": "uuid"
          },
          "Client64Bit": {
            "type": [
              "null",
              "string"
            ]
          },
          "Client64BitOS": {
            "type": [
              "null",
              "string"
            ]
          },
          "PlatformVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "Kind": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SessionTokenKind"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = ApiToken",
            "x-enumNames": [
              "Default",
              "ApiToken"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "SessionTokenKind": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = Default\n\n1 = ApiToken",
        "format": "int32",
        "x-enumNames": [
          "Default",
          "ApiToken"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "SessionType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Unknown\n\n1 = Client\n\n2 = Server",
        "format": "int32",
        "x-enumNames": [
          "Unknown",
          "Client",
          "Server"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "SettingsUnitDescriptor": {
        "required": [
          "Caption",
          "Category",
          "GroupID",
          "ID",
          "Name",
          "Order"
        ],
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "GroupID": {
            "type": "string",
            "format": "uuid"
          },
          "Category": {
            "type": [
              "null",
              "string"
            ]
          },
          "Order": {
            "type": "integer",
            "format": "int32"
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "SettingsUnitRecord": {
        "type": "object",
        "properties": {
          "Initialized": {
            "type": "boolean",
            "readOnly": true
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "ParentID": {
            "type": [
              "null",
              "string"
            ]
          },
          "GroupID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Version": {
            "type": "integer",
            "format": "int32"
          },
          "Category": {
            "type": [
              "null",
              "string"
            ]
          },
          "Modified": {
            "type": "string",
            "format": "date-time"
          },
          "ModifiedByID": {
            "type": "string",
            "format": "uuid"
          },
          "ModifiedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "SchemeVersion": {
            "type": "integer",
            "format": "int32"
          },
          "Data": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "IsSealed": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "SettingsUnitStoreRequest": {
        "type": "object",
        "properties": {
          "UnitName": {
            "type": [
              "null",
              "string"
            ]
          },
          "FragmentName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Version": {
            "type": "integer",
            "format": "int32"
          },
          "Partial": {
            "type": "boolean"
          },
          "Data": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "ShowMode": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Always\n\n1 = NormalMode\n\n2 = SelectionMode",
        "format": "int32",
        "x-enumNames": [
          "Always",
          "NormalMode",
          "SelectionMode"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "SignatureProfile": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ],
        "type": "integer",
        "description": "\n\n0 = None ($Enum_Signature_Profiles_None)\n\n1 = Bes ($Enum_Signature_Profiles_BES)\n\n2 = Epes ($Enum_Signature_Profiles_EPES)\n\n3 = T ($Enum_Signature_Profiles_T)\n\n4 = C ($Enum_Signature_Profiles_C)\n\n5 = Xl ($Enum_Signature_Profiles_XL)\n\n6 = XType1 ($Enum_Signature_Profiles_X_Type1)\n\n7 = XType2 ($Enum_Signature_Profiles_X_Type2)\n\n8 = XlType1 ($Enum_Signature_Profiles_XL_Type1)\n\n9 = XlType2 ($Enum_Signature_Profiles_XL_Type2)\n\n10 = A ($Enum_Signature_Profiles_A)",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Bes",
          "Epes",
          "T",
          "C",
          "Xl",
          "XType1",
          "XType2",
          "XlType1",
          "XlType2",
          "A"
        ],
        "x-enumDescriptions": [
          "$Enum_Signature_Profiles_None",
          "$Enum_Signature_Profiles_BES",
          "$Enum_Signature_Profiles_EPES",
          "$Enum_Signature_Profiles_T",
          "$Enum_Signature_Profiles_C",
          "$Enum_Signature_Profiles_XL",
          "$Enum_Signature_Profiles_X_Type1",
          "$Enum_Signature_Profiles_X_Type2",
          "$Enum_Signature_Profiles_XL_Type1",
          "$Enum_Signature_Profiles_XL_Type2",
          "$Enum_Signature_Profiles_A"
        ]
      },
      "SignatureType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = None ($Enum_SignatureTypes_None)\n\n1 = CAdES ($Enum_SignatureTypes_CAdES)",
        "format": "int32",
        "x-enumNames": [
          "None",
          "CAdES"
        ],
        "x-enumDescriptions": [
          "$Enum_SignatureTypes_None",
          "$Enum_SignatureTypes_CAdES"
        ]
      },
      "SqlOptions": {
        "type": "object",
        "properties": {
          "enableConstantExpressionInOrderBy": {
            "type": "boolean"
          },
          "generateFinalAliases": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SqlProviderFlags": {
        "type": "object",
        "properties": {
          "customFlags": {
            "uniqueItems": true,
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "isParameterOrderDependent": {
            "type": "boolean"
          },
          "acceptsTakeAsParameter": {
            "type": "boolean"
          },
          "acceptsTakeAsParameterIfSkip": {
            "type": "boolean"
          },
          "isSkipSupported": {
            "type": "boolean"
          },
          "isSkipSupportedIfTake": {
            "type": "boolean"
          },
          "takeHintsSupported": {
            "type": [
              "null",
              "string"
            ]
          },
          "isSubQueryTakeSupported": {
            "type": "boolean"
          },
          "isDerivedTableTakeSupported": {
            "type": "boolean"
          },
          "isJoinDerivedTableWithTakeInvalid": {
            "type": "boolean"
          },
          "isCorrelatedSubQueryTakeSupported": {
            "type": "boolean"
          },
          "isSupportsJoinWithoutCondition": {
            "type": "boolean"
          },
          "isSubQuerySkipSupported": {
            "type": "boolean"
          },
          "isSubQueryColumnSupported": {
            "type": "boolean"
          },
          "isSubQueryOrderBySupported": {
            "type": "boolean"
          },
          "isUnionAllOrderBySupported": {
            "type": "boolean"
          },
          "isCountSubQuerySupported": {
            "type": "boolean"
          },
          "isIdentityParameterRequired": {
            "type": "boolean"
          },
          "isApplyJoinSupported": {
            "type": "boolean"
          },
          "isCrossApplyJoinSupportsCondition": {
            "type": "boolean"
          },
          "isOuterApplyJoinSupportsCondition": {
            "type": "boolean"
          },
          "isInsertOrUpdateSupported": {
            "type": "boolean"
          },
          "canCombineParameters": {
            "type": "boolean"
          },
          "maxInListValuesCount": {
            "type": "integer",
            "format": "int32"
          },
          "outputDeleteUseSpecialTable": {
            "type": "boolean"
          },
          "outputInsertUseSpecialTable": {
            "type": "boolean"
          },
          "outputUpdateUseSpecialTables": {
            "type": "boolean"
          },
          "outputMergeUseSpecialTables": {
            "type": "boolean"
          },
          "isCrossJoinSupported": {
            "type": "boolean"
          },
          "isCommonTableExpressionsSupported": {
            "type": "boolean"
          },
          "doesProviderTreatsEmptyStringAsNull": {
            "type": "boolean"
          },
          "isAllSetOperationsSupported": {
            "type": "boolean"
          },
          "isDistinctSetOperationsSupported": {
            "type": "boolean"
          },
          "acceptsOuterExpressionInAggregate": {
            "type": "boolean"
          },
          "isUpdateFromSupported": {
            "type": "boolean"
          },
          "isNamingQueryBlockSupported": {
            "type": "boolean"
          },
          "isWindowFunctionsSupported": {
            "type": "boolean"
          },
          "defaultMultiQueryIsolationLevel": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IsolationLevel"
              }
            ],
            "description": "\n\n16 = Chaos\n\n256 = ReadUncommitted\n\n4096 = ReadCommitted\n\n65536 = RepeatableRead\n\n1048576 = Serializable\n\n16777216 = Snapshot\n\n-1 = Unspecified",
            "x-enumNames": [
              "Chaos",
              "ReadUncommitted",
              "ReadCommitted",
              "RepeatableRead",
              "Serializable",
              "Snapshot",
              "Unspecified"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "rowConstructorSupport": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RowFeature"
              }
            ],
            "description": "\n\n0 = None\n\n1 = IsNull\n\n2 = Equality\n\n4 = Comparisons\n\n8 = Overlaps\n\n16 = Between\n\n32 = CompareToSelect\n\n64 = In\n\n128 = Update\n\n256 = UpdateLiteral",
            "default": 0,
            "x-enumNames": [
              "None",
              "IsNull",
              "Equality",
              "Comparisons",
              "Overlaps",
              "Between",
              "CompareToSelect",
              "In",
              "Update",
              "UpdateLiteral"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "isExistsPreferableForContains": {
            "type": "boolean"
          },
          "isRowNumberWithoutOrderBySupported": {
            "type": "boolean",
            "default": true
          },
          "isSubqueryWithParentReferenceInJoinConditionSupported": {
            "type": "boolean",
            "default": true
          },
          "isColumnSubqueryWithParentReferenceAndTakeSupported": {
            "type": "boolean",
            "default": true
          },
          "isColumnSubqueryShouldNotContainParentIsNotNull": {
            "type": "boolean",
            "default": false
          },
          "isRecursiveCTEJoinWithConditionSupported": {
            "type": "boolean",
            "default": true
          },
          "isOuterJoinSupportsInnerJoin": {
            "type": "boolean",
            "default": true
          },
          "isMultiTablesSupportsJoins": {
            "type": "boolean",
            "default": true
          },
          "isCTESupportsOrdering": {
            "type": "boolean",
            "default": true
          },
          "isAccessBuggyLeftJoinConstantNullability": {
            "type": "boolean"
          },
          "supportsPredicatesComparison": {
            "type": "boolean"
          },
          "supportsBooleanType": {
            "type": "boolean",
            "default": true
          },
          "isNestedJoinsSupported": {
            "type": "boolean",
            "default": true
          },
          "isDerivedTableOrderBySupported": {
            "type": "boolean"
          },
          "isUpdateTakeSupported": {
            "type": "boolean"
          },
          "isUpdateSkipTakeSupported": {
            "type": "boolean"
          },
          "isSupportedSimpleCorrelatedSubqueries": {
            "type": "boolean"
          },
          "supportedCorrelatedSubqueriesLevel": {
            "type": [
              "null",
              "string"
            ]
          },
          "calculateSupportedCorrelatedLevelWithAggregateQueries": {
            "type": "boolean"
          },
          "isDistinctFromSupported": {
            "type": "boolean"
          },
          "isOrderByAggregateFunctionSupported": {
            "type": "boolean"
          },
          "isOrderByAggregateSubquerySupported": {
            "type": "boolean",
            "default": true
          },
          "isOrderBySubQuerySupported": {
            "type": "boolean",
            "default": true
          },
          "isComplexJoinConditionSupported": {
            "type": "boolean",
            "default": true
          },
          "isCrossJoinSyntaxRequired": {
            "type": "boolean",
            "default": false
          },
          "isTakeWithInAllAnySomeSubquerySupported": {
            "type": "boolean",
            "default": true
          },
          "isSimpleCoalesceSupported": {
            "type": "boolean",
            "default": true
          },
          "isSubqueryExpressionInsidePredicateSupported": {
            "type": "boolean",
            "default": true
          },
          "isSubqueryJoinOnOuterReferenceSupported": {
            "type": "boolean",
            "default": true
          }
        },
        "additionalProperties": false
      },
      "StartCardImportRequest": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "CardNames": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "SkipIfCardsExists": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "StartOperationResponse": {
        "type": "object",
        "properties": {
          "GetContent": {
            "type": [
              "null",
              "string"
            ],
            "description": "Абсолютный URI для загрузки потока с бинарными данными файла, указанного в операции."
          },
          "PostCancel": {
            "type": [
              "null",
              "string"
            ],
            "description": "Абсолютный URI для отмены операции."
          },
          "GetSignatures": {
            "type": [
              "null",
              "string"
            ],
            "description": "Абсолютный URI для загрузки информации о подписантах."
          },
          "PostVerify": {
            "type": [
              "null",
              "string"
            ],
            "description": "Абсолютный URI для проверки подписи."
          },
          "PostEnhance": {
            "type": [
              "null",
              "string"
            ],
            "description": "Абсолютный URI для усовершенствования подписи."
          },
          "PostHiddenVerifyWebDialog": {
            "type": [
              "null",
              "string"
            ],
            "description": "Абсолютный URI для скрытия диалога с результатами проверки подписи в ЛК."
          },
          "FilesInfo": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": [
                "null",
                "string"
              ]
            },
            "description": "Объект с идентификаторами (CacheID) и именами файлов из операции."
          }
        },
        "additionalProperties": false,
        "description": "Модель для хранения информации о доступных endpoint'ах при выполнении операции в TESSA Assistant."
      },
      "StorageDefaultColors": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "Palettes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/StoragePalette"
            }
          }
        },
        "additionalProperties": false
      },
      "StoragePalette": {
        "type": "object",
        "properties": {
          "Colors": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "StringComparer": {
        "type": "object",
        "additionalProperties": false
      },
      "StringPlainSchemeDbmsSpecificValue": {
        "type": "object",
        "properties": {
          "Keys": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/Dbms"
            },
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "StringStringIEnumerableKeyValuePair": {
        "type": "object",
        "properties": {
          "key": {
            "type": [
              "null",
              "string"
            ]
          },
          "value": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "StringStringTraceLevelAction": {
        "type": "object",
        "properties": {
          "hasSingleTarget": {
            "type": "boolean",
            "readOnly": true
          },
          "target": {
            "type": "null",
            "readOnly": true
          },
          "method": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodInfo"
              }
            ],
            "readOnly": true,
            "x-enumNames": [
              "Off",
              "Error",
              "Warning",
              "Info",
              "Verbose"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "SubsetKind": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = List\n\n1 = Tree",
        "format": "int32",
        "x-enumNames": [
          "List",
          "Tree"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "TableOptions": {
        "enum": [
          0,
          1,
          2,
          4,
          6,
          8,
          16,
          32,
          64,
          128,
          256,
          504
        ],
        "type": "integer",
        "description": "\n\n0 = NotSet\n\n1 = None\n\n2 = CreateIfNotExists\n\n4 = DropIfExists\n\n6 = CheckExistence\n\n8 = IsTemporary\n\n16 = IsLocalTemporaryStructure\n\n32 = IsGlobalTemporaryStructure\n\n64 = IsLocalTemporaryData\n\n128 = IsGlobalTemporaryData\n\n256 = IsTransactionTemporaryData\n\n504 = IsTemporaryOptionSet",
        "format": "int32",
        "x-enumNames": [
          "NotSet",
          "None",
          "CreateIfNotExists",
          "DropIfExists",
          "CheckExistence",
          "IsTemporary",
          "IsLocalTemporaryStructure",
          "IsGlobalTemporaryStructure",
          "IsLocalTemporaryData",
          "IsGlobalTemporaryData",
          "IsTransactionTemporaryData",
          "IsTemporaryOptionSet"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "TagsPosition": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Top\n\n2 = Bottom\n\n3 = InColumn",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Top",
          "Bottom",
          "InColumn"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "Target": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "optimizeBufferReuse": {
            "type": "boolean",
            "deprecated": true
          },
          "layoutWithLock": {
            "type": "boolean",
            "deprecated": true
          }
        },
        "additionalProperties": false
      },
      "TessaExchangeWorkplaceModel": {
        "type": "object",
        "properties": {
          "Workplace": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkplaceModel"
              }
            ]
          },
          "Views": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/TessaViewModel"
            }
          },
          "SearchQueries": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ISearchQueryMetadata"
            }
          }
        },
        "additionalProperties": false
      },
      "TessaViewModel": {
        "type": "object",
        "properties": {
          "Alias": {
            "type": [
              "null",
              "string"
            ]
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "GroupName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Id": {
            "type": "string",
            "format": "uuid"
          },
          "ModifiedById": {
            "type": "string",
            "format": "uuid"
          },
          "ModifiedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ModifiedDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "JsonMetadataSource": {
            "type": [
              "null",
              "string"
            ]
          },
          "MsQuerySource": {
            "type": [
              "null",
              "string"
            ]
          },
          "PgQuerySource": {
            "type": [
              "null",
              "string"
            ]
          },
          "Roles": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/RoleLink"
            }
          }
        },
        "additionalProperties": false
      },
      "TessaViewResultSpec": {
        "type": "object",
        "properties": {
          "rowCount": {
            "type": "integer",
            "format": "int64"
          },
          "columns": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "Имена колонок. Порядок и количество соответствует списку Tessa.Web.Services.TessaViewResultSpec.SchemeTypes."
          },
          "SchemeTypes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            },
            "description": "Типы колонок Tessa.Scheme.SchemeType. Порядок и количество соответствует списку Tessa.Web.Services.TessaViewResultSpec.Columns."
          },
          "rows": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "array",
              "items": { }
            }
          },
          "info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "TitleVisibility": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = All\n\n1 = OnlyText\n\n2 = OnlyIcon\n\n3 = Collapsed",
        "format": "int32",
        "x-enumNames": [
          "All",
          "OnlyText",
          "OnlyIcon",
          "Collapsed"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "TokenFormat": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Unknown ($Enums_TokenFormats_Unknown)\n\n1 = Plain ($Enums_TokenFormats_Plain)\n\n2 = Protected ($Enums_TokenFormats_Protected)",
        "format": "int32",
        "x-enumNames": [
          "Unknown",
          "Plain",
          "Protected"
        ],
        "x-enumDescriptions": [
          "$Enums_TokenFormats_Unknown",
          "$Enums_TokenFormats_Plain",
          "$Enums_TokenFormats_Protected"
        ]
      },
      "TokenRequest": {
        "type": "object",
        "properties": {
          "Scope": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "TokenType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "description": "\n\n0 = Common ($Enums_TokenTypes_Common)\n\n1 = Api ($Enums_TokenTypes_Api)\n\n2 = Content ($Enums_TokenTypes_Content)\n\n3 = Avatar ($Enums_TokenTypes_Avatar)\n\n4 = File ($Enums_TokenTypes_File)\n\n5 = SaaS ($Enums_TokenTypes_SaaS)",
        "format": "int32",
        "x-enumNames": [
          "Common",
          "Api",
          "Content",
          "Avatar",
          "File",
          "SaaS"
        ],
        "x-enumDescriptions": [
          "$Enums_TokenTypes_Common",
          "$Enums_TokenTypes_Api",
          "$Enums_TokenTypes_Content",
          "$Enums_TokenTypes_Avatar",
          "$Enums_TokenTypes_File",
          "$Enums_TokenTypes_SaaS"
        ]
      },
      "TraceInfoAction": {
        "type": "object",
        "properties": {
          "hasSingleTarget": {
            "type": "boolean",
            "readOnly": true
          },
          "target": {
            "type": "null",
            "readOnly": true
          },
          "method": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/MethodInfo"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "TraceLevel": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\n\n0 = Off\n\n1 = Error\n\n2 = Warning\n\n3 = Info\n\n4 = Verbose",
        "format": "int32",
        "x-enumNames": [
          "Off",
          "Error",
          "Warning",
          "Info",
          "Verbose"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "TraceSwitch": {
        "type": "object",
        "properties": {
          "level": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TraceLevel"
              }
            ],
            "description": "\n\n0 = Off\n\n1 = Error\n\n2 = Warning\n\n3 = Info\n\n4 = Verbose",
            "x-enumNames": [
              "Off",
              "Error",
              "Warning",
              "Info",
              "Verbose"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "traceError": {
            "type": "boolean",
            "readOnly": true
          },
          "traceWarning": {
            "type": "boolean",
            "readOnly": true
          },
          "traceInfo": {
            "type": "boolean",
            "readOnly": true
          },
          "traceVerbose": {
            "type": "boolean",
            "readOnly": true
          },
          "displayName": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "description": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "attributes": {
            "type": [
              "null",
              "array"
            ],
            "items": { },
            "readOnly": true
          },
          "defaultValue": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "value": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "TwoFactorAuthResponse": {
        "type": "object",
        "properties": {
          "Result": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/TwoFactorAuthResult"
              }
            ],
            "readOnly": true
          },
          "Types": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/TwoFactorAuthType"
            },
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "TwoFactorAuthResult": {
        "type": "object",
        "properties": {
          "AttemptID": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "TypeID": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationResult"
              }
            ],
            "readOnly": true
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            },
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "TwoFactorAuthType": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "Name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "UpdateOperationStatusRequest": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "JsonStatus": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "UserAccessLevel": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = Regular\n\n1 = Administrator",
        "format": "int32",
        "x-enumNames": [
          "Regular",
          "Administrator"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "UserCipherInfoObject": {
        "type": "object",
        "properties": {
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "IsEncrypted": {
            "type": "boolean",
            "readOnly": true
          },
          "LocalExpiryDates": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "date-time"
            }
          },
          "LocalPrivateKeys": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "byte"
            }
          },
          "Nonce": {
            "type": [
              "null",
              "string"
            ],
            "format": "byte"
          },
          "Tag": {
            "type": [
              "null",
              "string"
            ],
            "format": "byte"
          }
        },
        "additionalProperties": false
      },
      "UserInfo": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Position": {
            "type": [
              "null",
              "string"
            ]
          },
          "DepartmentID": {
            "type": [
              "null",
              "string"
            ]
          },
          "DepartmentName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Messengers": {
            "type": [
              "null",
              "string"
            ]
          },
          "Contacts": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/UserInfoContact"
            }
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "UserInfoContact": {
        "type": "object",
        "properties": {
          "Type": {
            "type": [
              "null",
              "string"
            ]
          },
          "Text": {
            "type": [
              "null",
              "string"
            ]
          },
          "Value": {
            "type": [
              "null",
              "string"
            ]
          },
          "Info": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "UserLoginType": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "flags": {
            "allOf": [
              {
                "$ref": "#/components/schemas/UserLoginTypeFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = UseLogin\n\n2 = UseInternalPassword",
            "x-enumNames": [
              "None",
              "UseLogin",
              "UseInternalPassword"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "options": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IUserLoginTypeOptions"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "UserLoginTypeFlags": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = UseLogin\n\n2 = UseInternalPassword",
        "format": "int32",
        "x-enumNames": [
          "None",
          "UseLogin",
          "UseInternalPassword"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "UserLookupRequest": {
        "type": "object",
        "properties": {
          "login": {
            "type": [
              "null",
              "string"
            ]
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "ValidationKey": {
        "type": "object",
        "properties": {
          "message": {
            "type": [
              "null",
              "string"
            ]
          },
          "name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ValidationResult": {
        "type": "object",
        "properties": {
          "items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ValidationResultItem"
            }
          },
          "hasErrors": {
            "type": "boolean",
            "readOnly": true
          },
          "hasWarnings": {
            "type": "boolean",
            "readOnly": true
          },
          "hasInfo": {
            "type": "boolean",
            "readOnly": true
          },
          "isSuccessful": {
            "type": "boolean",
            "readOnly": true
          },
          "isSealed": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ValidationResultBuilder": {
        "type": "object",
        "properties": {
          "Count": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ValidationResultItem": {
        "type": "object",
        "properties": {
          "key": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationKey"
              }
            ]
          },
          "type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationResultType"
              }
            ],
            "description": "\n\n0 = Info\n\n1 = Warning\n\n2 = Error",
            "x-enumNames": [
              "Info",
              "Warning",
              "Error"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "message": {
            "type": [
              "null",
              "string"
            ]
          },
          "fieldName": {
            "type": [
              "null",
              "string"
            ]
          },
          "objectName": {
            "type": [
              "null",
              "string"
            ]
          },
          "objectType": {
            "type": [
              "null",
              "string"
            ]
          },
          "details": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "ValidationResultType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Info\n\n1 = Warning\n\n2 = Error",
        "format": "int32",
        "x-enumNames": [
          "Info",
          "Warning",
          "Error"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "ValidationStorageResultBuilder": {
        "type": "object",
        "properties": {
          "Items": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ValidationStorageResultItem"
            }
          }
        },
        "additionalProperties": false
      },
      "ValidationStorageResultItem": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "format": "uuid"
          },
          "Type": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationResultType"
              }
            ],
            "description": "\n\n0 = Info\n\n1 = Warning\n\n2 = Error",
            "x-enumNames": [
              "Info",
              "Warning",
              "Error"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "Message": {
            "type": [
              "null",
              "string"
            ]
          },
          "FieldName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ObjectName": {
            "type": [
              "null",
              "string"
            ]
          },
          "ObjectType": {
            "type": [
              "null",
              "string"
            ]
          },
          "Details": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "ValueToSqlConverter": {
        "type": "object",
        "additionalProperties": false
      },
      "ViewColumnFilterType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Parameter\n\n2 = Subset",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Parameter",
          "Subset"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "ViewGetRequest": {
        "type": "object",
        "properties": {
          "RequestedModels": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "WithRoles": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ViewImportRequest": {
        "type": "object",
        "properties": {
          "ImportRoles": {
            "type": "boolean"
          },
          "NeedClear": {
            "type": "boolean"
          },
          "Models": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/TessaViewModel"
            }
          }
        },
        "additionalProperties": false
      },
      "ViewMetadataErrorInfo": {
        "type": "object",
        "properties": {
          "ViewAlias": {
            "type": [
              "null",
              "string"
            ]
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "ViewMultipleSelectionMode": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Default\n\n1 = Single\n\n2 = Multiple",
        "format": "int32",
        "x-enumNames": [
          "Default",
          "Single",
          "Multiple"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "ViewSelectionMode": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = Row\n\n1 = Cell",
        "format": "int32",
        "x-enumNames": [
          "Row",
          "Cell"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "ViewStoreRequest": {
        "type": "object",
        "properties": {
          "Models": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/TessaViewModel"
            }
          }
        },
        "additionalProperties": false
      },
      "WaitHandle": {
        "type": "object",
        "properties": {
          "handle": {
            "deprecated": true
          },
          "safeWaitHandle": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/SafeWaitHandle"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "Widget": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Type": {
            "type": [
              "null",
              "string"
            ]
          },
          "Content": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "Settings": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WidgetSettings"
              }
            ]
          },
          "TemplateSettings": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WidgetTemplateSettings"
              }
            ]
          },
          "State": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WidgetState"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Inserted\n\n2 = Updated\n\n3 = Deleted",
            "x-enumNames": [
              "None",
              "Inserted",
              "Updated",
              "Deleted"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "Version": {
            "type": "integer",
            "format": "int32"
          },
          "Origin": {
            "type": [
              "null",
              "string"
            ]
          },
          "OriginVersion": {
            "type": [
              "null",
              "string"
            ]
          },
          "OriginDeleted": {
            "type": "boolean"
          },
          "OriginModified": {
            "type": [
              "null",
              "string"
            ]
          },
          "OriginModifiedByID": {
            "type": [
              "null",
              "string"
            ]
          },
          "OriginModifiedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Token": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DashboardToken"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "WidgetFile": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "State": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WidgetFileState"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Inserted\n\n2 = Deleted",
            "x-enumNames": [
              "None",
              "Inserted",
              "Deleted"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          }
        },
        "additionalProperties": false
      },
      "WidgetFileHeader": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "Order": {
            "type": "integer",
            "format": "int32"
          },
          "Size": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "WidgetFileState": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Inserted\n\n2 = Deleted",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Inserted",
          "Deleted"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "WidgetSettings": {
        "type": "object",
        "properties": {
          "Self": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "Origin": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "WidgetState": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Inserted\n\n2 = Updated\n\n3 = Deleted",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Inserted",
          "Updated",
          "Deleted"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "WidgetStatusInfo": {
        "type": "object",
        "properties": {
          "Token": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DashboardToken"
              }
            ]
          },
          "Version": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "WidgetStoreOptions": {
        "type": "object",
        "properties": {
          "DeleteForEveryone": {
            "type": "boolean"
          },
          "FilesSource": {
            "type": [
              "null",
              "string"
            ]
          },
          "Shared": {
            "type": "boolean"
          },
          "FilesIdsMap": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "string",
              "format": "uuid"
            }
          }
        },
        "additionalProperties": false
      },
      "WidgetTemplateData": {
        "type": "object",
        "properties": {
          "Widget": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Widget"
              }
            ]
          },
          "LayoutSettings": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "WidgetTemplateSettings": {
        "type": "object",
        "properties": {
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "Kind": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WidgetTemplatesKind"
              }
            ],
            "description": "\n\n0 = Template (Widget templates)\n\n1 = Shared (Shared widgets)",
            "x-enumNames": [
              "Template",
              "Shared"
            ],
            "x-enumDescriptions": [
              "Widget templates",
              "Shared widgets"
            ]
          },
          "ReadableAllRoles": {
            "type": "boolean"
          },
          "ReadableRoles": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WidgetTemplatesRole"
            }
          },
          "EditableRoles": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WidgetTemplatesRole"
            }
          }
        },
        "additionalProperties": false
      },
      "WidgetTemplatesKind": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = Template (Widget templates)\n\n1 = Shared (Shared widgets)",
        "format": "int32",
        "x-enumNames": [
          "Template",
          "Shared"
        ],
        "x-enumDescriptions": [
          "Widget templates",
          "Shared widgets"
        ]
      },
      "WidgetTemplatesRole": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "WidgetTemplatesSettings": {
        "type": "object",
        "properties": {
          "ProhibitAllEmployeesSelection": {
            "type": "boolean"
          },
          "Editors": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WidgetTemplatesRole"
            }
          }
        },
        "additionalProperties": false
      },
      "WidgetUpdateInfo": {
        "type": "object",
        "properties": {
          "NewToken": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/DashboardToken"
              }
            ]
          },
          "NewVersion": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WidgetVersion"
              }
            ]
          },
          "Origin": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "WidgetVersion": {
        "type": "object",
        "properties": {
          "Self": {
            "type": "integer",
            "format": "int32"
          },
          "Origin": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "WorkflowActionStateStorage": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Hash": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "DynamicHash": {
            "type": "null",
            "readOnly": true
          },
          "TemplateID": {
            "type": "string",
            "format": "uuid"
          },
          "Created": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "Version": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "WorkflowActionStorage": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Hash": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "DynamicHash": {
            "type": "null",
            "readOnly": true
          },
          "Name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "ParentObject": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowTemplateStorageBase"
              }
            ],
            "readOnly": true
          },
          "PreConditions": {
            "type": [
              "null",
              "array"
            ],
            "items": { },
            "readOnly": true
          },
          "PreScript": {
            "type": [
              "null",
              "string"
            ]
          },
          "PostScript": {
            "type": [
              "null",
              "string"
            ]
          },
          "PreScriptProcessAnySignal": {
            "type": "boolean"
          },
          "PostScriptProcessAnySignal": {
            "type": "boolean"
          },
          "ActionTypeID": {
            "type": "string",
            "format": "uuid"
          },
          "Version": {
            "type": "integer",
            "format": "int32"
          },
          "Order": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "WorkflowAnchorStorage": {
        "type": "object",
        "properties": {
          "Link": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowLinkStorage"
              }
            ],
            "readOnly": true
          },
          "X": {
            "type": "number",
            "format": "double"
          },
          "Y": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "WorkflowAnnotationStorage": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Hash": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "DynamicHash": {
            "type": "null",
            "readOnly": true
          },
          "Left": {
            "type": "number",
            "format": "double"
          },
          "Top": {
            "type": "number",
            "format": "double"
          },
          "Text": {
            "type": [
              "null",
              "string"
            ]
          },
          "ElementID": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "WorkflowEngineCompilationMode": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "description": "\n\n0 = CompileProcess\n\n1 = CompileNode\n\n2 = CompileLink\n\n3 = CompileAction\n\n4 = CompileTile",
        "format": "int32",
        "x-enumNames": [
          "CompileProcess",
          "CompileNode",
          "CompileLink",
          "CompileAction",
          "CompileTile"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "WorkflowEngineCompileRequest": {
        "type": "object",
        "properties": {
          "ProcessTemplateID": {
            "type": "string",
            "format": "uuid"
          },
          "CompilationMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowEngineCompilationMode"
              }
            ],
            "description": "\n\n0 = CompileProcess\n\n1 = CompileNode\n\n2 = CompileLink\n\n3 = CompileAction\n\n4 = CompileTile",
            "x-enumNames": [
              "CompileProcess",
              "CompileNode",
              "CompileLink",
              "CompileAction",
              "CompileTile"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "Process": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowProcessStorage"
              }
            ]
          },
          "ContextCompilationItem": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          }
        },
        "additionalProperties": false
      },
      "WorkflowEngineContextStateStorage": {
        "type": "object",
        "properties": {
          "SignalType": {
            "type": [
              "null",
              "string"
            ]
          },
          "SignalHash": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "StartSignalType": {
            "type": [
              "null",
              "string"
            ]
          },
          "StartSignalHash": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "ProcessItems": {
            "type": [
              "null",
              "array"
            ],
            "items": { }
          },
          "ProcessLocked": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "WorkflowEngineErrorInfo": {
        "type": "object",
        "properties": {
          "RowID": {
            "type": "string",
            "format": "uuid"
          },
          "Added": {
            "type": "string",
            "format": "date-time"
          },
          "Text": {
            "type": [
              "null",
              "string"
            ]
          },
          "NodeInstanceID": {
            "type": "string",
            "format": "uuid"
          },
          "NodeID": {
            "type": "string",
            "format": "uuid"
          },
          "IsAsync": {
            "type": "boolean"
          },
          "Resumable": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "WorkflowEngineProcessFlags": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          8,
          11,
          16,
          32,
          64,
          83,
          128
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = GenerateNextLinks\n\n2 = LockProcess\n\n3 = DefaultRuntime\n\n4 = IsAsync\n\n5 = DefaultAsync\n\n8 = IsDebug\n\n11 = DefaultDebug\n\n16 = StartNew\n\n32 = SendToSubscribers\n\n64 = NotInDb\n\n83 = DefaultNew\n\n128 = SendToTaskSubscribers",
        "format": "int32",
        "x-enumNames": [
          "None",
          "GenerateNextLinks",
          "LockProcess",
          "DefaultRuntime",
          "IsAsync",
          "DefaultAsync",
          "IsDebug",
          "DefaultDebug",
          "StartNew",
          "SendToSubscribers",
          "NotInDb",
          "DefaultNew",
          "SendToTaskSubscribers"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },
      "WorkflowEngineProcessInstanceGetErrorDataResponse": {
        "type": "object",
        "properties": {
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationStorageResultBuilder"
              }
            ]
          },
          "ErrorData": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowEngineContextStateStorage"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "WorkflowEngineProcessInstanceGetResponse": {
        "type": "object",
        "properties": {
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationResult"
              }
            ]
          },
          "ProcessInstance": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowProcessStateStorage"
              }
            ]
          },
          "ProcessTemplate": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowProcessStorage"
              }
            ]
          },
          "Nodes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowNodeStateStorage"
            }
          },
          "Errors": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowEngineErrorInfo"
            }
          },
          "Tasks": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowEngineTaskInfo"
            }
          },
          "Subprocesses": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowEngineSubprocessInfo"
            }
          },
          "ReadOnly": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "WorkflowEngineProcessRequest": {
        "type": "object",
        "properties": {
          "ProcessInstanceID": {
            "type": [
              "null",
              "string"
            ]
          },
          "ProcessTemplateID": {
            "type": [
              "null",
              "string"
            ]
          },
          "ProcessTemplateVersionID": {
            "type": [
              "null",
              "string"
            ]
          },
          "ProcessInstance": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowProcessStateStorage"
              }
            ]
          },
          "ProcessDigest": {
            "type": [
              "null",
              "string"
            ]
          },
          "CardID": {
            "type": [
              "null",
              "string"
            ]
          },
          "StoreCard": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Card"
              }
            ]
          },
          "StoreCardDigest": {
            "type": [
              "null",
              "string"
            ]
          },
          "WorkflowCard": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/Card"
              }
            ]
          },
          "NodeIDs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "NodeInstanceIDs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "Signal": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IWorkflowEngineSignal"
              }
            ]
          },
          "ProcessFlag": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowEngineProcessFlags"
              }
            ],
            "description": "\n\n0 = None\n\n1 = GenerateNextLinks\n\n2 = LockProcess\n\n3 = DefaultRuntime\n\n4 = IsAsync\n\n5 = DefaultAsync\n\n8 = IsDebug\n\n11 = DefaultDebug\n\n16 = StartNew\n\n32 = SendToSubscribers\n\n64 = NotInDb\n\n83 = DefaultNew\n\n128 = SendToTaskSubscribers",
            "x-enumNames": [
              "None",
              "GenerateNextLinks",
              "LockProcess",
              "DefaultRuntime",
              "IsAsync",
              "DefaultAsync",
              "IsDebug",
              "DefaultDebug",
              "StartNew",
              "SendToSubscribers",
              "NotInDb",
              "DefaultNew",
              "SendToTaskSubscribers"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "SignalProcessingMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowSignalProcessingMode"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = Async\n\n2 = AfterUploadingFiles",
            "x-enumNames": [
              "Default",
              "Async",
              "AfterUploadingFiles"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "EngineContext": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/IWorkflowEngineContext"
              }
            ]
          },
          "RetryInfo": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowEngineRetryInfo"
              }
            ]
          },
          "SyncObject": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "WorkflowEngineProcessTemplateGetResponse": {
        "type": "object",
        "properties": {
          "ProcessStorage": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowProcessStorage"
              }
            ]
          },
          "ValidationResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationResult"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "WorkflowEngineRetryInfo": {
        "type": "object",
        "properties": {
          "ErrorDate": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "LastErrorDate": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "LastErrorResult": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidationResult"
              }
            ],
            "readOnly": true
          },
          "RetryCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "RetryPeriod": {
            "type": [
              "null",
              "string"
            ]
          },
          "RetryTimeout": {
            "type": [
              "null",
              "string"
            ]
          },
          "RetryAllowed": {
            "type": "boolean"
          },
          "ConfigRetryTimeout": {
            "type": "string",
            "format": "date-span"
          }
        },
        "additionalProperties": false
      },
      "WorkflowEngineStoreProcessStateRequest": {
        "type": "object",
        "properties": {
          "Process": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowProcessStateStorage"
              }
            ]
          },
          "NodeInstances": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowNodeStateStorage"
            }
          }
        },
        "additionalProperties": false
      },
      "WorkflowEngineSubprocessInfo": {
        "type": "object",
        "properties": {
          "RowID": {
            "type": "string",
            "format": "uuid"
          },
          "NodeInstanceID": {
            "type": "string",
            "format": "uuid"
          },
          "Created": {
            "type": "string",
            "format": "date-time"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "WorkflowEngineTaskInfo": {
        "type": "object",
        "properties": {
          "RowID": {
            "type": "string",
            "format": "uuid"
          },
          "NodeInstanceID": {
            "type": "string",
            "format": "uuid"
          },
          "RoleID": {
            "type": [
              "null",
              "string"
            ]
          },
          "RoleName": {
            "type": [
              "null",
              "string"
            ]
          },
          "UserID": {
            "type": [
              "null",
              "string"
            ]
          },
          "UserName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Planned": {
            "type": "string",
            "format": "date-time"
          },
          "InProgress": {
            "type": [
              "null",
              "string"
            ]
          },
          "TypeID": {
            "type": "string",
            "format": "uuid"
          },
          "TypeCaption": {
            "type": [
              "null",
              "string"
            ]
          },
          "Digest": {
            "type": [
              "null",
              "string"
            ]
          },
          "AuthorID": {
            "type": [
              "null",
              "string"
            ]
          },
          "AuthorName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Postponed": {
            "type": [
              "null",
              "string"
            ]
          },
          "PostponedTo": {
            "type": [
              "null",
              "string"
            ]
          },
          "Created": {
            "type": "string",
            "format": "date-time"
          },
          "StateID": {
            "type": "integer",
            "format": "int32"
          },
          "StateName": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "WorkflowEngineUpgradeMode": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "\n\n0 = ProcessTemplate\n\n1 = SpecificProcessInstance",
        "format": "int32",
        "x-enumNames": [
          "ProcessTemplate",
          "SpecificProcessInstance"
        ],
        "x-enumDescriptions": [
          "",
          ""
        ]
      },
      "WorkflowEngineUpgradeRequest": {
        "type": "object",
        "properties": {
          "UpgradeMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowEngineUpgradeMode"
              }
            ],
            "description": "\n\n0 = ProcessTemplate\n\n1 = SpecificProcessInstance",
            "x-enumNames": [
              "ProcessTemplate",
              "SpecificProcessInstance"
            ],
            "x-enumDescriptions": [
              "",
              ""
            ]
          },
          "VersionID": {
            "type": "string",
            "format": "uuid"
          },
          "InstanceID": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "WorkflowLinkMode": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Default\n\n1 = AlwaysCreateNew\n\n2 = NeverCreateNew",
        "format": "int32",
        "x-enumNames": [
          "Default",
          "AlwaysCreateNew",
          "NeverCreateNew"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "WorkflowLinkStorage": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Hash": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "DynamicHash": {
            "type": "null",
            "readOnly": true
          },
          "Name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "ParentObject": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowTemplateStorageBase"
              }
            ],
            "readOnly": true
          },
          "Top": {
            "type": "number",
            "format": "double"
          },
          "Left": {
            "type": "number",
            "format": "double"
          },
          "FromPosition": {
            "type": "number",
            "format": "double"
          },
          "ToPosition": {
            "type": "number",
            "format": "double"
          },
          "FromOrientation": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ArrowOrientation"
              }
            ],
            "description": "\n\n0 = NoOrientation\n\n1 = Left\n\n2 = Right\n\n3 = Top\n\n4 = Bottom",
            "x-enumNames": [
              "NoOrientation",
              "Left",
              "Right",
              "Top",
              "Bottom"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "ToOrientation": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ArrowOrientation"
              }
            ],
            "description": "\n\n0 = NoOrientation\n\n1 = Left\n\n2 = Right\n\n3 = Top\n\n4 = Bottom",
            "x-enumNames": [
              "NoOrientation",
              "Left",
              "Right",
              "Top",
              "Bottom"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          },
          "FromNode": {
            "type": "string",
            "format": "uuid"
          },
          "ToNode": {
            "type": "string",
            "format": "uuid"
          },
          "UseAnchorPosition": {
            "type": "boolean"
          },
          "CaptionAnchorPosition": {
            "type": "number",
            "format": "double"
          },
          "CaptionAnchorOffsetX": {
            "type": "number",
            "format": "double"
          },
          "CaptionAnchorOffsetY": {
            "type": "number",
            "format": "double"
          },
          "InCondition": {
            "type": [
              "null",
              "string"
            ]
          },
          "OutCondition": {
            "type": [
              "null",
              "string"
            ]
          },
          "LinkMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowLinkMode"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = AlwaysCreateNew\n\n2 = NeverCreateNew",
            "x-enumNames": [
              "Default",
              "AlwaysCreateNew",
              "NeverCreateNew"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "InDescription": {
            "type": [
              "null",
              "string"
            ]
          },
          "OutDescription": {
            "type": [
              "null",
              "string"
            ]
          },
          "SignalProcessingMode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowSignalProcessingMode"
              }
            ],
            "description": "\n\n0 = Default\n\n1 = Async\n\n2 = AfterUploadingFiles",
            "x-enumNames": [
              "Default",
              "Async",
              "AfterUploadingFiles"
            ],
            "x-enumDescriptions": [
              "",
              "",
              ""
            ]
          },
          "LockProcess": {
            "type": "boolean"
          },
          "Anchors": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowAnchorStorage"
            }
          },
          "CaptionAngle": {
            "type": "number",
            "format": "double"
          },
          "RetryAllowed": {
            "type": "boolean"
          },
          "SyncProcessing": {
            "type": "boolean"
          },
          "SyncObject": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "WorkflowLogLevel": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "\n\n0 = None\n\n1 = Error\n\n2 = Info\n\n3 = Debug",
        "format": "int32",
        "x-enumNames": [
          "None",
          "Error",
          "Info",
          "Debug"
        ],
        "x-enumDescriptions": [
          "",
          "",
          "",
          ""
        ]
      },
      "WorkflowNodeStateStorage": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Hash": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "DynamicHash": {
            "type": "null",
            "readOnly": true
          },
          "TemplateID": {
            "type": "string",
            "format": "uuid"
          },
          "Created": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "Actions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowActionStateStorage"
            }
          },
          "ProcessInstanceID": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "WorkflowNodeStorage": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Hash": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "DynamicHash": {
            "type": "null",
            "readOnly": true
          },
          "Name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "ParentObject": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowTemplateStorageBase"
              }
            ],
            "readOnly": true
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "IsStandAlone": {
            "type": "boolean"
          },
          "Top": {
            "type": "number",
            "format": "double"
          },
          "Left": {
            "type": "number",
            "format": "double"
          },
          "Width": {
            "type": "number",
            "format": "double"
          },
          "Height": {
            "type": "number",
            "format": "double"
          },
          "Icon": {
            "type": [
              "null",
              "string"
            ]
          },
          "Actions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowActionStorage"
            }
          },
          "DefaultSignals": {
            "type": [
              "null",
              "array"
            ],
            "items": { },
            "readOnly": true
          },
          "ObservableDefaultSignals": {
            "type": [
              "null",
              "array"
            ],
            "items": { },
            "readOnly": true
          },
          "OrderedActions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowActionStorage"
            },
            "readOnly": true
          },
          "ActionsByID": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/WorkflowActionStorage"
            },
            "readOnly": true
          },
          "OutLinks": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowLinkStorage"
            },
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "WorkflowProcessLockStatusCheckMode": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = OtherUsers\n\n1 = CurrentUser\n\n2 = Any",
        "format": "int32",
        "x-enumNames": [
          "OtherUsers",
          "CurrentUser",
          "Any"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "WorkflowProcessStateStorage": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Hash": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "DynamicHash": {
            "type": "null",
            "readOnly": true
          },
          "TemplateID": {
            "type": "string",
            "format": "uuid"
          },
          "Created": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "TemplateCardID": {
            "type": "string",
            "format": "uuid"
          },
          "LogLevel": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowLogLevel"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Error\n\n2 = Info\n\n3 = Debug",
            "x-enumNames": [
              "None",
              "Error",
              "Info",
              "Debug"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "CardID": {
            "type": "string",
            "format": "uuid"
          },
          "CardDigest": {
            "type": [
              "null",
              "string"
            ]
          },
          "ParentID": {
            "type": [
              "null",
              "string"
            ]
          },
          "ProcessedNodes": {
            "type": [
              "null",
              "array"
            ],
            "items": { },
            "readOnly": true
          },
          "ActiveNodes": {
            "type": [
              "null",
              "array"
            ],
            "items": { },
            "readOnly": true
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          },
          "Subscriptions": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            },
            "readOnly": true
          },
          "WorkflowCardID": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "WorkflowProcessStorage": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Hash": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "DynamicHash": {
            "type": "null",
            "readOnly": true
          },
          "Name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "ParentObject": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowTemplateStorageBase"
              }
            ],
            "readOnly": true
          },
          "Description": {
            "type": [
              "null",
              "string"
            ]
          },
          "TemplateCardID": {
            "type": "string",
            "format": "uuid"
          },
          "Nodes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowNodeStorage"
            }
          },
          "Links": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowLinkStorage"
            }
          },
          "Annotations": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowAnnotationStorage"
            }
          },
          "Subscriptions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkflowStartSubscriptionStorage"
            }
          },
          "GlobalScript": {
            "type": [
              "null",
              "string"
            ]
          },
          "ParentTypeID": {
            "type": [
              "null",
              "string"
            ]
          },
          "ParentTypeName": {
            "type": [
              "null",
              "string"
            ]
          },
          "LogLevel": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowLogLevel"
              }
            ],
            "description": "\n\n0 = None\n\n1 = Error\n\n2 = Info\n\n3 = Debug",
            "x-enumNames": [
              "None",
              "Error",
              "Info",
              "Debug"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              ""
            ]
          },
          "LayoutVersion": {
            "type": "integer",
            "format": "int32"
          },
          "NodesByID": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/WorkflowNodeStorage"
            },
            "readOnly": true
          },
          "LinksByID": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "$ref": "#/components/schemas/WorkflowLinkStorage"
            },
            "readOnly": true
          },
          "NodeIDsByStartSignalType": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uuid"
              }
            },
            "readOnly": true
          },
          "NodeIDsByDefaultSignalType": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uuid"
              }
            },
            "readOnly": true
          },
          "GraphOnly": {
            "type": "boolean"
          },
          "TemplateName": {
            "type": [
              "null",
              "string"
            ]
          },
          "Version": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "WorkflowSignalProcessingMode": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "\n\n0 = Default\n\n1 = Async\n\n2 = AfterUploadingFiles",
        "format": "int32",
        "x-enumNames": [
          "Default",
          "Async",
          "AfterUploadingFiles"
        ],
        "x-enumDescriptions": [
          "",
          "",
          ""
        ]
      },
      "WorkflowStartSubscriptionStorage": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Hash": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "DynamicHash": {
            "type": "null",
            "readOnly": true
          },
          "NodeID": {
            "type": "string",
            "format": "uuid"
          },
          "ProcessID": {
            "type": "string",
            "format": "uuid"
          },
          "EventName": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "WorkflowSubprocessSubscriptionStorage": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Hash": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "DynamicHash": {
            "type": "null",
            "readOnly": true
          },
          "NodeID": {
            "type": "string",
            "format": "uuid"
          },
          "ProcessID": {
            "type": "string",
            "format": "uuid"
          },
          "SubprocessID": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "WorkflowTaskSubscriptionStorage": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Hash": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "DynamicHash": {
            "type": "null",
            "readOnly": true
          },
          "NodeID": {
            "type": "string",
            "format": "uuid"
          },
          "ProcessID": {
            "type": "string",
            "format": "uuid"
          },
          "TaskID": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "WorkflowTemplateStorageBase": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Hash": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "DynamicHash": {
            "type": "null",
            "readOnly": true
          },
          "Name": {
            "type": [
              "null",
              "string"
            ],
            "readOnly": true
          },
          "Caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "ParentObject": {
            "type": "null",
            "allOf": [
              {
                "$ref": "#/components/schemas/WorkflowTemplateStorageBase"
              }
            ],
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "WorkflowTimerSubscriptionStorage": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Hash": {
            "type": [
              "null",
              "object"
            ],
            "additionalProperties": {
              "type": "null"
            }
          },
          "DynamicHash": {
            "type": "null",
            "readOnly": true
          },
          "NodeID": {
            "type": "string",
            "format": "uuid"
          },
          "ProcessID": {
            "type": "string",
            "format": "uuid"
          },
          "Period": {
            "type": [
              "null",
              "string"
            ]
          },
          "Cron": {
            "type": [
              "null",
              "string"
            ]
          },
          "Date": {
            "type": [
              "null",
              "string"
            ]
          },
          "RunOnce": {
            "type": "boolean"
          },
          "LockProcess": {
            "type": "boolean"
          },
          "RetryAllowed": {
            "type": "boolean"
          },
          "SyncObject": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "WorkplaceGetRequest": {
        "type": "object",
        "properties": {
          "RequestedModels": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "WithRoles": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "WorkplaceImportRequest": {
        "type": "object",
        "properties": {
          "ImportRoles": {
            "type": "boolean"
          },
          "ImportViews": {
            "type": "boolean"
          },
          "ImportSearchQueries": {
            "type": "boolean"
          },
          "NeedClear": {
            "type": "boolean"
          },
          "Models": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/TessaExchangeWorkplaceModel"
            }
          }
        },
        "additionalProperties": false
      },
      "WorkplaceModel": {
        "type": "object",
        "properties": {
          "Metadata": {
            "type": [
              "null",
              "string"
            ]
          },
          "Order": {
            "type": "integer",
            "format": "int32"
          },
          "Roles": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/RoleLink"
            }
          },
          "ID": {
            "type": "string",
            "format": "uuid"
          },
          "Name": {
            "type": [
              "null",
              "string"
            ]
          }
        },
        "additionalProperties": false
      },
      "WorkplaceStoreRequest": {
        "type": "object",
        "properties": {
          "Models": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/WorkplaceModel"
            }
          }
        },
        "additionalProperties": false
      }
    }
  },
  "tags": [
    {
      "name": "AbTest",
      "description": "Test controller for demo purposes. Available for administrator sessions only."
    },
    {
      "name": "AdUsers"
    },
    {
      "name": "AiAgent",
      "description": "Working with AI agent functionality."
    },
    {
      "name": "AiFiles",
      "description": "Working with files in AI."
    },
    {
      "name": "AiPromptTestEngine",
      "description": "Working with AI prompt tests and results."
    },
    {
      "name": "AiView",
      "description": "Working with AI views and views data."
    },
    {
      "name": "ApiAccessTokens",
      "description": "Working with API access tokens."
    },
    {
      "name": "Applications",
      "description": "Download apps in Tessa Applications (desktop client)."
    },
    {
      "name": "ApprovalProcess",
      "description": "Working with approval processes."
    },
    {
      "name": "AsuNsi"
    },
    {
      "name": "Asup"
    },
    {
      "name": "Avatars",
      "description": "Working with user avatars. Used in web client app."
    },
    {
      "name": "Cards",
      "description": "Working with cards."
    },
    {
      "name": "CardTypes",
      "description": "Working with types Tessa.Cards.CardType: types of cards Tessa.Cards.CardInstanceType.Card,\ntypes of files Tessa.Cards.CardInstanceType.File, types of tasks Tessa.Cards.CardInstanceType.Task,\nand types of dialogs Tessa.Cards.CardInstanceType.Dialog."
    },
    {
      "name": "Check",
      "description": "Check web service status and get its configuration and environment info.\nWorks if flag `HealthCheckIsEnabled` in server's configuration is set `true`."
    },
    {
      "name": "CheckRedis",
      "description": "Gets Redis connection string from the configuration.\nWorks if flag `HealthCheckIsEnabled` in server's configuration is set `true`."
    },
    {
      "name": "Client",
      "description": "Additional features specified to the web client app."
    },
    {
      "name": "Content",
      "description": "Working with content by link."
    },
    {
      "name": "ContentClient",
      "description": "Acquiring content by link."
    },
    {
      "name": "CustomCertAuth"
    },
    {
      "name": "Dashboards",
      "description": "Working with dashboards."
    },
    {
      "name": "DeskiMobile",
      "description": "Working with DeskiMobile app used to sign files, verify signatures and preview files contents."
    },
    {
      "name": "ExchangeRates"
    },
    {
      "name": "FileVault",
      "description": "Working with file vault."
    },
    {
      "name": "FormEditor",
      "description": "Controller for managing forms."
    },
    {
      "name": "Groups",
      "description": "Working with groups API."
    },
    {
      "name": "ImportCards",
      "description": "Imports cards."
    },
    {
      "name": "Initialization",
      "description": "Get initialization info for current application, used on its startup."
    },
    {
      "name": "Links",
      "description": "Getting files contents as links to web client app."
    },
    {
      "name": "Localization",
      "description": "Working with localization."
    },
    {
      "name": "Mail",
      "description": "SaaS controller for sending email notifications."
    },
    {
      "name": "MobileClient",
      "description": "Working with Mobile application used to get meta, token, and bundle.zip."
    },
    {
      "name": "OAuth",
      "description": "Working with SSO authorization (Single Sign On) using OAuth protocol.\nAllows to integrate with Google, Microsoft, GitHub, Facebook etc..\nUsed in web client app."
    },
    {
      "name": "OnlyOffice",
      "description": "Working with OnlyOffice document server for viewing and editing documents of office formats."
    },
    {
      "name": "Operations",
      "description": "Create, get, modify and delete operations."
    },
    {
      "name": "Saml",
      "description": "Working with SSO authorization (Single Sign On) using SAML protocol.\nAllows to integrate with Active Directory Foundation Services domain.\nUsed in web client app."
    },
    {
      "name": "Scheme",
      "description": "Working with scheme (database structure)."
    },
    {
      "name": "SearchQueries",
      "description": "Working with search queries."
    },
    {
      "name": "Service",
      "description": "Контроллер, для которого задан базовый путь \"service\". Является примером реализации сервисов в рамках приложения TESSA."
    },
    {
      "name": "Sessions",
      "description": "Working with sessions. Open session methods doesn't require authentication via HTTP header or otherwise."
    },
    {
      "name": "SettingsUnits",
      "description": "Controller for working with settings units and their fragments."
    },
    {
      "name": "SettingsUnitsEditor",
      "description": "Controller for working with settings units and their fragments in UI editor."
    },
    {
      "name": "Spa",
      "description": "Working with web client app as SPA (Single Page Application) via browser's address bar,\nincluding login page, logout page, cards and views navigation, etc."
    },
    {
      "name": "TestService"
    },
    {
      "name": "Tokens",
      "description": "Working with tokens."
    },
    {
      "name": "TwoFactorAuth",
      "description": "Controller with methods for two-factor authentication.\nMethods doesn't require authentication via HTTP header or otherwise."
    },
    {
      "name": "UserInfo",
      "description": "Provides endpoints for retrieving information about user(s)."
    },
    {
      "name": "Views",
      "description": "Working with views."
    },
    {
      "name": "Wallpapers",
      "description": "Working with wallpapers. Used in web client app."
    },
    {
      "name": "Wfe",
      "description": "Working with workflow engine."
    },
    {
      "name": "WidgetTemplates",
      "description": "Working with widget templates."
    },
    {
      "name": "Workplaces",
      "description": "Working with workplaces."
    }
  ]
}