{
 "consumes": [
  "application/json"
 ],
 "produces": [
  "application/json"
 ],
 "schemes": [
  "https"
 ],
 "swagger": "2.0",
 "info": {
  "description": "Tools for integrating BRIX with external systems.",
  "title": "Public Web API",
  "version": "1.0.1.dev"
 },
 "host": "company.brix365.zone",
 "basePath": "/pub/v1",
 "paths": {
  "/app/list": {
   "get": {
    "description": "Get app list",
    "produces": [
     "application/json"
    ],
    "tags": [
     "app"
    ],
    "operationId": "appViewListGET",
    "parameters": [
     {
      "type": "string",
      "x-example": "{\"active\":true,\"filter\":{\"additionalProp1\":{},\"additionalProp2\":{},\"additionalProp3\":{}},\"from\":0,\"ids\":[\"3fa85f64-5717-4562-b3fc-2c963f66afa6\"],\"size\":0,\"sortExpressions\":[{\"ascending\":true,\"field\":\"string\"}]}",
      "description": "List request parameters serialized as JSON",
      "name": "query",
      "in": "query",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/AppViewListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/app/{namespace}/{code}/create": {
   "post": {
    "description": "App item is created",
    "produces": [
     "application/json"
    ],
    "tags": [
     "app"
    ],
    "operationId": "appItemCreate",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "context": {
         "description": "New app fields",
         "type": "object",
         "additionalProperties": {
          "type": "object"
         }
        },
        "statusGroupId": {
         "description": "Status group",
         "type": "string",
         "format": "uuid",
         "example": "a35cd8de-0c73-4f6a-8218-90193d02e2e0"
        },
        "withEventForceCreate": {
         "description": "Flag showing that the item creation event generation is forced",
         "type": "boolean"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/AppItemCreateResponse"
     }
    }
   }
  },
  "/app/{namespace}/{code}/import": {
   "post": {
    "description": "To import data, you first need to upload a file containing it to the server. To do that, use the `/disk/file/upload` endpoint.\nWhen data is imported, the hash value of the file and its format (**.xlsx**, **.csv**) are passed.\nYou can also activate app item creation event handlers if needed. By default, all event handlers are ignored during import.\nIf import is already being run for the current app, you cannot start another procedure before it’s finished.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "app"
    ],
    "summary": "Data import from a file",
    "operationId": "appImport",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "fileHash": {
         "description": "Hash of the file containing the data",
         "type": "string",
         "format": "uuid",
         "example": "00000000-0000-0000-0000-000000000000"
        },
        "format": {
         "description": "Format",
         "type": "string",
         "example": "csv"
        },
        "withEventHandlers": {
         "description": "Run event handlers",
         "type": "boolean",
         "example": false
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/AppImportResponse"
     }
    }
   }
  },
  "/app/{namespace}/{code}/import/status": {
   "post": {
    "description": "Get import status",
    "produces": [
     "application/json"
    ],
    "tags": [
     "app"
    ],
    "operationId": "appGetImportStatus",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "id": {
         "description": "Import ID",
         "type": "string",
         "format": "uuid",
         "example": "00000000-0000-0000-0000-000000000000"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/AppGetImportStatusResponse"
     }
    }
   }
  },
  "/app/{namespace}/{code}/list": {
   "get": {
    "description": "Get a list of app items",
    "produces": [
     "application/json"
    ],
    "tags": [
     "app"
    ],
    "operationId": "appListGET",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "x-dapperdox-resource-id": "applist-request-body",
      "x-schema": {
       "$ref": "#/definitions/AppListBody"
      },
      "description": "List request parameters serialized as JSON",
      "name": "query",
      "in": "query",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/AppListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   },
   "post": {
    "description": "Get a list of app items",
    "produces": [
     "application/json"
    ],
    "tags": [
     "app"
    ],
    "operationId": "appList",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "$ref": "#/definitions/AppListBody"
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/AppListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/app/{namespace}/{code}/settings/status": {
   "get": {
    "description": "Get app status",
    "produces": [
     "application/json"
    ],
    "tags": [
     "app"
    ],
    "operationId": "appGetStatus",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/appGetStatusResponse"
     },
     "400": {
      "$ref": "#/responses/appGetStatusResponse"
     }
    }
   }
  },
  "/app/{namespace}/{code}/{id}/get": {
   "get": {
    "description": "Get an app item by ID",
    "produces": [
     "application/json"
    ],
    "tags": [
     "app"
    ],
    "operationId": "appItemGetGET",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "App item ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/AppItemGetResponse"
     }
    }
   },
   "post": {
    "description": "Get an app item by ID",
    "produces": [
     "application/json"
    ],
    "tags": [
     "app"
    ],
    "operationId": "appItemGet",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "App item ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/AppItemGetResponse"
     }
    }
   }
  },
  "/app/{namespace}/{code}/{id}/set-status": {
   "post": {
    "description": "Set app item status",
    "produces": [
     "application/json"
    ],
    "tags": [
     "app"
    ],
    "operationId": "appItemSetStatus",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Item ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "status": {
         "description": "New Status Parameters",
         "type": "object",
         "properties": {
          "code": {
           "description": "Status Code",
           "type": "string"
          }
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/AppItemSetStatusResponse"
     },
     "404": {
      "description": "Item with this ID not found"
     }
    }
   }
  },
  "/app/{namespace}/{code}/{id}/update": {
   "post": {
    "description": "Edit an app item",
    "produces": [
     "application/json"
    ],
    "tags": [
     "app"
    ],
    "operationId": "appItemUpdate",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Item ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "context": {
         "description": "Values to be changed",
         "type": "object",
         "additionalProperties": {
          "type": "object"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/AppItemUpdateResponse"
     }
    }
   }
  },
  "/bpm/instance/bytarget/list": {
   "get": {
    "description": "Get a list of process instances by target",
    "produces": [
     "application/json"
    ],
    "tags": [
     "bpm"
    ],
    "operationId": "bpmInstanceTargetListGET",
    "parameters": [
     {
      "type": "string",
      "x-dapperdox-resource-id": "bpminstancetargetlist-request-body",
      "description": "List request parameters serialized as JSON",
      "name": "query",
      "in": "query",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/BpmInstanceTargetListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   },
   "post": {
    "description": "Get a list of process instances by target",
    "produces": [
     "application/json"
    ],
    "tags": [
     "bpm"
    ],
    "operationId": "bpmInstanceTargetList",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "active": {
         "description": "Show active only (not deleted)",
         "type": "boolean"
        },
        "from": {
         "description": "Return from item",
         "type": "integer",
         "format": "int64"
        },
        "size": {
         "description": "Number of returned items (10000 max)",
         "type": "integer",
         "format": "int64"
        },
        "sortExpressions": {
         "description": "Sorting rules",
         "type": "array",
         "items": {
          "$ref": "#/definitions/SortExpression"
         }
        },
        "target": {
         "description": "External object ID",
         "type": "string"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/BpmInstanceTargetListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/bpm/instance/bytemplate/{namespace}/{code}/list": {
   "get": {
    "description": "Get a list of process instances",
    "produces": [
     "application/json"
    ],
    "tags": [
     "bpm"
    ],
    "operationId": "bpmInstanceListByCodeGET",
    "parameters": [
     {
      "type": "string",
      "description": "Namespace",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "x-dapperdox-resource-id": "bpminstancelistbycode-request-body",
      "description": "List request parameters serialized as JSON, same as in the `POST` version of the request",
      "name": "query",
      "in": "query",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/BpmInstanceListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   },
   "post": {
    "description": "Get a list of process instances",
    "produces": [
     "application/json"
    ],
    "tags": [
     "bpm"
    ],
    "operationId": "bpmInstanceListByCode",
    "parameters": [
     {
      "type": "string",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "active": {
         "description": "Show only active (not deleted)",
         "type": "boolean"
        },
        "fields": {
         "$ref": "#/definitions/FieldsSelector"
        },
        "filter": {
         "description": "Filter",
         "type": "object",
         "additionalProperties": {
          "type": "object"
         }
        },
        "from": {
         "description": "Return from item",
         "type": "integer",
         "format": "int64"
        },
        "ids": {
         "description": "ID Filetering",
         "type": "array",
         "items": {
          "type": "string",
          "format": "uuid"
         }
        },
        "size": {
         "description": "Number of returned items (10000 max)",
         "type": "integer",
         "format": "int64"
        },
        "sortExpressions": {
         "description": "Sorting rules",
         "type": "array",
         "items": {
          "$ref": "#/definitions/SortExpression"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/BpmInstanceListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/bpm/instance/bytemplate/{namespace}/{code}/version": {
   "post": {
    "description": "Mass updating process instances allows you to update instances of the specified process that are in the `Pending` status to the latest published version.\nYou can update either specific process instances or all active instances based on the specified template.\n\n### Methods for mass updating process instances:\n\n#### Updating specific process instances.\n1. In the request body, specify the list of IDs of the process instances to be updated using `instanceIds`.\n\nExample request body for updating specific process instances:\n```\n{\n\"instanceIds\":[\"131141f6-0d89-4316-a8f1-bc816f0672ef\"]\n}\n```\n\n#### Updating all active process instances by template.\n1. In the request body, specify the `\"updateAllActive\":true` parameter.\n2. **Optional.** Use the `unselectedIds` parameter to specify a list of process instance IDs that should not be updated.\n\nExample request body for updating all active process instances except those specified:\n```\n{\n\"updateAllActive\":true,\n\"unselectedIds\":[\"131141f6-0d89-4316-a8f1-bc816f0672ef\"]\n}\n```",
    "produces": [
     "application/json"
    ],
    "tags": [
     "bpm"
    ],
    "summary": "Bulk update of process instances",
    "operationId": "bpmInstanceBulkUpdate",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Process code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "instanceIds": {
         "description": "List of IDs of updates process instances",
         "type": "array",
         "items": {
          "type": "string",
          "format": "uuid"
         }
        },
        "unselectedIds": {
         "description": "List of IDs of process instances to be updated",
         "type": "array",
         "items": {
          "type": "string",
          "format": "uuid"
         }
        },
        "updateAllActive": {
         "description": "Update all active process instances according to the set template",
         "type": "boolean"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/BpmInstanceBulkUpdateResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "Only a system administrator can perform bulk update of process instances"
     },
     "404": {
      "description": "Process not found"
     }
    }
   }
  },
  "/bpm/instance/bytemplateid/{id}/list": {
   "get": {
    "description": "Get a list of process instances",
    "produces": [
     "application/json"
    ],
    "tags": [
     "bpm"
    ],
    "operationId": "bpmInstanceListGET",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Process template ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "x-dapperdox-resource-id": "bpminstancelist-request-body",
      "description": "List request parameters serialized as JSON, same as in the `POST` version of the request",
      "name": "query",
      "in": "query",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/BpmInstanceListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   },
   "post": {
    "description": "Get a list of process instances",
    "produces": [
     "application/json"
    ],
    "tags": [
     "bpm"
    ],
    "operationId": "bpmInstanceList",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Template ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "active": {
         "description": "Show only active (not deleted)",
         "type": "boolean"
        },
        "fields": {
         "$ref": "#/definitions/FieldsSelector"
        },
        "filter": {
         "description": "Filtering",
         "type": "object",
         "additionalProperties": {
          "type": "object"
         }
        },
        "from": {
         "description": "Return from item",
         "type": "integer",
         "format": "int64"
        },
        "ids": {
         "description": "ID Filetering",
         "type": "array",
         "items": {
          "type": "string",
          "format": "uuid"
         }
        },
        "size": {
         "description": "Number of returned items (10000 max)",
         "type": "integer",
         "format": "int64"
        },
        "sortExpressions": {
         "description": "Sorting rules",
         "type": "array",
         "items": {
          "$ref": "#/definitions/SortExpression"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/BpmInstanceListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/bpm/instance/interrupt": {
   "post": {
    "description": "Bulk interruption of process instances",
    "produces": [
     "application/json"
    ],
    "tags": [
     "bpm"
    ],
    "operationId": "bpmInstanceBulkInterrupt",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "required": [
        "instances"
       ],
       "properties": {
        "comment": {
         "description": "Comment",
         "type": "string"
        },
        "instances": {
         "description": "List of IDs of interrupted process instances",
         "type": "array",
         "items": {
          "type": "string",
          "format": "uuid"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/BpmInstanceBulkInterruptResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "Only a system administrator can perform bulk interruption of process instances"
     }
    }
   }
  },
  "/bpm/instance/{id}/context": {
   "put": {
    "description": "Change the process instance context",
    "produces": [
     "application/json"
    ],
    "tags": [
     "bpm"
    ],
    "operationId": "bpmInstanceContext",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Process instance ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "required": [
        "context",
        "comment"
       ],
       "properties": {
        "comment": {
         "description": "Reason for context change",
         "type": "string"
        },
        "context": {
         "$ref": "#/definitions/context"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/BpmInstanceContextResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "Not enough permissions to change the process instance context"
     },
     "404": {
      "description": "Process instance not found"
     }
    }
   }
  },
  "/bpm/instance/{id}/get": {
   "get": {
    "description": "Get a process instance by ID",
    "produces": [
     "application/json"
    ],
    "tags": [
     "bpm"
    ],
    "operationId": "bpmInstanceGetGET",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Process instance ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/BpmInstanceGetResponse"
     }
    }
   },
   "post": {
    "description": "Get a process instance by ID",
    "produces": [
     "application/json"
    ],
    "tags": [
     "bpm"
    ],
    "operationId": "bpmInstanceGet",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Process instance ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/BpmInstanceGetResponse"
     }
    }
   }
  },
  "/bpm/instance/{id}/interrupt": {
   "post": {
    "description": "Interrupt a process instance",
    "produces": [
     "application/json"
    ],
    "tags": [
     "bpm"
    ],
    "operationId": "bpmInstanceInterrupt",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Process instance ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "comment": {
         "description": "Comment",
         "type": "string"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/BpmInstanceInterruptResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "Not enough permissions to interrupt a process instance"
     },
     "404": {
      "description": "Process instance not found"
     }
    }
   }
  },
  "/bpm/instance/{id}/version": {
   "post": {
    "description": "Update a process instance version",
    "produces": [
     "application/json"
    ],
    "tags": [
     "bpm"
    ],
    "operationId": "bpmInstanceUpdate",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Process instance ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/BpmInstanceUpdateResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "Not enough permissions to update a process instance version"
     },
     "404": {
      "description": "Process instance not found"
     }
    }
   }
  },
  "/bpm/restore-point/{id}/restore": {
   "post": {
    "description": "Continuation of a delegated action by ID",
    "produces": [
     "application/json"
    ],
    "tags": [
     "bpm"
    ],
    "operationId": "bpmRestorePointRestore",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Recovery point identifier",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "data": {
         "description": "Data for mapping to the context of the restored process instance",
         "type": "object",
         "example": {
          "context_app": {
           "code": "some_app_code",
           "id": "0c1483a1-8f89-425e-9495-b67759766d1f",
           "namespace": "some_app_namespace"
          },
          "context_string": "some_value",
          "context_user": "f1de5fec-2a43-4d80-a0e1-c5f86edb6ca6"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/BpmRestorePointRestoreResponse"
     }
    }
   }
  },
  "/bpm/template/{namespace}/{code}/run": {
   "post": {
    "description": "Start process by workspace and code",
    "produces": [
     "application/json"
    ],
    "tags": [
     "bpm"
    ],
    "operationId": "bpmTemplateRun",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Process code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "context": {
         "$ref": "#/definitions/context"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/BpmTemplateRunResponse"
     },
     "429": {
      "description": "The process start limit has been reached"
     }
    }
   }
  },
  "/channel": {
   "get": {
    "produces": [
     "application/json"
    ],
    "tags": [
     "feed"
    ],
    "summary": "Getting a list of channels",
    "operationId": "ListChannel",
    "parameters": [
     {
      "type": "integer",
      "format": "int32",
      "description": "Offset (default 0)",
      "name": "from",
      "in": "query"
     },
     {
      "type": "integer",
      "format": "int32",
      "description": "Quantity limit (default: 10)",
      "name": "size",
      "in": "query"
     },
     {
      "type": "string",
      "description": "Channel name filter",
      "name": "name",
      "in": "query"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response",
      "schema": {
       "$ref": "#/definitions/feed.channel.v1.ChannelServiceListChannelResponse"
      }
     },
     "400": {
      "description": "Request error",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "403": {
      "description": "Access denied",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "429": {
      "description": "Too many requests",
      "schema": {
       "type": "string",
       "format": "string",
       "enum": [
        "too many requests"
       ]
      }
     }
    }
   }
  },
  "/channel/{channel}/message": {
   "post": {
    "produces": [
     "application/json"
    ],
    "tags": [
     "feed"
    ],
    "summary": "Creating a new message in the channel",
    "operationId": "SendChannelMessage",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Channel ID",
      "name": "channel",
      "in": "path",
      "required": true
     },
     {
      "name": "body",
      "in": "body",
      "required": true,
      "schema": {
       "$ref": "#/definitions/feed.channel.v1.ChannelService.SendChannelMessageBody"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response",
      "schema": {
       "$ref": "#/definitions/feed.channel.v1.ChannelServiceSendChannelMessageResponse"
      }
     },
     "400": {
      "description": "Request error",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "403": {
      "description": "Access denied",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "429": {
      "description": "Too many requests",
      "schema": {
       "type": "string",
       "format": "string",
       "enum": [
        "too many requests"
       ]
      }
     }
    }
   }
  },
  "/channel/{channel}/message/list": {
   "get": {
    "produces": [
     "application/json"
    ],
    "tags": [
     "feed"
    ],
    "summary": "Getting a list of messages from the channel",
    "operationId": "ListChannelMessageGet",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Channel ID",
      "name": "channel",
      "in": "path",
      "required": true
     },
     {
      "type": "integer",
      "format": "int32",
      "description": "Offset (default 0)",
      "name": "from",
      "in": "query"
     },
     {
      "type": "integer",
      "format": "int32",
      "description": "Quantity limit (default: 10)",
      "name": "size",
      "in": "query"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response",
      "schema": {
       "$ref": "#/definitions/feed.channel.v1.ChannelServiceListChannelMessageGetResponse"
      }
     },
     "400": {
      "description": "Request error",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "403": {
      "description": "Access denied",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "429": {
      "description": "Too many requests",
      "schema": {
       "type": "string",
       "format": "string",
       "enum": [
        "too many requests"
       ]
      }
     }
    }
   },
   "post": {
    "produces": [
     "application/json"
    ],
    "tags": [
     "feed"
    ],
    "summary": "Getting a list of messages from the channel",
    "operationId": "ListChannelMessage",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Channel ID",
      "name": "channel",
      "in": "path",
      "required": true
     },
     {
      "name": "body",
      "in": "body",
      "required": true,
      "schema": {
       "$ref": "#/definitions/feed.channel.v1.ChannelService.ListChannelMessageBody"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response",
      "schema": {
       "$ref": "#/definitions/feed.channel.v1.ChannelServiceListChannelMessageResponse"
      }
     },
     "400": {
      "description": "Request error",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "403": {
      "description": "Access denied",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "429": {
      "description": "Too many requests",
      "schema": {
       "type": "string",
       "format": "string",
       "enum": [
        "too many requests"
       ]
      }
     }
    }
   }
  },
  "/channel/{channel}/message/{id}/comment": {
   "post": {
    "produces": [
     "application/json"
    ],
    "tags": [
     "feed"
    ],
    "summary": "Creating a comment on a channel message",
    "operationId": "SendChannelComment",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Channel ID",
      "name": "channel",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Message ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "body",
      "in": "body",
      "required": true,
      "schema": {
       "$ref": "#/definitions/feed.channel.v1.ChannelService.SendChannelCommentBody"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response",
      "schema": {
       "$ref": "#/definitions/feed.channel.v1.ChannelServiceSendChannelCommentResponse"
      }
     },
     "400": {
      "description": "Request error",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "403": {
      "description": "Access denied",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "429": {
      "description": "Too many requests",
      "schema": {
       "type": "string",
       "format": "string",
       "enum": [
        "too many requests"
       ]
      }
     }
    }
   }
  },
  "/channel/{channel}/message/{id}/comment/list": {
   "get": {
    "produces": [
     "application/json"
    ],
    "tags": [
     "feed"
    ],
    "summary": "Getting a list of comments for a message from the channel",
    "operationId": "ListChannelCommentGet",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Channel ID",
      "name": "channel",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Message ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "type": "integer",
      "format": "int32",
      "description": "Offset (default 0)",
      "name": "from",
      "in": "query"
     },
     {
      "type": "integer",
      "format": "int32",
      "description": "Quantity limit (default: 10)",
      "name": "size",
      "in": "query"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response",
      "schema": {
       "$ref": "#/definitions/feed.channel.v1.ChannelServiceListChannelCommentGetResponse"
      }
     },
     "400": {
      "description": "Request error",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "403": {
      "description": "Access denied",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "429": {
      "description": "Too many requests",
      "schema": {
       "type": "string",
       "format": "string",
       "enum": [
        "too many requests"
       ]
      }
     }
    }
   },
   "post": {
    "produces": [
     "application/json"
    ],
    "tags": [
     "feed"
    ],
    "summary": "Getting a list of comments for a message from the channel",
    "operationId": "ListChannelComment",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Channel ID",
      "name": "channel",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Message ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "body",
      "in": "body",
      "required": true,
      "schema": {
       "$ref": "#/definitions/feed.channel.v1.ChannelService.ListChannelCommentBody"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response",
      "schema": {
       "$ref": "#/definitions/feed.channel.v1.ChannelServiceListChannelCommentResponse"
      }
     },
     "400": {
      "description": "Request error",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "403": {
      "description": "Access denied",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "429": {
      "description": "Too many requests",
      "schema": {
       "type": "string",
       "format": "string",
       "enum": [
        "too many requests"
       ]
      }
     }
    }
   }
  },
  "/contracts/{namespace}/{code}/create": {
   "post": {
    "description": "A contract can have multiple source apps. One of them can be selected as the default app. This app will be used for system operations, for example, when a contract item needs to be created. The default app can be selected in the contract’s source settings.\nYou can make a request to create a new item of the default app for the contract.\nThe request address will include the code of the workspace the contract is located in (`{namespace}`) and the code of the contract (`{code}`). In the request body, pass the data of the item that is going to be created. The new item will be added to the source app. It will also be available in the contract.\nIf a contract has no default source app, the item will not be created. In the `error` field of the response there will be a message saying that no default source is selected.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "contracts"
    ],
    "summary": "Create an item of the default app of a contract",
    "operationId": "contractsItemCreate",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Contract code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "context": {
         "description": "Fields of the new app item",
         "type": "object",
         "additionalProperties": {
          "type": "object"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ContractsItemCreateResponse"
     },
     "400": {
      "description": "The contract doesn't have a default source"
     }
    }
   }
  },
  "/contracts/{namespace}/{code}/list": {
   "get": {
    "description": "The request URL contains the workspace code where the contract is located (`{namespace}`), and the contract code itself (`{code}`).\nThe request body includes the `query`parameter, which is a JSON-serialized description of the requested list parameters.\nThis parameter defines filters and sorting.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "contracts"
    ],
    "summary": "Get a list of contract items",
    "operationId": "contractsListGet",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Contract code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "x-dapperdox-resource-id": "contractslist-request-body",
      "x-schema": {
       "$ref": "#/definitions/ContractsListBody"
      },
      "description": "List request parameters serialized as JSON",
      "name": "query",
      "in": "query",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ContractListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   },
   "post": {
    "description": "The request address contains the code of the workspace that the contract is located in (`{namespace}`) and the code of the contract (`{code}`).\nThe request body contains the description of the requested list’s parameters that sets filters and sorting.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "contracts"
    ],
    "summary": "Get a list of contract items",
    "operationId": "contractsList",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Contract code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "$ref": "#/definitions/ContractsListBody"
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ContractListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/contracts/{namespace}/{code}/{id}/get": {
   "get": {
    "description": "The request URL includes the workpace code where the contract is located(`{namespace}`), the contract code itself (`{code}`),\nand the item ID (`{id}`).",
    "produces": [
     "application/json"
    ],
    "tags": [
     "contracts"
    ],
    "summary": "Get a contract item by its identifier",
    "operationId": "contractsItemGet",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Contract code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Contract item ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ContractsItemGetResponse"
     },
     "404": {
      "description": "Item with this ID not found"
     }
    }
   },
   "post": {
    "description": "The request URL contains the code of the workspace where the contract is stored (`{namespace}`), the contract code (`{code}`), \nand the record ID (`{id}`).",
    "produces": [
     "application/json"
    ],
    "tags": [
     "contracts"
    ],
    "summary": "Get a contract item by its identifier",
    "operationId": "contractsItemGetPost",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Contract code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Contract item ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ContractsItemGetResponse"
     },
     "404": {
      "description": "Item with this ID not found"
     }
    },
    "x-dapperdox-hide": true
   }
  },
  "/contracts/{namespace}/{code}/{id}/update": {
   "post": {
    "description": "Contract item editing request by item ID.\nThe request address contains the code of the workspace that the contract belongs to (` {namespace} `), the code of the contract (` {code} `),\nand the item’s ID ( `{id} `).\nIn the request body, pass an object containing the fields that need to be edited and their new values.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "contracts"
    ],
    "summary": "Edit a contract item",
    "operationId": "contractsItemUpdate",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Contract code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Contract item ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "context": {
         "description": "Values to be changed",
         "type": "object",
         "additionalProperties": {
          "type": "object"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ContractItemUpdateResponse"
     },
     "404": {
      "description": "Item with this ID not found"
     }
    }
   }
  },
  "/disk/directory": {
   "post": {
    "description": "If the request is successful, returns the model of the created directory",
    "produces": [
     "application/json"
    ],
    "tags": [
     "disk"
    ],
    "summary": "Directory is created",
    "operationId": "directoryCreate",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "required": [
        "__name",
        "directory"
       ],
       "properties": {
        "__name": {
         "description": "Name of the new folder",
         "type": "string"
        },
        "directory": {
         "description": "ID of the parent directory",
         "type": "string",
         "format": "uuid",
         "example": "a35cd8de-0c73-4f6a-8218-90193d02e2e0"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/directoryCreateResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/disk/directory/list": {
   "get": {
    "description": "Returns a list of file storage directory models generated according to the conditions specified in the `query` request parameter.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "disk"
    ],
    "summary": "Get a list of directories",
    "operationId": "directoryListGET",
    "parameters": [
     {
      "type": "string",
      "x-dapperdox-resource-id": "directorylist-request-body",
      "description": "List request parameters serialized as JSON",
      "name": "query",
      "in": "query",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/DirectoryListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   },
   "post": {
    "description": "Returns a list of file storage directory models generated according to the conditions specified in the request body.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "disk"
    ],
    "summary": "Get a list of directories",
    "operationId": "directoryList",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "active": {
         "description": "Show active only (not deleted)",
         "type": "boolean"
        },
        "filter": {
         "description": "Filtering",
         "type": "object",
         "additionalProperties": {
          "type": "object"
         }
        },
        "from": {
         "description": "Return starting from item",
         "type": "integer",
         "format": "int64"
        },
        "ids": {
         "description": "Filter by ID",
         "type": "array",
         "items": {
          "type": "string",
          "format": "uuid"
         }
        },
        "size": {
         "description": "Number of returned items (10000 max)",
         "type": "integer",
         "format": "int64"
        },
        "sortExpressions": {
         "description": "Sorting rules",
         "type": "array",
         "items": {
          "$ref": "#/definitions/SortExpression"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/DirectoryListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/disk/directory/{id}": {
   "get": {
    "description": "Get information about a directory by ID",
    "produces": [
     "application/json"
    ],
    "tags": [
     "disk"
    ],
    "operationId": "getDirectory",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Directory ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/getDirectoryResponse"
     },
     "403": {
      "description": "Not enough permissions to access the directory"
     },
     "404": {
      "description": "Unable to find the directory"
     }
    }
   }
  },
  "/disk/directory/{id}/upload": {
   "post": {
    "description": "The file is uploaded to the specified directory of the **Files** workspace. You must have enough disk space for the file to be saved. If there is a file with the same name in the directory, a postfix with a number will be added to the name, for example, (1).\nTo upload a file, you need to generate a UUID and pass it in the `hash` request parameter. This will be the file body ID.\nYou can upload a file in full or in parts. To upload the whole file, pass the `Content-Range` header with the value `bytes 0-[size]/[size]` (for example, `bytes 0-1000/1000`).\nTo upload a file in parts, you need to divide it. All parts must be of equal size, except for the last one. The size of the main parts must be between 5 MB (5 242 880 B) and 5 GB (5 368 709 120 B). The remaining part can be of any size.\nTo inform the server which of the parts is being uploaded, you need to pass the `Content-Range` header. It is set by the following template: `bytes [range-start]-[range-end]/[size]`. For example, to upload a 7 MB file, you’d need tp pass the following headers: `bytes 0-5242880/7340032` for the first 5 MB part of the file and `bytes 5242880-7340032/7340032` for the remaining part.",
    "consumes": [
     "multipart/form-data"
    ],
    "produces": [
     "application/json"
    ],
    "tags": [
     "disk"
    ],
    "summary": "Load a file to a directory",
    "operationId": "uploadToDirectory",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Directory ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "File body ID",
      "name": "hash",
      "in": "query",
      "required": true
     },
     {
      "type": "file",
      "description": "name: file\nFile for upload",
      "name": "file",
      "in": "formData"
     }
    ],
    "responses": {
     "200": {
      "description": "The file is fully uploaded"
     },
     "206": {
      "description": "Part of the file is successfully uploaded"
     },
     "400": {
      "description": "The error is shown as a message that describes the problem. The error message may contain the following codes: `EntityTooSmall` if the file is divided into parts that are too small; `InvalidPart` if one of the parts was not found in storage; `InvalidPartOrder` if the order of the parts in the file is invalid; `NoSuchUpload` if the upload was not found"
     },
     "402": {
      "description": "Not enough disk space"
     },
     "403": {
      "description": "No permissions to create a file"
     },
     "default": {
      "$ref": "#/responses/DiskFileUploadResponse"
     }
    }
   }
  },
  "/disk/file/move": {
   "post": {
    "description": "Initialized files are moved to a new directory.\nIf a file is uploaded but not initialized, it is saved to the directory. It is assigned the specified name. If there is a file with the same name in the directory, a postfix with a number will be added, for example, (1).",
    "tags": [
     "disk"
    ],
    "summary": "Moving a file to a directory",
    "operationId": "persistOrMoveFileToDirectory",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "ID of the directory that the file is moved to",
      "name": "directoryID",
      "in": "query",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "files": {
         "description": "Files to move",
         "type": "array",
         "items": {
          "$ref": "#/definitions/requestFile"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Operation completed successfully"
     },
     "402": {
      "description": "Not enough disk space"
     },
     "403": {
      "description": "Not enough permissions to create a file"
     },
     "409": {
      "description": "Unable to create a unique name for the file"
     },
     "default": {
      "$ref": "#/responses/diskFilePersistToDirectoryResponse"
     }
    }
   }
  },
  "/disk/file/upload": {
   "post": {
    "description": "File upload to temporary storage.\nTo upload a file, you need to generate a UUID and pass it as the `hash` request parameter. This will serve as the identifier of the file body.\nYou can upload a file either entirely or in parts. To upload it as a whole, provide the`Content-Range` header with the value `bytes 0-[size]/[size]` (for example, `bytes 0-1000/1000`).\nFor multipart upload, the file must be split into chunks. All chunks, except for the last one, must be of equal size. The chunk size must be at least 5 MB (5 242 880 bytes) and no more than 5 GB (5 368 709 120 bytes). The last chunk can be of any size.\nTo inform the server which chunk is being uploaded, include the `Content-Range` header in the request. The header follows this format: `bytes [range-start]-[range-end]/[size]`. For example, when uploading a file of 7 MB, you need the following headers: `bytes 0-5242880/7340032` for the first 5 MB chunk and `bytes 5242880-7340032/7340032` for the remaining part.\n### Requirements:\nThe`Content-Type` headrer must be `application/octet-stream`.\nThe request body must contain the binary data of the file.\nAfter uploading, the file must be initialized within 60 minutes (otherwise, it will be deleted).\n\n\n### Initialization methods:\n1. **Move to directory** via `/pub/v1/disk/file/move`\n2. **Save in app**:\n\\- Create an app: `/pub/v1/app/{namespace}/{code}/create`\n\\- Update an app: `/pub/v1/app/{namespace}/{code}/{id}/update`\nExample request body for initialization:\n``` {\"context\":{\"__file\":[{\"name\": \"example.txt\", \"hash\": \"131141f6-0d89-4316-a8f1-bc816f0672ef\"}]}} ```",
    "consumes": [
     "binary/octet-stream"
    ],
    "produces": [
     "application/json"
    ],
    "tags": [
     "disk"
    ],
    "summary": "Upload a temporary file",
    "operationId": "uploadPart",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Hash of the file that is going to be uploaded in parts",
      "name": "hash",
      "in": "query",
      "required": true
     },
     {
      "type": "file",
      "description": "name: File\nUploaded file",
      "name": "file",
      "in": "formData"
     }
    ],
    "responses": {
     "200": {
      "description": "The file is fully uploaded"
     },
     "206": {
      "description": "Part of the file is successfully uploaded"
     },
     "400": {
      "description": "The error is shown as a message that describes the problem. The error message may contain the following codes: `EntityTooSmall` if the file is divided into parts that are too small; `InvalidPart` if one of the parts was not found in storage; `InvalidPartOrder` if the order of the parts in the file is invalid; `NoSuchUpload` if the upload was not found"
     },
     "default": {
      "$ref": "#/responses/responseUploadPart"
     }
    }
   }
  },
  "/disk/file/{id}": {
   "get": {
    "description": "Retrieving file information by ID",
    "produces": [
     "application/json"
    ],
    "tags": [
     "disk"
    ],
    "operationId": "getFile",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "File ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/getFileResponse"
     },
     "403": {
      "description": "Insufficient permissions to access the file"
     },
     "404": {
      "description": "File not found"
     }
    }
   }
  },
  "/disk/file/{id}/get-link": {
   "get": {
    "description": "Get file download link by file ID",
    "produces": [
     "application/json"
    ],
    "tags": [
     "disk"
    ],
    "operationId": "handlerGetLinkGET",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "File ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/HandlerGetLinkResponse"
     }
    }
   },
   "post": {
    "description": "Get file download link by file ID",
    "produces": [
     "application/json"
    ],
    "tags": [
     "disk"
    ],
    "operationId": "handlerGetLink",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "File ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/HandlerGetLinkResponse"
     }
    }
   }
  },
  "/disk/files": {
   "post": {
    "description": "Bulk file initialization from body IDs. This operation is necessary to complete multiple download of files via links or gettible multiple file download links.\nAccepts data list for file creation. The data must include the file body ID, its name, and the ID of the directory where it will be saved.\nReturns a list of structures containing the resulting file and a description of any error that occurred during the file’s initialization. The order of structures in the response corresponds to the order of files in the request.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "disk"
    ],
    "summary": "Bulk file initialization",
    "operationId": "persistFiles",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "files": {
         "description": "List of data to create files",
         "type": "array",
         "items": {
          "$ref": "#/definitions/PersistFilesModel"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/persistFilesResponse"
     },
     "422": {
      "$ref": "#/responses/persistFilesResponse"
     }
    }
   }
  },
  "/disk/files/deleted": {
   "patch": {
    "description": "If access permissions are sufficient, files are deleted. If an error occurs during deletion, it will be indicated in the response. Upon deletion, files are moved to the Recycle Bin.\nAccepts a list of file IDs.\nReturns a list of structures containing either the resulting file ID or the description of any error that occurred during the file deletion. The order of structures in the response corresponds to the order of file IDs in the request.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "disk"
    ],
    "summary": "Bulk file deletion",
    "operationId": "deleteFiles",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "required": [
        "fileIds"
       ],
       "properties": {
        "fileIds": {
         "description": "List of IDs of files to be deleted",
         "type": "array",
         "items": {
          "type": "string",
          "format": "uuid"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/deleteFilesResponse"
     },
     "422": {
      "$ref": "#/responses/deleteFilesResponse"
     }
    }
   }
  },
  "/disk/files/search": {
   "post": {
    "description": "Returns a list of the platform’s file storage file models, formed based on the search parameters\nprovided.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "disk"
    ],
    "summary": "File search",
    "operationId": "searchFiles",
    "parameters": [
     {
      "name": "body",
      "in": "body",
      "schema": {
       "$ref": "#/definitions/SearchFilesModel"
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/searchFilesResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "422": {
      "$ref": "#/responses/searchFilesResponse"
     }
    }
   }
  },
  "/disk/links/download": {
   "post": {
    "description": "Bulk retrieval of download links for files based on their storage IDs. The request accepts a list of file body IDs. The response includes a list of items containing the file ID\nand the download link, if it was successfully generated, or an error message, if an error occurred during generation. The order of structures in the response corresponds to the order of IDs in the request.\nThe method is intended for obtaining a package of download links for files based on their IDs.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "disk"
    ],
    "summary": "Bulk retrieval of file download links",
    "operationId": "downloadLinks",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "required": [
        "hashesList"
       ],
       "properties": {
        "hashesList": {
         "description": "List of IDs of the downloaded file bodies\nin the following format: `[\"ef15ff99-763f-4337-be9b-632af8a26e9d\",\"5c018be7-6590-4d3a-9864-bc7f96cfe682\", ...]`",
         "type": "array",
         "items": {
          "type": "string",
          "format": "uuid"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/downloadLinksResponse"
     },
     "422": {
      "$ref": "#/responses/downloadLinksResponse"
     }
    }
   }
  },
  "/disk/links/upload": {
   "post": {
    "description": "Bulk retrieval of upload links for files by their storage IDs. In the request, the method receives a list of file body IDs. In the response, it returns a list of items containing\nthe file ID, and the link, if it was successfully generated, or the error message text, if an error occurred during generation. The order of structures in the response corresponds with the order of IDs in the request.\nThe method is used to automatically load data to the storage, for example, from external services.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "disk"
    ],
    "summary": "Bulk receiving of file upload links",
    "operationId": "uploadLinks",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "required": [
        "hashesList"
       ],
       "properties": {
        "hashesList": {
         "description": "List of IDs of the downloaded file bodies\nin the following format: `[\"ef15ff99-763f-4337-be9b-632af8a26e9d\",\"5c018be7-6590-4d3a-9864-bc7f96cfe682\", ...]`",
         "type": "array",
         "items": {
          "type": "string",
          "format": "uuid"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/uploadLinksResponse"
     },
     "422": {
      "$ref": "#/responses/uploadLinksResponse"
     }
    }
   }
  },
  "/disk/uploads/from-link": {
   "post": {
    "description": "Performs the upload of N files to temporary storage through N external download links.\nThe response returns a list of structures containing the file body ID in the storage and the error if one occurred during the upload. The order of structures in the response corresponds to the order of download links in the request.\nNext, it is necessary to initialize the files, otherwise they will be deleted as unnecessary. The storage duration for a temporary file is 60 minutes. Each file can be initialized individually using the endpoint `/disk/file/move`. Place them in directories or save them in apps.\nAlternatively, you can initialize the files in bulk using the endpoint `/disk/files`. Place them in the corresponding directories.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "disk"
    ],
    "summary": "Bulk file upload via links",
    "operationId": "uploadFromLinks",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "required": [
        "downloadLinks"
       ],
       "properties": {
        "downloadLinks": {
         "description": "List of file upload links\nin the following format: `[\"https://hosting.example/image.png\", \"https://hosting.example/imageOther.png\", ...]`",
         "type": "array",
         "items": {
          "type": "string"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/uploadFromLinksResponse"
     },
     "422": {
      "$ref": "#/responses/uploadFromLinksResponse"
     }
    }
   }
  },
  "/docflow/{namespace}/{code}/{id}/lists": {
   "post": {
    "description": "Retrieve approval sheets and lists of informed users",
    "produces": [
     "application/json"
    ],
    "tags": [
     "docflow"
    ],
    "operationId": "docflowListRequest",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Item ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "status": {
         "description": "Status",
         "type": "string",
         "enum": [
          "in_progress — в процессе;",
          "approved — согласовано(только для согласования);",
          "rejected — отказано(только для согласования);",
          "done — ознакомлен(только для ознакомления);",
          "terminated - отменен."
         ]
        },
        "type": {
         "description": "Type",
         "type": "string",
         "enum": [
          "approval — согласование;",
          "inform — ознакомление."
         ]
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/docflowListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/feed/{namespace}/{code}/{target}/message": {
   "post": {
    "produces": [
     "application/json"
    ],
    "tags": [
     "feed"
    ],
    "summary": "Creating a new message in the object activity stream",
    "operationId": "SendMessage",
    "parameters": [
     {
      "type": "string",
      "description": "Object namespace",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Object code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Object ID",
      "name": "target",
      "in": "path",
      "required": true
     },
     {
      "name": "body",
      "in": "body",
      "required": true,
      "schema": {
       "$ref": "#/definitions/feed.target.v1.FeedTargetService.SendMessageBody"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response",
      "schema": {
       "$ref": "#/definitions/feed.target.v1.FeedTargetServiceSendMessageResponse"
      }
     },
     "400": {
      "description": "Request error",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "403": {
      "description": "Access denied",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "429": {
      "description": "Too many requests",
      "schema": {
       "type": "string",
       "format": "string",
       "enum": [
        "too many requests"
       ]
      }
     }
    }
   }
  },
  "/feed/{namespace}/{code}/{target}/message/list": {
   "get": {
    "produces": [
     "application/json"
    ],
    "tags": [
     "feed"
    ],
    "summary": "Getting a list of messages from the object's activity stream",
    "operationId": "ListMessageGet",
    "parameters": [
     {
      "type": "string",
      "description": "Object namespace",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Object code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Object ID",
      "name": "target",
      "in": "path",
      "required": true
     },
     {
      "type": "integer",
      "format": "int32",
      "description": "Offset (default 0)",
      "name": "from",
      "in": "query"
     },
     {
      "type": "integer",
      "format": "int32",
      "description": "Quantity limit (default: 10)",
      "name": "size",
      "in": "query"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response",
      "schema": {
       "$ref": "#/definitions/feed.target.v1.FeedTargetServiceListMessageGetResponse"
      }
     },
     "400": {
      "description": "Request error",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "403": {
      "description": "Access denied",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "429": {
      "description": "Too many requests",
      "schema": {
       "type": "string",
       "format": "string",
       "enum": [
        "too many requests"
       ]
      }
     }
    }
   },
   "post": {
    "produces": [
     "application/json"
    ],
    "tags": [
     "feed"
    ],
    "summary": "Getting a list of messages from the object's activity stream",
    "operationId": "ListMessage",
    "parameters": [
     {
      "type": "string",
      "description": "Object namespace",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Object code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Object ID",
      "name": "target",
      "in": "path",
      "required": true
     },
     {
      "name": "body",
      "in": "body",
      "required": true,
      "schema": {
       "$ref": "#/definitions/feed.target.v1.FeedTargetService.ListMessageBody"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response",
      "schema": {
       "$ref": "#/definitions/feed.target.v1.FeedTargetServiceListMessageResponse"
      }
     },
     "400": {
      "description": "Request error",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "403": {
      "description": "Access denied",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "429": {
      "description": "Too many requests",
      "schema": {
       "type": "string",
       "format": "string",
       "enum": [
        "too many requests"
       ]
      }
     }
    }
   }
  },
  "/feed/{namespace}/{code}/{target}/message/{id}/comment": {
   "post": {
    "produces": [
     "application/json"
    ],
    "tags": [
     "feed"
    ],
    "summary": "Creating a comment on an object activity stream message",
    "operationId": "SendComment",
    "parameters": [
     {
      "type": "string",
      "description": "Object namespace",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Object code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Object ID",
      "name": "target",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Message ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "body",
      "in": "body",
      "required": true,
      "schema": {
       "$ref": "#/definitions/feed.target.v1.FeedTargetService.SendCommentBody"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response",
      "schema": {
       "$ref": "#/definitions/feed.target.v1.FeedTargetServiceSendCommentResponse"
      }
     },
     "400": {
      "description": "Request error",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "403": {
      "description": "Access denied",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "429": {
      "description": "Too many requests",
      "schema": {
       "type": "string",
       "format": "string",
       "enum": [
        "too many requests"
       ]
      }
     }
    }
   }
  },
  "/feed/{namespace}/{code}/{target}/message/{id}/comment/list": {
   "get": {
    "produces": [
     "application/json"
    ],
    "tags": [
     "feed"
    ],
    "summary": "Getting a list of comments for a message from the object's activity stream",
    "operationId": "ListCommentGet",
    "parameters": [
     {
      "type": "string",
      "description": "Object namespace",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Object code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Object ID",
      "name": "target",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Message ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "type": "integer",
      "format": "int32",
      "description": "Offset (default 0)",
      "name": "from",
      "in": "query"
     },
     {
      "type": "integer",
      "format": "int32",
      "description": "Quantity limit (default: 10)",
      "name": "size",
      "in": "query"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response",
      "schema": {
       "$ref": "#/definitions/feed.target.v1.FeedTargetServiceListCommentGetResponse"
      }
     },
     "400": {
      "description": "Request error",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "403": {
      "description": "Access denied",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "429": {
      "description": "Too many requests",
      "schema": {
       "type": "string",
       "format": "string",
       "enum": [
        "too many requests"
       ]
      }
     }
    }
   },
   "post": {
    "produces": [
     "application/json"
    ],
    "tags": [
     "feed"
    ],
    "summary": "Getting a list of comments for a message from the object's activity stream",
    "operationId": "ListComment",
    "parameters": [
     {
      "type": "string",
      "description": "Object namespace",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Object code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Object ID",
      "name": "target",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Message ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "body",
      "in": "body",
      "required": true,
      "schema": {
       "$ref": "#/definitions/feed.target.v1.FeedTargetService.ListCommentBody"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response",
      "schema": {
       "$ref": "#/definitions/feed.target.v1.FeedTargetServiceListCommentResponse"
      }
     },
     "400": {
      "description": "Request error",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "403": {
      "description": "Access denied",
      "schema": {
       "$ref": "#/definitions/feed.swagger.v1.ErrorResponse"
      }
     },
     "429": {
      "description": "Too many requests",
      "schema": {
       "type": "string",
       "format": "string",
       "enum": [
        "too many requests"
       ]
      }
     }
    }
   }
  },
  "/help": {
   "post": {
    "description": "Display of API documentation as OpenAPI (Swagger 2)",
    "produces": [
     "application/json"
    ],
    "operationId": "help",
    "responses": {
     "200": {
      "$ref": "#/responses/HelpResponse"
     }
    }
   }
  },
  "/integration/{code}/voip/bindings": {
   "get": {
    "description": "Get the mappings of internal numbers and BRIX users set in the telephony module",
    "produces": [
     "application/json"
    ],
    "tags": [
     "integration"
    ],
    "operationId": "getVoipBindings",
    "parameters": [
     {
      "type": "string",
      "description": "Code of a system telephony module (Zadarma, etc.) or code of a custom telephony module (starts with \"ext_\")",
      "name": "code",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/GetVoipBindingsResponse"
     },
     "400": {
      "description": "A system or custom telephony module must be used. The module has to be enabled"
     },
     "403": {
      "description": "The user on whose behalf the data is requested must have the administrator’s permissions"
     }
    }
   },
   "put": {
    "description": "Update the mappings of internal numbers and BRIX users in the telephony module",
    "produces": [
     "application/json"
    ],
    "tags": [
     "integration"
    ],
    "operationId": "updateVoipBindings",
    "parameters": [
     {
      "type": "string",
      "description": "Code of a system telephony module (Zadarma, etc.) or code of a custom telephony module (starts with \"ext_\")",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "description": "Mappings of internal numbers with BRIX users set for a telephony module",
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "bindings": {
         "description": "Map internal numbers with BRIX users",
         "type": "array",
         "items": {
          "$ref": "#/definitions/VoipBinding"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/UpdateVoipBindingsResponse"
     },
     "400": {
      "description": "A system or custom telephony module must be used. The module has to be enabled"
     },
     "403": {
      "description": "The user on whose behalf the data is requested must have the administrator’s permissions"
     }
    }
   }
  },
  "/marketing/segment": {
   "put": {
    "description": "Create a static segment of subscribers",
    "produces": [
     "application/json"
    ],
    "tags": [
     "marketing"
    ],
    "operationId": "createSegment",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "externalId": {
         "description": "External ID",
         "type": "string"
        },
        "name": {
         "description": "Name",
         "type": "string"
        },
        "preference": {
         "description": "Preference category",
         "type": "string",
         "format": "uuid"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/CreateSegmentResponse"
     },
     "400": {
      "description": "Error while checking incoming data or implementing the method"
     },
     "412": {
      "description": "No CRM license"
     }
    }
   },
   "post": {
    "description": "Get a list of segments",
    "produces": [
     "application/json"
    ],
    "tags": [
     "marketing"
    ],
    "operationId": "segmentList",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "filter": {
         "description": "Filter",
         "type": "object",
         "additionalProperties": {
          "type": "object"
         },
         "x-dapperdox-link-guide": "Filter"
        },
        "from": {
         "description": "Return starting from item",
         "type": "integer",
         "format": "uint32"
        },
        "size": {
         "description": "Number of returned items (10000 max)",
         "type": "integer",
         "format": "uint32"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/SegmentListResponse"
     },
     "400": {
      "description": "Error while checking incoming data or implementing the method"
     },
     "412": {
      "description": "No CRM license"
     }
    }
   }
  },
  "/marketing/segment/{id}": {
   "get": {
    "description": "Get the segment by ID",
    "produces": [
     "application/json"
    ],
    "tags": [
     "marketing"
    ],
    "operationId": "segmentGet",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Segment ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/SegmentGetResponse"
     },
     "400": {
      "description": "Error while checking incoming data or implementing the method"
     },
     "412": {
      "description": "No CRM license"
     }
    }
   }
  },
  "/marketing/segment/{id}/subscribers": {
   "post": {
    "description": "Get a list of segment subscribers",
    "produces": [
     "application/json"
    ],
    "tags": [
     "marketing"
    ],
    "operationId": "segmentSubscribersList",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Segment ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "filter": {
         "description": "Filter",
         "type": "object",
         "additionalProperties": {
          "type": "object"
         },
         "x-dapperdox-link-guide": "Filter"
        },
        "from": {
         "description": "Return starting from item",
         "type": "integer",
         "format": "uint32"
        },
        "size": {
         "description": "Number of returned items (10000 max)",
         "type": "integer",
         "format": "uint32"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/SegmentSubscribersListResponse"
     },
     "400": {
      "description": "Error while checking incoming data or implementing the method"
     },
     "412": {
      "description": "No CRM license"
     }
    }
   }
  },
  "/marketing/segment/{id}/subscribers/add": {
   "patch": {
    "description": "Add subscribers to the static segment",
    "produces": [
     "application/json"
    ],
    "tags": [
     "marketing"
    ],
    "operationId": "addSegmentSubscribers",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Segment ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "ids": {
         "description": "Subscriber IDs",
         "type": "array",
         "items": {
          "type": "string",
          "format": "uuid"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/AddSegmentSubscribersResponse"
     },
     "400": {
      "description": "Error while checking incoming data or implementing the method"
     },
     "412": {
      "description": "No CRM license"
     }
    }
   }
  },
  "/marketing/segment/{id}/subscribers/remove": {
   "patch": {
    "description": "Delete subscribers from the static segment",
    "produces": [
     "application/json"
    ],
    "tags": [
     "marketing"
    ],
    "operationId": "deleteSegmentSubscribers",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Segment ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "ids": {
         "description": "Subscriber IDs",
         "type": "array",
         "items": {
          "type": "string",
          "format": "uuid"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/DeleteSegmentSubscribersResponse"
     },
     "400": {
      "description": "Error while checking incoming data or implementing the method"
     },
     "412": {
      "description": "No CRM license"
     }
    }
   }
  },
  "/marketing/subscriber": {
   "post": {
    "description": "Get a list of subscribers",
    "produces": [
     "application/json"
    ],
    "tags": [
     "marketing"
    ],
    "operationId": "subscribersList",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "filter": {
         "description": "Filter",
         "type": "object",
         "additionalProperties": {
          "type": "object"
         },
         "x-dapperdox-link-guide": "Filter"
        },
        "from": {
         "description": "Return starting from item",
         "type": "integer",
         "format": "uint32"
        },
        "size": {
         "description": "Number of returned items (10000 max)",
         "type": "integer",
         "format": "uint32"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/SubscribersListResponse"
     },
     "400": {
      "description": "Error while checking incoming data or implementing the method"
     },
     "412": {
      "description": "No CRM license"
     }
    }
   }
  },
  "/nomenclature": {
   "get": {
    "description": "Getting list of folders",
    "produces": [
     "application/json"
    ],
    "tags": [
     "nomenclature"
    ],
    "operationId": "list",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Identifier",
      "name": "id",
      "in": "query"
     },
     {
      "type": "string",
      "description": "Name",
      "name": "name",
      "in": "query"
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Directory",
      "name": "directoryId",
      "in": "query"
     },
     {
      "type": "integer",
      "format": "int64",
      "description": "Return starting from item",
      "name": "from",
      "in": "query"
     },
     {
      "type": "integer",
      "format": "int64",
      "description": "Number of returned items (10000 max)",
      "name": "size",
      "in": "query"
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/listResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   },
   "post": {
    "description": "Creating folder",
    "produces": [
     "application/json"
    ],
    "tags": [
     "nomenclature"
    ],
    "operationId": "create",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "required": [
        "name",
        "directoryId",
        "docflow"
       ],
       "properties": {
        "directoryId": {
         "description": "Directory for folder",
         "type": "string",
         "format": "uuid"
        },
        "docflow": {
         "description": "Folder documet flow (`input`, `output`, `internal`)",
         "type": "string"
        },
        "name": {
         "description": "Name",
         "type": "string"
        },
        "registrationSettings": {
         "$ref": "#/definitions/CreateNomenclatureRegistrationSettingsRq"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/createResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/nomenclature/directory": {
   "get": {
    "description": "Getting list of document categorization directories",
    "produces": [
     "application/json"
    ],
    "tags": [
     "nomenclature"
    ],
    "operationId": "directory_list",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Identifier",
      "name": "id",
      "in": "query"
     },
     {
      "type": "string",
      "description": "Name",
      "name": "name",
      "in": "query"
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Directory",
      "name": "directoryId",
      "in": "query"
     },
     {
      "type": "string",
      "description": "Type (office — `place`, category — `section`)",
      "name": "type",
      "in": "query"
     },
     {
      "type": "integer",
      "format": "int64",
      "description": "Return starting from item",
      "name": "from",
      "in": "query"
     },
     {
      "type": "integer",
      "format": "int64",
      "description": "Number of returned items (10000 max)",
      "name": "size",
      "in": "query"
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/listDirectoryResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   },
   "post": {
    "description": "Creating document categorization directory",
    "produces": [
     "application/json"
    ],
    "tags": [
     "nomenclature"
    ],
    "operationId": "directory_create",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "required": [
        "name",
        "directoryId",
        "type"
       ],
       "properties": {
        "directoryId": {
         "description": "Directory where the document categorization directory is created",
         "type": "string",
         "format": "uuid"
        },
        "name": {
         "description": "Name",
         "type": "string"
        },
        "type": {
         "description": "Directory type",
         "type": "string",
         "enum": [
          "place",
          "section"
         ]
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/createDirectoryResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/nomenclature/directory/{id}": {
   "put": {
    "description": "Modify document categorization directory",
    "produces": [
     "application/json"
    ],
    "tags": [
     "nomenclature"
    ],
    "operationId": "directory_update",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Item ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "directoryId": {
         "description": "Directory for document categorization directory",
         "type": "string",
         "format": "uuid"
        },
        "name": {
         "description": "Name",
         "type": "string"
        },
        "type": {
         "description": "Directory type",
         "type": "string",
         "enum": [
          "place",
          "section"
         ]
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/updateDirectoryResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/nomenclature/{id}": {
   "put": {
    "description": "Modify folder",
    "produces": [
     "application/json"
    ],
    "tags": [
     "nomenclature"
    ],
    "operationId": "Update",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Item ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "required": [
        "name",
        "directoryId",
        "docflow"
       ],
       "properties": {
        "directoryId": {
         "description": "Directory for folder",
         "type": "string",
         "format": "uuid"
        },
        "docflow": {
         "description": "Folder documet flow (`input`, `output`, `internal`)",
         "type": "string"
        },
        "name": {
         "description": "Name",
         "type": "string"
        },
        "registrationSettings": {
         "$ref": "#/definitions/UpdateNomenclatureRegistrationSettingsRq"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/updateResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/registration/{namespace}/{code}/{id}": {
   "post": {
    "description": "Retrieve app item registrations list",
    "produces": [
     "application/json"
    ],
    "tags": [
     "registration"
    ],
    "operationId": "registrationListRequest",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "format": "uuid",
      "description": "Item ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "nomenclatureId": {
         "description": "Folder ID",
         "type": "string",
         "format": "uuid"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/registrationListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/reports/{namespace}/{code}/list": {
   "get": {
    "description": "Get a list of report items",
    "produces": [
     "application/json"
    ],
    "tags": [
     "reports"
    ],
    "operationId": "reportsListGET",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Report code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "x-dapperdox-resource-id": "reportslist-request-body",
      "x-schema": {
       "$ref": "#/definitions/ReportsListBody"
      },
      "description": "List request parameters serialized as JSON",
      "name": "query",
      "in": "query",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ReportsListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   },
   "post": {
    "description": "Get a list of report items",
    "produces": [
     "application/json"
    ],
    "tags": [
     "reports"
    ],
    "operationId": "reportsList",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Report code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "$ref": "#/definitions/ReportsListBody"
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ReportsListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/scheme/doctemplates/{id}": {
   "get": {
    "description": "Get the metadata description of a document template by ID",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "docTemplateEntityGetByID",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "ID of the document template",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/docTemplateEntityGetResponse"
     }
    }
   }
  },
  "/scheme/groups/list": {
   "get": {
    "description": "Get a list of metadata descriptions of filtered groups",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "listByFilterRequestGET",
    "parameters": [
     {
      "type": "string",
      "description": "List request parameters as an object serialized as JSON",
      "name": "query",
      "in": "query"
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/groupEntityListByFilterResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   },
   "post": {
    "description": "Get a list of metadata descriptions of filtered groups",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "listByFilterRequest",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "filter": {
         "description": "Filtering",
         "type": "object",
         "additionalProperties": {
          "type": "object"
         }
        },
        "from": {
         "description": "Initial index of returned items (offset)",
         "type": "integer",
         "format": "int64"
        },
        "ids": {
         "description": "Filter by ID",
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "size": {
         "description": "Number of returned items",
         "type": "integer",
         "format": "int64"
        },
        "sortExpressions": {
         "description": "Sorting rules",
         "type": "array",
         "items": {
          "$ref": "#/definitions/SortExpression"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/groupEntityListByFilterResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/scheme/groups/{id}": {
   "get": {
    "description": "Get a group metadata description instance by ID",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "groupGetByID",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Group item ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/GroupEntityGetResponse"
     }
    }
   },
   "put": {
    "description": "Edit group data",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "updateRequest",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Group ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "__name": {
         "description": "Name",
         "type": "string"
        },
        "description": {
         "description": "Group description",
         "type": "string"
        },
        "isDefault": {
         "description": "Assign the group to all new users",
         "type": "boolean"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/groupEntityUpdateResponse"
     }
    }
   },
   "delete": {
    "description": "Delete a group",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "deleteRequest",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Group item ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/groupEntityDeleteResponse"
     }
    }
   }
  },
  "/scheme/groups/{id}/add-items": {
   "post": {
    "description": "Adding org chart items to group",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "addOrgunitsRequest",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Group item ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "description": "List of IDs of org chart items to be added to the group",
      "name": "itemIds",
      "in": "body",
      "required": true,
      "schema": {
       "type": "array",
       "items": {
        "type": "string",
        "format": "uuid"
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/groupEntityAddOrgunitsResponse"
     }
    }
   }
  },
  "/scheme/groups/{id}/parent-groups": {
   "get": {
    "description": "Get a list of groups the specified group is included in",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "getParentGroupsRequest",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Group item ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "type": "integer",
      "format": "uint32",
      "description": "Which position (in the array) to start returning items from (the default value is 0)",
      "name": "from",
      "in": "query"
     },
     {
      "type": "integer",
      "format": "uint32",
      "description": "Number of items to return (the default value is 10)",
      "name": "size",
      "in": "query"
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/groupEntityGetParentResponse"
     }
    }
   }
  },
  "/scheme/groups/{id}/positions": {
   "get": {
    "description": "Get a list of positions included in a group",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "getSubPositionsRequest",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Group item ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "type": "integer",
      "format": "uint32",
      "description": "Which position (in the array) to start returning items from (the default value is 0)",
      "name": "from",
      "in": "query"
     },
     {
      "type": "integer",
      "format": "uint32",
      "description": "Number of items to return (the default value is 10)",
      "name": "size",
      "in": "query"
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/groupEntityGetSubPositionsResponse"
     }
    }
   }
  },
  "/scheme/groups/{id}/remove-items": {
   "post": {
    "description": "Deleting org chart items from group",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "removeOrgunitsRequest",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Group item ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "description": "List of IDs of org chart items to be deleted from the group",
      "name": "itemIds",
      "in": "body",
      "required": true,
      "schema": {
       "type": "array",
       "items": {
        "type": "string",
        "format": "uuid"
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/groupEntityRemoveOrgunitsResponse"
     }
    }
   }
  },
  "/scheme/groups/{id}/sub-groups": {
   "get": {
    "description": "Get a list of sub-groups of a specified group",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "getSubGroupsRequest",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Group item ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "type": "integer",
      "format": "uint32",
      "description": "Which position (in the array) to start returning items from (the default value is 0)",
      "name": "from",
      "in": "query"
     },
     {
      "type": "integer",
      "format": "uint32",
      "description": "Number of items to return (the default value is 10)",
      "name": "size",
      "in": "query"
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/groupEntityGetSubGroupsResponse"
     }
    }
   }
  },
  "/scheme/groups/{id}/users": {
   "get": {
    "description": "Get a list of users included in a group",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "getSubUsersRequest",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Group item ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "type": "integer",
      "format": "uint32",
      "description": "Which position (in the array) to start returning items from (the default value is 0)",
      "name": "from",
      "in": "query"
     },
     {
      "type": "integer",
      "format": "uint32",
      "description": "Number of items to return (the default value is 10)",
      "name": "size",
      "in": "query"
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/groupEntityGetSubUsersResponse"
     }
    }
   }
  },
  "/scheme/modules": {
   "get": {
    "description": "Get a list of modules’ metadata descriptions",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "moduleEntityList",
    "responses": {
     "200": {
      "$ref": "#/responses/ModuleEntityListResponse"
     }
    }
   }
  },
  "/scheme/modules/{id}": {
   "get": {
    "description": "Get metadata descriptions of a module by ID",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "moduleGetByID",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Module ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ModuleEntityGetResponse"
     }
    }
   }
  },
  "/scheme/modules/{id}/exportable": {
   "get": {
    "description": "Whether the module can be exported using its ID",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "moduleEntityExportable",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Module ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ModuleEntityExportableResponse"
     }
    }
   }
  },
  "/scheme/namespaces": {
   "get": {
    "description": "Get list of workspace metadata descriptions",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "namespaceEntityList",
    "responses": {
     "200": {
      "$ref": "#/responses/NamespaceEntityListResponse"
     }
    }
   }
  },
  "/scheme/namespaces/{code}/exportable": {
   "get": {
    "description": "Whether the workspace can be exported using its code",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "namespaceEntityExportable",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "code",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/NamespaceEntityExportableResponse"
     }
    }
   }
  },
  "/scheme/namespaces/{namespace}": {
   "get": {
    "description": "Get workspace metadata description by code",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "namespaceEntityGet",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/NamespaceEntityGetResponse"
     }
    }
   }
  },
  "/scheme/namespaces/{namespace}/apps": {
   "get": {
    "description": "Get list of app metadata descriptions",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "applicationEntityList",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ApplicationEntityListResponse"
     }
    }
   }
  },
  "/scheme/namespaces/{namespace}/apps/{code}": {
   "get": {
    "description": "Get app metadata description by code",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "applicationEntityGet",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ApplicationEntityGetResponse"
     }
    }
   }
  },
  "/scheme/namespaces/{namespace}/apps/{code}/doctemplates": {
   "get": {
    "description": "Get a list of an app’s document templates’ metadata descriptions",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "appDocTemplateEntityList",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/docTemplateEntityListResponse"
     }
    }
   }
  },
  "/scheme/namespaces/{namespace}/apps/{code}/exportable": {
   "get": {
    "description": "Whether the app can be exported using its code",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "applicationEntityExportable",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ApplicationEntityExportableResponse"
     }
    }
   }
  },
  "/scheme/namespaces/{namespace}/apps/{code}/groups": {
   "get": {
    "description": "Get a list of metadata descriptions of groups and roles by app",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "applicationGroupList",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/GroupEntityListResponse"
     }
    }
   }
  },
  "/scheme/namespaces/{namespace}/apps/{code}/processes": {
   "get": {
    "description": "Get a list of process templates’ metadata descriptions by app",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "applicationProcessList",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/GroupEntityListResponse"
     }
    }
   }
  },
  "/scheme/namespaces/{namespace}/doctemplates": {
   "get": {
    "description": "Get a list of document templates’ metadata descriptions",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "docTemplateEntityList",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code (to get company templates, pass `global`)",
      "name": "namespace",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/docTemplateEntityListResponse"
     }
    }
   }
  },
  "/scheme/namespaces/{namespace}/groups": {
   "get": {
    "description": "Get the list of metadata descriptions of groups",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "getListByNamespaceRequest",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "integer",
      "format": "uint32",
      "description": "Which position (in the array) to start returning items from (the default value is 0)",
      "name": "from",
      "in": "query"
     },
     {
      "type": "integer",
      "format": "uint32",
      "description": "Number of items to return",
      "name": "size",
      "in": "query"
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/GroupEntityListResponse"
     }
    }
   },
   "post": {
    "description": "Create a group’s metadata description",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "groupCreate",
    "parameters": [
     {
      "type": "string",
      "description": "Code of the group’s workspace",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "required": [
        "__name"
       ],
       "properties": {
        "__name": {
         "description": "Name",
         "type": "string"
        },
        "description": {
         "description": "Group description",
         "type": "string"
        },
        "isDefault": {
         "description": "Assign the group to all new users",
         "type": "boolean"
        },
        "isRole": {
         "description": "Role flag",
         "type": "boolean"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/groupEntityCreateResponse"
     }
    }
   }
  },
  "/scheme/namespaces/{namespace}/pages": {
   "get": {
    "description": "Get a list of pages’ metadata descriptions",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "pageEntityList",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/PageEntityListResponse"
     }
    }
   }
  },
  "/scheme/namespaces/{namespace}/processes": {
   "get": {
    "description": "Get list of process tempalte metadata descriptions",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "processList",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ProcessTemplateEntityListResponse"
     }
    }
   }
  },
  "/scheme/namespaces/{namespace}/processes/{code}": {
   "get": {
    "description": "Get process template metadata description by code",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "processGet",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Process template code",
      "name": "code",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ProcessTemplateEntityGetResponse"
     }
    }
   }
  },
  "/scheme/pages/{id}": {
   "get": {
    "description": "Get the metadata description of a page by ID",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "pageEntityGetByID",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Page item ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/PageEntityGetResponse"
     }
    }
   }
  },
  "/scheme/solutions": {
   "get": {
    "description": "Get a list of solutions’ metadata descriptions",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "solutionEntityList",
    "responses": {
     "200": {
      "$ref": "#/responses/SolutionEntityListResponse"
     }
    }
   }
  },
  "/scheme/solutions/{code}": {
   "get": {
    "description": "Get the metadata description of a solution by code",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "solutionEntityGet",
    "parameters": [
     {
      "type": "string",
      "description": "Solution code",
      "name": "code",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/SolutionEntityGetResponse"
     }
    }
   }
  },
  "/scheme/solutions/{code}/exportable": {
   "get": {
    "description": "Whether the solution can be exported using its code",
    "produces": [
     "application/json"
    ],
    "tags": [
     "scheme"
    ],
    "operationId": "solutionEntityExportable",
    "parameters": [
     {
      "type": "string",
      "description": "Solution code",
      "name": "code",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/SolutionEntityExportableResponse"
     }
    }
   }
  },
  "/storage/system/{key}": {
   "get": {
    "description": "__Important__: This API is experimental. It may be changed or removed in future versions..\n\nTo call this method, the user must have administrator privileges.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "storage"
    ],
    "summary": "Retrieving data by key from the System object storage",
    "operationId": "systemStorageGet",
    "parameters": [
     {
      "type": "string",
      "description": "Key",
      "name": "key",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/SystemStorageGet"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "The user on whose behalf the data is requested must have the administrator’s permissions"
     },
     "404": {
      "description": "Item with this ID not found"
     }
    }
   },
   "post": {
    "description": "__Important__: This API is experimental. It may be changed or removed in future versions.\n\nTo call this method, the user must have administrator privileges.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "storage"
    ],
    "summary": "Saving data by key to the System object storage",
    "operationId": "systemStorageSet",
    "parameters": [
     {
      "type": "string",
      "description": "Key",
      "name": "key",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "data": {
         "description": "Data to save",
         "type": "string"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/SystemStorageSet"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "The user on whose behalf the data is requested must have the administrator’s permissions"
     }
    }
   },
   "delete": {
    "description": "__Important__: This API is experimental. It may be changed or removed in future versions.\n\nTo call this method, the user must have administrator privileges.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "storage"
    ],
    "summary": "Deleting data by key from the System object storage",
    "operationId": "systemStorageDelete",
    "parameters": [
     {
      "type": "string",
      "description": "Key",
      "name": "key",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "204": {
      "$ref": "#/responses/SystemStorageDelete"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "The user on whose behalf the data is requested must have the administrator’s permissions"
     }
    }
   }
  },
  "/storage/{namespace}/{code}/{key}": {
   "get": {
    "description": "__Important__: This API is experimental. It may be changed or removed in future versions.\n\nTo call this method, the user must have administrator privileges.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "storage"
    ],
    "summary": "Retrieving data by key from the app storage",
    "operationId": "applicationStorageGet",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Key",
      "name": "key",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ApplicationStorageGet"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "The user on whose behalf the data is requested must have the administrator’s permissions"
     },
     "404": {
      "description": "Item with this ID not found"
     }
    }
   },
   "post": {
    "description": "__Important__: This API is experimental. It may be changed or removed in future versions.\n\nTo call this method, the user must have administrator privileges.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "storage"
    ],
    "summary": "Saving data by key to the app storage",
    "operationId": "applicationStorageSet",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Key",
      "name": "key",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "data": {
         "description": "Data to save",
         "type": "string"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ApplicationStorageSet"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "The user on whose behalf the data is requested must have the administrator’s permissions"
     }
    }
   },
   "delete": {
    "description": "__Important__: This API is experimental. It may be changed or removed in future versions.\n\nTo call this method, the user must have administrator privileges.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "storage"
    ],
    "summary": "Deleting data by key from the app storage",
    "operationId": "applicationStorageDelete",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "App code",
      "name": "code",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Key",
      "name": "key",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ApplicationStorageDelete"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "The user on whose behalf the data is requested must have the administrator’s permissions"
     }
    }
   }
  },
  "/storage/{namespace}/{key}": {
   "get": {
    "description": "__Important__: This API is experimental. It may be changed or removed in future versions.\n\nTo call this method, the user must have administrator privileges.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "storage"
    ],
    "summary": "Retrieving data by key from the workspace or module storage",
    "operationId": "namespaceStorageGet",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Key",
      "name": "key",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/NamespaceStorageGet"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "The user on whose behalf the data is requested must have the administrator’s permissions"
     },
     "404": {
      "description": "Item with this ID not found"
     }
    }
   },
   "post": {
    "description": "__Important__: This API is experimental. It may be changed or removed in future versions.\n\nTo call this method, the user must have administrator privileges.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "storage"
    ],
    "summary": "Saving data by key to the workspace or module storage",
    "operationId": "namespaceStorageSet",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Key",
      "name": "key",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "data": {
         "description": "Data to save",
         "type": "string"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/NamespaceStorageSet"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "The user on whose behalf the data is requested must have the administrator’s permissions"
     }
    }
   },
   "delete": {
    "description": "__Important__: This API is experimental. It may be changed or removed in future versions.\n\nTo call this method, the user must have administrator privileges.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "storage"
    ],
    "summary": "Deleting data by key from the workspace or module storage",
    "operationId": "namespaceStorageDelete",
    "parameters": [
     {
      "type": "string",
      "description": "Workspace code",
      "name": "namespace",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "description": "Key",
      "name": "key",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "204": {
      "$ref": "#/responses/NamespaceStorageDelete"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "The user on whose behalf the data is requested must have the administrator’s permissions"
     }
    }
   }
  },
  "/tasks/list": {
   "get": {
    "description": "Getting a list of tasks",
    "produces": [
     "application/json"
    ],
    "tags": [
     "tasks"
    ],
    "operationId": "tasksListGET",
    "parameters": [
     {
      "type": "string",
      "x-dapperdox-resource-id": "taskslist-request-body",
      "x-schema": {
       "$ref": "#/definitions/TaskListBody"
      },
      "description": "List request parameters serialized as JSON, similar to the `POST` request variant",
      "name": "query",
      "in": "query",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/TasksListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   },
   "post": {
    "description": "Getting a list of tasks",
    "produces": [
     "application/json"
    ],
    "tags": [
     "tasks"
    ],
    "operationId": "tasksList",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "$ref": "#/definitions/TaskListBody"
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/TasksListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/tasks/list/income": {
   "get": {
    "description": "Getting a list of incoming tasks",
    "produces": [
     "application/json"
    ],
    "tags": [
     "tasks"
    ],
    "operationId": "tasksListIncomeGET",
    "parameters": [
     {
      "type": "string",
      "x-dapperdox-resource-id": "taskslistincome-request-body",
      "x-schema": {
       "$ref": "#/definitions/TaskListBody"
      },
      "description": "List request parameters serialized as JSON, similar to the `POST` request variant",
      "name": "query",
      "in": "query",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/TasksListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   },
   "post": {
    "description": "Getting a list of incoming tasks",
    "produces": [
     "application/json"
    ],
    "tags": [
     "tasks"
    ],
    "operationId": "tasksListIncome",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "$ref": "#/definitions/TaskListBody"
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/TasksListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/tasks/list/of/{id}": {
   "get": {
    "description": "Getting a list of user tasks",
    "produces": [
     "application/json"
    ],
    "tags": [
     "tasks"
    ],
    "operationId": "tasksListOfUserGET",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "User ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "type": "string",
      "x-dapperdox-resource-id": "taskslistofuser-request-body",
      "x-schema": {
       "$ref": "#/definitions/TaskListBody"
      },
      "description": "List request parameters serialized as JSON, similar to the `POST` request variant",
      "name": "query",
      "in": "query",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/TasksListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "Insufficient permissions to view the user's tasks"
     }
    }
   },
   "post": {
    "description": "Getting a list of user tasks",
    "produces": [
     "application/json"
    ],
    "tags": [
     "tasks"
    ],
    "operationId": "tasksListOfUser",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "User ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "$ref": "#/definitions/TaskListBody"
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/TasksListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "Insufficient permissions to view the user's tasks"
     }
    }
   }
  },
  "/tasks/list/outcome": {
   "get": {
    "description": "Getting a list of outgoing tasks",
    "produces": [
     "application/json"
    ],
    "tags": [
     "tasks"
    ],
    "operationId": "tasksListOutcomeGET",
    "parameters": [
     {
      "type": "string",
      "x-dapperdox-resource-id": "taskslistoutcome-request-body",
      "x-schema": {
       "$ref": "#/definitions/TaskListBody"
      },
      "description": "List request parameters serialized as JSON, similar to the `POST` request variant",
      "name": "query",
      "in": "query",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/TasksListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   },
   "post": {
    "description": "Getting a list of outgoing tasks",
    "produces": [
     "application/json"
    ],
    "tags": [
     "tasks"
    ],
    "operationId": "tasksListOutcome",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "$ref": "#/definitions/TaskListBody"
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/TasksListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/tasks/list/participate": {
   "get": {
    "produces": [
     "application/json"
    ],
    "tags": [
     "tasks"
    ],
    "summary": "Getting a list of tasks in the \"Assisting\" section",
    "operationId": "tasksListParticipateGET",
    "parameters": [
     {
      "type": "string",
      "x-dapperdox-resource-id": "taskslistparticipate-request-body",
      "x-schema": {
       "$ref": "#/definitions/TaskListBody"
      },
      "description": "List request parameters serialized as JSON, similar to the `POST` request variant",
      "name": "query",
      "in": "query",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/TasksListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   },
   "post": {
    "produces": [
     "application/json"
    ],
    "tags": [
     "tasks"
    ],
    "summary": "Getting a list of tasks in \"Assisting\" section",
    "operationId": "tasksListParticipate",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "$ref": "#/definitions/TaskListBody"
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/TasksListResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/tasks/{id}/dates": {
   "post": {
    "description": "Changing task dates",
    "produces": [
     "application/json"
    ],
    "tags": [
     "tasks"
    ],
    "operationId": "tasksChangeDates",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Task ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "required": [
        "startDate",
        "dueDate"
       ],
       "properties": {
        "comment": {
         "description": "Comment",
         "type": "string"
        },
        "dueDate": {
         "description": "Due date",
         "type": "string",
         "format": "date-time"
        },
        "startDate": {
         "description": "Start Date",
         "type": "string",
         "format": "date-time"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/TasksChangeDatesResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "Insufficient permissions to edit task dates"
     },
     "404": {
      "description": "Task not found"
     }
    }
   }
  },
  "/tasks/{id}/exits": {
   "get": {
    "description": "Getting a list of outputs for task",
    "produces": [
     "application/json"
    ],
    "tags": [
     "tasks"
    ],
    "operationId": "tasksExits",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Task ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/TasksExitsResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  },
  "/tasks/{id}/get": {
   "get": {
    "description": "Getting task by ID",
    "produces": [
     "application/json"
    ],
    "tags": [
     "tasks"
    ],
    "operationId": "tasksGet",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Task ID",
      "name": "id",
      "in": "path",
      "required": true
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/TasksGetResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "Insufficient permissions to view the task"
     },
     "404": {
      "description": "Task not found"
     }
    }
   }
  },
  "/tasks/{id}/percent": {
   "post": {
    "description": "Changing task completion percentage",
    "produces": [
     "application/json"
    ],
    "tags": [
     "tasks"
    ],
    "operationId": "tasksChangePercent",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Task ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "required": [
        "instanceId",
        "percent"
       ],
       "properties": {
        "comment": {
         "description": "Comment",
         "type": "string"
        },
        "instanceId": {
         "description": "Process instance ID",
         "type": "string",
         "format": "uuid"
        },
        "percent": {
         "description": "Completion percentage (minimum 0, maximum 100)",
         "type": "number",
         "format": "double"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/TasksChangePercentResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "Insufficient permissions to change the task completion percentage"
     },
     "404": {
      "description": "Task not found"
     }
    }
   }
  },
  "/tasks/{id}/reassign": {
   "post": {
    "description": "Task reassignment",
    "produces": [
     "application/json"
    ],
    "tags": [
     "tasks"
    ],
    "operationId": "tasksReassign",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Task ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "required": [
        "instanceId",
        "userId"
       ],
       "properties": {
        "comment": {
         "description": "Comment",
         "type": "string"
        },
        "instanceId": {
         "description": "Process instance ID",
         "type": "string",
         "format": "uuid"
        },
        "userId": {
         "description": "User ID",
         "type": "string",
         "format": "uuid"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/TasksReassignResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "Insufficient permissions to reassign the task"
     },
     "404": {
      "description": "Task not found"
     }
    }
   }
  },
  "/tasks/{id}/submit": {
   "put": {
    "description": "Task execution",
    "produces": [
     "application/json"
    ],
    "tags": [
     "tasks"
    ],
    "operationId": "tasksSubmit",
    "parameters": [
     {
      "type": "string",
      "format": "uuid",
      "description": "Task ID",
      "name": "id",
      "in": "path",
      "required": true
     },
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "required": [
        "instanceId",
        "exitId"
       ],
       "properties": {
        "context": {
         "$ref": "#/definitions/context"
        },
        "exitId": {
         "description": "Task exit ID",
         "type": "string",
         "format": "uuid"
        },
        "instanceId": {
         "description": "Process instance ID",
         "type": "string",
         "format": "uuid"
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/TasksSubmitResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     },
     "403": {
      "description": "Insufficient permissions to complete the task"
     },
     "404": {
      "description": "Task not found"
     }
    }
   }
  },
  "/user/list": {
   "get": {
    "description": "Get a list of users based on the filtering conditions.\nThe conditions are passed in the `query` parameter as an object serialized as JSON.",
    "produces": [
     "application/json"
    ],
    "tags": [
     "user"
    ],
    "summary": "Get a list of users",
    "operationId": "userListGET",
    "parameters": [
     {
      "type": "string",
      "x-dapperdox-resource-id": "userlistpost-request-body",
      "description": "Filter parameters",
      "name": "query",
      "in": "query"
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ListUserResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   },
   "post": {
    "description": "Get a list of users",
    "produces": [
     "application/json"
    ],
    "tags": [
     "user"
    ],
    "operationId": "userListPOST",
    "parameters": [
     {
      "name": "Body",
      "in": "body",
      "schema": {
       "type": "object",
       "properties": {
        "filter": {
         "description": "Filter",
         "type": "object",
         "additionalProperties": {
          "type": "object"
         }
        },
        "from": {
         "description": "Initial index of returned items (offset)",
         "type": "integer",
         "format": "int64"
        },
        "ids": {
         "description": "Filter by ID",
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "size": {
         "description": "Number of returned items",
         "type": "integer",
         "format": "int64"
        },
        "sortExpressions": {
         "description": "Sorting rules",
         "type": "array",
         "items": {
          "$ref": "#/definitions/SortExpression"
         }
        }
       }
      }
     }
    ],
    "responses": {
     "200": {
      "$ref": "#/responses/ListUserResponse"
     },
     "400": {
      "description": "Invalid request parameters"
     }
    }
   }
  }
 },
 "definitions": {
  "AppListBody": {
   "type": "object",
   "properties": {
    "active": {
     "description": "Show active only (not deleted)",
     "type": "boolean"
    },
    "fields": {
     "$ref": "#/definitions/FieldsSelector"
    },
    "filter": {
     "description": "Filtering",
     "type": "object",
     "additionalProperties": {
      "type": "object"
     },
     "x-dapperdox-link-guide": "Filter"
    },
    "from": {
     "description": "Return starting from item",
     "type": "integer",
     "format": "int64"
    },
    "ids": {
     "description": "ID filtering",
     "type": "array",
     "items": {
      "type": "string",
      "format": "uuid"
     }
    },
    "size": {
     "description": "Number of returned items (10000 max)",
     "type": "integer",
     "format": "int64"
    },
    "sortExpressions": {
     "description": "Sorting rules",
     "type": "array",
     "items": {
      "$ref": "#/definitions/SortExpression"
     }
    },
    "statusCode": {
     "description": "Show items with certain statuses",
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "statusGroupId": {
     "description": "Show items of a particular status group",
     "type": "string",
     "format": "uuid",
     "example": "a35cd8de-0c73-4f6a-8218-90193d02e2e0"
    },
    "withoutCount": {
     "description": "Do not count the total number of items",
     "type": "boolean"
    }
   }
  },
  "ApplicationEntity": {
   "description": "Complete app metadata description",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Created on",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "Created by",
     "type": "string",
     "format": "uuid"
    },
    "__deletedAt": {
     "description": "Deleted on",
     "type": "string",
     "format": "date-time"
    },
    "__updatedAt": {
     "description": "Edited on",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "Edited by",
     "type": "string",
     "format": "uuid"
    },
    "code": {
     "description": "Code",
     "type": "string"
    },
    "elementName": {
     "description": "Item Name",
     "type": "string"
    },
    "fields": {
     "description": "Fields",
     "type": "array",
     "items": {
      "$ref": "#/definitions/ApplicationEntityField"
     }
    },
    "forms": {
     "$ref": "#/definitions/ApplicationEntityForms"
    },
    "name": {
     "description": "Name",
     "type": "string"
    },
    "namespace": {
     "$ref": "#/definitions/Namespace"
    },
    "params": {
     "$ref": "#/definitions/ApplicationEntityParams"
    },
    "permissions": {
     "$ref": "#/definitions/ApplicationEntityPermissionSettings"
    },
    "type": {
     "description": "Type",
     "type": "string"
    }
   }
  },
  "ApplicationEntityCreateFormForm": {
   "description": "Create form",
   "type": "object",
   "properties": {
    "fields": {
     "description": "Fields",
     "type": "array",
     "items": {
      "$ref": "#/definitions/ApplicationEntityFormField"
     }
    }
   }
  },
  "ApplicationEntityDetailForm": {
   "description": "Side menu form",
   "type": "object",
   "properties": {
    "fields": {
     "description": "Fields",
     "type": "array",
     "items": {
      "$ref": "#/definitions/ApplicationEntityFormField"
     }
    }
   }
  },
  "ApplicationEntityEditForm": {
   "description": "Edit form",
   "type": "object",
   "properties": {
    "fields": {
     "description": "Fields",
     "type": "array",
     "items": {
      "$ref": "#/definitions/ApplicationEntityFormField"
     }
    }
   }
  },
  "ApplicationEntityField": {
   "description": "App field",
   "type": "object",
   "properties": {
    "array": {
     "description": "Array",
     "type": "boolean"
    },
    "calcByFormula": {
     "description": "Set a formula for the field",
     "type": "boolean"
    },
    "code": {
     "description": "Code",
     "type": "string"
    },
    "data": {
     "description": "Additional field attributes",
     "type": "object",
     "x-dapperdox-link-guide": "FieldData"
    },
    "defaultValue": {
     "description": "Default value",
     "type": "object"
    },
    "deleted": {
     "description": "Deletion flag",
     "type": "boolean"
    },
    "formula": {
     "description": "Formula",
     "type": "string"
    },
    "indexed": {
     "description": "Search and Sort",
     "type": "boolean"
    },
    "required": {
     "description": "Required",
     "type": "boolean"
    },
    "searchable": {
     "description": "Full-text search",
     "type": "boolean"
    },
    "single": {
     "description": "Attribute that shows if the field stores a single value (if the attriute is`true` then it is a single value, if the attibute is `false` then it is a multiple value)",
     "type": "boolean"
    },
    "type": {
     "description": "Type",
     "type": "string",
     "enum": [
      "String",
      "Float",
      "Integer",
      "Boolean",
      "DateTime",
      "Money",
      "File",
      "Phone",
      "Email",
      "Image",
      "Status",
      "JSON",
      "SysUser",
      "FullName",
      "Link",
      "SysCollection",
      "RefItem",
      "Enum",
      "Table",
      "Account",
      "Role",
      "Report",
      "UUID",
      "Event",
      "CollectionType",
      "SysDirectory"
     ]
    },
    "view": {
     "$ref": "#/definitions/ApplicationEntityFieldView"
    }
   }
  },
  "ApplicationEntityFieldView": {
   "description": "Short description of data to be displayed in the app field",
   "type": "object",
   "properties": {
    "data": {
     "description": "Display parameters specific for a particular type of field",
     "type": "object"
    },
    "name": {
     "type": "string"
    }
   }
  },
  "ApplicationEntityFormField": {
   "description": "Form field",
   "type": "object",
   "properties": {
    "code": {
     "description": "Code",
     "type": "string"
    },
    "display": {
     "description": "Display Name",
     "type": "string"
    },
    "hideEmpty": {
     "description": "Hide if the field is empty",
     "type": "boolean"
    },
    "readonly": {
     "description": "Read only",
     "type": "boolean"
    },
    "required": {
     "description": "Required",
     "type": "boolean"
    },
    "tooltip": {
     "description": "Tooltip",
     "type": "string"
    }
   }
  },
  "ApplicationEntityForms": {
   "description": "App forms",
   "type": "object",
   "properties": {
    "create": {
     "$ref": "#/definitions/ApplicationEntityCreateFormForm"
    },
    "detail": {
     "$ref": "#/definitions/ApplicationEntityDetailForm"
    },
    "edit": {
     "$ref": "#/definitions/ApplicationEntityEditForm"
    },
    "massEdit": {
     "$ref": "#/definitions/ApplicationEntityMassEditForm"
    },
    "tile": {
     "$ref": "#/definitions/ApplicationEntityTileForm"
    },
    "view": {
     "$ref": "#/definitions/ApplicationEntityViewForm"
    }
   }
  },
  "ApplicationEntityMassEditForm": {
   "description": "Bulk edit form",
   "type": "object",
   "properties": {
    "fields": {
     "description": "Fields",
     "type": "array",
     "items": {
      "$ref": "#/definitions/ApplicationEntityFormField"
     }
    }
   }
  },
  "ApplicationEntityParams": {
   "description": "App parameters",
   "type": "object",
   "properties": {
    "fields": {
     "type": "array",
     "items": {
      "$ref": "#/definitions/ApplicationEntityField"
     }
    },
    "values": {
     "type": "object",
     "additionalProperties": {
      "type": "object"
     }
    }
   }
  },
  "ApplicationEntityPermissionOrgunit": {
   "description": "User, group, or org chart item",
   "type": "object",
   "properties": {
    "id": {
     "type": "string",
     "format": "uuid"
    },
    "type": {
     "type": "string",
     "enum": [
      "user",
      "group",
      "orgstruct",
      "role"
     ]
    }
   }
  },
  "ApplicationEntityPermissionSettings": {
   "description": "Access settings",
   "type": "object",
   "properties": {
    "accessType": {
     "type": "string",
     "enum": [
      "none",
      "collection",
      "row",
      "directory"
     ]
    },
    "permissions": {
     "$ref": "#/definitions/ApplicationEntityPermissions"
    }
   }
  },
  "ApplicationEntityPermissions": {
   "description": "List of access permissions",
   "type": "object",
   "properties": {
    "inheritParent": {
     "type": "boolean"
    },
    "values": {
     "type": "array",
     "items": {
      "$ref": "#/definitions/ApplicationEntityPermissionsValue"
     }
    }
   }
  },
  "ApplicationEntityPermissionsValue": {
   "description": "Access permissions",
   "type": "object",
   "properties": {
    "group": {
     "$ref": "#/definitions/ApplicationEntityPermissionOrgunit"
    },
    "inherited": {
     "type": "boolean"
    },
    "orgunitField": {
     "type": "string"
    },
    "types": {
     "type": "array",
     "enum": [
      "read",
      "create",
      "update",
      "delete",
      "assign",
      "bpmanage",
      "export",
      "import"
     ],
     "items": {
      "type": "string"
     }
    }
   }
  },
  "ApplicationEntityTileForm": {
   "description": "Tile form",
   "type": "object",
   "properties": {
    "fields": {
     "description": "Fields",
     "type": "array",
     "items": {
      "$ref": "#/definitions/ApplicationEntityFormField"
     }
    }
   }
  },
  "ApplicationEntityViewForm": {
   "description": "View form",
   "type": "object",
   "properties": {
    "fields": {
     "description": "Fields",
     "type": "array",
     "items": {
      "$ref": "#/definitions/ApplicationEntityFormField"
     }
    }
   }
  },
  "BaseApplicationEntity": {
   "description": "Base app metadata description",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Created on",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "Created by",
     "type": "string",
     "format": "uuid"
    },
    "__deletedAt": {
     "description": "Deleted on",
     "type": "string",
     "format": "date-time"
    },
    "__updatedAt": {
     "description": "Edited on",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "Edited by",
     "type": "string",
     "format": "uuid"
    },
    "code": {
     "description": "Code",
     "type": "string"
    },
    "elementName": {
     "description": "Item Name",
     "type": "string"
    },
    "name": {
     "description": "Name",
     "type": "string"
    },
    "namespace": {
     "$ref": "#/definitions/Namespace"
    },
    "type": {
     "description": "Type",
     "type": "string"
    }
   }
  },
  "BaseDocTemplateEntity": {
   "description": "Simplified metadata description of a document template",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Date the document template was created/set",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "ID of the user who created the document template",
     "type": "string",
     "format": "uuid"
    },
    "__deletedAt": {
     "description": "Date the document template was deleted",
     "type": "string",
     "format": "date-time"
    },
    "__id": {
     "description": "ID of the document template",
     "type": "string",
     "format": "uuid"
    },
    "__name": {
     "description": "Document template name",
     "type": "string"
    },
    "__updatedAt": {
     "description": "Date the document template was edited/updated",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "ID of the user who changed or updated the document template",
     "type": "string",
     "format": "uuid"
    },
    "extension": {
     "description": "Document template file format",
     "type": "string"
    },
    "fileId": {
     "description": "File ID",
     "type": "string",
     "format": "uuid"
    }
   }
  },
  "BaseGroup": {
   "description": "Simplified metadata description of a group",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Date the item was created",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "Unique ID of the user who created the current item",
     "type": "string",
     "format": "uuid"
    },
    "__deletedAt": {
     "description": "Date the item was deleted",
     "type": "string",
     "format": "date-time"
    },
    "__id": {
     "description": "Unique ID",
     "type": "string",
     "format": "uuid"
    },
    "__name": {
     "description": "Name",
     "type": "string"
    },
    "__updatedAt": {
     "description": "Date the data was last changed",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "Unique ID of the user who edited the current item",
     "type": "string",
     "format": "uuid"
    },
    "isRole": {
     "description": "Role flag",
     "type": "boolean"
    }
   }
  },
  "BaseModule": {
   "description": "Simplified metadata description of a module",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Date the module was created/installed",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "ID of the user who created or installed the module",
     "type": "string",
     "format": "uuid"
    },
    "__deletedAt": {
     "description": "Date the module was deleted",
     "type": "string",
     "format": "date-time"
    },
    "__id": {
     "description": "Module ID",
     "type": "string",
     "format": "uuid"
    },
    "__updatedAt": {
     "description": "Date the module was edited/updated",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "ID of the user who edited or updated the module",
     "type": "string",
     "format": "uuid"
    },
    "code": {
     "description": "Module code",
     "type": "string"
    },
    "name": {
     "description": "Module name",
     "type": "string"
    },
    "namespace": {
     "$ref": "#/definitions/Namespace"
    }
   }
  },
  "BaseNamespaceEntity": {
   "description": "Base workspace metadata description",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Created on",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "Created by",
     "type": "string",
     "format": "uuid"
    },
    "__deletedAt": {
     "description": "Removed on",
     "type": "string",
     "format": "date-time"
    },
    "__updatedAt": {
     "description": "Edited on",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "Edited by",
     "type": "string",
     "format": "uuid"
    },
    "code": {
     "description": "Code",
     "type": "string"
    },
    "hidden": {
     "description": "Visibility flag",
     "type": "boolean"
    },
    "icon": {
     "description": "Icon",
     "type": "string"
    },
    "language": {
     "description": "Original language of the workspace",
     "type": "string"
    },
    "name": {
     "description": "Name",
     "type": "string"
    },
    "namespace": {
     "$ref": "#/definitions/Namespace"
    },
    "sort": {
     "description": "Sorting",
     "type": "integer",
     "format": "int64"
    }
   }
  },
  "BaseNode": {
   "description": "Simplified metadata description of an organizational chart",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Date the item was created",
     "type": "string",
     "format": "date-time"
    },
    "__deletedAt": {
     "description": "Date the item was deleted",
     "type": "string",
     "format": "date-time"
    },
    "__id": {
     "description": "Unique ID",
     "type": "string",
     "format": "uuid"
    },
    "__updatedAt": {
     "description": "Date the data was last changed",
     "type": "string",
     "format": "date-time"
    },
    "name": {
     "description": "Name",
     "type": "string"
    },
    "parent": {
     "description": "Unique ID of the parent item",
     "type": "string",
     "format": "uuid"
    },
    "type": {
     "description": "Type of organizational unit",
     "type": "string"
    }
   }
  },
  "BasePage": {
   "description": "Simplified metadata description of a page",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Date created",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "Created by",
     "type": "string",
     "format": "uuid"
    },
    "__deletedAt": {
     "description": "Deleted",
     "type": "string",
     "format": "date-time"
    },
    "__id": {
     "description": "Identifier",
     "type": "string",
     "format": "uuid"
    },
    "__updatedAt": {
     "description": "Editing date",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "Edited by",
     "type": "string",
     "format": "uuid"
    },
    "code": {
     "description": "Code",
     "type": "string"
    },
    "hidden": {
     "description": "Visibility flag",
     "type": "boolean"
    },
    "name": {
     "description": "Name",
     "type": "string"
    },
    "namespace": {
     "$ref": "#/definitions/Namespace"
    }
   }
  },
  "BaseSolutionEntity": {
   "description": "Base solution metadata description",
   "type": "object",
   "properties": {
    "code": {
     "type": "string"
    },
    "name": {
     "type": "string"
    }
   }
  },
  "BaseTemplate": {
   "description": "Base metadata description of a process template",
   "type": "object",
   "properties": {
    "__createdAt": {
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "type": "string",
     "format": "uuid"
    },
    "__deletedAt": {
     "type": "string",
     "format": "date-time"
    },
    "__name": {
     "type": "string"
    },
    "__updatedAt": {
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "type": "string",
     "format": "uuid"
    },
    "code": {
     "type": "string"
    },
    "namespace": {
     "$ref": "#/definitions/Namespace"
    },
    "version": {
     "type": "integer",
     "format": "uint64"
    }
   }
  },
  "BaseUser": {
   "description": "Simplified metadata description of a user",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Date the item was created",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "Unique ID of the user who created the current item",
     "type": "string",
     "format": "uuid"
    },
    "__deletedAt": {
     "description": "Date the item was deleted",
     "type": "string",
     "format": "date-time"
    },
    "__id": {
     "description": "Unique ID",
     "type": "string",
     "format": "uuid"
    },
    "__name": {
     "description": "Name",
     "type": "string"
    },
    "__updatedAt": {
     "description": "Date the data was last changed",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "Unique ID of the user who edited the current item",
     "type": "string",
     "format": "uuid"
    },
    "email": {
     "description": "Email",
     "type": "string"
    },
    "fullname": {
     "$ref": "#/definitions/FullName"
    },
    "login": {
     "description": "Login",
     "type": "string"
    }
   }
  },
  "ContextField": {
   "description": "Process template field",
   "type": "object",
   "properties": {
    "array": {
     "description": "Array",
     "type": "boolean"
    },
    "calcByFormula": {
     "description": "Set a formula for the field",
     "type": "boolean"
    },
    "code": {
     "description": "Code",
     "type": "string"
    },
    "data": {
     "description": "Additional field attributes",
     "type": "object",
     "x-dapperdox-link-guide": "FieldData"
    },
    "defaultValue": {
     "description": "Default value",
     "type": "object"
    },
    "deleted": {
     "description": "Deletion flag",
     "type": "boolean"
    },
    "formula": {
     "description": "Formula",
     "type": "string"
    },
    "indexed": {
     "description": "Search and Sort",
     "type": "boolean"
    },
    "required": {
     "description": "Required",
     "type": "boolean"
    },
    "searchable": {
     "description": "Full-text search",
     "type": "boolean"
    },
    "single": {
     "description": "Attribute that shows if the field stores a single value (if the attriute is`true` then it is a single value, if the attibute is `false` then it is a multiple value)",
     "type": "boolean"
    },
    "type": {
     "description": "Type",
     "type": "string",
     "enum": [
      "String",
      "Float",
      "Integer",
      "Boolean",
      "DateTime",
      "Duration",
      "Category",
      "Tag",
      "Money",
      "File",
      "Phone",
      "Email",
      "Image",
      "Status",
      "Version",
      "JSON",
      "SysUser",
      "FullName",
      "Link",
      "SysOSNode",
      "SysCollection",
      "RefItem",
      "Enum",
      "Table",
      "Account",
      "Role"
     ]
    },
    "view": {
     "$ref": "#/definitions/ContextFieldView"
    }
   }
  },
  "ContextFieldView": {
   "description": "Short data description for field display",
   "type": "object",
   "properties": {
    "data": {
     "description": "Additional attributes of the data summary",
     "type": "object",
     "x-dapperdox-link-guide": "FieldViewData"
    },
    "name": {
     "description": "Display name of the field",
     "type": "string"
    }
   }
  },
  "ContractsListBody": {
   "type": "object",
   "properties": {
    "active": {
     "description": "Show active only (not deleted)",
     "type": "boolean"
    },
    "filter": {
     "description": "Filtering",
     "type": "object",
     "additionalProperties": {
      "type": "object"
     }
    },
    "from": {
     "description": "Return starting from item",
     "type": "integer",
     "format": "int64"
    },
    "ids": {
     "description": "ID filtering",
     "type": "array",
     "items": {
      "type": "string",
      "format": "uuid"
     }
    },
    "size": {
     "description": "Number of returned items (10000 max)",
     "type": "integer",
     "format": "int64"
    },
    "sortExpressions": {
     "description": "Sorting rules",
     "type": "array",
     "items": {
      "$ref": "#/definitions/SortExpression"
     }
    }
   }
  },
  "CreateNomenclatureRegistrationSettingsRq": {
   "description": "Registration settings for folder creation",
   "type": "object",
   "properties": {
    "editAfterRegistration": {
     "description": "Enable changing the number after registration",
     "type": "boolean"
    },
    "minLength": {
     "description": "Minimum length of the number, leading zeros added",
     "type": "integer",
     "format": "uint64"
    },
    "reserveEnabled": {
     "description": "Enable number reservation",
     "type": "boolean"
    },
    "resetInPeriod": {
     "description": "Enable periodic reset of numbers",
     "type": "boolean"
    },
    "resetSettings": {
     "$ref": "#/definitions/CreateNomenclatureResetSettingsRq"
    },
    "template": {
     "description": "Number template, put `{$__index}` by default",
     "type": "string"
    },
    "templateEnabled": {
     "description": "Enable automatic mode",
     "type": "boolean"
    },
    "through": {
     "description": "Enable continuous numbering",
     "type": "boolean"
    },
    "throughSerialId": {
     "description": "Continuous numbering ID",
     "type": "string",
     "format": "uuid"
    }
   }
  },
  "CreateNomenclatureResetSettingsRq": {
   "description": "Numbering reset settings for folder creation",
   "type": "object",
   "properties": {
    "nextResetAt": {
     "description": "Date of the nearest numbering reset",
     "type": "string",
     "format": "date-time"
    },
    "resetPeriod": {
     "description": "Unit for numbering reset\nPossible values: `year`, `month`, `week`, `day`",
     "type": "string"
    },
    "resetPeriodCount": {
     "description": "Number of units in the numbering reset period. For example, numbering can be reset every 3 weeks (`3 week`)",
     "type": "integer",
     "format": "int64"
    }
   }
  },
  "DateRange": {
   "description": "Scope of dates for filtering",
   "type": "object",
   "properties": {
    "max": {
     "description": "End date (inclusive)",
     "type": "string",
     "format": "date-time"
    },
    "min": {
     "description": "Start date (inclusive)",
     "type": "string",
     "format": "date-time"
    }
   }
  },
  "Directory": {
   "description": "Document registration directory",
   "type": "object",
   "properties": {
    "createdAt": {
     "description": "When the document categorization directory was created",
     "type": "string",
     "format": "date-time"
    },
    "createdBy": {
     "description": "Document categorization directory created by",
     "type": "string",
     "format": "uuid"
    },
    "deletedAt": {
     "description": "In case document registration directory is deleted, if absent - active",
     "type": "string",
     "format": "date-time"
    },
    "directoryId": {
     "description": "Directory where the document categorization directory is located",
     "type": "string",
     "format": "uuid"
    },
    "id": {
     "description": "Identifier",
     "type": "string",
     "format": "uuid"
    },
    "name": {
     "description": "Name",
     "type": "string"
    },
    "type": {
     "description": "Directory type",
     "type": "string",
     "enum": [
      "place",
      "section"
     ]
    },
    "updatedAt": {
     "description": "When the document categorization directory was changed",
     "type": "string",
     "format": "date-time"
    },
    "updatedBy": {
     "description": "Document categorization directory changed by",
     "type": "string",
     "format": "uuid"
    }
   }
  },
  "DocTemplateEntity": {
   "description": "Full metadata description of a document template",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Date the document template was created/set",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "ID of the user who created the document template",
     "type": "string",
     "format": "uuid"
    },
    "__deletedAt": {
     "description": "Date the document template was deleted",
     "type": "string",
     "format": "date-time"
    },
    "__id": {
     "description": "ID of the document template",
     "type": "string",
     "format": "uuid"
    },
    "__name": {
     "description": "Document template name",
     "type": "string"
    },
    "__updatedAt": {
     "description": "Date the document template was edited/updated",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "ID of the user who changed or updated the document template",
     "type": "string",
     "format": "uuid"
    },
    "extension": {
     "description": "Document template file format",
     "type": "string"
    },
    "fileId": {
     "description": "File ID",
     "type": "string",
     "format": "uuid"
    },
    "namespace": {
     "description": "Document template workspace",
     "type": "string"
    },
    "variables": {
     "description": "Document template fields",
     "type": "array",
     "items": {
      "$ref": "#/definitions/DocTemplateEntityField"
     }
    }
   }
  },
  "DocTemplateEntityField": {
   "description": "Metadata description of a variable (field) of a document template",
   "type": "object",
   "properties": {
    "code": {
     "description": "Field code",
     "type": "string"
    },
    "type": {
     "description": "Field type",
     "type": "string"
    }
   }
  },
  "DocflowList": {
   "description": "Approval sheet or list of informed users",
   "type": "object",
   "properties": {
    "id": {
     "description": "Identifier",
     "type": "string",
     "format": "uuid"
    },
    "respondents": {
     "description": "Respondent",
     "type": "array",
     "items": {
      "$ref": "#/definitions/Respondent"
     }
    },
    "status": {
     "description": "Sheet or list status",
     "type": "string",
     "enum": [
      "in_progress — в процессе;",
      "approved — согласовано(только для согласования);",
      "rejected — отказано(только для согласования);",
      "done — ознакомлен(только для ознакомления);",
      "terminated - отменен."
     ]
    },
    "type": {
     "description": "Type",
     "type": "string",
     "enum": [
      "approval — согласование;",
      "inform — ознакомление."
     ]
    }
   }
  },
  "FieldsSelector": {
   "description": "Field load rules",
   "type": "object"
  },
  "FileResponse": {
   "description": "File model in response to request by ID",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Date created",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "Creator ID",
     "type": "string",
     "format": "uuid"
    },
    "__id": {
     "description": "Identifier",
     "type": "string",
     "format": "uuid"
    },
    "__name": {
     "description": "File name in the system",
     "type": "string"
    },
    "__updatedAt": {
     "description": "Last edited",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "Editor ID",
     "type": "string",
     "format": "uuid"
    },
    "hash": {
     "description": "File hash",
     "type": "string",
     "format": "uuid"
    },
    "version": {
     "description": "File version",
     "type": "integer",
     "format": "int32"
    }
   }
  },
  "FilterRq": {
   "description": "Filter parsing structures",
   "type": "object",
   "properties": {
    "__changedBy": {
     "description": "ID of the user who edited the file",
     "type": "string",
     "format": "uuid"
    },
    "__createdAt": {
     "$ref": "#/definitions/DateRange"
    },
    "__createdBy": {
     "description": "ID of the user who created the file",
     "type": "string",
     "format": "uuid"
    },
    "__name": {
     "description": "File name (partial match search)",
     "type": "string"
    },
    "__updatedAt": {
     "$ref": "#/definitions/DateRange"
    },
    "directory": {
     "description": "Directory ID",
     "type": "string",
     "format": "uuid"
    }
   }
  },
  "FormField": {
   "description": "Form field",
   "type": "object",
   "properties": {
    "code": {
     "type": "string"
    },
    "display": {
     "type": "string"
    },
    "name": {
     "type": "string"
    },
    "readonly": {
     "type": "boolean"
    },
    "required": {
     "type": "boolean"
    },
    "tooltip": {
     "type": "string"
    }
   }
  },
  "FullName": {
   "description": "Information about the full name",
   "type": "object",
   "properties": {
    "firstname": {
     "description": "Name",
     "type": "string"
    },
    "lastname": {
     "description": "Last name",
     "type": "string"
    },
    "middlename": {
     "description": "Middle Name",
     "type": "string"
    }
   }
  },
  "Group": {
   "description": "Full metadata description of a group",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Date the item was created",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "Unique ID of the user who created the current item",
     "type": "string",
     "format": "uuid"
    },
    "__deletedAt": {
     "description": "Date the item was deleted",
     "type": "string",
     "format": "date-time"
    },
    "__id": {
     "description": "Unique ID",
     "type": "string",
     "format": "uuid"
    },
    "__name": {
     "description": "Name",
     "type": "string"
    },
    "__updatedAt": {
     "description": "Date the data was last changed",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "Unique ID of the user who edited the current item",
     "type": "string",
     "format": "uuid"
    },
    "description": {
     "description": "Description",
     "type": "string"
    },
    "isDefault": {
     "description": "Default group",
     "type": "boolean"
    },
    "isRole": {
     "description": "Role flag",
     "type": "boolean"
    }
   }
  },
  "Item": {
   "description": "Process instance",
   "type": "object",
   "properties": {
    "id": {
     "type": "string",
     "format": "uuid"
    },
    "name": {
     "type": "string"
    },
    "settings": {
     "$ref": "#/definitions/ItemSettings"
    },
    "type": {
     "type": "string"
    }
   }
  },
  "ItemSettings": {
   "description": "Process instance settings",
   "type": "object",
   "properties": {
    "formFields": {
     "type": "array",
     "items": {
      "$ref": "#/definitions/FormField"
     }
    }
   }
  },
  "Module": {
   "description": "Full metadata description of a module",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Date the module was created/installed",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "ID of the user who created or installed the module",
     "type": "string",
     "format": "uuid"
    },
    "__deletedAt": {
     "description": "Date the module was deleted",
     "type": "string",
     "format": "date-time"
    },
    "__id": {
     "description": "Module ID",
     "type": "string",
     "format": "uuid"
    },
    "__updatedAt": {
     "description": "Date the module was edited/updated",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "ID of the user who edited or updated the module",
     "type": "string",
     "format": "uuid"
    },
    "author": {
     "description": "Module’s author",
     "type": "string"
    },
    "code": {
     "description": "Module code",
     "type": "string"
    },
    "description": {
     "description": "Expanded description of a module",
     "type": "string"
    },
    "enabled": {
     "description": "Whether the module is active (enabled/disabled)",
     "type": "boolean"
    },
    "help": {
     "description": "Help link",
     "type": "string"
    },
    "language": {
     "description": "Module language",
     "type": "string"
    },
    "name": {
     "description": "Module name",
     "type": "string"
    },
    "namespace": {
     "$ref": "#/definitions/Namespace"
    },
    "summary": {
     "description": "Brief description of the module",
     "type": "string"
    },
    "website": {
     "description": "Link to the module developer’s website",
     "type": "string"
    }
   }
  },
  "Namespace": {
   "type": "string",
   "title": "Namespace."
  },
  "NamespaceEntity": {
   "description": "Full metadata description of the workspace",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Created on",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "Created by",
     "type": "string",
     "format": "uuid"
    },
    "__deletedAt": {
     "description": "Date of removal",
     "type": "string",
     "format": "date-time"
    },
    "__updatedAt": {
     "description": "Edited on",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "Edited by",
     "type": "string",
     "format": "uuid"
    },
    "code": {
     "description": "Code",
     "type": "string"
    },
    "hidden": {
     "description": "Visibility flag",
     "type": "boolean"
    },
    "icon": {
     "description": "Icon",
     "type": "string"
    },
    "language": {
     "description": "Original language of the workspace",
     "type": "string"
    },
    "name": {
     "description": "Name",
     "type": "string"
    },
    "namespace": {
     "$ref": "#/definitions/Namespace"
    },
    "params": {
     "$ref": "#/definitions/NamespaceEntityParams"
    },
    "permissions": {
     "$ref": "#/definitions/NamespaceEntityPermissions"
    },
    "sort": {
     "description": "Sorting",
     "type": "integer",
     "format": "int64"
    }
   }
  },
  "NamespaceEntityField": {
   "description": "Workspace field",
   "type": "object",
   "properties": {
    "array": {
     "description": "Array",
     "type": "boolean"
    },
    "calcByFormula": {
     "description": "Set a formula for the field",
     "type": "boolean"
    },
    "code": {
     "description": "Code",
     "type": "string"
    },
    "defaultValue": {
     "description": "Default value",
     "type": "object"
    },
    "deleted": {
     "description": "Deletion flag",
     "type": "boolean"
    },
    "formula": {
     "description": "Formula",
     "type": "string"
    },
    "indexed": {
     "description": "Search and Sort",
     "type": "boolean"
    },
    "required": {
     "description": "Required",
     "type": "boolean"
    },
    "searchable": {
     "description": "Full-text search",
     "type": "boolean"
    },
    "single": {
     "description": "Attribute that shows if the field stores a single value (if the attriute is`true` then it is a single value, if the attibute is `false` then it is a multiple value)",
     "type": "boolean"
    },
    "type": {
     "description": "Type",
     "type": "string"
    },
    "view": {
     "$ref": "#/definitions/NamespaceEntityFieldView"
    }
   }
  },
  "NamespaceEntityFieldView": {
   "description": "Short description of data to be displayed in the workspace field",
   "type": "object",
   "properties": {
    "data": {
     "description": "Display parameters specific for a particular type of field",
     "type": "object"
    },
    "name": {
     "type": "string"
    }
   }
  },
  "NamespaceEntityParams": {
   "description": "Workspace parameters",
   "type": "object",
   "properties": {
    "fields": {
     "type": "array",
     "items": {
      "$ref": "#/definitions/NamespaceEntityField"
     }
    },
    "values": {
     "type": "object",
     "additionalProperties": {
      "type": "object"
     }
    }
   }
  },
  "NamespaceEntityPermission": {
   "description": "Access permissions",
   "type": "object",
   "properties": {
    "group": {
     "$ref": "#/definitions/NamespaceEntityPermissionOrgunit"
    },
    "inherited": {
     "type": "boolean"
    },
    "types": {
     "type": "array",
     "enum": [
      "read",
      "create",
      "update",
      "delete",
      "assign",
      "bpmanage",
      "export",
      "import"
     ],
     "items": {
      "type": "string"
     }
    }
   }
  },
  "NamespaceEntityPermissionOrgunit": {
   "description": "User, group, or org chart item",
   "type": "object",
   "properties": {
    "id": {
     "type": "string",
     "format": "uuid"
    },
    "type": {
     "type": "string",
     "enum": [
      "user",
      "group",
      "orgstruct",
      "role"
     ]
    }
   }
  },
  "NamespaceEntityPermissions": {
   "description": "List of access permissions",
   "type": "object",
   "properties": {
    "inheritParent": {
     "type": "boolean"
    },
    "values": {
     "type": "array",
     "items": {
      "$ref": "#/definitions/NamespaceEntityPermission"
     }
    }
   }
  },
  "Nomenclature": {
   "description": "Folder",
   "type": "object",
   "properties": {
    "createdAt": {
     "description": "When the folder was created",
     "type": "string",
     "format": "date-time"
    },
    "createdBy": {
     "description": "Folder created by",
     "type": "string",
     "format": "uuid"
    },
    "deletedAt": {
     "description": "In case foldere is deleted, if absent - active",
     "type": "string",
     "format": "date-time"
    },
    "directoryId": {
     "description": "Directory storing the folder",
     "type": "string",
     "format": "uuid"
    },
    "docflow": {
     "description": "Folder documet flow (`input`, `output`, `internal`)",
     "type": "string"
    },
    "id": {
     "description": "Identifier",
     "type": "string",
     "format": "uuid"
    },
    "name": {
     "description": "Name",
     "type": "string"
    },
    "registrationSettings": {
     "$ref": "#/definitions/RegistrationSettings"
    },
    "serialId": {
     "description": "Counter ID",
     "type": "string",
     "format": "uuid"
    },
    "updatedAt": {
     "description": "When the folder was changed",
     "type": "string",
     "format": "date-time"
    },
    "updatedBy": {
     "description": "Folder changed by",
     "type": "string",
     "format": "uuid"
    }
   }
  },
  "Page": {
   "description": "Full metadata description of a page",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Date created",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "Created by",
     "type": "string",
     "format": "uuid"
    },
    "__deletedAt": {
     "description": "Deleted",
     "type": "string",
     "format": "date-time"
    },
    "__id": {
     "description": "Identifier",
     "type": "string",
     "format": "uuid"
    },
    "__updatedAt": {
     "description": "Editing date",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "Edited by",
     "type": "string",
     "format": "uuid"
    },
    "code": {
     "description": "Code",
     "type": "string"
    },
    "hidden": {
     "description": "Visibility flag",
     "type": "boolean"
    },
    "icon": {
     "description": "Icon",
     "type": "string"
    },
    "name": {
     "description": "Name",
     "type": "string"
    },
    "namespace": {
     "$ref": "#/definitions/Namespace"
    },
    "permissions": {
     "$ref": "#/definitions/NamespaceEntityPermissions"
    },
    "sort": {
     "description": "Sort",
     "type": "integer",
     "format": "int64"
    },
    "type": {
     "description": "Type",
     "type": "string",
     "enum": [
      "PAGE",
      "NAMESPACE",
      "LINK",
      "APPLICATION",
      "SEPARATOR",
      "PORTAL_PAGE",
      "CONTRACT",
      "REPORT"
     ]
    }
   }
  },
  "PersistFilesModel": {
   "description": "Data model for initializing a file",
   "type": "object",
   "required": [
    "name",
    "directory",
    "hash"
   ],
   "properties": {
    "comment": {
     "description": "Comment to the file",
     "type": "string"
    },
    "directory": {
     "description": "Directory where the file is placed",
     "type": "string",
     "format": "uuid"
    },
    "hash": {
     "description": "Storage ID of the file body",
     "type": "string",
     "format": "uuid"
    },
    "name": {
     "description": "File name",
     "type": "string"
    }
   }
  },
  "Phone": {
   "description": "Information about the phone number",
   "type": "object",
   "properties": {
    "context": {
     "description": "Global component, for example, country code or domain (for SIP)",
     "type": "string"
    },
    "ext": {
     "description": "Extension number",
     "type": "string"
    },
    "tel": {
     "description": "Local component, used within the country",
     "type": "string"
    },
    "type": {
     "description": "Phone number type (for example, home or mobile)",
     "type": "string"
    }
   }
  },
  "Phones": {
   "description": "Information about the phone numbers",
   "type": "array",
   "items": {
    "$ref": "#/definitions/Phone"
   }
  },
  "Process": {
   "description": "Process template process",
   "type": "object",
   "properties": {
    "items": {
     "type": "object",
     "additionalProperties": {
      "$ref": "#/definitions/Item"
     }
    }
   }
  },
  "Registration": {
   "description": "Registrations",
   "type": "object",
   "properties": {
    "createdAt": {
     "description": "Registration date",
     "type": "string",
     "format": "date-time"
    },
    "createdBy": {
     "description": "Registered by",
     "type": "string",
     "format": "uuid"
    },
    "id": {
     "description": "Identifier",
     "type": "string",
     "format": "uuid"
    },
    "name": {
     "description": "Name",
     "type": "string"
    },
    "nomenclatureId": {
     "description": "Folder ID",
     "type": "string",
     "format": "uuid"
    },
    "updatedAt": {
     "description": "Registration editing date",
     "type": "string",
     "format": "date-time"
    },
    "updatedBy": {
     "description": "Registration edited by",
     "type": "string",
     "format": "uuid"
    }
   }
  },
  "RegistrationSettings": {
   "description": "Folder registration settings",
   "type": "object",
   "properties": {
    "editAfterRegistration": {
     "description": "Enable changing the number after registration",
     "type": "boolean"
    },
    "minLength": {
     "description": "Minimum length of the number, leading zeros added",
     "type": "integer",
     "format": "uint64"
    },
    "reserveEnabled": {
     "description": "Enable number reservation",
     "type": "boolean"
    },
    "resetInPeriod": {
     "description": "Enable periodic reset of numbers",
     "type": "boolean"
    },
    "resetSettings": {
     "$ref": "#/definitions/ResetSettings"
    },
    "template": {
     "description": "Number template, put `{$__index}` by default",
     "type": "string"
    },
    "templateEnabled": {
     "description": "Enable automatic mode",
     "type": "boolean"
    },
    "through": {
     "description": "Enable continuous numbering",
     "type": "boolean"
    },
    "throughSerialId": {
     "description": "Continuous numbering ID",
     "type": "string",
     "format": "uuid"
    }
   }
  },
  "ReportResult": {
   "description": "Describes the result of requesting a list of collection items for a report",
   "type": "object",
   "properties": {
    "items": {
     "description": "Found items",
     "type": "array",
     "items": {
      "type": "object"
     }
    }
   }
  },
  "ReportSortExpression": {
   "description": "Sorting rules for reports",
   "type": "object",
   "properties": {
    "ascend": {
     "description": "Ascending sorting order flag",
     "type": "boolean"
    },
    "column": {
     "description": "Sorting column",
     "type": "string"
    }
   }
  },
  "ReportsListBody": {
   "type": "object",
   "properties": {
    "filter": {
     "description": "Filtering (only “Table Operation”)",
     "type": "object",
     "additionalProperties": {
      "type": "object"
     },
     "x-dapperdox-link-guide": "ReportFilter"
    },
    "from": {
     "description": "Return starting from item",
     "type": "integer",
     "format": "uint32"
    },
    "size": {
     "description": "Number of returned items (10000 max)",
     "type": "integer",
     "format": "uint32"
    },
    "sortExpressions": {
     "description": "Sorting rules",
     "type": "array",
     "items": {
      "$ref": "#/definitions/ReportSortExpression"
     }
    }
   }
  },
  "ResetSettings": {
   "description": "Numbering reset settings",
   "type": "object",
   "properties": {
    "nextResetAt": {
     "description": "Date of the nearest numbering reset",
     "type": "string",
     "format": "date-time"
    },
    "resetPeriod": {
     "description": "Unit for numbering reset\nPossible values: `year`, `month`, `week`, `day`",
     "type": "string"
    },
    "resetPeriodCount": {
     "description": "Number of units in the numbering reset period. For example, numbering can be reset every 3 weeks (`3 week`)",
     "type": "integer",
     "format": "int64"
    }
   }
  },
  "Respondent": {
   "description": "Responsible for the approval sheet or list of informed users",
   "type": "object",
   "properties": {
    "comment": {
     "description": "Respondent’s comment",
     "type": "string"
    },
    "fileId": {
     "description": "File attached by the respondent\ncan be empty",
     "type": "string",
     "format": "uuid"
    },
    "id": {
     "description": "User ID",
     "type": "string",
     "format": "uuid"
    },
    "responseTime": {
     "description": "Decision time",
     "type": "string",
     "format": "date-time"
    },
    "status": {
     "description": "User status",
     "type": "string",
     "enum": [
      "in_progress — в процессе;",
      "approved — согласовано(только для согласования);",
      "rejected — отказано(только для согласования);",
      "done — ознакомлен(только для ознакомления);",
      "terminated - отменен."
     ]
    },
    "substituteId": {
     "description": "Substitute user ID",
     "type": "string",
     "format": "uuid"
    }
   }
  },
  "Result": {
   "description": "Describes the result of requesting a list of items",
   "type": "object",
   "properties": {
    "result": {
     "description": "Found items",
     "type": "array",
     "items": {
      "type": "object"
     }
    },
    "total": {
     "description": "Total items",
     "type": "integer",
     "format": "int64"
    }
   }
  },
  "SearchFilesModel": {
   "description": "File search request model",
   "type": "object",
   "properties": {
    "filter": {
     "$ref": "#/definitions/FilterRq"
    },
    "from": {
     "description": "Return starting from item",
     "type": "integer",
     "format": "uint32"
    },
    "size": {
     "description": "Number of returned items (10000 max)",
     "type": "integer",
     "format": "uint32"
    }
   }
  },
  "SegmentGetResult": {
   "description": "Describes the result of a segment list request",
   "type": "object",
   "properties": {
    "item": {
     "description": "Company size",
     "type": "object"
    }
   }
  },
  "SegmentListResult": {
   "description": "easyjson:json",
   "type": "object",
   "title": "SegmentListResult describes the result of requesting a list of segments",
   "properties": {
    "items": {
     "description": "Found items",
     "type": "array",
     "items": {
      "type": "object"
     }
    }
   }
  },
  "SegmentSubscribersListResult": {
   "description": "easyjson:json",
   "type": "object",
   "title": "SegmentSubscribersListResult describes the result of requesting a list of subscribers for the segment",
   "properties": {
    "items": {
     "description": "Found items",
     "type": "array",
     "items": {
      "type": "object"
     }
    }
   }
  },
  "SolutionEntity": {
   "description": "Full metadata description of a solution",
   "type": "object",
   "properties": {
    "code": {
     "type": "string"
    },
    "content": {
     "$ref": "#/definitions/SolutionItemsEntity"
    },
    "name": {
     "type": "string"
    }
   }
  },
  "SolutionItemEntity": {
   "description": "Solution item entity",
   "type": "object",
   "properties": {
    "code": {
     "type": "string"
    },
    "kind": {
     "type": "string",
     "enum": [
      "namespace",
      "extension"
     ]
    }
   }
  },
  "SolutionItemsEntity": {
   "description": "Contents of the Solution",
   "type": "array",
   "items": {
    "$ref": "#/definitions/SolutionItemEntity"
   }
  },
  "SortExpression": {
   "type": "object",
   "title": "SortExpression contains field name and direction for sorting.",
   "properties": {
    "ascending": {
     "description": "Ascending sorting order flag",
     "type": "boolean"
    },
    "field": {
     "description": "Sort field",
     "type": "string"
    }
   }
  },
  "SubscribersListResult": {
   "description": "easyjson:json",
   "type": "object",
   "title": "SubscribersListResult describes the result of requesting a list of subscribers",
   "properties": {
    "items": {
     "description": "Found items",
     "type": "array",
     "items": {
      "type": "object"
     }
    }
   }
  },
  "TaskListBody": {
   "type": "object",
   "properties": {
    "closed": {
     "description": "Show completed tasks",
     "type": "boolean"
    },
    "filter": {
     "description": "Filtering",
     "type": "object",
     "additionalProperties": {
      "type": "object"
     },
     "x-dapperdox-link-guide": "Filter"
    },
    "from": {
     "description": "Return starting from item",
     "type": "integer",
     "format": "int64"
    },
    "size": {
     "description": "Number of returned items (10000 max)",
     "type": "integer",
     "format": "int64"
    },
    "sortExpressions": {
     "description": "Sorting rules",
     "type": "array",
     "items": {
      "$ref": "#/definitions/SortExpression"
     }
    }
   }
  },
  "Template": {
   "description": "Complete metadata description of process template",
   "type": "object",
   "properties": {
    "__createdAt": {
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "type": "string",
     "format": "uuid"
    },
    "__deletedAt": {
     "type": "string",
     "format": "date-time"
    },
    "__name": {
     "type": "string"
    },
    "__updatedAt": {
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "type": "string",
     "format": "uuid"
    },
    "code": {
     "type": "string"
    },
    "context": {
     "type": "array",
     "items": {
      "$ref": "#/definitions/ContextField"
     }
    },
    "namespace": {
     "$ref": "#/definitions/Namespace"
    },
    "process": {
     "$ref": "#/definitions/Process"
    },
    "readonly": {
     "type": "boolean"
    },
    "version": {
     "type": "integer",
     "format": "uint64"
    }
   }
  },
  "UpdateNomenclatureRegistrationSettingsRq": {
   "description": "Registration settings for folder modification",
   "type": "object",
   "properties": {
    "editAfterRegistration": {
     "description": "Enable changing the number after registration",
     "type": "boolean"
    },
    "minLength": {
     "description": "Minimum length of the number, leading zeros added",
     "type": "integer",
     "format": "uint64"
    },
    "reserveEnabled": {
     "description": "Enable number reservation",
     "type": "boolean"
    },
    "resetInPeriod": {
     "description": "Enable periodic reset of numbers",
     "type": "boolean"
    },
    "resetSettings": {
     "$ref": "#/definitions/UpdateNomenclatureResetSettingsRq"
    },
    "template": {
     "description": "Number template, put `{$__index}` by default",
     "type": "string"
    },
    "templateEnabled": {
     "description": "Enabling automatic mode",
     "type": "boolean"
    },
    "through": {
     "description": "Enable continuous numbering",
     "type": "boolean"
    },
    "throughSerialId": {
     "description": "Continuous numbering ID",
     "type": "string",
     "format": "uuid"
    }
   }
  },
  "UpdateNomenclatureResetSettingsRq": {
   "description": "Numbering reset settings for folder modification",
   "type": "object",
   "properties": {
    "nextResetAt": {
     "description": "Date of the nearest numbering reset",
     "type": "string",
     "format": "date-time"
    },
    "resetPeriod": {
     "description": "Unit for numbering reset\nPossible values: `year`, `month`, `week`, `day`",
     "type": "string"
    },
    "resetPeriodCount": {
     "description": "Number of units in the numbering reset period. For example, numbering can be reset every 3 weeks (`3 week`)",
     "type": "integer",
     "format": "int64"
    }
   }
  },
  "User": {
   "description": "Full metadata description of a user",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Date the item was created",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "Unique ID of the user who created the current item",
     "type": "string",
     "format": "uuid"
    },
    "__deletedAt": {
     "description": "Date the item was deleted",
     "type": "string",
     "format": "date-time"
    },
    "__id": {
     "description": "Unique ID",
     "type": "string",
     "format": "uuid"
    },
    "__name": {
     "description": "Name",
     "type": "string"
    },
    "__updatedAt": {
     "description": "Date the data was last changed",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "Unique ID of the user who edited the current item",
     "type": "string",
     "format": "uuid"
    },
    "additionalData": {
     "description": "Additional data",
     "type": "string"
    },
    "avatar": {
     "description": "List of unique IDs of a user’s avatar files",
     "type": "array",
     "items": {
      "type": "string",
      "format": "uuid"
     }
    },
    "birthDate": {
     "description": "Date of birth",
     "type": "string",
     "format": "date-time"
    },
    "displayedPosition": {
     "description": "Displayed position",
     "type": "string"
    },
    "email": {
     "description": "Email",
     "type": "string"
    },
    "fullname": {
     "$ref": "#/definitions/FullName"
    },
    "groupIds": {
     "description": "Unique IDs of groups that the user consists in",
     "type": "array",
     "items": {
      "type": "string",
      "format": "uuid"
     }
    },
    "hireDate": {
     "description": "Hire date",
     "type": "string",
     "format": "date-time"
    },
    "login": {
     "description": "Login",
     "type": "string"
    },
    "mobilePhone": {
     "$ref": "#/definitions/Phones"
    },
    "osIds": {
     "description": "Unique IDs of the user’s positions",
     "type": "array",
     "items": {
      "type": "string",
      "format": "uuid"
     }
    },
    "owner": {
     "description": "Company owner flag",
     "type": "boolean"
    },
    "timezone": {
     "description": "Time zone",
     "type": "string"
    },
    "workPhone": {
     "$ref": "#/definitions/Phones"
    }
   }
  },
  "VoipBinding": {
   "description": "Mapping of an internal number and an BRIX user",
   "type": "object",
   "required": [
    "extension",
    "userId"
   ],
   "properties": {
    "extension": {
     "description": "Internal number linked with a BRIX user",
     "type": "string",
     "example": "700"
    },
    "userId": {
     "description": "ID of the BRIX user linked with the internal number",
     "type": "string",
     "format": "uuid",
     "example": "95806fe5-f8e8-460c-b2be-ce607068726c"
    }
   }
  },
  "appGetStatusResponseGroup": {
   "type": "object",
   "properties": {
    "code": {
     "description": "Status group code",
     "type": "string"
    },
    "id": {
     "description": "Status group ID",
     "type": "string"
    },
    "name": {
     "description": "Status group name",
     "type": "string"
    }
   }
  },
  "appGetStatusResponseItem": {
   "type": "object",
   "properties": {
    "code": {
     "description": "Status variant code",
     "type": "string"
    },
    "groupId": {
     "description": "Status group ID",
     "type": "string"
    },
    "id": {
     "description": "Status variant ID",
     "type": "integer",
     "format": "uint32"
    },
    "name": {
     "description": "Status variant name",
     "type": "string"
    }
   }
  },
  "applicationEntityListResult": {
   "type": "object",
   "properties": {
    "result": {
     "description": "Found items",
     "type": "array",
     "items": {
      "$ref": "#/definitions/BaseApplicationEntity"
     }
    },
    "total": {
     "description": "Total items",
     "type": "integer",
     "format": "int64"
    }
   }
  },
  "context": {
   "description": "Business process context",
   "type": "object"
  },
  "data": {
   "description": "Data",
   "type": "object"
  },
  "deleteFilesResponseItem": {
   "description": "Model of the result list element in the response",
   "type": "object",
   "properties": {
    "error": {
     "description": "Error while deleting the file.\nIf no error occurs, the field is absent",
     "type": "string"
    },
    "id": {
     "description": "File ID",
     "type": "string"
    }
   }
  },
  "directory": {
   "description": "Model of an directory",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Created on",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "Creator ID",
     "type": "string",
     "format": "uuid",
     "example": "a35cd8de-0c73-4f6a-8218-90193d02e2e0"
    },
    "__deletedAt": {
     "description": "Date of removal",
     "type": "string",
     "format": "date-time"
    },
    "__id": {
     "description": "Directory ID",
     "type": "string",
     "format": "uuid",
     "example": "a35cd8de-0c73-4f6a-8218-90193d02e2e0"
    },
    "__name": {
     "description": "Name of the directory in the system",
     "type": "string"
    },
    "__updatedAt": {
     "description": "Last edited",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "Editor ID",
     "type": "string",
     "format": "uuid",
     "example": "a35cd8de-0c73-4f6a-8218-90193d02e2e0"
    },
    "directory": {
     "description": "ID of the parent directory",
     "type": "string",
     "format": "uuid",
     "example": "a35cd8de-0c73-4f6a-8218-90193d02e2e0"
    },
    "parentsList": {
     "description": "List of parent directories up to the root directory",
     "type": "array",
     "items": {
      "type": "string",
      "format": "uuid"
     }
    },
    "system": {
     "description": "System directory flag\nShows that the directory is created\nin the system by default",
     "type": "boolean"
    },
    "target": {
     "description": "The identifier of the parent directory, if it is a link",
     "type": "string"
    },
    "uniqueNames": {
     "description": "Uniqueness of names of other folders and files within a directory\nShows whether the names of files and folders within the directory\nhave to be unique within the directory",
     "type": "boolean"
    }
   }
  },
  "docTemplateEntityListResult": {
   "type": "object",
   "properties": {
    "result": {
     "description": "Found items",
     "type": "array",
     "items": {
      "$ref": "#/definitions/BaseDocTemplateEntity"
     }
    },
    "total": {
     "description": "Total number of items",
     "type": "integer",
     "format": "int64"
    }
   }
  },
  "downloadLinksResponseItem": {
   "description": "Model of the result list element in the response",
   "type": "object",
   "properties": {
    "error": {
     "description": "Error that occurred while generating the link.\nIf generation finished successfully, the field is absent",
     "type": "string"
    },
    "hash": {
     "description": "File body ID",
     "type": "string"
    },
    "link": {
     "description": "File download link\nIf an error occurs during link generation, the field can be absent",
     "type": "string"
    }
   }
  },
  "feed.channel.v1.Channel": {
   "type": "object",
   "title": "Канал",
   "properties": {
    "createdAt": {
     "type": "string",
     "format": "date-time",
     "title": "Время создания"
    },
    "id": {
     "type": "string",
     "format": "uuid",
     "title": "Уникальный идентификатор"
    },
    "members": {
     "type": "array",
     "title": "Участники",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.channel.v1.Member"
     }
    },
    "name": {
     "type": "string",
     "title": "Название"
    },
    "updatedAt": {
     "type": "string",
     "format": "date-time",
     "title": "Время последнего обновления"
    }
   }
  },
  "feed.channel.v1.ChannelService.ListChannelCommentBody": {
   "type": "object",
   "title": "Запрос на получение списка комментариев к сообщению из канала",
   "properties": {
    "filter": {
     "title": "Фильтр комментариев",
     "$ref": "#/definitions/feed.channel.v1.FilterComment"
    },
    "from": {
     "type": "integer",
     "format": "int32",
     "title": "Смещение (по умолчанию 0)"
    },
    "size": {
     "type": "integer",
     "format": "int32",
     "title": "Ограничения по количеству (по умолчанию 10)"
    }
   }
  },
  "feed.channel.v1.ChannelService.ListChannelMessageBody": {
   "type": "object",
   "title": "Запрос на получение списка сообщений из канала",
   "properties": {
    "filter": {
     "title": "Фильтр сообщений",
     "$ref": "#/definitions/feed.channel.v1.FilterMessage"
    },
    "from": {
     "type": "integer",
     "format": "int32",
     "title": "Смещение (по умолчанию 0)"
    },
    "size": {
     "type": "integer",
     "format": "int32",
     "title": "Ограничения по количеству (по умолчанию 10)"
    }
   }
  },
  "feed.channel.v1.ChannelService.SendChannelCommentBody": {
   "type": "object",
   "title": "Запрос на создание комментария к сообщению в канале",
   "properties": {
    "body": {
     "type": "string",
     "title": "Тело сообщения"
    },
    "files": {
     "type": "array",
     "title": "Список прикреплённых файлов",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.channel.v1.TempFile"
     }
    },
    "mentions": {
     "type": "array",
     "title": "Список упоминаний пользователей",
     "items": {
      "type": "string"
     }
    }
   }
  },
  "feed.channel.v1.ChannelService.SendChannelMessageBody": {
   "type": "object",
   "title": "Запрос на создание нового сообщения в канале",
   "properties": {
    "body": {
     "type": "string",
     "title": "Тело сообщения"
    },
    "files": {
     "type": "array",
     "title": "Список прикреплённых файлов",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.channel.v1.TempFile"
     }
    },
    "mentions": {
     "type": "array",
     "title": "Список упоминаний пользователей",
     "items": {
      "type": "string"
     }
    },
    "title": {
     "type": "string",
     "title": "Заголовок сообщения"
    }
   }
  },
  "feed.channel.v1.ChannelServiceListChannelCommentGetResponse": {
   "type": "object",
   "title": "Ответ на получение списка комментариев к сообщению из канала",
   "properties": {
    "error": {
     "type": "string",
     "title": "Текст ошибки, если `success == false`"
    },
    "result": {
     "type": "array",
     "title": "Комментарии",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.channel.v1.Comment"
     }
    },
    "success": {
     "type": "boolean",
     "title": "Признак успешного запроса"
    },
    "total": {
     "type": "integer",
     "format": "int32",
     "title": "Количество"
    }
   }
  },
  "feed.channel.v1.ChannelServiceListChannelCommentResponse": {
   "type": "object",
   "title": "Ответ на получение списка комментариев к сообщению из канала",
   "properties": {
    "error": {
     "type": "string",
     "title": "Текст ошибки, если `success == false`"
    },
    "result": {
     "type": "array",
     "title": "Комментарии",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.channel.v1.Comment"
     }
    },
    "success": {
     "type": "boolean",
     "title": "Признак успешного запроса"
    },
    "total": {
     "type": "integer",
     "format": "int32",
     "title": "Количество"
    }
   }
  },
  "feed.channel.v1.ChannelServiceListChannelMessageGetResponse": {
   "type": "object",
   "title": "Ответ на получение списка сообщений из канала",
   "properties": {
    "error": {
     "type": "string",
     "title": "Текст ошибки, если `success == false`"
    },
    "result": {
     "type": "array",
     "title": "Сообщения",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.channel.v1.Message"
     }
    },
    "success": {
     "type": "boolean",
     "title": "Признак успешного запроса"
    },
    "total": {
     "type": "integer",
     "format": "int32",
     "title": "Количество"
    }
   }
  },
  "feed.channel.v1.ChannelServiceListChannelMessageResponse": {
   "type": "object",
   "title": "Ответ на получение списка сообщений из канала",
   "properties": {
    "error": {
     "type": "string",
     "title": "Текст ошибки, если `success == false`"
    },
    "result": {
     "type": "array",
     "title": "Сообщения",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.channel.v1.Message"
     }
    },
    "success": {
     "type": "boolean",
     "title": "Признак успешного запроса"
    },
    "total": {
     "type": "integer",
     "format": "int32",
     "title": "Количество"
    }
   }
  },
  "feed.channel.v1.ChannelServiceListChannelResponse": {
   "type": "object",
   "title": "Ответ на получение списка каналов",
   "properties": {
    "error": {
     "type": "string",
     "title": "Текст ошибки, если `success == false`"
    },
    "result": {
     "type": "array",
     "title": "Каналы",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.channel.v1.Channel"
     }
    },
    "success": {
     "type": "boolean",
     "title": "Признак успешного запроса"
    },
    "total": {
     "type": "integer",
     "format": "int32",
     "title": "Количество"
    }
   }
  },
  "feed.channel.v1.ChannelServiceSendChannelCommentResponse": {
   "type": "object",
   "title": "Ответ на создание комментария к сообщению в канале",
   "properties": {
    "commentId": {
     "type": "string",
     "format": "uuid",
     "title": "Идентификатор созданного комментария"
    },
    "error": {
     "type": "string",
     "title": "Текст ошибки, если `success == false`"
    },
    "success": {
     "type": "boolean",
     "title": "Признак успешного запроса"
    }
   }
  },
  "feed.channel.v1.ChannelServiceSendChannelMessageResponse": {
   "type": "object",
   "title": "Ответ на создание нового сообщения в канале",
   "properties": {
    "error": {
     "type": "string",
     "title": "Текст ошибки, если `success == false`"
    },
    "messageId": {
     "type": "string",
     "format": "uuid",
     "title": "Идентификатор созданного сообщения"
    },
    "success": {
     "type": "boolean",
     "title": "Признак успешного запроса"
    }
   }
  },
  "feed.channel.v1.Comment": {
   "type": "object",
   "title": "Комментарий",
   "properties": {
    "author": {
     "type": "string",
     "format": "uuid",
     "title": "Идентификатор автора"
    },
    "body": {
     "type": "string",
     "title": "Тело комментария"
    },
    "createdAt": {
     "type": "string",
     "format": "date-time",
     "title": "Время создания"
    },
    "files": {
     "type": "array",
     "title": "Список файлов",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.channel.v1.File"
     }
    },
    "id": {
     "type": "string",
     "format": "uuid",
     "title": "Уникальный идентификатор"
    }
   }
  },
  "feed.channel.v1.File": {
   "type": "object",
   "title": "Файл",
   "properties": {
    "id": {
     "type": "string",
     "format": "uuid",
     "title": "Уникальный идентификатор"
    }
   }
  },
  "feed.channel.v1.FilterComment": {
   "type": "object",
   "title": "Фильтр комментариев",
   "properties": {
    "author": {
     "type": "array",
     "title": "Список идентификаторов авторов",
     "items": {
      "type": "string",
      "format": "uuid"
     }
    },
    "bodyKeywords": {
     "type": "array",
     "title": "Ключевые слова в теле сообщения",
     "items": {
      "type": "string"
     }
    },
    "createdFrom": {
     "type": "string",
     "format": "date-time",
     "title": "Начало диапазона дат создания (включительно)"
    },
    "createdTo": {
     "type": "string",
     "format": "date-time",
     "title": "Конец диапазона дат создания (включительно)"
    },
    "files": {
     "type": "array",
     "title": "Список идентификаторов файлов",
     "items": {
      "type": "string",
      "format": "uuid"
     }
    }
   }
  },
  "feed.channel.v1.FilterMessage": {
   "type": "object",
   "title": "Фильтр сообщений",
   "properties": {
    "author": {
     "type": "array",
     "title": "Список идентификаторов авторов",
     "items": {
      "type": "string",
      "format": "uuid"
     }
    },
    "bodyKeywords": {
     "type": "array",
     "title": "Ключевые слова в теле сообщения",
     "items": {
      "type": "string"
     }
    },
    "createdFrom": {
     "type": "string",
     "format": "date-time",
     "title": "Начало диапазона дат создания (включительно)"
    },
    "createdTo": {
     "type": "string",
     "format": "date-time",
     "title": "Конец диапазона дат создания (включительно)"
    },
    "files": {
     "type": "array",
     "title": "Список идентификаторов файлов",
     "items": {
      "type": "string",
      "format": "uuid"
     }
    },
    "hasComments": {
     "type": "boolean",
     "title": "Флаг наличия/отсутствия комментариев"
    },
    "titleKeywords": {
     "type": "array",
     "title": "Ключевые слова в заголовке",
     "items": {
      "type": "string"
     }
    }
   }
  },
  "feed.channel.v1.Member": {
   "type": "object",
   "title": "Участник канала",
   "properties": {
    "accessRights": {
     "type": "string",
     "title": "Права участника"
    },
    "id": {
     "type": "string",
     "format": "uuid",
     "title": "Уникальный идентификатор"
    },
    "type": {
     "type": "string",
     "title": "Тип участника"
    }
   }
  },
  "feed.channel.v1.Message": {
   "type": "object",
   "title": "Сообщение",
   "properties": {
    "author": {
     "type": "string",
     "format": "uuid",
     "title": "Идентификатор автора"
    },
    "body": {
     "type": "string",
     "title": "Тело сообщения"
    },
    "comments": {
     "type": "integer",
     "format": "int32",
     "title": "Количество комментариев"
    },
    "createdAt": {
     "type": "string",
     "format": "date-time",
     "title": "Время создания"
    },
    "files": {
     "type": "array",
     "title": "Список файлов",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.channel.v1.File"
     }
    },
    "id": {
     "type": "string",
     "format": "uuid",
     "title": "Уникальный идентификатор"
    },
    "title": {
     "type": "string",
     "title": "Заголовок"
    },
    "updatedAt": {
     "type": "string",
     "format": "date-time",
     "title": "Время последнего обновления"
    }
   }
  },
  "feed.channel.v1.TempFile": {
   "type": "object",
   "title": "Временный файл",
   "properties": {
    "hash": {
     "type": "string",
     "title": "Хэш"
    },
    "name": {
     "type": "string",
     "title": "Название"
    },
    "size": {
     "type": "string",
     "format": "int64",
     "title": "Размер"
    }
   }
  },
  "feed.swagger.v1.ErrorResponse": {
   "type": "object",
   "title": "Ответ, содержащий информацию об ошибке",
   "properties": {
    "error": {
     "type": "string",
     "title": "Текст ошибки"
    },
    "success": {
     "type": "boolean",
     "title": "Признак успешного запроса"
    }
   }
  },
  "feed.target.v1.Comment": {
   "type": "object",
   "title": "Комментарий",
   "properties": {
    "author": {
     "type": "string",
     "format": "uuid",
     "title": "Идентификатор автора"
    },
    "body": {
     "type": "string",
     "title": "Тело комментария"
    },
    "createdAt": {
     "type": "string",
     "format": "date-time",
     "title": "Время создания"
    },
    "files": {
     "type": "array",
     "title": "Список файлов",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.target.v1.File"
     }
    },
    "id": {
     "type": "string",
     "format": "uuid",
     "title": "Уникальный идентификатор"
    }
   }
  },
  "feed.target.v1.FeedTargetService.ListCommentBody": {
   "type": "object",
   "title": "Запрос на получение списка комментариев к сообщению из ленты объекта",
   "properties": {
    "filter": {
     "title": "Фильтр комментариев",
     "$ref": "#/definitions/feed.target.v1.FilterComment"
    },
    "from": {
     "type": "integer",
     "format": "int32",
     "title": "Смещение (по умолчанию 0)"
    },
    "size": {
     "type": "integer",
     "format": "int32",
     "title": "Ограничения по количеству (по умолчанию 10)"
    }
   }
  },
  "feed.target.v1.FeedTargetService.ListMessageBody": {
   "type": "object",
   "title": "Запрос на получение списка сообщений из ленты объекта",
   "properties": {
    "filter": {
     "title": "Фильтр сообщений",
     "$ref": "#/definitions/feed.target.v1.FilterMessage"
    },
    "from": {
     "type": "integer",
     "format": "int32",
     "title": "Смещение (по умолчанию 0)"
    },
    "size": {
     "type": "integer",
     "format": "int32",
     "title": "Ограничения по количеству (по умолчанию 10)"
    }
   }
  },
  "feed.target.v1.FeedTargetService.SendCommentBody": {
   "type": "object",
   "title": "Запрос на создание комментария к сообщению в ленте объекта",
   "properties": {
    "body": {
     "type": "string",
     "title": "Тело сообщения"
    },
    "files": {
     "type": "array",
     "title": "Список прикреплённых файлов",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.target.v1.TempFile"
     }
    },
    "mentions": {
     "type": "array",
     "title": "Список упоминаний пользователей",
     "items": {
      "type": "string"
     }
    }
   }
  },
  "feed.target.v1.FeedTargetService.SendMessageBody": {
   "type": "object",
   "title": "Запрос на создание нового сообщение в ленте объекта",
   "properties": {
    "body": {
     "type": "string",
     "title": "Тело сообщения"
    },
    "files": {
     "type": "array",
     "title": "Список прикреплённых файлов",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.target.v1.TempFile"
     }
    },
    "mentions": {
     "type": "array",
     "title": "Список упоминаний пользователей",
     "items": {
      "type": "string"
     }
    },
    "title": {
     "type": "string",
     "title": "Заголовок сообщения"
    }
   }
  },
  "feed.target.v1.FeedTargetServiceListCommentGetResponse": {
   "type": "object",
   "title": "Ответ на получение списка комментариев к сообщению из ленты объекта",
   "properties": {
    "error": {
     "type": "string",
     "title": "Текст ошибки, если `success == false`"
    },
    "result": {
     "type": "array",
     "title": "Комментарии",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.target.v1.Comment"
     }
    },
    "success": {
     "type": "boolean",
     "title": "Признак успешного запроса"
    },
    "total": {
     "type": "integer",
     "format": "int32",
     "title": "Количество"
    }
   }
  },
  "feed.target.v1.FeedTargetServiceListCommentResponse": {
   "type": "object",
   "title": "Ответ на получение списка комментариев к сообщению из ленты объекта",
   "properties": {
    "error": {
     "type": "string",
     "title": "Текст ошибки, если `success == false`"
    },
    "result": {
     "type": "array",
     "title": "Комментарии",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.target.v1.Comment"
     }
    },
    "success": {
     "type": "boolean",
     "title": "Признак успешного запроса"
    },
    "total": {
     "type": "integer",
     "format": "int32",
     "title": "Количество"
    }
   }
  },
  "feed.target.v1.FeedTargetServiceListMessageGetResponse": {
   "type": "object",
   "title": "Ответ на получение списка сообщений из ленты объекта",
   "properties": {
    "error": {
     "type": "string",
     "title": "Текст ошибки, если `success == false`"
    },
    "result": {
     "type": "array",
     "title": "Сообщения",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.target.v1.Message"
     }
    },
    "success": {
     "type": "boolean",
     "title": "Признак успешного запроса"
    },
    "total": {
     "type": "integer",
     "format": "int32",
     "title": "Количество"
    }
   }
  },
  "feed.target.v1.FeedTargetServiceListMessageResponse": {
   "type": "object",
   "title": "Ответ на получение списка сообщений из ленты объекта",
   "properties": {
    "error": {
     "type": "string",
     "title": "Текст ошибки, если `success == false`"
    },
    "result": {
     "type": "array",
     "title": "Сообщения",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.target.v1.Message"
     }
    },
    "success": {
     "type": "boolean",
     "title": "Признак успешного запроса"
    },
    "total": {
     "type": "integer",
     "format": "int32",
     "title": "Количество"
    }
   }
  },
  "feed.target.v1.FeedTargetServiceSendCommentResponse": {
   "type": "object",
   "title": "Ответ на создание комментария к сообщению в ленте объекта",
   "properties": {
    "commentId": {
     "type": "string",
     "format": "uuid",
     "title": "Идентификатор созданного комментария"
    },
    "error": {
     "type": "string",
     "title": "Текст ошибки, если `success == false`"
    },
    "success": {
     "type": "boolean",
     "title": "Признак успешного запроса"
    }
   }
  },
  "feed.target.v1.FeedTargetServiceSendMessageResponse": {
   "type": "object",
   "title": "Ответ на создание нового сообщение в ленте объекта",
   "properties": {
    "error": {
     "type": "string",
     "title": "Текст ошибки, если `success == false`"
    },
    "messageId": {
     "type": "string",
     "format": "uuid",
     "title": "Идентификатор созданного сообщения"
    },
    "success": {
     "type": "boolean",
     "title": "Признак успешного запроса"
    }
   }
  },
  "feed.target.v1.File": {
   "type": "object",
   "title": "Файл",
   "properties": {
    "id": {
     "type": "string",
     "format": "uuid",
     "title": "Уникальный идентификатор"
    }
   }
  },
  "feed.target.v1.FilterComment": {
   "type": "object",
   "title": "Фильтр комментариев",
   "properties": {
    "author": {
     "type": "array",
     "title": "Список идентификаторов авторов",
     "items": {
      "type": "string",
      "format": "uuid"
     }
    },
    "bodyKeywords": {
     "type": "array",
     "title": "Ключевые слова в теле сообщения",
     "items": {
      "type": "string"
     }
    },
    "createdFrom": {
     "type": "string",
     "format": "date-time",
     "title": "Начало диапазона дат создания (включительно)"
    },
    "createdTo": {
     "type": "string",
     "format": "date-time",
     "title": "Конец диапазона дат создания (включительно)"
    },
    "files": {
     "type": "array",
     "title": "Список идентификаторов файлов",
     "items": {
      "type": "string",
      "format": "uuid"
     }
    }
   }
  },
  "feed.target.v1.FilterMessage": {
   "type": "object",
   "title": "Фильтр сообщений",
   "properties": {
    "author": {
     "type": "array",
     "title": "Список идентификаторов авторов",
     "items": {
      "type": "string",
      "format": "uuid"
     }
    },
    "bodyKeywords": {
     "type": "array",
     "title": "Ключевые слова в теле сообщения",
     "items": {
      "type": "string"
     }
    },
    "createdFrom": {
     "type": "string",
     "format": "date-time",
     "title": "Начало диапазона дат создания (включительно)"
    },
    "createdTo": {
     "type": "string",
     "format": "date-time",
     "title": "Конец диапазона дат создания (включительно)"
    },
    "files": {
     "type": "array",
     "title": "Список идентификаторов файлов",
     "items": {
      "type": "string",
      "format": "uuid"
     }
    },
    "hasComments": {
     "type": "boolean",
     "title": "Флаг наличия/отсутствия комментариев"
    },
    "titleKeywords": {
     "type": "array",
     "title": "Ключевые слова в заголовке",
     "items": {
      "type": "string"
     }
    }
   }
  },
  "feed.target.v1.Message": {
   "type": "object",
   "title": "Сообщение",
   "properties": {
    "author": {
     "type": "string",
     "format": "uuid",
     "title": "Идентификатор автора"
    },
    "body": {
     "type": "string",
     "title": "Тело сообщения"
    },
    "comments": {
     "type": "integer",
     "format": "int32",
     "title": "Количество комментариев"
    },
    "createdAt": {
     "type": "string",
     "format": "date-time",
     "title": "Время создания"
    },
    "files": {
     "type": "array",
     "title": "Список файлов",
     "items": {
      "type": "object",
      "$ref": "#/definitions/feed.target.v1.File"
     }
    },
    "id": {
     "type": "string",
     "format": "uuid",
     "title": "Уникальный идентификатор"
    },
    "title": {
     "type": "string",
     "title": "Заголовок"
    },
    "updatedAt": {
     "type": "string",
     "format": "date-time",
     "title": "Время последнего обновления"
    }
   }
  },
  "feed.target.v1.TempFile": {
   "type": "object",
   "title": "Временный файл",
   "properties": {
    "hash": {
     "type": "string",
     "title": "Хэш"
    },
    "name": {
     "type": "string",
     "title": "Название"
    },
    "size": {
     "type": "string",
     "format": "int64",
     "title": "Размер"
    }
   }
  },
  "file": {
   "description": "File",
   "type": "object",
   "properties": {
    "__createdAt": {
     "description": "Created on",
     "type": "string",
     "format": "date-time"
    },
    "__createdBy": {
     "description": "Creator ID",
     "type": "string",
     "format": "uuid",
     "example": "a35cd8de-0c73-4f6a-8218-90193d02e2e0"
    },
    "__deletedAt": {
     "description": "Deleted",
     "type": "string",
     "format": "date-time"
    },
    "__id": {
     "description": "ID",
     "type": "string",
     "format": "uuid",
     "example": "a35cd8de-0c73-4f6a-8218-90193d02e2e0"
    },
    "__updatedAt": {
     "description": "Last edited",
     "type": "string",
     "format": "date-time"
    },
    "__updatedBy": {
     "description": "Editor ID",
     "type": "string",
     "format": "uuid",
     "example": "a35cd8de-0c73-4f6a-8218-90193d02e2e0"
    },
    "comment": {
     "description": "Comment",
     "type": "string"
    },
    "directory": {
     "description": "Directory ID",
     "type": "string",
     "format": "uuid",
     "example": "a35cd8de-0c73-4f6a-8218-90193d02e2e0"
    },
    "name": {
     "description": "File name in the system",
     "type": "string"
    },
    "originalName": {
     "description": "Uploaded file name",
     "type": "string"
    },
    "size": {
     "description": "Size",
     "type": "integer",
     "format": "int64"
    },
    "version": {
     "description": "File version",
     "type": "integer",
     "format": "int32"
    }
   }
  },
  "groupEntityListByFilterResult": {
   "type": "object",
   "properties": {
    "result": {
     "description": "Found items",
     "type": "array",
     "items": {
      "$ref": "#/definitions/Group"
     }
    },
    "total": {
     "description": "Total number of items",
     "type": "integer",
     "format": "int64"
    }
   }
  },
  "groupEntityListResult": {
   "type": "object",
   "properties": {
    "result": {
     "description": "Found items",
     "type": "array",
     "items": {
      "$ref": "#/definitions/BaseGroup"
     }
    },
    "total": {
     "description": "Total",
     "type": "integer",
     "format": "int64"
    }
   }
  },
  "item": {
   "description": "Object",
   "type": "object",
   "additionalProperties": {
    "type": "object"
   }
  },
  "moduleEntityListResult": {
   "type": "object",
   "properties": {
    "result": {
     "description": "Found items",
     "type": "array",
     "items": {
      "$ref": "#/definitions/BaseModule"
     }
    },
    "total": {
     "description": "Total number of items",
     "type": "integer",
     "format": "int64"
    }
   }
  },
  "namespaceEntityListResult": {
   "type": "object",
   "properties": {
    "result": {
     "description": "Found items",
     "type": "array",
     "items": {
      "$ref": "#/definitions/BaseNamespaceEntity"
     }
    },
    "total": {
     "description": "Total items",
     "type": "integer",
     "format": "int64"
    }
   }
  },
  "pageEntityListResult": {
   "type": "object",
   "properties": {
    "result": {
     "description": "Found items",
     "type": "array",
     "items": {
      "$ref": "#/definitions/BasePage"
     }
    },
    "total": {
     "description": "Total number of items",
     "type": "integer",
     "format": "int64"
    }
   }
  },
  "persistFilesResponseItem": {
   "description": "Model of the result list element in the response",
   "type": "object",
   "properties": {
    "error": {
     "description": "Error that occurred while initializing the file.\nIf saving finished successfully, the field is absent",
     "type": "string"
    },
    "file": {
     "$ref": "#/definitions/file"
    }
   }
  },
  "positionEntityListResult": {
   "type": "object",
   "properties": {
    "result": {
     "description": "Found items",
     "type": "array",
     "items": {
      "$ref": "#/definitions/BaseNode"
     }
    },
    "total": {
     "description": "Total number of items",
     "type": "integer",
     "format": "int64"
    }
   }
  },
  "processTemplateEntityListResult": {
   "type": "object",
   "properties": {
    "result": {
     "description": "Found items",
     "type": "array",
     "items": {
      "$ref": "#/definitions/BaseTemplate"
     }
    },
    "total": {
     "description": "Total items",
     "type": "integer",
     "format": "int64"
    }
   }
  },
  "requestFile": {
   "type": "object",
   "properties": {
    "hash": {
     "description": "File ID",
     "type": "string",
     "format": "uuid",
     "example": "a35cd8de-0c73-4f6a-8218-90193d02e2e0"
    },
    "name": {
     "description": "File name",
     "type": "string"
    }
   }
  },
  "solutionEntityListResult": {
   "type": "object",
   "properties": {
    "result": {
     "description": "Found items",
     "type": "array",
     "items": {
      "$ref": "#/definitions/BaseSolutionEntity"
     }
    },
    "total": {
     "description": "Total items",
     "type": "integer",
     "format": "int64"
    }
   }
  },
  "uploadFromLinksResponseItem": {
   "description": "Model of the result list element in the response",
   "type": "object",
   "properties": {
    "error": {
     "description": "Error while uploading the file.\nIf no error occurs, the field is absent",
     "type": "string"
    },
    "hash": {
     "description": "File body ID\nCan be absent if upload failed",
     "type": "string"
    }
   }
  },
  "uploadLinksResponseItem": {
   "description": "Model of the result list element in the response",
   "type": "object",
   "properties": {
    "error": {
     "description": "Error that occurred while generating the link.\nIf generation finished successfully, the field is absent",
     "type": "string"
    },
    "hash": {
     "description": "File body ID",
     "type": "string"
    },
    "link": {
     "description": "File upload link\nIf an error occurs during link generation, the field can be absent",
     "type": "string"
    }
   }
  },
  "userEntityListResult": {
   "type": "object",
   "properties": {
    "result": {
     "description": "Found items",
     "type": "array",
     "items": {
      "$ref": "#/definitions/User"
     }
    },
    "total": {
     "description": "Total number of items",
     "type": "integer",
     "format": "int64"
    }
   }
  }
 },
 "responses": {
  "AddSegmentSubscribersResponse": {
   "description": "Result model for adding subscribers in the static segment",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     },
     "warnings": {
      "description": "List of warnings",
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    }
   }
  },
  "AppGetImportStatusResponse": {
   "description": "Import result model",
   "schema": {
    "type": "object",
    "properties": {
     "current": {
      "description": "Current number of entries",
      "type": "integer",
      "format": "int32"
     },
     "error": {
      "description": "Error",
      "type": "string"
     },
     "id": {
      "description": "Import ID",
      "type": "string",
      "format": "uuid"
     },
     "status": {
      "description": "Status",
      "type": "string"
     },
     "total": {
      "description": "Total entries",
      "type": "integer",
      "format": "int32"
     }
    }
   }
  },
  "AppImportResponse": {
   "description": "Import result model",
   "schema": {
    "type": "object",
    "properties": {
     "blockedBy": {
      "description": "ID of the import that blocks the current import",
      "type": "string",
      "format": "uuid"
     },
     "current": {
      "description": "Current number of entries",
      "type": "integer",
      "format": "int32"
     },
     "error": {
      "description": "Error",
      "type": "string"
     },
     "id": {
      "description": "Import ID",
      "type": "string",
      "format": "uuid"
     },
     "status": {
      "description": "Status",
      "type": "string"
     },
     "total": {
      "description": "Total entries",
      "type": "integer",
      "format": "int32"
     }
    }
   }
  },
  "AppItemCreateResponse": {
   "description": "Response model for creating an item",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "item": {
      "$ref": "#/definitions/item"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "AppItemGetResponse": {
   "description": "Response model for requesting an app item",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "item": {
      "$ref": "#/definitions/item"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "AppItemSetStatusResponse": {
   "description": "Model of an app item with the set status",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "item": {
      "$ref": "#/definitions/item"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "AppItemUpdateResponse": {
   "description": "Model of an edited item",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "item": {
      "$ref": "#/definitions/item"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "AppListResponse": {
   "description": "Model of a list of app items",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/Result"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "AppViewListResponse": {
   "description": "Model of a list of apps",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/Result"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "ApplicationEntityExportableResponse": {
   "description": "Model of the flag signifying whether the app can be exported",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "exportable": {
      "description": "Exportable app flag",
      "type": "boolean"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "ApplicationEntityGetResponse": {
   "description": "Model of the metadata description instance of an app",
   "schema": {
    "type": "object",
    "properties": {
     "application": {
      "$ref": "#/definitions/ApplicationEntity"
     },
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "ApplicationEntityListResponse": {
   "description": "Model of the metadata description of an app",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/applicationEntityListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "ApplicationStorageDelete": {
   "description": "Response model for deleting data by key",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "ApplicationStorageGet": {
   "description": "Response model for retrieving data by key",
   "schema": {
    "type": "object",
    "properties": {
     "data": {
      "description": "Data stored by key",
      "type": "string"
     },
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful response flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "ApplicationStorageSet": {
   "description": "Response model for saving data by key",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful response flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "BpmInstanceBulkInterruptResponse": {
   "description": "Model for bulk interrupting the process instances",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "BpmInstanceBulkUpdateResponse": {
   "description": "Model for bulk updating the process instances",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "BpmInstanceContextResponse": {
   "description": "Model for changing the process instance context",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "BpmInstanceGetResponse": {
   "description": "Model of a process instance",
   "schema": {
    "type": "object",
    "properties": {
     "data": {
      "$ref": "#/definitions/data"
     },
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "BpmInstanceInterruptResponse": {
   "description": "Model for interrupting a process instance",
   "schema": {
    "type": "object",
    "properties": {
     "data": {
      "$ref": "#/definitions/data"
     },
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "BpmInstanceListResponse": {
   "description": "Model of the list of process instances",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/Result"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "BpmInstanceTargetListResponse": {
   "description": "Model of the list of process instances",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/Result"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "BpmInstanceUpdateResponse": {
   "description": "Model for updating a process instance version",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "BpmRestorePointRestoreResponse": {
   "description": "Response model",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "BpmTemplateRunResponse": {
   "description": "Model of the context of a running process",
   "schema": {
    "type": "object",
    "properties": {
     "context": {
      "$ref": "#/definitions/context"
     },
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "ContractItemUpdateResponse": {
   "description": "Model of an edited item",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "item": {
      "$ref": "#/definitions/item"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "ContractListResponse": {
   "description": "Model of a list of contract items",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/Result"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "ContractsItemCreateResponse": {
   "description": "Response model for creating an item",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "item": {
      "$ref": "#/definitions/item"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "ContractsItemGetResponse": {
   "description": "Response model for requesting an contract item",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "item": {
      "$ref": "#/definitions/item"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "CreateSegmentResponse": {
   "description": "Result model for creating the static segment",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "id": {
      "description": "ID of the created segment",
      "type": "string",
      "format": "uuid"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "DeleteSegmentSubscribersResponse": {
   "description": "Result model for deleting subscribers from the static segment",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     },
     "warnings": {
      "description": "List of warnings",
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    }
   }
  },
  "DirectoryListResponse": {
   "description": "Response model for requesting the directories list",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/Result"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "DiskFileUploadResponse": {
   "description": "Server response after the file is uploaded to the directory",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "file": {
      "$ref": "#/definitions/file"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "GetVoipBindingsResponse": {
   "description": "Mapping of internal numbers and BRIX users",
   "schema": {
    "type": "object",
    "properties": {
     "bindings": {
      "description": "Mapping of internal numbers and BRIX users",
      "type": "array",
      "items": {
       "$ref": "#/definitions/VoipBinding"
      }
     },
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "GroupEntityGetResponse": {
   "description": "Model of group’s metadata description instance",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "group": {
      "$ref": "#/definitions/Group"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "GroupEntityListResponse": {
   "description": "Model of the metadata description of groups",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/groupEntityListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "HandlerGetLinkResponse": {
   "description": "Model of a download link",
   "schema": {
    "type": "object",
    "properties": {
     "Link": {
      "description": "Link",
      "type": "string"
     },
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "HelpResponse": {
   "description": "API description model",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "help": {
      "description": "OpenAPI (Swagger 2) documentation",
      "type": "object"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "ListUserResponse": {
   "description": "Model of a list of users",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/userEntityListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "ModuleEntityExportableResponse": {
   "description": "Model of the flag signifying whether the module can be exported",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "exportable": {
      "description": "Exportable flag",
      "type": "boolean"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "ModuleEntityGetResponse": {
   "description": "Model of module’s metadata description instance",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "module": {
      "$ref": "#/definitions/Module"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "ModuleEntityListResponse": {
   "description": "Model of a list of modules’ metadata descriptions",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/moduleEntityListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "NamespaceEntityExportableResponse": {
   "description": "Model of the flag signifying whether the workspace can be exported",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "exportable": {
      "description": "Exportable workspace flag",
      "type": "boolean"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "NamespaceEntityGetResponse": {
   "description": "Model of the metadata description instance of a workspace",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "namespace": {
      "$ref": "#/definitions/NamespaceEntity"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "NamespaceEntityListResponse": {
   "description": "Model of the metadata description of a workspace",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/namespaceEntityListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "NamespaceStorageDelete": {
   "description": "Response model for deleting data by key",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful response flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "NamespaceStorageGet": {
   "description": "Response model for retrieving data by key",
   "schema": {
    "type": "object",
    "properties": {
     "data": {
      "description": "Data stored by key",
      "type": "string"
     },
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful response flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "NamespaceStorageSet": {
   "description": "Response model for saving data by key",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful response flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "PageEntityGetResponse": {
   "description": "Model of page’s metadata description instance",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "page": {
      "$ref": "#/definitions/Page"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "PageEntityListResponse": {
   "description": "Model of a list of pages’ metadata descriptions",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/pageEntityListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "ProcessTemplateEntityGetResponse": {
   "description": "Model of the metadata description instance of a process template",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     },
     "template": {
      "$ref": "#/definitions/Template"
     }
    }
   }
  },
  "ProcessTemplateEntityListResponse": {
   "description": "Model of the metadata description of a process template",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/processTemplateEntityListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "ReportsListResponse": {
   "description": "Model of a list of report items",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/ReportResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "SegmentGetResponse": {
   "description": "Model of a list of segments",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/SegmentGetResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "SegmentListResponse": {
   "description": "Model of a list of segments",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/SegmentListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "SegmentSubscribersListResponse": {
   "description": "Model of a list of segment subscribers",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/SegmentSubscribersListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "SolutionEntityExportableResponse": {
   "description": "Model of the flag signifying whether the solution can be exported",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "exportable": {
      "description": "Exportable solution flag",
      "type": "boolean"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "SolutionEntityGetResponse": {
   "description": "Model of solution’s metadata description instance",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "solution": {
      "$ref": "#/definitions/SolutionEntity"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "SolutionEntityListResponse": {
   "description": "Model of a list of solutions’ metadata descriptions",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/solutionEntityListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "SubscribersListResponse": {
   "description": "Model of a list of subscribers",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/SubscribersListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "SystemStorageDelete": {
   "description": "Response model for deleting data by key",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful response flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "SystemStorageGet": {
   "description": "Response model for retrieving data by key",
   "schema": {
    "type": "object",
    "properties": {
     "data": {
      "description": "Data stored by key",
      "type": "string"
     },
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful response flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "SystemStorageSet": {
   "description": "Response model for saving data by key",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful response flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "TasksChangeDatesResponse": {
   "description": "Task date change model",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "TasksChangePercentResponse": {
   "description": "Task completion percentage change model",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "TasksExitsResponse": {
   "description": "Output list model for task",
   "schema": {
    "type": "object",
    "properties": {
     "data": {
      "$ref": "#/definitions/data"
     },
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "TasksGetResponse": {
   "description": "Task model",
   "schema": {
    "type": "object",
    "properties": {
     "data": {
      "$ref": "#/definitions/data"
     },
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "TasksListResponse": {
   "description": "Task list model",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/Result"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "TasksReassignResponse": {
   "description": "Task reassignment model",
   "schema": {
    "type": "object",
    "properties": {
     "data": {
      "$ref": "#/definitions/data"
     },
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "TasksSubmitResponse": {
   "description": "Task execution model",
   "schema": {
    "type": "object",
    "properties": {
     "data": {
      "$ref": "#/definitions/data"
     },
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "UpdateVoipBindingsResponse": {
   "description": "Model of the successful update of mappings",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "appGetStatusResponse": {
   "description": "Response model for the requested status",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "groupItems": {
      "description": "Status group variants",
      "type": "array",
      "items": {
       "$ref": "#/definitions/appGetStatusResponseGroup"
      }
     },
     "statusItems": {
      "description": "Status variants",
      "type": "array",
      "items": {
       "$ref": "#/definitions/appGetStatusResponseItem"
      }
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "appGroupEntityListResponse": {
   "description": "Response model of a list of metadata descriptions of groups and roles by app",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/groupEntityListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "createDirectoryResponse": {
   "description": "Response model for creating document categorization directory",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "item": {
      "$ref": "#/definitions/Directory"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "createResponse": {
   "description": "Response model for creating folder",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "item": {
      "$ref": "#/definitions/Nomenclature"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "deleteFilesResponse": {
   "description": "Model of the response for bulk file deletion",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "items": {
      "description": "List of IDs of files to be deleted",
      "type": "array",
      "items": {
       "$ref": "#/definitions/deleteFilesResponseItem"
      }
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "directoryCreateResponse": {
   "description": "Response model for requesting a directory’s creation",
   "schema": {
    "type": "object",
    "properties": {
     "directory": {
      "$ref": "#/definitions/directory"
     },
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "diskFilePersistToDirectoryResponse": {
   "description": "Server response sent when the file is moved to the specified directory",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "files": {
      "description": "Files",
      "type": "array",
      "items": {
       "$ref": "#/definitions/file"
      }
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "docTemplateEntityGetResponse": {
   "description": "Model of document template’s metadata description instance",
   "schema": {
    "type": "object",
    "properties": {
     "docTemplateEntity": {
      "$ref": "#/definitions/DocTemplateEntity"
     },
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "docTemplateEntityListResponse": {
   "description": "Model of a list of document templates’ metadata descriptions",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/docTemplateEntityListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "docflowListResponse": {
   "description": "Response model for retrieving approval sheets and lists of informed users",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "result": {
      "description": "Context with data",
      "type": "array",
      "items": {
       "$ref": "#/definitions/DocflowList"
      }
     },
     "success": {
      "description": "Successful response flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "downloadLinksResponse": {
   "description": "Model of the response for bulk retrieval of download links",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "items": {
      "description": "List of file download links",
      "type": "array",
      "items": {
       "$ref": "#/definitions/downloadLinksResponseItem"
      }
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "getDirectoryResponse": {
   "description": "Response model for requesting a directory by ID",
   "schema": {
    "type": "object",
    "properties": {
     "directory": {
      "$ref": "#/definitions/directory"
     },
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "getFileResponse": {
   "description": "Response model for file request by ID",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "file": {
      "$ref": "#/definitions/FileResponse"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "groupEntityAddOrgunitsResponse": {
   "description": "Response model for adding org chart items to group",
   "schema": {
    "type": "object",
    "properties": {
     "addedItemIds": {
      "description": "List of IDs of org chart items that were added to the group",
      "type": "array",
      "items": {
       "type": "string",
       "format": "uuid"
      }
     },
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "groupEntityCreateResponse": {
   "description": "Response model for creating a metadata description of a group",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "group": {
      "$ref": "#/definitions/Group"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "groupEntityDeleteResponse": {
   "description": "Response model for deleting a group",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "groupEntityGetParentResponse": {
   "description": "Response model for getting a list of groups the specified group is included in",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/groupEntityListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "groupEntityGetSubGroupsResponse": {
   "description": "Response model for getting a list of sub-groups of the specified group",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/groupEntityListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "groupEntityGetSubPositionsResponse": {
   "description": "Response model for getting a list of positions included in a group",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/positionEntityListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "groupEntityGetSubUsersResponse": {
   "description": "Response model for getting a list of users included in the group",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/userEntityListResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "groupEntityListByFilterResponse": {
   "description": "Response model for getting a list of metadata descriptions of filtered groups",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "result": {
      "$ref": "#/definitions/groupEntityListByFilterResult"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "groupEntityRemoveOrgunitsResponse": {
   "description": "Response model for deleting org chart items from group",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "removedItemIds": {
      "description": "List of IDs of org chart items that were deleted from the group",
      "type": "array",
      "items": {
       "type": "string",
       "format": "uuid"
      }
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "groupEntityUpdateResponse": {
   "description": "Response model for editing a group’s data",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "group": {
      "$ref": "#/definitions/Group"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "listDirectoryResponse": {
   "description": "Response model for getting document categorization directory",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "result": {
      "description": "Context with data",
      "type": "array",
      "items": {
       "$ref": "#/definitions/Directory"
      }
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "listResponse": {
   "description": "Response model for getting folder",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "result": {
      "description": "Context with data",
      "type": "array",
      "items": {
       "$ref": "#/definitions/Nomenclature"
      }
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "persistFilesResponse": {
   "description": "Model of the response for bulk file initialization",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "files": {
      "description": "File list",
      "type": "array",
      "items": {
       "$ref": "#/definitions/persistFilesResponseItem"
      }
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "registrationListResponse": {
   "description": "Response model for retrieving registration data",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "result": {
      "description": "Context with data",
      "type": "array",
      "items": {
       "$ref": "#/definitions/Registration"
      }
     },
     "success": {
      "description": "Successful response flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "responseUploadPart": {
   "description": "Response after one of the file parts is uploaded",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "hash": {
      "description": "ID of the file uploaded to the storage",
      "type": "string",
      "format": "uuid",
      "example": "a35cd8de-0c73-4f6a-8218-90193d02e2e0"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "searchFilesResponse": {
   "description": "File search response model",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "files": {
      "description": "File list",
      "type": "array",
      "items": {
       "$ref": "#/definitions/FileResponse"
      }
     },
     "success": {
      "description": "Successful response flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "updateDirectoryResponse": {
   "description": "Response model for changing document categorization directory",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "item": {
      "$ref": "#/definitions/Directory"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "updateResponse": {
   "description": "Response model for changing folder",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error text if `success == false`",
      "type": "string"
     },
     "item": {
      "$ref": "#/definitions/Nomenclature"
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "uploadFromLinksResponse": {
   "description": "Model of the response for package upload of files using links",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "items": {
      "description": "List of IDs of uploaded files",
      "type": "array",
      "items": {
       "$ref": "#/definitions/uploadFromLinksResponseItem"
      }
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  },
  "uploadLinksResponse": {
   "description": "Model of the response for bulk retrieval of upload links",
   "schema": {
    "type": "object",
    "properties": {
     "error": {
      "description": "Error message if `success == false`",
      "type": "string"
     },
     "items": {
      "description": "List of file upload links",
      "type": "array",
      "items": {
       "$ref": "#/definitions/uploadLinksResponseItem"
      }
     },
     "success": {
      "description": "Successful request flag",
      "type": "boolean",
      "example": true
     }
    }
   }
  }
 },
 "securityDefinitions": {
  "api_key": {
   "type": "apiKey",
   "name": "X-Token",
   "in": "header"
  },
  "bearer_token": {
   "type": "apiKey",
   "name": "Authorization",
   "in": "header"
  }
 },
 "security": [
  {
   "api_key": []
  },
  {
   "bearer_token": []
  }
 ],
 "tags": [
  {
   "description": "Managing apps",
   "name": "app"
  },
  {
   "description": "Managing business processes",
   "name": "bpm"
  },
  {
   "description": "Managing files",
   "name": "disk"
  },
  {
   "description": "Managing users",
   "name": "user"
  },
  {
   "description": "Working with metadata",
   "name": "scheme"
  },
  {
   "description": "Working with modules",
   "name": "integration"
  },
  {
   "description": "Working with contracts",
   "name": "contracts"
  },
  {
   "description": "Working with reports",
   "name": "reports"
  },
  {
   "description": "Working with marketing",
   "name": "marketing"
  },
  {
   "description": "Working with document registration",
   "name": "nomenclature"
  },
  {
   "description": "Working with arbitrary string data storage",
   "name": "storage"
  },
  {
   "description": "Working with approval sheets and lists of informed users",
   "name": "docflow"
  },
  {
   "description": "Working with registration",
   "name": "registration"
  },
  {
   "description": "Working with tasks",
   "name": "tasks"
  },
  {
   "description": "Working with messages",
   "name": "feed"
  }
 ],
 "x-dapperdox-specification-id": "public-api"
}