{
  "openapi": "3.0.1",
  "info": {
    "title": "NeuralSynchro Cloud",
    "version": "v1"
  },
  "paths": {
    "/Organization/{organizationId}/People/{personId}/Addresses": {
      "patch": {
        "tags": [
          "Addresses"
        ],
        "description": "GetAddressesList",
        "operationId": "GetAddressesList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAddressesList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAddressesList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetAddressesList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of Addresses from Person",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAddressesListResponse"
                }
              }
            }
          },
          "404": {
            "description": "Person not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Addresses"
        ],
        "description": "CreateAddress",
        "operationId": "CreateAddress",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAddress"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAddress"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAddress"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Address created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAddressResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/People/{personId}/Addresses/{addressId}": {
      "put": {
        "tags": [
          "Addresses"
        ],
        "description": "UpdateAddress",
        "operationId": "UpdateAddress",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "addressId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAddress"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAddress"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAddress"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Address modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateAddressResponse"
                }
              }
            }
          },
          "404": {
            "description": "Address not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "Address id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Addresses"
        ],
        "description": "DeleteAddress",
        "operationId": "DeleteAddress",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "addressId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteAddress"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteAddress"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteAddress"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Address deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteAddressResponse"
                }
              }
            }
          },
          "404": {
            "description": "Address not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Alarms": {
      "patch": {
        "tags": [
          "Alarms"
        ],
        "description": "GetAlarmList",
        "operationId": "GetAlarmList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAlarmList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAlarmList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetAlarmList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAlarmListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Alarms/{alarmId}": {
      "patch": {
        "tags": [
          "Alarms"
        ],
        "description": "GetAlarm",
        "operationId": "GetAlarm",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "alarmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAlarm"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAlarm"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetAlarm"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAlarmResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Alarms"
        ],
        "description": "UpdateAlarm",
        "operationId": "UpdateAlarm",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "alarmId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAlarm"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAlarm"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAlarm"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateAlarmResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/AutoFix/Core/Encoders/Sync": {
      "post": {
        "tags": [
          "AutoFixCore"
        ],
        "description": "AutoFixCoreEntitiesCommand",
        "operationId": "AutoFixCoreEntitiesCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AutoFixCoreEntitiesCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AutoFixCoreEntitiesCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AutoFixCoreEntitiesCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "AutoFixCoreEntitiesCommand",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutoFixCoreEntitiesCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/AutoFix/Salto/Encoders/Sync": {
      "post": {
        "tags": [
          "Salto-Encoders"
        ],
        "description": "SyncSaltoEncodersAutoFixCommand",
        "operationId": "SyncSaltoEncodersAutoFixCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SyncSaltoEncodersAutoFixCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SyncSaltoEncodersAutoFixCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SyncSaltoEncodersAutoFixCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "SyncSaltoEncodersAutoFixCommand",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SyncSaltoEncodersAutoFixCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/AutoFix/Salto/Users/Import": {
      "post": {
        "tags": [
          "Salto-Users"
        ],
        "description": "ImportSaltoUsersAutoFixCommand",
        "operationId": "ImportSaltoUsersAutoFixCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImportSaltoUsersAutoFixCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ImportSaltoUsersAutoFixCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ImportSaltoUsersAutoFixCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "ImportSaltoUsersAutoFixCommandResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportSaltoUsersAutoFixCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/AutoFix/Salto/Groups/Sync": {
      "post": {
        "tags": [
          "Salto-AccessLevels"
        ],
        "description": "SyncSaltoZonesAndAccessLevelsAutoFixCommand",
        "operationId": "SyncSaltoZonesAndAccessLevelsAutoFixCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SyncSaltoZonesAndAccessLevelsAutoFixCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SyncSaltoZonesAndAccessLevelsAutoFixCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SyncSaltoZonesAndAccessLevelsAutoFixCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "SyncSaltoZonesAndAccessLevelsAutoFixCommand",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SyncSaltoZonesAndAccessLevelsAutoFixCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/AutoFix/Salto/Doors/Sync": {
      "post": {
        "tags": [
          "Salto-Doors"
        ],
        "description": "SyncSaltoDoorsAutoFixCommand",
        "operationId": "SyncSaltoDoorsAutoFixCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SyncSaltoDoorsAutoFixCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SyncSaltoDoorsAutoFixCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SyncSaltoDoorsAutoFixCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "SyncSaltoDoorsAutoFixCommand",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SyncSaltoDoorsAutoFixCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Billing/Clients": {
      "patch": {
        "tags": [
          "Billing-Clients"
        ],
        "description": "GetBillingClientListQuery",
        "operationId": "GetBillingClientListQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetBillingClientListQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetBillingClientListQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetBillingClientListQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of Clients",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBillingClientListQueryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/CheckInFormHeaders": {
      "patch": {
        "tags": [
          "CheckInFormHeader"
        ],
        "description": "GetCheckInFormHeadersListQuery",
        "operationId": "GetCheckInFormHeadersListQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetCheckInFormHeadersListQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetCheckInFormHeadersListQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetCheckInFormHeadersListQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Get Check In Form Header List",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCheckInFormHeadersListQueryResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "CheckInFormHeader"
        ],
        "description": "CreateCheckInFormHeaderCommand",
        "operationId": "CreateCheckInFormHeaderCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCheckInFormHeaderCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCheckInFormHeaderCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCheckInFormHeaderCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Create Check In Form Header",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateCheckInFormHeaderCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/CheckInFormHeaders/{checkInFormHeaderId}/VisitMode": {
      "put": {
        "tags": [
          "CheckInFormHeader"
        ],
        "description": "UpdateCheckInFormHeaderVisitModeCommand",
        "operationId": "UpdateCheckInFormHeaderVisitModeCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "checkInFormHeaderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInFormHeaderVisitModeCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInFormHeaderVisitModeCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInFormHeaderVisitModeCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Update Check In Form Header Name",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateCheckInFormHeaderVisitModeCommand"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/CheckInFormHeaders/{checkInFormHeaderId}/SecurityGroups": {
      "put": {
        "tags": [
          "CheckInFormHeader"
        ],
        "description": "UpdateCheckInFormHeaderSecurityGroupsCommand",
        "operationId": "UpdateCheckInFormHeaderSecurityGroupsCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "checkInFormHeaderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInFormHeaderSecurityGroupsCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInFormHeaderSecurityGroupsCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInFormHeaderSecurityGroupsCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Update Check In Form Header Security Groups",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateCheckInFormHeaderSecurityGroupsCommand"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/CheckInFormHeaders/{checkInFormHeaderId}/Workflow": {
      "put": {
        "tags": [
          "CheckInFormHeader"
        ],
        "description": "UpdateCheckInFormHeaderWorkflowCommand",
        "operationId": "UpdateCheckInFormHeaderWorkflowCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "checkInFormHeaderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInFormHeaderWorkflowCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInFormHeaderWorkflowCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInFormHeaderWorkflowCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Update Check In Form Header Workflow",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateCheckInFormHeaderWorkflowCommand"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/CheckInFormHeaders/{checkInFormHeaderId}/Personalization": {
      "put": {
        "tags": [
          "CheckInFormHeader"
        ],
        "description": "UpdateCheckInFormHeaderPersonalizationCommand",
        "operationId": "UpdateCheckInFormHeaderPersonalizationCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "checkInFormHeaderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInFormHeaderPersonalizationCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInFormHeaderPersonalizationCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInFormHeaderPersonalizationCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Update Check In Form Header Personalization",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateCheckInFormHeaderPersonalizationCommand"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/CheckInFormHeaders/{checkInFormHeaderId}/SentryBoxes": {
      "put": {
        "tags": [
          "CheckInFormHeader"
        ],
        "description": "UpdateCheckInFormHeaderSentryBoxesCommand",
        "operationId": "UpdateCheckInFormHeaderSentryBoxesCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "checkInFormHeaderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInFormHeaderSentryBoxesCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInFormHeaderSentryBoxesCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInFormHeaderSentryBoxesCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Update Check In Form Header Sentry Boxes",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateCheckInFormHeaderSentryBoxesCommand"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/CheckInFormHeaders/{checkInFormHeaderId}": {
      "delete": {
        "tags": [
          "CheckInFormHeader"
        ],
        "description": "DeleteCheckInFormHeaderCommand",
        "operationId": "DeleteCheckInFormHeaderCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "checkInFormHeaderId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Delete Check In Form Header",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteCheckInFormHeaderCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/ChecksIn/Fill": {
      "patch": {
        "tags": [
          "ChecksIn"
        ],
        "description": "CheckOrganizationalUnit",
        "operationId": "CheckOrganizationalUnit",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckOrganizationalUnit"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckOrganizationalUnit"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CheckOrganizationalUnit"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All ChecksIn returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CheckOrganizationalUnitResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/ChecksIn": {
      "post": {
        "tags": [
          "ChecksIn"
        ],
        "description": "CreateCheckIn",
        "operationId": "CreateCheckIn",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCheckIn"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCheckIn"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCheckIn"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New CheckIn created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateCheckInResponse"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "ChecksIn"
        ],
        "description": "GetChecksInList",
        "operationId": "GetChecksInList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetChecksInList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetChecksInList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetChecksInList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All ChecksIn returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetChecksInListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/ChecksIn/CheckInFormFill": {
      "patch": {
        "tags": [
          "ChecksIn"
        ],
        "description": "GetPublicCheckInFormInfoToFillQuery",
        "operationId": "GetPublicCheckInFormInfoToFillQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPublicCheckInFormInfoToFillQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPublicCheckInFormInfoToFillQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPublicCheckInFormInfoToFillQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All ChecksIn returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPublicCheckInFormInfoToFillQueryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/ChecksIn/{id}": {
      "delete": {
        "tags": [
          "ChecksIn"
        ],
        "description": "DeleteCheckIn",
        "operationId": "DeleteCheckIn",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteCheckIn"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteCheckIn"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteCheckIn"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "CheckIn deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteCheckInResponse"
                }
              }
            }
          },
          "404": {
            "description": "CheckIn not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/ChecksInForm": {
      "patch": {
        "tags": [
          "ChecksInForm"
        ],
        "description": "GetPublicCheckInFormsList",
        "operationId": "GetPublicCheckInFormsList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPublicCheckInFormsList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPublicCheckInFormsList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPublicCheckInFormsList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of CheckInForms",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPublicCheckInFormsListResponse"
                }
              }
            }
          },
          "404": {
            "description": "Person not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "ChecksInForm"
        ],
        "description": "CreateCheckInForm",
        "operationId": "CreateCheckInForm",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCheckInForm"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCheckInForm"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCheckInForm"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New CheckInForm created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateCheckInFormResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/ChecksInForm/Private": {
      "patch": {
        "tags": [
          "ChecksInForm"
        ],
        "description": "GetPrivateCheckInFormsList",
        "operationId": "GetPrivateCheckInFormsList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPrivateCheckInFormsList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPrivateCheckInFormsList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPrivateCheckInFormsList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of CheckInForms",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPrivateCheckInFormsListResponse"
                }
              }
            }
          },
          "404": {
            "description": "Person not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/ChecksInForm/{id}": {
      "put": {
        "tags": [
          "ChecksInForm"
        ],
        "description": "UpdateCheckInForm",
        "operationId": "UpdateCheckInForm",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInForm"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInForm"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCheckInForm"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "CheckInForm modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateCheckInFormResponse"
                }
              }
            }
          },
          "404": {
            "description": "CheckInForm not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "CheckInForm id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "ChecksInForm"
        ],
        "description": "DeleteCheckInForm",
        "operationId": "DeleteCheckInForm",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "CheckInForm deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateCheckInFormResponse"
                }
              }
            }
          },
          "404": {
            "description": "CheckInForm not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Role/{roleId}/CustomFields": {
      "patch": {
        "tags": [
          "CustomFields"
        ],
        "description": "GetCustomFieldList",
        "operationId": "GetCustomFieldList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "roleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetCustomFieldList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetCustomFieldList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetCustomFieldList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All CustomFields returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCustomFieldListResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "CustomFields"
        ],
        "description": "UpdateCustomFields",
        "operationId": "UpdateCustomFields",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "roleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomFields"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomFields"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomFields"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New CustomField created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateCustomFieldsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/CustomIntegration": {
      "patch": {
        "tags": [
          "CustomIntegration"
        ],
        "description": "GetCustomIntegrationTokenList",
        "operationId": "GetCustomIntegrationTokenList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetCustomIntegrationTokenList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetCustomIntegrationTokenList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetCustomIntegrationTokenList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Get Custom Integration Token List",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCustomIntegrationTokenListResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "CustomIntegration"
        ],
        "description": "CreateCustomIntegrationToken",
        "operationId": "CreateCustomIntegrationToken",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomIntegrationToken"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomIntegrationToken"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomIntegrationToken"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Create Custom Integration Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateCustomIntegrationTokenResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/CustomIntegration/{id}": {
      "delete": {
        "tags": [
          "CustomIntegration"
        ],
        "description": "DeleteCustomIntegrationToken",
        "operationId": "DeleteCustomIntegrationToken",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteCustomIntegrationToken"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteCustomIntegrationToken"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteCustomIntegrationToken"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Delete Custom Integration Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteCustomIntegrationTokenResponse"
                }
              }
            }
          }
        }
      }
    },
    "/custom-event": {
      "get": {
        "tags": [
          "CustomIntegration"
        ],
        "description": "CreateCustomIntegrationEventGet",
        "operationId": "CreateCustomIntegrationEventGet",
        "parameters": [
          {
            "name": "Token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "TenantId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "At",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Description",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "RoleId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "RoleName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PersonName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "VehiclePlate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PhysicalObjectId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "PhysicalObjectName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Create Custom Event",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateCustomIntegrationEvent"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "CustomIntegration"
        ],
        "description": "CreateCustomIntegrationEventPost",
        "operationId": "CreateCustomIntegrationEventPost",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomIntegrationEvent"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomIntegrationEvent"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomIntegrationEvent"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Create Custom Event",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateCustomIntegrationEvent"
                }
              }
            }
          }
        }
      }
    },
    "/SendEmailButtonTemplate": {
      "post": {
        "tags": [
          "DevCommunication"
        ],
        "description": "SendEmailButtonTemplate",
        "operationId": "SendEmailButtonTemplate",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendEmailButtonTemplate"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SendEmailButtonTemplate"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SendEmailButtonTemplate"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/MakePhoneSipCall": {
      "post": {
        "tags": [
          "DevCommunication"
        ],
        "description": "MakePhoneSipCall",
        "operationId": "MakePhoneSipCall",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MakePhoneSipCall"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MakePhoneSipCall"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MakePhoneSipCall"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/SendTelegramMessage": {
      "post": {
        "tags": [
          "DevCommunication"
        ],
        "description": "SendTelegramMessage",
        "operationId": "SendTelegramMessage",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendTelegramMessage"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SendTelegramMessage"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SendTelegramMessage"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/SendRelayMessage": {
      "post": {
        "tags": [
          "DevCommunication"
        ],
        "description": "SetRelayOutput",
        "operationId": "SetRelayOutput",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetRelayOutputForApi"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetRelayOutputForApi"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetRelayOutputForApi"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Test/ErrorDetails": {
      "post": {
        "tags": [
          "DevErrorDetails"
        ],
        "description": "TestErrorDetailsCommand",
        "operationId": "TestErrorDetailsCommand",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TestErrorDetailsCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TestErrorDetailsCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TestErrorDetailsCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/DeviceInService": {
      "patch": {
        "tags": [
          "DeviceInService"
        ],
        "description": "GetDevicesFromService",
        "operationId": "GetDevicesFromService",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetDevicesFromService"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetDevicesFromService"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetDevicesFromService"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All devices in the service is returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDevicesFromServiceResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "DeviceInService"
        ],
        "description": "AddDeviceForService",
        "operationId": "AddDeviceForService",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddDeviceForService"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddDeviceForService"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddDeviceForService"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New device data of a service is added",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddDeviceForServiceResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "DeviceInService"
        ],
        "description": "EditDeviceInService",
        "operationId": "EditDeviceInService",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EditDeviceInService"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EditDeviceInService"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EditDeviceInService"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Edit the configuration of one device in the service",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EditDeviceInServiceResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "DeviceInService"
        ],
        "description": "DeleteDeviceInService",
        "operationId": "DeleteDeviceInService",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteDeviceInService"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteDeviceInService"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteDeviceInService"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Device data deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteDeviceInServiceResponse"
                }
              }
            }
          },
          "404": {
            "description": "Device not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/": {
      "get": {
        "tags": [
          "DevStatus"
        ],
        "description": "Index",
        "operationId": "Index",
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/DevTests/NewEvent": {
      "post": {
        "tags": [
          "DevTests"
        ],
        "description": "DebugCreateEvent",
        "operationId": "DebugCreateEvent",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateDefaultEventCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateDefaultEventCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateDefaultEventCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/DomainCustomFields": {
      "patch": {
        "tags": [
          "DomainCustomFields"
        ],
        "description": "GetDomainCustomFieldListQuery",
        "operationId": "GetDomainCustomFieldListQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetDomainCustomFieldListQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetDomainCustomFieldListQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetDomainCustomFieldListQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All DomainCustomFields returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDomainCustomFieldListQueryResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "DomainCustomFields"
        ],
        "description": "CreateDomainCustomFieldCommand",
        "operationId": "CreateDomainCustomFieldCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDomainCustomFieldCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDomainCustomFieldCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDomainCustomFieldCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New DomainCustomField created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateDomainCustomFieldCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/DomainCustomFields/{id}": {
      "put": {
        "tags": [
          "DomainCustomFields"
        ],
        "description": "UpdateDomainCustomFieldCommand",
        "operationId": "UpdateDomainCustomFieldCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDomainCustomFieldCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDomainCustomFieldCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDomainCustomFieldCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New DomainCustomField created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateDomainCustomFieldCommandResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "DomainCustomFields"
        ],
        "description": "DeleteDomainCustomFieldCommand",
        "operationId": "DeleteDomainCustomFieldCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "DomainCustomField deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteDomainCustomFieldCommandResponse"
                }
              }
            }
          },
          "404": {
            "description": "DomainCustomField not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/People/{personId}/Emails": {
      "patch": {
        "tags": [
          "Emails"
        ],
        "description": "GetEmailsList",
        "operationId": "GetEmailsList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetEmailsList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetEmailsList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetEmailsList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of Emails from Person",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEmailsListResponse"
                }
              }
            }
          },
          "404": {
            "description": "Person not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Emails"
        ],
        "description": "CreateEmail",
        "operationId": "CreateEmail",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEmail"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEmail"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEmail"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Email created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateEmailResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/People/{personId}/Emails/{emailId}": {
      "put": {
        "tags": [
          "Emails"
        ],
        "description": "UpdateEmail",
        "operationId": "UpdateEmail",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "emailId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEmail"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEmail"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEmail"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Email modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateEmailResponse"
                }
              }
            }
          },
          "404": {
            "description": "Email not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "Email id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Emails"
        ],
        "description": "DeleteEmail",
        "operationId": "DeleteEmail",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "emailId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteEmail"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteEmail"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteEmail"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Email deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteEmailResponse"
                }
              }
            }
          },
          "404": {
            "description": "Email not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/EntityTypes": {
      "patch": {
        "tags": [
          "EntityTypes"
        ],
        "description": "GetEntityTypeListQuerySaga",
        "operationId": "GetEntityTypeListQuerySaga",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of EntityType",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEntityTypeListQuerySagaResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "EntityTypes"
        ],
        "description": "CreateEntityTypeCommandSaga",
        "operationId": "CreateEntityTypeCommandSaga",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEntityTypeCommandSaga"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEntityTypeCommandSaga"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEntityTypeCommandSaga"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New EntityType created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateEntityTypeCommandSagaResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/EntityTypes/{entityTypeId}": {
      "delete": {
        "tags": [
          "EntityTypes"
        ],
        "description": "DeleteEntityTypeCommandSaga",
        "operationId": "DeleteEntityTypeCommandSaga",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityTypeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "EntityType deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteEntityTypeCommandSagaResponse"
                }
              }
            }
          },
          "404": {
            "description": "EntityType not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/EntityTypes/AssignEntity": {
      "post": {
        "tags": [
          "EntityTypes"
        ],
        "description": "AssignEntityTypeToEntity",
        "operationId": "AssignEntityTypeToEntity",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignEntityTypeToEntity"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignEntityTypeToEntity"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AssignEntityTypeToEntity"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "PolicyEntityType assigned to PolicyEntity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssignEntityTypeToEntityResponse"
                }
              }
            }
          },
          "404": {
            "description": "PolicyEntityType not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/EntityTypes/{entityTypeId}/Properties": {
      "put": {
        "tags": [
          "EntityTypes"
        ],
        "description": "UpdateEntityTypePropertiesCommand",
        "operationId": "UpdateEntityTypePropertiesCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityTypeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEntityTypePropertiesCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEntityTypePropertiesCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEntityTypePropertiesCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "EntityType properties updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateEntityTypePropertiesCommandResponse"
                }
              }
            }
          },
          "404": {
            "description": "EntityType not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/EntityTypes/RemoveEntity": {
      "post": {
        "tags": [
          "EntityTypes"
        ],
        "description": "RemoveEntityTypeFromEntity",
        "operationId": "RemoveEntityTypeFromEntity",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveEntityTypeFromEntity"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveEntityTypeFromEntity"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveEntityTypeFromEntity"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "PolicyEntityType removed from PolicyEntity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoveEntityTypeFromEntityResponse"
                }
              }
            }
          },
          "404": {
            "description": "PolicyEntityType not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/EntranceChecks": {
      "patch": {
        "tags": [
          "EntranceChecks"
        ],
        "description": "GetEntranceChecksListQuery",
        "operationId": "GetEntranceChecksListQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetEntranceChecksListQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetEntranceChecksListQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetEntranceChecksListQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "GetEntranceChecksListQueryResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEntranceChecksListQueryResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "EntranceChecks"
        ],
        "description": "CreateEntranceCheckCommand",
        "operationId": "CreateEntranceCheckCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEntranceCheckCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEntranceCheckCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEntranceCheckCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "CreateEntranceCheckCommandResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateEntranceCheckCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/EntranceChecks/{identifier}": {
      "delete": {
        "tags": [
          "EntranceChecks"
        ],
        "description": "DeleteEntranceCheckCommand",
        "operationId": "DeleteEntranceCheck",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "DeleteEntranceCheckCommandResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteEntranceCheckCommandResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "EntranceChecks"
        ],
        "description": "UpdateEntranceCheckCommand",
        "operationId": "UpdateEntranceCheck",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEntranceCheckCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEntranceCheckCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEntranceCheckCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "UpdateEntranceCheckCommandResponse",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateEntranceCheckCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Events": {
      "patch": {
        "tags": [
          "Events"
        ],
        "description": "GetPhysicalEventsListQuery",
        "operationId": "GetPhysicalEventsListQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalEventsListQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalEventsListQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalEventsListQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPhysicalEventsListQueryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Events/Export-Csv": {
      "post": {
        "tags": [
          "Events"
        ],
        "description": "ExportPhysicalEventListInCsvCommand",
        "operationId": "ExportPhysicalEventListInCsvCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExportPhysicalEventListInCsvCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ExportPhysicalEventListInCsvCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ExportPhysicalEventListInCsvCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/FlowMeter": {
      "patch": {
        "tags": [
          "FlowMeter"
        ],
        "description": "GetTanksList",
        "operationId": "GetTanksList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetTanksList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetTanksList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetTanksList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Returns all Tanks",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTanksListResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "FlowMeter"
        ],
        "description": "CreateTank",
        "operationId": "CreateTank",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTank"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTank"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTank"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Tank created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTankResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/FlowMeter/Consumption": {
      "patch": {
        "tags": [
          "FlowMeter"
        ],
        "description": "GetTankConsumption",
        "operationId": "GetTankConsumption",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetTankConsumption"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetTankConsumption"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetTankConsumption"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Returns all consumption events which meets the conditions.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTankConsumptionResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/FlowMeter/{TankId}": {
      "put": {
        "tags": [
          "FlowMeter"
        ],
        "description": "EditTank",
        "operationId": "EditTank",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "TankId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EditTank"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EditTank"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EditTank"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Tank modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EditTankResponse"
                }
              }
            }
          },
          "404": {
            "description": "Tank not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "Tank id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "FlowMeter"
        ],
        "description": "DeleteTank",
        "operationId": "DeleteTank",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "TankId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteTank"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteTank"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteTank"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Tank deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteTankResponse"
                }
              }
            }
          },
          "404": {
            "description": "Tank not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/FoodDefense/Import": {
      "post": {
        "tags": [
          "FoodDefense"
        ],
        "description": "FoodDefenseImportCommand",
        "operationId": "FoodDefenseImportCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FoodDefenseImportCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FoodDefenseImportCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FoodDefenseImportCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Imported",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodDefenseImportCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/IdentityCertificate": {
      "patch": {
        "tags": [
          "IdentityCertificate"
        ],
        "description": "GetPublicCertificatesListQuery",
        "operationId": "GetPublicCertificatesListQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPublicCertificatesListQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPublicCertificatesListQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPublicCertificatesListQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of Certificates",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPublicCertificatesListQueryResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "IdentityCertificate"
        ],
        "description": "CreateIdentityCertificateCommand",
        "operationId": "CreateIdentityCertificateCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIdentityCertificateCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIdentityCertificateCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIdentityCertificateCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Certificate created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateIdentityCertificateCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/IdentityCertificate/{certificateId}/Private": {
      "patch": {
        "tags": [
          "IdentityCertificate"
        ],
        "description": "GetPrivateCertificateQuery",
        "operationId": "GetPrivateCertificateQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "certificateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Certificate",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPrivateCertificateQueryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/IdentityCertificate/{certificateId}": {
      "delete": {
        "tags": [
          "IdentityCertificate"
        ],
        "description": "DeleteIdentityCertificateCommand",
        "operationId": "DeleteIdentityCertificateCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "certificateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteIdentityCertificateCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteIdentityCertificateCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteIdentityCertificateCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Certificate deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteIdentityCertificateCommandResponse"
                }
              }
            }
          },
          "404": {
            "description": "Certificate not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/IdentityCertificate/LegacyDeviceProvisioning": {
      "post": {
        "tags": [
          "IdentityCertificate"
        ],
        "description": "AddCertificateCredentialsForMqttDeviceCommand",
        "operationId": "AddCertificateCredentialsForMqttDeviceCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddCertificateCredentialsForMqttDeviceCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddCertificateCredentialsForMqttDeviceCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddCertificateCredentialsForMqttDeviceCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Certificate created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddCertificateCredentialsForMqttDeviceCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/IdentityCertificate/MqttSettings": {
      "patch": {
        "tags": [
          "IdentityCertificate"
        ],
        "description": "GetCertificateMqttSettingsQuery",
        "operationId": "GetCertificateMqttSettingsQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetCertificateMqttSettingsQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetCertificateMqttSettingsQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetCertificateMqttSettingsQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Mqtt Settings",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCertificateMqttSettingsQueryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/IdentityDevice": {
      "patch": {
        "tags": [
          "IdentityDevice"
        ],
        "description": "GetIdentityDeviceListQuery",
        "operationId": "GetIdentityDeviceListQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetIdentityDeviceListQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetIdentityDeviceListQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetIdentityDeviceListQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of Devices",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetIdentityDeviceListQueryResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "IdentityDevice"
        ],
        "description": "CreateIdentityDeviceCommand",
        "operationId": "CreateIdentityDeviceCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIdentityDeviceCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIdentityDeviceCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIdentityDeviceCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Device created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateIdentityDeviceCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/IdentityDevice/{deviceId}": {
      "delete": {
        "tags": [
          "IdentityDevice"
        ],
        "description": "DeleteIdentityDeviceCommand",
        "operationId": "DeleteIdentityDeviceCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "deviceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteIdentityDeviceCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteIdentityDeviceCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteIdentityDeviceCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Device deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteIdentityDeviceCommandResponse"
                }
              }
            }
          },
          "404": {
            "description": "Device not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/IdentityTenant": {
      "patch": {
        "tags": [
          "IdentityTenant"
        ],
        "description": "GetIdentityTenantListQuery",
        "operationId": "GetIdentityTenantListQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetIdentityTenantListQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetIdentityTenantListQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetIdentityTenantListQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of Tenants",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetIdentityTenantListQueryResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "IdentityTenant"
        ],
        "description": "CreateTenantIdentityCommand",
        "operationId": "CreateTenantIdentityCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantIdentityCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantIdentityCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantIdentityCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Tenant created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTenantIdentityCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/IdentityTenant/{deviceId}": {
      "delete": {
        "tags": [
          "IdentityTenant"
        ],
        "description": "DeleteIdentityTenantCommand",
        "operationId": "DeleteIdentityTenantCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "deviceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteIdentityTenantCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteIdentityTenantCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteIdentityTenantCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Tenant deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteIdentityTenantCommandResponse"
                }
              }
            }
          },
          "404": {
            "description": "Tenant not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/IdentityUser": {
      "patch": {
        "tags": [
          "IdentityUser"
        ],
        "description": "GetIdentityUserListQuery",
        "operationId": "GetIdentityUserListQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetIdentityUserListQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetIdentityUserListQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetIdentityUserListQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of IdentityUsers",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetIdentityUserListQueryResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "IdentityUser"
        ],
        "description": "CreateIdentityUserCommand",
        "operationId": "CreateIdentityUserCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIdentityUserCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIdentityUserCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIdentityUserCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "IdentityUser created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateIdentityUserCommandResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "IdentityUser"
        ],
        "description": "DeleteIdentityUserCommand",
        "operationId": "DeleteIdentityUserCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteIdentityUserCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteIdentityUserCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteIdentityUserCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "IdentityUser deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteIdentityUserCommandResponse"
                }
              }
            }
          },
          "404": {
            "description": "IdentityUser not found"
          }
        }
      }
    },
    "/Organization/{organizationId}/IdentityUser/Claims": {
      "put": {
        "tags": [
          "IdentityUser"
        ],
        "description": "UpdateClaimsIdentityUserCommand",
        "operationId": "UpdateClaimsIdentityUserCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClaimsIdentityUserCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClaimsIdentityUserCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateClaimsIdentityUserCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "IdentityUser claims updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateClaimsIdentityUserCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/IdentityUser/ForceChangePassword": {
      "put": {
        "tags": [
          "IdentityUser"
        ],
        "description": "ForceChangePasswordIdentityUserCommand",
        "operationId": "ForceChangePasswordIdentityUserCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ForceChangePasswordIdentityUserCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ForceChangePasswordIdentityUserCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ForceChangePasswordIdentityUserCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "IdentityUser password changed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ForceChangePasswordIdentityUserCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Lpr/ControlPoints/Migrate": {
      "post": {
        "tags": [
          "Lpr-Doors"
        ],
        "description": "MigrateFromLprSkillsToLprDoors",
        "operationId": "MigrateFromLprSkillsToLprDoors",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MigrateFromLprSkillsToLprDoors"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MigrateFromLprSkillsToLprDoors"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MigrateFromLprSkillsToLprDoors"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Doors",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MigrateFromLprSkillsToLprDoorsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Lpr/ControlPoints": {
      "patch": {
        "tags": [
          "Lpr-Doors"
        ],
        "description": "GetLprControlPointListQuery",
        "operationId": "GetLprControlPointListQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Doors",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLprControlPointListQueryResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Lpr-Doors"
        ],
        "description": "CreateLprControlPointCommand",
        "operationId": "CreateLprControlPointCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLprControlPointCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLprControlPointCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLprControlPointCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Doors",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateLprControlPointCommandResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Lpr-Doors"
        ],
        "description": "UpdateLprControlPointCommand",
        "operationId": "UpdateLprControlPointCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLprControlPointCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLprControlPointCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLprControlPointCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Doors",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateLprControlPointCommandResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Lpr-Doors"
        ],
        "description": "DeleteLprControlPointCommand",
        "operationId": "DeleteLprControlPointCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteLprControlPointCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteLprControlPointCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteLprControlPointCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Doors",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteLprControlPointCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Lpr/Permissions": {
      "patch": {
        "tags": [
          "Lpr-Permissions"
        ],
        "description": "GetLprPermissionsQuery",
        "operationId": "GetLprPermissionsQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetLprPermissionsQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetLprPermissionsQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetLprPermissionsQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Permissions",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLprPermissionsQueryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Licensing": {
      "post": {
        "tags": [
          "Licensing"
        ],
        "description": "WarnLicenseExpirationCommand",
        "operationId": "WarnLicenseExpirationCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WarnLicenseExpirationCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WarnLicenseExpirationCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WarnLicenseExpirationCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WarnLicenseExpirationCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/NotificationSubscription": {
      "post": {
        "tags": [
          "NotificationSubscription"
        ],
        "description": "CreateNotificationSubscription",
        "operationId": "CreateNotificationSubscription",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNotificationSubscription"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNotificationSubscription"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNotificationSubscription"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "SignalR notification subscription created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateNotificationSubscriptionResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "NotificationSubscription"
        ],
        "description": "RemoveNotificationSubscription",
        "operationId": "RemoveNotificationSubscription",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveNotificationSubscription"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveNotificationSubscription"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveNotificationSubscription"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New PolicyEntity created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoveNotificationSubscriptionResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/OrganizationGroups": {
      "patch": {
        "tags": [
          "OrganizationGroups"
        ],
        "description": "GetOrganizationGroupListQuery",
        "operationId": "GetOrganizationGroupListQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetOrganizationGroupListQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetOrganizationGroupListQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetOrganizationGroupListQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of Organization Groups",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetOrganizationGroupListQueryResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "OrganizationGroups"
        ],
        "description": "CreateOrganizationGroupCommandSaga",
        "operationId": "CreateOrganizationGroupCommandSaga",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrganizationGroupCommandSaga"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrganizationGroupCommandSaga"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrganizationGroupCommandSaga"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Created Organization Group",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateOrganizationGroupCommandSagaResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/OrganizationGroups/{id}": {
      "put": {
        "tags": [
          "OrganizationGroups"
        ],
        "description": "UpdateOrganizationGroupCommand",
        "operationId": "UpdateOrganizationGroupCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationGroupCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationGroupCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationGroupCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Updated Organization Group",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateOrganizationGroupCommandResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "OrganizationGroups"
        ],
        "description": "DeleteOrganizationGroupCommandSaga",
        "operationId": "DeleteOrganizationGroupCommandSaga",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteOrganizationGroupCommandSaga"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteOrganizationGroupCommandSaga"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteOrganizationGroupCommandSaga"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Deleted Organization Group",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteOrganizationGroupCommandSagaResponse"
                }
              }
            }
          }
        }
      }
    },
    "/People/Current": {
      "patch": {
        "tags": [
          "People"
        ],
        "description": "GetCurrentPerson",
        "operationId": "GetCurrentPerson",
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Current Person returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCurrentPersonResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/People": {
      "patch": {
        "tags": [
          "People"
        ],
        "description": "GetPeopleList",
        "operationId": "GetPeopleList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPeopleList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPeopleList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPeopleList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All People returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPeopleListResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "People"
        ],
        "description": "CreatePersonCommandSaga",
        "operationId": "CreatePersonCommandSaga",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePersonCommandSaga"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePersonCommandSaga"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePersonCommandSaga"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Person created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatePersonCommandSagaResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/People/{personId}": {
      "patch": {
        "tags": [
          "People"
        ],
        "description": "GetPersonDetail",
        "operationId": "GetPersonDetail",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPersonDetail"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPersonDetail"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPersonDetail"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Person returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPersonDetailResponse"
                }
              }
            }
          },
          "404": {
            "description": "Person not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "People"
        ],
        "description": "UpdatePersonGeneralInformationCommand",
        "operationId": "UpdatePersonGeneralInformationCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePersonGeneralInformationCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePersonGeneralInformationCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePersonGeneralInformationCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Person modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdatePersonGeneralInformationCommandResponse"
                }
              }
            }
          },
          "404": {
            "description": "Person not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "Person id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "People"
        ],
        "description": "DeletePersonCommandSaga",
        "operationId": "DeletePersonCommandSaga",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePersonCommandSaga"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePersonCommandSaga"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePersonCommandSaga"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Person deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeletePersonCommandSagaResponse"
                }
              }
            }
          },
          "404": {
            "description": "Person not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/People/{personId}/Groups": {
      "put": {
        "tags": [
          "People"
        ],
        "description": "UpdateRoleGroups",
        "operationId": "UpdateRoleGroups",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRoleGroups"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRoleGroups"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRoleGroups"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Person modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateRoleGroupsResponse"
                }
              }
            }
          },
          "404": {
            "description": "Person not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "Person id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/People/{personId}/LastSite": {
      "put": {
        "tags": [
          "People"
        ],
        "description": "UpdatePersonLastSite",
        "operationId": "UpdatePersonLastSite",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePersonLastSite"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePersonLastSite"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePersonLastSite"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Person modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdatePersonLastSiteResponse"
                }
              }
            }
          },
          "404": {
            "description": "Person not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "Person id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/People/{personId}/Custom": {
      "put": {
        "tags": [
          "People"
        ],
        "description": "UpdatePersonCustomCommand",
        "operationId": "UpdatePersonCustomCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePersonCustomCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePersonCustomCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePersonCustomCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Person modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdatePersonCustomCommandResponse"
                }
              }
            }
          },
          "404": {
            "description": "Person not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "Person id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/People/Visit": {
      "post": {
        "tags": [
          "People"
        ],
        "description": "CreateVisitCommandSaga",
        "operationId": "CreateVisitCommandSaga",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateVisitCommandSaga"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateVisitCommandSaga"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateVisitCommandSaga"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Visit created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateVisitCommandSagaResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/People/VisitV2": {
      "post": {
        "tags": [
          "People"
        ],
        "description": "CreateVisitCommandSagaV2",
        "operationId": "CreateVisitCommandSagaV2",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateVisitCommandSagaV2"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateVisitCommandSagaV2"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateVisitCommandSagaV2"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Visit created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateVisitCommandSagaV2Response"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/People/Visit-Exit": {
      "post": {
        "tags": [
          "People"
        ],
        "description": "GiveVisitExitCommandSaga",
        "operationId": "GiveVisitExitCommandSaga",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GiveVisitExitCommandSaga"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GiveVisitExitCommandSaga"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GiveVisitExitCommandSaga"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Visit created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GiveVisitExitCommandSagaResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/People/Clear-KeyCard-Vist-Exit": {
      "post": {
        "tags": [
          "People"
        ],
        "description": "ClearSaltoKeyCardAndGiveVisitExitSaga",
        "operationId": "ClearSaltoKeyCardAndGiveVisitExitSaga",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClearSaltoKeyCardAndGiveVisitExitSaga"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClearSaltoKeyCardAndGiveVisitExitSaga"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClearSaltoKeyCardAndGiveVisitExitSaga"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Visit created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClearSaltoKeyCardAndGiveVisitExitSagaResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/People/{personId}/IdentityHttpContext": {
      "put": {
        "tags": [
          "People"
        ],
        "description": "UpdatePersonIdentityUserCommand",
        "operationId": "UpdatePersonIdentityUserCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePersonIdentityUserCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePersonIdentityUserCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePersonIdentityUserCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Person modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdatePersonIdentityUserCommandResponse"
                }
              }
            }
          },
          "404": {
            "description": "Person not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "Person id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PeopleDevices": {
      "patch": {
        "tags": [
          "PeopleDevices"
        ],
        "description": "GetPeopleInDeviceList",
        "operationId": "GetPeopleInDeviceList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPeopleInDeviceList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPeopleInDeviceList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPeopleInDeviceList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All People in the service device is returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPeopleInDeviceListResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "PeopleDevices"
        ],
        "description": "SetPeopleMatched",
        "operationId": "SetPeopleMatched",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetPeopleMatched"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetPeopleMatched"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetPeopleMatched"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Set the relationship between NeuralSynchro user and service device user",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetPeopleMatchedResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PeopleDevices/Matched": {
      "patch": {
        "tags": [
          "PeopleDevices"
        ],
        "description": "GetPeopleMatchedList",
        "operationId": "GetPeopleMatchedList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPeopleMatchedList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPeopleMatchedList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPeopleMatchedList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Get all the relationships between NeuralSynchro user and service device user",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPeopleMatchedListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/People/{personId}/Phones": {
      "patch": {
        "tags": [
          "Phones"
        ],
        "description": "GetPhonesList",
        "operationId": "GetPhonesList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of Emails from Person",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPhonesListResponse"
                }
              }
            }
          },
          "404": {
            "description": "Person not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Phones"
        ],
        "description": "CreatePhone",
        "operationId": "CreatePhone",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePhone"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePhone"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePhone"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Phone created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatePhoneResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/People/{personId}/Phones/{phoneId}": {
      "put": {
        "tags": [
          "Phones"
        ],
        "description": "UpdatePhone",
        "operationId": "UpdatePhone",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "phoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePhone"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePhone"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePhone"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Phone modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdatePhoneResponse"
                }
              }
            }
          },
          "404": {
            "description": "Phone not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "Phone id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Phones"
        ],
        "description": "DeletePhone",
        "operationId": "DeletePhone",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "personId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "phoneId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePhone"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePhone"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePhone"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Phone deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeletePhoneResponse"
                }
              }
            }
          },
          "404": {
            "description": "Phone not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PhysicalObjects": {
      "patch": {
        "tags": [
          "PhysicalObjects"
        ],
        "description": "GetPhysicalObjectsListQuery",
        "operationId": "GetPhysicalObjectsListQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalObjectsListQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalObjectsListQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalObjectsListQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All PhysicalObjects returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPhysicalObjectsListQueryResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "PhysicalObjects"
        ],
        "description": "CreatePhysicalObjectCommand",
        "operationId": "CreatePhysicalObjectCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePhysicalObjectCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePhysicalObjectCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePhysicalObjectCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New PhysicalObject created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatePhysicalObjectCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PhysicalObjects/{physicalObjectId}": {
      "patch": {
        "tags": [
          "PhysicalObjects"
        ],
        "description": "GetPhysicalObjectQuery",
        "operationId": "GetPhysicalObjectQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "physicalObjectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalObjectQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalObjectQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalObjectQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "ControlPoint returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPhysicalObjectQueryResponse"
                }
              }
            }
          },
          "404": {
            "description": "ControlPoint not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "PhysicalObjects"
        ],
        "description": "DeletePhysicalObjectCommand",
        "operationId": "DeletePhysicalObjectCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "physicalObjectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePhysicalObjectCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePhysicalObjectCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePhysicalObjectCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "PhysicalObject deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeletePhysicalObjectCommandResponse"
                }
              }
            }
          },
          "404": {
            "description": "PhysicalObject not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PhysicalObjects/{physicalObjectId}/Name": {
      "put": {
        "tags": [
          "PhysicalObjects"
        ],
        "description": "UpdatePhysicalObjectNameCommand",
        "operationId": "UpdatePhysicalObjectNameCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "physicalObjectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePhysicalObjectNameCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePhysicalObjectNameCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePhysicalObjectNameCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "PhysicalObject modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdatePhysicalObjectNameResponse"
                }
              }
            }
          },
          "404": {
            "description": "PhysicalObject not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "PhysicalObject id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PhysicalObjects/{physicalObjectId}/Sites": {
      "put": {
        "tags": [
          "PhysicalObjects"
        ],
        "description": "UpdatePhysicalObjectSitesCommand",
        "operationId": "UpdatePhysicalObjectSitesCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "physicalObjectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePhysicalObjectSitesCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePhysicalObjectSitesCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePhysicalObjectSitesCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "ControlPoint modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdatePhysicalObjectSitesCommandResponse"
                }
              }
            }
          },
          "404": {
            "description": "ControlPoint not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "ControlPoint id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/api/PhysicalObjectsCameras": {
      "patch": {
        "tags": [
          "PhysicalObjectsCameras"
        ],
        "description": "GetPhysicalObjectCameras",
        "operationId": "GetPhysicalObjectCameras",
        "parameters": [
          {
            "name": "organizationId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalObjectCameras"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalObjectCameras"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalObjectCameras"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All PhysicalObjects Cameras returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPhysicalObjectCamerasResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/PhysicalObjectsCameras/{physicalObjectId}": {
      "put": {
        "tags": [
          "PhysicalObjectsCameras"
        ],
        "description": "UpdatePhysicalObjectCameras",
        "operationId": "UpdatePhysicalObjectCameras",
        "parameters": [
          {
            "name": "organizationId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "physicalObjectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePhysicalObjectCameras"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePhysicalObjectCameras"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePhysicalObjectCameras"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "PhysicalObject Cameras modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdatePhysicalObjectCamerasResponse"
                }
              }
            }
          },
          "404": {
            "description": "PhysicalObject not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "PhysicalObject id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PhysicalObjectSkills": {
      "patch": {
        "tags": [
          "PhysicalObjectSkills"
        ],
        "description": "GetPhysicalObjectSkillsList",
        "operationId": "GetPhysicalObjectSkillsList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalObjectSkillsList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalObjectSkillsList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalObjectSkillsList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All ControlPoints returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPhysicalObjectSkillsListResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "PhysicalObjectSkills"
        ],
        "description": "AddPhysicalObjectSkills",
        "operationId": "AddPhysicalObjectSkills",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddPhysicalObjectSkills"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddPhysicalObjectSkills"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddPhysicalObjectSkills"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Physical Object Skill added",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddPhysicalObjectSkillsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PhysicalObjectSkills/{physicalObjectSkillId}": {
      "delete": {
        "tags": [
          "PhysicalObjectSkills"
        ],
        "description": "DeletePhysicalObjectSkill",
        "operationId": "DeletePhysicalObjectSkill",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "physicalObjectSkillId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePhysicalObjectSkill"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePhysicalObjectSkill"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePhysicalObjectSkill"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Skill ability deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeletePhysicalObjectSkillResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PolicyEntities": {
      "patch": {
        "tags": [
          "PolicyEntities"
        ],
        "description": "GetPolicyEntityList",
        "operationId": "GetPolicyEntityList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPolicyEntityList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPolicyEntityList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPolicyEntityList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of PolicyEntities",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPolicyEntityListResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "PolicyEntities"
        ],
        "description": "CreatePolicyEntity",
        "operationId": "CreatePolicyEntity",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePolicyEntity"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePolicyEntity"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePolicyEntity"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New PolicyEntity created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatePolicyEntityResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PolicyEntities/{entityId}": {
      "delete": {
        "tags": [
          "PolicyEntities"
        ],
        "description": "DeletePolicyEntity",
        "operationId": "DeletePolicyEntity",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePolicyEntity"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePolicyEntity"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePolicyEntity"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "PolicyEntity deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeletePolicyEntityResponse"
                }
              }
            }
          },
          "404": {
            "description": "PolicyEntity not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PolicyEntities/ChangeEntityAssignation": {
      "post": {
        "tags": [
          "PolicyEntities"
        ],
        "description": "ChangeEntityAssignation",
        "operationId": "ChangeEntityAssignation",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeEntityAssignation"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeEntityAssignation"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeEntityAssignation"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "PolicyEntity assignation changed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEntityAssignationResponse"
                }
              }
            }
          },
          "404": {
            "description": "PolicyEntity not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PolicyEntities/Subject-Functions": {
      "patch": {
        "tags": [
          "PolicyEntities"
        ],
        "description": "GetEntitySubjectFunctionsAppliedQuery",
        "operationId": "GetEntitySubjectFunctionsAppliedQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetEntitySubjectFunctionsAppliedQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetEntitySubjectFunctionsAppliedQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetEntitySubjectFunctionsAppliedQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of PolicyFunctions that entity is subject to",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEntitySubjectFunctionsAppliedQueryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PolicyEntities/Target-Functions": {
      "patch": {
        "tags": [
          "PolicyEntities"
        ],
        "description": "GetEntityTargetFunctionsAppliedQuery",
        "operationId": "GetEntityTargetFunctionsAppliedQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetEntityTargetFunctionsAppliedQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetEntityTargetFunctionsAppliedQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetEntityTargetFunctionsAppliedQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of PolicyFunctions that entity is target to",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEntityTargetFunctionsAppliedQueryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PolicyFunctions": {
      "patch": {
        "tags": [
          "PolicyFunctions"
        ],
        "description": "GetPolicyFunctionListQuery",
        "operationId": "GetPolicyFunctionListQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPolicyFunctionListQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPolicyFunctionListQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPolicyFunctionListQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of PolicyFunctions",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPolicyFunctionListQueryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PolicyPermissions": {
      "patch": {
        "tags": [
          "PolicyPermissions"
        ],
        "description": "GetPolicyPermissionList",
        "operationId": "GetPolicyPermissionList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPolicyPermissionList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPolicyPermissionList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPolicyPermissionList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of PolicyPermissions",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPolicyPermissionListResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "PolicyPermissions"
        ],
        "description": "CreatePolicyPermission",
        "operationId": "CreatePolicyPermission",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePolicyPermission"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePolicyPermission"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePolicyPermission"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New PolicyPermission created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatePolicyPermissionResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PolicyPermissions/{permissionId}": {
      "delete": {
        "tags": [
          "PolicyPermissions"
        ],
        "description": "DeletePolicyPermission",
        "operationId": "DeletePolicyPermission",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "permissionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePolicyPermission"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePolicyPermission"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePolicyPermission"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "PolicyPermission deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeletePolicyPermissionResponse"
                }
              }
            }
          },
          "404": {
            "description": "PolicyPermission not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PolicyPermissions/Project-All": {
      "post": {
        "tags": [
          "PolicyPermissions"
        ],
        "description": "ProjectAll",
        "operationId": "ProjectAll",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectAll"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectAll"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectAll"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All PolicyPermissions projected",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectAllResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PolicyPermissions/Update-Structure": {
      "post": {
        "tags": [
          "PolicyPermissions"
        ],
        "description": "UpdatePolicyStructure",
        "operationId": "UpdatePolicyStructure",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePolicyStructure"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePolicyStructure"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePolicyStructure"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Policy structure updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdatePolicyStructureResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PolicyPermissions/Subject": {
      "patch": {
        "tags": [
          "PolicyPermissions"
        ],
        "description": "GetEntitySubjectPermissionsOverEntities",
        "operationId": "GetEntitySubjectPermissionsOverEntities",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetEntitySubjectPermissionsOverEntities"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetEntitySubjectPermissionsOverEntities"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetEntitySubjectPermissionsOverEntities"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of PolicyPermissions for Subject",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEntitySubjectPermissionsOverEntitiesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PolicyPermissions/Target": {
      "patch": {
        "tags": [
          "PolicyPermissions"
        ],
        "description": "GetEntityTargetPermissionsOverEntities",
        "operationId": "GetEntityTargetPermissionsOverEntities",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetEntityTargetPermissionsOverEntities"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetEntityTargetPermissionsOverEntities"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetEntityTargetPermissionsOverEntities"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of PolicyPermissions for Target",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEntityTargetPermissionsOverEntitiesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PolicyTenants": {
      "patch": {
        "tags": [
          "PolicyTenants"
        ],
        "description": "GetPolicyTenantList",
        "operationId": "GetPolicyTenantList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPolicyTenantList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPolicyTenantList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPolicyTenantList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of Tenants user has access to",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPolicyTenantListResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "PolicyTenants"
        ],
        "description": "CreateTenantPolicyCommand",
        "operationId": "CreateTenantPolicyCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantPolicyCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantPolicyCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantPolicyCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Tenant created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTenantPolicyCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PolicyTenants/{tenantId}/Policy-Permissions-Enabled": {
      "put": {
        "tags": [
          "PolicyTenants"
        ],
        "description": "UpdateTenantPolicyPermissionsEnabled",
        "operationId": "UpdateTenantPolicyPermissionsEnabled",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTenantPolicyPermissionsEnabled"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTenantPolicyPermissionsEnabled"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTenantPolicyPermissionsEnabled"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Tenant modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTenantPolicyPermissionsEnabledResponse"
                }
              }
            }
          },
          "404": {
            "description": "Tenant not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "Tenant id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PolicyTenants/{tenantId}": {
      "delete": {
        "tags": [
          "PolicyTenants"
        ],
        "description": "DeletePolicyTenant",
        "operationId": "DeletePolicyTenant",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "tenantId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePolicyTenant"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePolicyTenant"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePolicyTenant"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Tenant deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeletePolicyTenantResponse"
                }
              }
            }
          },
          "404": {
            "description": "Tenant not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/PolicyTenants/migrate-to-policy": {
      "post": {
        "tags": [
          "PolicyTenants"
        ],
        "description": "MigrateToPolicyServer",
        "operationId": "MigrateToPolicyServer",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MigrateToPolicyServer"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MigrateToPolicyServer"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MigrateToPolicyServer"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Provisioning/AgentDevices": {
      "patch": {
        "tags": [
          "Provisioning-AgentDevices"
        ],
        "description": "GetProvisioningAgentDevicesListQuery",
        "operationId": "GetProvisioningAgentDevicesListQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetProvisioningAgentDevicesListQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetProvisioningAgentDevicesListQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetProvisioningAgentDevicesListQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of AgentDevices",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProvisioningAgentDevicesListQueryResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Provisioning-AgentDevices"
        ],
        "description": "CreateProvisioningAgentDeviceCommand",
        "operationId": "CreateProvisioningAgentDeviceCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProvisioningAgentDeviceCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProvisioningAgentDeviceCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProvisioningAgentDeviceCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "AgentDevice Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateProvisioningAgentDeviceCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Provisioning/AgentDevices/{id}": {
      "delete": {
        "tags": [
          "Provisioning-AgentDevices"
        ],
        "description": "DeleteProvisioningAgentDeviceCommand",
        "operationId": "DeleteProvisioningAgentDeviceCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "AgentDevice Deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteProvisioningAgentDeviceCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Provisioning/AgentDevices/WindowsCmdCommand": {
      "post": {
        "tags": [
          "Provisioning-AgentDevices"
        ],
        "description": "ProvisioningWindowsCmdCommand",
        "operationId": "ProvisioningWindowsCmdCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProvisioningWindowsCmdCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProvisioningWindowsCmdCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProvisioningWindowsCmdCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "WindowsCmdCommand Executed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProvisioningWindowsCmdCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Relay/{currrentAgentId}": {
      "patch": {
        "tags": [
          "Relay"
        ],
        "description": "GetRelayMessagesByAgentId",
        "operationId": "GetRelayMessagesByAgentId",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "currrentAgentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetRelayMessagesByAgentId"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetRelayMessagesByAgentId"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetRelayMessagesByAgentId"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All Relay Messages From same Agent Device",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRelayMessagesByAgentIdResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Relay"
        ],
        "description": "SetRelayMessages",
        "operationId": "SetRelayMessages",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "currrentAgentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetRelayMessages"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetRelayMessages"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetRelayMessages"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Relay messages modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetRelayMessagesResponse"
                }
              }
            }
          },
          "404": {
            "description": "Relay was not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "Relay id did not correspond to any petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Relay"
        ],
        "description": "DeleteRelayMessages",
        "operationId": "DeleteRelayMessages",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "currrentAgentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRelayMessages"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRelayMessages"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRelayMessages"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Relay messages deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteRelayMessagesResponse"
                }
              }
            }
          },
          "404": {
            "description": "Person not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Relay/{currrentAgentId}/relay": {
      "patch": {
        "tags": [
          "Relay"
        ],
        "description": "GetRelayMessages",
        "operationId": "GetRelayMessages",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "currrentAgentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetRelayMessages"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetRelayMessages"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetRelayMessages"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All Relay Messages of the concrete device",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRelayMessagesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Relay/{currrentAgentId}/allrelays": {
      "patch": {
        "tags": [
          "Relay"
        ],
        "description": "GetAllRelayMessages",
        "operationId": "GetAllRelayMessages",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "currrentAgentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllRelayMessages"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllRelayMessages"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllRelayMessages"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All Relay Messages of the concrete device",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAllRelayMessagesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Roles/{roleId}/Payload": {
      "put": {
        "tags": [
          "Roles"
        ],
        "description": "UpdateRolePayload",
        "operationId": "UpdateRolePayload",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "roleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRolePayload"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRolePayload"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRolePayload"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Role modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateRolePayloadResponse"
                }
              }
            }
          },
          "404": {
            "description": "Role not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "Role id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Roles/{roleId}/Activate": {
      "put": {
        "tags": [
          "Roles"
        ],
        "description": "UpdateRoleActivation",
        "operationId": "UpdateRoleActivation",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "roleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRoleActivation"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRoleActivation"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRoleActivation"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Role modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateRoleActivationResponse"
                }
              }
            }
          },
          "404": {
            "description": "Role not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "Role id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Salto/AccessLevels": {
      "patch": {
        "tags": [
          "Salto-AccessLevels"
        ],
        "description": "GetSaltoAccessLevelsList",
        "operationId": "GetSaltoAccessLevelsList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoAccessLevelsList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoAccessLevelsList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoAccessLevelsList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "GetSaltoAccessLevelsList",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSaltoAccessLevelsListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Salto/Agents": {
      "patch": {
        "tags": [
          "Salto-Agents"
        ],
        "description": "GetSaltoAgentsList",
        "operationId": "GetSaltoAgentsList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoAgentsList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoAgentsList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoAgentsList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of Agents",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSaltoAgentsListResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Salto-Agents"
        ],
        "description": "CreateSaltoAgent",
        "operationId": "CreateSaltoAgent",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSaltoAgent"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSaltoAgent"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSaltoAgent"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Agent created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateSaltoAgentResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Salto/Agents/{id}": {
      "delete": {
        "tags": [
          "Salto-Agents"
        ],
        "description": "DeleteSaltoAgent",
        "operationId": "DeleteSaltoAgent",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Agent deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteSaltoAgentResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Salto/Agents/FullSync": {
      "post": {
        "tags": [
          "Salto-Agents"
        ],
        "description": "SyncAllSaltoAutoFixCommand",
        "operationId": "SyncAllSaltoAutoFixCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SyncAllSaltoAutoFixCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SyncAllSaltoAutoFixCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SyncAllSaltoAutoFixCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Full sync with Salto",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SyncAllSaltoAutoFixCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Salto/Doors": {
      "patch": {
        "tags": [
          "Salto-Doors"
        ],
        "description": "GetSaltoDoorsList",
        "operationId": "GetSaltoDoorsList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoDoorsList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoDoorsList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoDoorsList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of Doors",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSaltoDoorsListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Salto/Encoders": {
      "patch": {
        "tags": [
          "Salto-Encoders"
        ],
        "description": "GetSaltoEncodersList",
        "operationId": "GetSaltoEncodersList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoEncodersList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoEncodersList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoEncodersList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of Encoders",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSaltoEncodersListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Salto/KeyCards/Read": {
      "patch": {
        "tags": [
          "Salto-KeyCards"
        ],
        "description": "ReadSaltoKeyCard",
        "operationId": "ReadSaltoKeyCard",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReadSaltoKeyCard"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReadSaltoKeyCard"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReadSaltoKeyCard"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Information about KeyCard",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadSaltoKeyCardResponse"
                }
              }
            }
          },
          "404": {
            "description": "Encoder not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Salto/KeyCards/Assign": {
      "post": {
        "tags": [
          "Salto-KeyCards"
        ],
        "description": "AssignSaltoKeyCard",
        "operationId": "AssignSaltoKeyCard",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignSaltoKeyCard"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignSaltoKeyCard"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AssignSaltoKeyCard"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "KeyCard assigned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssignSaltoKeyCardResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Salto/KeyCards/Update": {
      "post": {
        "tags": [
          "Salto-KeyCards"
        ],
        "description": "UpdateSaltoKeyCard",
        "operationId": "UpdateSaltoKeyCard",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSaltoKeyCard"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSaltoKeyCard"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSaltoKeyCard"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "KeyCard updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateSaltoKeyCardResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Salto/KeyCards/Clear": {
      "post": {
        "tags": [
          "Salto-KeyCards"
        ],
        "description": "ClearSaltoKeyCard",
        "operationId": "ClearSaltoKeyCard",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClearSaltoKeyCard"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClearSaltoKeyCard"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClearSaltoKeyCard"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "KeyCard cleared",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClearSaltoKeyCardResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Salto/KeyCards/Blacklist": {
      "post": {
        "tags": [
          "Salto-KeyCards"
        ],
        "description": "BlacklistSaltoKeyCard",
        "operationId": "BlacklistSaltoKeyCard",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BlacklistSaltoKeyCard"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BlacklistSaltoKeyCard"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BlacklistSaltoKeyCard"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "KeyCard blacklisted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BlacklistSaltoKeyCardResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Salto/Users": {
      "patch": {
        "tags": [
          "Salto-Users"
        ],
        "description": "GetSaltoUsersList",
        "operationId": "GetSaltoUsersList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoUsersList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoUsersList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoUsersList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "GetSaltoUsersList",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSaltoUsersListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Integrations/Salto/Zones": {
      "patch": {
        "tags": [
          "Salto-Zones"
        ],
        "description": "GetSaltoZonesList",
        "operationId": "GetSaltoZonesList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoZonesList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoZonesList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetSaltoZonesList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of Zones",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSaltoZonesListResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/SentryBoxes": {
      "patch": {
        "tags": [
          "SentryBox"
        ],
        "description": "GetSentryBoxList",
        "operationId": "GetSentryBoxList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetSentryBoxListQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetSentryBoxListQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetSentryBoxListQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Get Sentry Box List",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSentryBoxListQueryResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SentryBox"
        ],
        "description": "CreateSentryBoxSaga",
        "operationId": "CreateSentryBoxSaga",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSentryBoxSaga"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSentryBoxSaga"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSentryBoxSaga"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Create Sentry Box",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateSentryBoxSagaResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/SentryBoxes/{sentryBoxId}/Name": {
      "put": {
        "tags": [
          "SentryBox"
        ],
        "description": "UpdateSentryBoxNameCommand",
        "operationId": "UpdateSentryBoxNameCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "sentryBoxId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSentryBoxNameCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSentryBoxNameCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSentryBoxNameCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Update Sentry Box Name",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateSentryBoxNameCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/SentryBoxes/{sentryBoxId}": {
      "delete": {
        "tags": [
          "SentryBox"
        ],
        "description": "DeleteSentryBoxSaga",
        "operationId": "DeleteSentryBoxSaga",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "sentryBoxId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Delete Sentry Box",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteSentryBoxSagaResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Statistics/TenantPerDay": {
      "patch": {
        "tags": [
          "Statistics"
        ],
        "description": "TenantPerDayStatisticsQuery",
        "operationId": "TenantPerDayStatisticsQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantPerDayStatisticsQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantPerDayStatisticsQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TenantPerDayStatisticsQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of statistics",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantPerDayStatisticsQueryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Tenants": {
      "patch": {
        "tags": [
          "Tenants"
        ],
        "description": "GetTenantListQuery",
        "operationId": "GetTenantListQuery",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetTenantListQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetTenantListQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetTenantListQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All Tenants returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTenantListQueryResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Tenants"
        ],
        "description": "CreateTenantCommandSaga",
        "operationId": "CreateTenantCommandSaga",
        "parameters": [
          {
            "name": "organizationId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantCommandSaga"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantCommandSaga"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTenantCommandSaga"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New OrganizationalUnit created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTenantCommandSagaResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Tenants/{organizationId}": {
      "patch": {
        "tags": [
          "Tenants"
        ],
        "description": "GetTenantQuery",
        "operationId": "GetTenantQuery",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "OrganizationalUnit returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTenantQueryResponse"
                }
              }
            }
          },
          "404": {
            "description": "OrganizationalUnit not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Tenants/{organizationId}/PublicConfiguration": {
      "post": {
        "tags": [
          "Tenants"
        ],
        "description": "UpdateTenantPublicConfigurationCommand",
        "operationId": "UpdateTenantPublicConfigurationCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTenantPublicConfigurationCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTenantPublicConfigurationCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTenantPublicConfigurationCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Public Configuration updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTenantPublicConfigurationCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Tenants/{organizationId}/PrivateConfiguration": {
      "post": {
        "tags": [
          "Tenants"
        ],
        "description": "UpdateTenantPrivateConfigurationCommand",
        "operationId": "UpdateTenantPrivateConfigurationCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTenantPrivateConfigurationCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTenantPrivateConfigurationCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTenantPrivateConfigurationCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Private Configuration updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTenantPrivateConfigurationCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Translation/{organizationId}": {
      "patch": {
        "tags": [
          "Translation"
        ],
        "description": "GetTranslationList",
        "operationId": "GetTranslationList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllTranslationsQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllTranslationsQuery"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetAllTranslationsQuery"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Get Translation List",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAllTranslationsQueryResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Translation/{organizationId}/{translationContentId}": {
      "put": {
        "tags": [
          "Translation"
        ],
        "description": "UpdateAllTranslationsCommand",
        "operationId": "UpdateAllTranslationsCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "translationContentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAllTranslationsCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAllTranslationsCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAllTranslationsCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Update All Translations",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateAllTranslationsCommandResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Triggers": {
      "patch": {
        "tags": [
          "Triggers"
        ],
        "description": "GetPhysicalEventTriggers",
        "operationId": "GetPhysicalEventTriggers",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalEventTriggers"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalEventTriggers"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetPhysicalEventTriggers"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Dictionary of Triggers from PhysicalObject",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPhysicalEventTriggersResponse"
                }
              }
            }
          },
          "404": {
            "description": "OrganizationalUnit not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Triggers"
        ],
        "description": "CreatePhysicalEventTrigger",
        "operationId": "CreatePhysicalEventTrigger",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePhysicalEventTrigger"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePhysicalEventTrigger"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePhysicalEventTrigger"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Trigger created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreatePhysicalEventTriggerResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Triggers"
        ],
        "description": "DeletePhysicalEventTrigger",
        "operationId": "DeletePhysicalEventTrigger",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePhysicalEventTrigger"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePhysicalEventTrigger"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeletePhysicalEventTrigger"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Trigger deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeletePhysicalEventResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Vehicles": {
      "patch": {
        "tags": [
          "Vehicles"
        ],
        "description": "GetVehiclesList",
        "operationId": "GetVehiclesList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetVehiclesList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetVehiclesList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetVehiclesList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All Vehicles returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetVehiclesListResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Vehicles"
        ],
        "description": "CreateVehicle",
        "operationId": "CreateVehicle",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateVehicle"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateVehicle"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateVehicle"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Vehicle created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateVehicleResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/Vehicles/{vehicleId}": {
      "patch": {
        "tags": [
          "Vehicles"
        ],
        "description": "GetVehicleDetail",
        "operationId": "GetVehicleDetail",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "vehicleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Vehicle returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetVehicleDetailResponse"
                }
              }
            }
          },
          "404": {
            "description": "Vehicle not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Vehicles"
        ],
        "description": "DeleteVehicle",
        "operationId": "DeleteVehicle",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "vehicleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteVehicle"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteVehicle"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteVehicle"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Vehicle deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteVehicleResponse"
                }
              }
            }
          },
          "404": {
            "description": "Vehicle not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Vehicles"
        ],
        "description": "UpdateVehicleName",
        "operationId": "UpdateVehicleName",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "vehicleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateVehicleName"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateVehicleName"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateVehicleName"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Vehicle modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateVehicleResponse"
                }
              }
            }
          },
          "404": {
            "description": "Vehicle not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "Vehicle id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/VideoServer": {
      "patch": {
        "tags": [
          "VideoServer"
        ],
        "description": "GetVideoServerList",
        "operationId": "GetVideoServerList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetVideoServerList"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetVideoServerList"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetVideoServerList"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All Video Servers returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetVideoServerListResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "VideoServer"
        ],
        "description": "CreateVideoServer",
        "operationId": "CreateVideoServer",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateVideoServer"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateVideoServer"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateVideoServer"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New Video Server created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateVideoServerResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/VideoServer/{serverId}": {
      "patch": {
        "tags": [
          "VideoServer"
        ],
        "description": "GetVideoServerCameraList",
        "operationId": "GetVideoServerCameraList",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "serverId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "All Video Server cameras returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetVideoServerCameraListResponse"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "VideoServer"
        ],
        "description": "UpdateNetworkOptixGeneralInformationCommand",
        "operationId": "UpdateNetworkOptixGeneralInformationCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "serverId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNetworkOptixGeneralInformationCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNetworkOptixGeneralInformationCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNetworkOptixGeneralInformationCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Video Server modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateNetworkOptixGeneralInformationCommandResponse"
                }
              }
            }
          },
          "404": {
            "description": "Video Server not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "Video Server id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/VideoServer/{serverId}/Password": {
      "put": {
        "tags": [
          "VideoServer"
        ],
        "description": "UpdateNetworkOptixPasswordCommand",
        "operationId": "UpdateNetworkOptixPasswordCommand",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "serverId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNetworkOptixPasswordCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNetworkOptixPasswordCommand"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNetworkOptixPasswordCommand"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Video Server modified",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateNetworkOptixPasswordCommandResponse"
                }
              }
            }
          },
          "404": {
            "description": "Video Server not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "400": {
            "description": "Video Server id not corresponds to petition id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/VideoServer/{videoServerId}": {
      "delete": {
        "tags": [
          "VideoServer"
        ],
        "description": "DeleteVideoServer",
        "operationId": "DeleteVideoServer",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "videoServerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteVideoServer"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteVideoServer"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteVideoServer"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Video Server deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteVideoServerResponse"
                }
              }
            }
          },
          "404": {
            "description": "Person not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/VideoSource/{eventId}": {
      "patch": {
        "tags": [
          "VideoSource"
        ],
        "description": "GetNXVideoCredentials",
        "operationId": "GetNXVideoCredentials",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "eventId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "resolution",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isWebmAvailable",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of Videos from Event",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNXVideoCredentialsResponse"
                }
              }
            }
          },
          "404": {
            "description": "Event not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/VideoSource": {
      "patch": {
        "tags": [
          "VideoSource"
        ],
        "description": "GetNXVideoPreviewCredentials",
        "operationId": "GetNXVideoPreviewCredentials",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "videoServerId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cameraId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "resolution",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isWebmAvailable",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Preview Video",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNXVideoPreviewCredentialsResponse"
                }
              }
            }
          },
          "404": {
            "description": "Camera not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      }
    },
    "/WebPages/Login": {
      "patch": {
        "tags": [
          "WebPages"
        ],
        "description": "WebPageLoginQuerySaga",
        "operationId": "WebPageLoginQuerySaga",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebPageLoginQuerySaga"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WebPageLoginQuerySaga"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WebPageLoginQuerySaga"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Login data returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebPageLoginQuerySagaResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/WebPages/Visit": {
      "patch": {
        "tags": [
          "WebPages"
        ],
        "description": "WebPageVisitQuerySaga",
        "operationId": "WebPageVisitQuerySaga",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebPageVisitQuerySaga"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WebPageVisitQuerySaga"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WebPageVisitQuerySaga"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "Visit page data returned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebPageVisitQuerySagaResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/WorkflowInput": {
      "patch": {
        "tags": [
          "WorkflowInput"
        ],
        "description": "GetWorkflowInputParameters",
        "operationId": "GetWorkflowInputParameters",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetWorkflowInputParameters"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetWorkflowInputParameters"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetWorkflowInputParameters"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "List of WorkflowInputParameters",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkflowInputParametersResponse"
                }
              }
            }
          },
          "404": {
            "description": "OrganizationalUnit not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "WorkflowInput"
        ],
        "description": "CreateWorkflowInputParameters",
        "operationId": "CreateWorkflowInputParameters",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWorkflowInputParameters"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWorkflowInputParameters"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWorkflowInputParameters"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New WorkflowInputParameter created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateWorkflowInputParametersResponse"
                }
              }
            }
          }
        }
      }
    },
    "/Organization/{organizationId}/WorkflowInput/{id}": {
      "put": {
        "tags": [
          "WorkflowInput"
        ],
        "description": "UpdateWorkflowInputParameters",
        "operationId": "UpdateWorkflowInputParameters",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWorkflowInputParameters"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWorkflowInputParameters"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWorkflowInputParameters"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "New WorkflowInputParameter created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateWorkflowInputParametersResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "WorkflowInput"
        ],
        "description": "DeleteWorkflowInputParameters",
        "operationId": "DeleteWorkflowInputParameters",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteWorkflowInputParameters"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteWorkflowInputParameters"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteWorkflowInputParameters"
              }
            }
          }
        },
        "responses": {
          "401": {
            "description": "User is not authorized, request new Bearer Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorDetails"
                }
              }
            }
          },
          "200": {
            "description": "WorkflowInputParameter deleted",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteWorkflowInputParametersResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AddCertificateCredentialsForMqttDeviceCommand": {
        "required": [
          "certificateId",
          "scopes"
        ],
        "type": "object",
        "properties": {
          "certificateId": {
            "type": "string",
            "format": "uuid"
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddCertificateCredentialsForMqttDeviceCommandResponse": {
        "required": [
          "mqttSettings"
        ],
        "type": "object",
        "properties": {
          "mqttSettings": {
            "$ref": "#/components/schemas/MqttSettings"
          }
        },
        "additionalProperties": false
      },
      "AddDeviceForService": {
        "required": [
          "integrationProvider"
        ],
        "type": "object",
        "properties": {
          "integrationProvider": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "payload": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddDeviceForServiceResponse": {
        "required": [
          "success"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AddPhysicalObjectSkills": {
        "required": [
          "integrationCode",
          "physicalObjectId"
        ],
        "type": "object",
        "properties": {
          "physicalObjectId": {
            "type": "string",
            "format": "uuid"
          },
          "callbackId": {
            "type": "string",
            "nullable": true
          },
          "callbackInfo": {
            "type": "string",
            "nullable": true
          },
          "integrationCode": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "physicalObjectServiceSkill": {
            "$ref": "#/components/schemas/PhysicalObjectServiceSkill"
          }
        },
        "additionalProperties": false
      },
      "AddPhysicalObjectSkillsResponse": {
        "required": [
          "integrationCode"
        ],
        "type": "object",
        "properties": {
          "integrationCode": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "callbackId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddressDetailDto": {
        "required": [
          "id",
          "personId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "postalAddress": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "personId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "AddressLookUpDto": {
        "required": [
          "id",
          "personId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "postalAddress": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "personId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "AgentDeviceDto": {
        "required": [
          "id",
          "lastSeenUtc",
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "lastSeenUtc": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "AlarmNotification": {
        "required": [
          "agentId",
          "alarmAt",
          "at",
          "attended",
          "domainId",
          "eventId",
          "id",
          "physicalObjectType",
          "roleType",
          "service"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "originalId": {
            "type": "string",
            "nullable": true
          },
          "domainId": {
            "type": "string",
            "format": "uuid"
          },
          "agentId": {
            "type": "string",
            "format": "uuid"
          },
          "service": {
            "$ref": "#/components/schemas/ServiceCode"
          },
          "at": {
            "type": "string",
            "format": "date-time"
          },
          "roleId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "roleName": {
            "type": "string",
            "nullable": true
          },
          "roleType": {
            "$ref": "#/components/schemas/RoleType"
          },
          "physicalObjectId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "physicalObjectName": {
            "type": "string",
            "nullable": true
          },
          "physicalObjectPayload": {
            "type": "string",
            "nullable": true
          },
          "physicalObjectType": {
            "$ref": "#/components/schemas/PhysicalObjectType"
          },
          "eventType": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "info": {
            "type": "string",
            "nullable": true
          },
          "personId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "personName": {
            "type": "string",
            "nullable": true
          },
          "vehiclePlate": {
            "type": "string",
            "nullable": true
          },
          "eventId": {
            "type": "string",
            "format": "uuid"
          },
          "alarmAt": {
            "type": "string",
            "format": "date-time"
          },
          "alarmDescription": {
            "type": "string",
            "nullable": true
          },
          "warnDescription": {
            "type": "string",
            "nullable": true
          },
          "attended": {
            "type": "boolean"
          },
          "attendedDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AngelRelayOutputPayload": {
        "required": [
          "isLowToHigh",
          "pin"
        ],
        "type": "object",
        "properties": {
          "pin": {
            "type": "integer",
            "format": "int32"
          },
          "isLowToHigh": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AntiTimeBackWorkflowData": {
        "required": [
          "timeInSeconds",
          "workflowAlarmData"
        ],
        "type": "object",
        "properties": {
          "timeInSeconds": {
            "type": "integer",
            "format": "int32"
          },
          "workflowAlarmData": {
            "$ref": "#/components/schemas/WorkflowAlarmData"
          }
        },
        "additionalProperties": false
      },
      "AssignEntityTypeToEntity": {
        "required": [
          "entityId"
        ],
        "type": "object",
        "properties": {
          "entityId": {
            "type": "string",
            "format": "uuid"
          },
          "entityTypeId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssignEntityTypeToEntityResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "AssignSaltoKeyCard": {
        "required": [
          "encoderId",
          "personId"
        ],
        "type": "object",
        "properties": {
          "personId": {
            "type": "string",
            "format": "uuid"
          },
          "encoderId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssignSaltoKeyCardResponse": {
        "required": [
          "encoderId",
          "personId"
        ],
        "type": "object",
        "properties": {
          "personId": {
            "type": "string",
            "format": "uuid"
          },
          "encoderId": {
            "type": "string",
            "nullable": true
          },
          "romCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AutoFixCoreEntitiesCommand": {
        "required": [
          "executeDelete"
        ],
        "type": "object",
        "properties": {
          "executeDelete": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AutoFixCoreEntitiesCommandResponse": {
        "required": [
          "policyResponse"
        ],
        "type": "object",
        "properties": {
          "policyResponse": {
            "$ref": "#/components/schemas/AutoFixPolicyEntitiesCommandResponse"
          }
        },
        "additionalProperties": false
      },
      "AutoFixPolicyEntitiesCommandResponse": {
        "required": [
          "activeEntitiesCount",
          "entityTypeId",
          "removedEntitiesCount"
        ],
        "type": "object",
        "properties": {
          "entityTypeId": {
            "type": "string",
            "nullable": true
          },
          "activeEntitiesCount": {
            "type": "integer",
            "format": "int32"
          },
          "removedEntitiesCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "BaseMqttAuthentication": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "BillingClient": {
        "type": "object",
        "properties": {
          "addressLine1": {
            "type": "string",
            "nullable": true
          },
          "addressLine2": {
            "type": "string",
            "nullable": true
          },
          "addressLine3": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "danishIdentityNumber": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "familyName": {
            "type": "string",
            "nullable": true
          },
          "givenName": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "region": {
            "type": "string",
            "nullable": true
          },
          "swedishIdentityNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BlacklistSaltoKeyCard": {
        "required": [
          "personId"
        ],
        "type": "object",
        "properties": {
          "personId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "BlacklistSaltoKeyCardResponse": {
        "required": [
          "personId"
        ],
        "type": "object",
        "properties": {
          "personId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CaseTransformation": {
        "enum": [
          "NONE",
          "TO_UPPER",
          "TO_LOWER"
        ],
        "type": "string"
      },
      "CertificateCryptographicInfoType": {
        "enum": [
          "Unknown",
          "EncryptionRsaSize2048HashSha512",
          "EncryptionEcdSize256HashSha256"
        ],
        "type": "string"
      },
      "CertificateStandardType": {
        "enum": [
          "Unknown",
          "X509"
        ],
        "type": "string"
      },
      "ChangeEntityAssignation": {
        "required": [
          "childTargetId",
          "newParentsIds"
        ],
        "type": "object",
        "properties": {
          "childTargetId": {
            "type": "string",
            "format": "uuid"
          },
          "newParentsIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "doNotNotifyPermissions": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ChangeEntityAssignationResponse": {
        "required": [
          "childEntityTypes",
          "childTargetId",
          "newParentsIds"
        ],
        "type": "object",
        "properties": {
          "childTargetId": {
            "type": "string",
            "format": "uuid"
          },
          "childEntityTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "newParentsIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "sagaName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CheckInDetailDto": {
        "required": [
          "created",
          "customFields",
          "entryDate",
          "genre",
          "isEntranceRestricted"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "genre": {
            "$ref": "#/components/schemas/GenreType"
          },
          "dni": {
            "type": "string",
            "nullable": true
          },
          "vehicle": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "addressName": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "company": {
            "type": "string",
            "nullable": true
          },
          "visitReason": {
            "type": "string",
            "nullable": true
          },
          "entryDate": {
            "type": "string",
            "format": "date-time"
          },
          "customFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CustomFieldDetailDto"
            },
            "nullable": true
          },
          "requestedEntryHourInSeconds": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "checkInFormId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "checkInFormHeaderId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "sentryBoxId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "isEntranceRestricted": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CheckInFormHeaderDto": {
        "required": [
          "checkInFormId",
          "id",
          "name",
          "organizationalGroupsConfiguration",
          "personalizationConfiguration",
          "sentryBoxesIds",
          "visitModeConfiguration",
          "workflowConfiguration"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "checkInFormId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "nameTranslationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "sentryBoxesIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "visitModeConfiguration": {
            "$ref": "#/components/schemas/FormVisitModeConfigurationDto"
          },
          "organizationalGroupsConfiguration": {
            "$ref": "#/components/schemas/FormOrganizationalGroupsConfigurationDto"
          },
          "workflowConfiguration": {
            "$ref": "#/components/schemas/FormWorkflowConfigurationDto"
          },
          "personalizationConfiguration": {
            "$ref": "#/components/schemas/FormPersonalizationConfigurationDto"
          }
        },
        "additionalProperties": false
      },
      "CheckOrganizationalUnit": {
        "type": "object",
        "additionalProperties": false
      },
      "CheckOrganizationalUnitResponse": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClaimDto": {
        "required": [
          "type",
          "value"
        ],
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClearSaltoKeyCard": {
        "required": [
          "saltoEncoderId"
        ],
        "type": "object",
        "properties": {
          "saltoEncoderId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClearSaltoKeyCardAndGiveVisitExitSaga": {
        "required": [
          "saltoEncoderId"
        ],
        "type": "object",
        "properties": {
          "saltoEncoderId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClearSaltoKeyCardAndGiveVisitExitSagaResponse": {
        "required": [
          "isVisitor",
          "saltoEncoderId"
        ],
        "type": "object",
        "properties": {
          "saltoEncoderId": {
            "type": "string",
            "nullable": true
          },
          "personId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "isVisitor": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ClearSaltoKeyCardResponse": {
        "required": [
          "saltoEncoderId"
        ],
        "type": "object",
        "properties": {
          "saltoEncoderId": {
            "type": "string",
            "nullable": true
          },
          "personId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ControlPointEnterExitType": {
        "enum": [
          "Enter",
          "Exit"
        ],
        "type": "string"
      },
      "CoreEntityTypeProperties": {
        "type": "object",
        "properties": {
          "frontendConfiguration": {
            "$ref": "#/components/schemas/EntityTypeFrontendConfiguration"
          }
        },
        "additionalProperties": false
      },
      "CreateAddress": {
        "required": [
          "personId"
        ],
        "type": "object",
        "properties": {
          "personId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "postalAddress": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateAddressResponse": {
        "required": [
          "newValue"
        ],
        "type": "object",
        "properties": {
          "newValue": {
            "$ref": "#/components/schemas/AddressDetailDto"
          }
        },
        "additionalProperties": false
      },
      "CreateCheckIn": {
        "required": [
          "customFields",
          "entryDate",
          "genre"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "genre": {
            "$ref": "#/components/schemas/GenreType"
          },
          "dni": {
            "type": "string",
            "nullable": true
          },
          "vehicle": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "addressName": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "company": {
            "type": "string",
            "nullable": true
          },
          "visitReason": {
            "type": "string",
            "nullable": true
          },
          "entryDate": {
            "type": "string",
            "format": "date-time"
          },
          "customFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CustomFieldDetailDto"
            },
            "nullable": true
          },
          "requestedEntryHourInSeconds": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "checkInFormId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "checkInFormHeaderId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "sentryBoxId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateCheckInForm": {
        "type": "object",
        "additionalProperties": false
      },
      "CreateCheckInFormHeaderCommand": {
        "required": [
          "checkInFormId"
        ],
        "type": "object",
        "properties": {
          "checkInFormId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateCheckInFormHeaderCommandResponse": {
        "required": [
          "newCheckInFormHeader"
        ],
        "type": "object",
        "properties": {
          "newCheckInFormHeader": {
            "$ref": "#/components/schemas/CheckInFormHeaderDto"
          }
        },
        "additionalProperties": false
      },
      "CreateCheckInFormResponse": {
        "required": [
          "newCheckInForm"
        ],
        "type": "object",
        "properties": {
          "newCheckInForm": {
            "$ref": "#/components/schemas/PrivateCheckInFormDto"
          },
          "translation": {
            "$ref": "#/components/schemas/TranslationDictionaryDto"
          }
        },
        "additionalProperties": false
      },
      "CreateCheckInResponse": {
        "required": [
          "newCheckIn"
        ],
        "type": "object",
        "properties": {
          "newCheckIn": {
            "$ref": "#/components/schemas/CheckInDetailDto"
          }
        },
        "additionalProperties": false
      },
      "CreateCustomIntegrationEvent": {
        "required": [
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "nullable": true
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "roleId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "roleName": {
            "type": "string",
            "nullable": true
          },
          "personName": {
            "type": "string",
            "nullable": true
          },
          "vehiclePlate": {
            "type": "string",
            "nullable": true
          },
          "physicalObjectId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "physicalObjectName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateCustomIntegrationToken": {
        "type": "object",
        "additionalProperties": false
      },
      "CreateCustomIntegrationTokenResponse": {
        "required": [
          "customIntegrationToken"
        ],
        "type": "object",
        "properties": {
          "customIntegrationToken": {
            "$ref": "#/components/schemas/CustomIntegrationTokenDto"
          }
        },
        "additionalProperties": false
      },
      "CreateDomainCustomFieldCommand": {
        "required": [
          "fieldType",
          "name"
        ],
        "type": "object",
        "properties": {
          "fieldType": {
            "$ref": "#/components/schemas/FieldType"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateDomainCustomFieldCommandResponse": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateEmail": {
        "required": [
          "personId"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateEmailResponse": {
        "required": [
          "newValue"
        ],
        "type": "object",
        "properties": {
          "newValue": {
            "$ref": "#/components/schemas/EmailDetailDto"
          }
        },
        "additionalProperties": false
      },
      "CreateEntityTypeCommandSaga": {
        "required": [
          "partialId"
        ],
        "type": "object",
        "properties": {
          "partialId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateEntityTypeCommandSagaResponse": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateEntranceCheckCommand": {
        "required": [
          "identifier",
          "information"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "information": {
            "$ref": "#/components/schemas/EntranceCheckInformation"
          }
        },
        "additionalProperties": false
      },
      "CreateEntranceCheckCommandResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "CreateIdentityCertificateCommand": {
        "required": [
          "cryptographicInfoType",
          "standardType",
          "validUntilUtc"
        ],
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "validUntilUtc": {
            "type": "string",
            "format": "date-time"
          },
          "parentCertificateId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "cryptographicInfoType": {
            "$ref": "#/components/schemas/CertificateCryptographicInfoType"
          },
          "standardType": {
            "$ref": "#/components/schemas/CertificateStandardType"
          },
          "commonName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateIdentityCertificateCommandResponse": {
        "required": [
          "certificateId"
        ],
        "type": "object",
        "properties": {
          "certificateId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateIdentityDeviceCommand": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "tenantId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateIdentityDeviceCommandResponse": {
        "required": [
          "deviceId"
        ],
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateIdentityUserCommand": {
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateIdentityUserCommandResponse": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateLprControlPointCommand": {
        "required": [
          "lprId"
        ],
        "type": "object",
        "properties": {
          "lprId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateLprControlPointCommandResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "CreateNotificationSubscription": {
        "required": [
          "callbackClientMethod",
          "connectionId",
          "notificationName",
          "physicalEventFilter"
        ],
        "type": "object",
        "properties": {
          "notificationName": {
            "type": "string",
            "nullable": true
          },
          "connectionId": {
            "type": "string",
            "nullable": true
          },
          "callbackClientMethod": {
            "type": "string",
            "nullable": true
          },
          "physicalEventFilter": {
            "$ref": "#/components/schemas/PhysicalEventFilter"
          }
        },
        "additionalProperties": false
      },
      "CreateNotificationSubscriptionResponse": {
        "required": [
          "notificationExample"
        ],
        "type": "object",
        "properties": {
          "notificationExample": {
            "$ref": "#/components/schemas/PhysicalEventsCreatedBatchNotification"
          }
        },
        "additionalProperties": false
      },
      "CreateOrganizationGroupCommandSaga": {
        "required": [
          "name",
          "policyEntityId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "policyEntityId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateOrganizationGroupCommandSagaResponse": {
        "required": [
          "organizationGroup"
        ],
        "type": "object",
        "properties": {
          "organizationGroup": {
            "$ref": "#/components/schemas/OrganizationGroup"
          }
        },
        "additionalProperties": false
      },
      "CreatePersonCommandSaga": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "identificationNumber": {
            "type": "string",
            "nullable": true
          },
          "employeeNumber": {
            "type": "string",
            "nullable": true
          },
          "securityGroupsIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "departmentsIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "sitesIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreatePersonCommandSagaResponse": {
        "required": [
          "organizationalGroupsIds",
          "person"
        ],
        "type": "object",
        "properties": {
          "person": {
            "$ref": "#/components/schemas/PersonDetailDto"
          },
          "securityGroupsIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "departmentsIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "sitesIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "organizationalGroupsIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreatePhone": {
        "required": [
          "personId"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreatePhoneResponse": {
        "required": [
          "newValue"
        ],
        "type": "object",
        "properties": {
          "newValue": {
            "$ref": "#/components/schemas/PhoneDetailDto"
          }
        },
        "additionalProperties": false
      },
      "CreatePhysicalEventTrigger": {
        "required": [
          "checkPhysicalObjectId",
          "checkRoleId"
        ],
        "type": "object",
        "properties": {
          "lifeTime": {
            "$ref": "#/components/schemas/WorkflowLifeTime"
          },
          "expirationDateUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "workflowInputParametersId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "checkRoleId": {
            "type": "boolean"
          },
          "roleId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "checkPhysicalObjectId": {
            "type": "boolean"
          },
          "physicalObjectId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "controlPointEnterExitType": {
            "$ref": "#/components/schemas/ControlPointEnterExitType"
          }
        },
        "additionalProperties": false
      },
      "CreatePhysicalEventTriggerResponse": {
        "required": [
          "newTrigger"
        ],
        "type": "object",
        "properties": {
          "newTrigger": {
            "$ref": "#/components/schemas/PhysicalEventTriggerDto"
          }
        },
        "additionalProperties": false
      },
      "CreatePhysicalObjectCommand": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/PhysicalObjectType"
          },
          "propagateCommand": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreatePhysicalObjectCommandResponse": {
        "required": [
          "physicalObject"
        ],
        "type": "object",
        "properties": {
          "physicalObject": {
            "$ref": "#/components/schemas/PhysicalObjectDto"
          }
        },
        "additionalProperties": false
      },
      "CreatePolicyEntity": {
        "required": [
          "doNotThrowExceptionIfAlreadyExists",
          "entityTypeIds",
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "entityTypeIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "doNotThrowExceptionIfAlreadyExists": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CreatePolicyEntityResponse": {
        "required": [
          "newValue"
        ],
        "type": "object",
        "properties": {
          "newValue": {
            "$ref": "#/components/schemas/PolicyEntity"
          }
        },
        "additionalProperties": false
      },
      "CreatePolicyPermission": {
        "required": [
          "accessMethodId",
          "functionId",
          "subjectPropagation",
          "targetPropagation"
        ],
        "type": "object",
        "properties": {
          "subjectId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "targetId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "requirementId": {
            "type": "string",
            "nullable": true
          },
          "subjectPropagation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyPropagation"
            },
            "nullable": true
          },
          "targetPropagation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyPropagation"
            },
            "nullable": true
          },
          "functionId": {
            "type": "string",
            "nullable": true
          },
          "accessMethodId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreatePolicyPermissionResponse": {
        "required": [
          "newValue"
        ],
        "type": "object",
        "properties": {
          "newValue": {
            "$ref": "#/components/schemas/PolicyPermission"
          }
        },
        "additionalProperties": false
      },
      "CreateProvisioningAgentDeviceCommand": {
        "required": [
          "agentDeviceId",
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "agentDeviceId": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateProvisioningAgentDeviceCommandResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "CreateSaltoAgent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateSaltoAgentResponse": {
        "required": [
          "saltoAgent"
        ],
        "type": "object",
        "properties": {
          "saltoAgent": {
            "$ref": "#/components/schemas/SaltoAgentDto"
          }
        },
        "additionalProperties": false
      },
      "CreateSentryBoxSaga": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateSentryBoxSagaResponse": {
        "required": [
          "sentryBoxId"
        ],
        "type": "object",
        "properties": {
          "sentryBoxId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateTank": {
        "type": "object",
        "properties": {
          "newTank": {
            "$ref": "#/components/schemas/TankForm"
          }
        },
        "additionalProperties": false
      },
      "CreateTankResponse": {
        "type": "object",
        "properties": {
          "newValue": {
            "$ref": "#/components/schemas/TankDto"
          }
        },
        "additionalProperties": false
      },
      "CreateTenantCommandSaga": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateTenantCommandSagaResponse": {
        "required": [
          "newTenant"
        ],
        "type": "object",
        "properties": {
          "newTenant": {
            "$ref": "#/components/schemas/TenantDto"
          }
        },
        "additionalProperties": false
      },
      "CreateTenantIdentityCommand": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateTenantIdentityCommandResponse": {
        "required": [
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateTenantPolicyCommand": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateTenantPolicyCommandResponse": {
        "required": [
          "newValue"
        ],
        "type": "object",
        "properties": {
          "newValue": {
            "$ref": "#/components/schemas/PolicyTenant"
          }
        },
        "additionalProperties": false
      },
      "CreateVehicle": {
        "required": [
          "plate"
        ],
        "type": "object",
        "properties": {
          "plate": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "personId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "doNotNotifyPermissions": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateVehicleResponse": {
        "required": [
          "vehicle"
        ],
        "type": "object",
        "properties": {
          "vehicle": {
            "$ref": "#/components/schemas/VehicleDetailDto"
          }
        },
        "additionalProperties": false
      },
      "CreateVideoServer": {
        "required": [
          "name",
          "nxCloudSystemId",
          "password",
          "username"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "username": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "nxCloudSystemId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateVideoServerResponse": {
        "required": [
          "server"
        ],
        "type": "object",
        "properties": {
          "server": {
            "$ref": "#/components/schemas/NetworkOptixServerDto"
          }
        },
        "additionalProperties": false
      },
      "CreateVisitCommandSaga": {
        "required": [
          "customFields",
          "exitSecurityGroupsId",
          "securityGroupsId"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "dni": {
            "type": "string",
            "nullable": true
          },
          "company": {
            "type": "string",
            "nullable": true
          },
          "visitReason": {
            "type": "string",
            "nullable": true
          },
          "vehicle": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "customFields": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "securityGroupsId": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "exitSecurityGroupsId": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateVisitCommandSagaResponse": {
        "required": [
          "newValue",
          "organizationalGroupsIdList"
        ],
        "type": "object",
        "properties": {
          "vehicle": {
            "$ref": "#/components/schemas/VehicleDetailDto"
          },
          "organizationalGroupsIdList": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "newValue": {
            "$ref": "#/components/schemas/PersonDetailDto"
          }
        },
        "additionalProperties": false
      },
      "CreateVisitCommandSagaV2": {
        "required": [
          "checkInFormHeaderId",
          "name",
          "sentryBoxId"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "identificationNumber": {
            "type": "string",
            "nullable": true
          },
          "company": {
            "type": "string",
            "nullable": true
          },
          "visitReason": {
            "type": "string",
            "nullable": true
          },
          "vehicle": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "addressName": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "requestedEntryDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "requestedEntryHourInSeconds": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "customFields": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "checkInFormHeaderId": {
            "type": "string",
            "format": "uuid"
          },
          "sentryBoxId": {
            "type": "string",
            "format": "uuid"
          },
          "overrideSecurityGroupsIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "overrideDepartmentsIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "overrideSitesIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateVisitCommandSagaV2Response": {
        "required": [
          "departmentsIds",
          "organizationalGroupsIdList",
          "person",
          "securityGroupsIds",
          "sitesIds"
        ],
        "type": "object",
        "properties": {
          "person": {
            "$ref": "#/components/schemas/PersonDetailDto"
          },
          "vehicle": {
            "$ref": "#/components/schemas/VehicleDetailDto"
          },
          "organizationalGroupsIdList": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "securityGroupsIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "departmentsIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "sitesIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateWorkflowInputParameters": {
        "required": [
          "lifeTime",
          "name",
          "workflowId"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "lifeTime": {
            "$ref": "#/components/schemas/WorkflowLifeTime"
          },
          "workflowId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateWorkflowInputParametersResponse": {
        "required": [
          "workflowInputParameters"
        ],
        "type": "object",
        "properties": {
          "workflowInputParameters": {
            "$ref": "#/components/schemas/WorkflowInputParametersDto"
          }
        },
        "additionalProperties": false
      },
      "CustomEnumPayloadDto": {
        "type": "object",
        "properties": {
          "enumTypes": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CustomEnumValueDictionaryDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomEnumValueDictionaryDto": {
        "type": "object",
        "properties": {
          "defaultLanguage": {
            "type": "string",
            "nullable": true
          },
          "defaultText": {
            "type": "string",
            "nullable": true
          },
          "translationText": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomFieldDetailDto": {
        "required": [
          "domainCustomFieldId"
        ],
        "type": "object",
        "properties": {
          "domainCustomFieldId": {
            "type": "string",
            "format": "uuid"
          },
          "payload": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomIntegrationTokenDto": {
        "required": [
          "id",
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "token": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DayOfWeek": {
        "enum": [
          "Sunday",
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday",
          "Saturday"
        ],
        "type": "string"
      },
      "DeleteAddress": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteAddressResponse": {
        "required": [
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/AddressDetailDto"
          }
        },
        "additionalProperties": false
      },
      "DeleteCheckIn": {
        "required": [
          "id"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "DeleteCheckInFormHeaderCommandResponse": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteCheckInResponse": {
        "required": [
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/CheckInDetailDto"
          }
        },
        "additionalProperties": false
      },
      "DeleteCustomIntegrationToken": {
        "required": [
          "id",
          "tenantId"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "DeleteCustomIntegrationTokenResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteDeviceInService": {
        "required": [
          "integrationProvider"
        ],
        "type": "object",
        "properties": {
          "integrationProvider": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "payload": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeleteDeviceInServiceResponse": {
        "required": [
          "success"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DeleteDomainCustomFieldCommandResponse": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteEmail": {
        "required": [
          "id"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "DeleteEmailResponse": {
        "required": [
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/EmailDetailDto"
          }
        },
        "additionalProperties": false
      },
      "DeleteEntityTypeCommandSagaResponse": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeleteEntranceCheckCommandResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteIdentityCertificateCommand": {
        "required": [
          "certificateId"
        ],
        "type": "object",
        "properties": {
          "certificateId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteIdentityCertificateCommandResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteIdentityDeviceCommand": {
        "required": [
          "deviceId"
        ],
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteIdentityDeviceCommandResponse": {
        "required": [
          "deviceId"
        ],
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteIdentityTenantCommand": {
        "required": [
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteIdentityTenantCommandResponse": {
        "required": [
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteIdentityUserCommand": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeleteIdentityUserCommandResponse": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeleteLprControlPointCommand": {
        "required": [
          "lprId"
        ],
        "type": "object",
        "properties": {
          "lprId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeleteLprControlPointCommandResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteOrganizationGroupCommandSaga": {
        "required": [
          "id"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "DeleteOrganizationGroupCommandSagaResponse": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeletePersonCommandSaga": {
        "required": [
          "id"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "DeletePersonCommandSagaResponse": {
        "required": [
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/PersonDetailDto"
          }
        },
        "additionalProperties": false
      },
      "DeletePhone": {
        "required": [
          "id"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "DeletePhoneResponse": {
        "required": [
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/PhoneDetailDto"
          }
        },
        "additionalProperties": false
      },
      "DeletePhysicalEventResponse": {
        "required": [
          "triggerId"
        ],
        "type": "object",
        "properties": {
          "triggerId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeletePhysicalEventTrigger": {
        "required": [
          "triggerId"
        ],
        "type": "object",
        "properties": {
          "triggerId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeletePhysicalObjectCommand": {
        "required": [
          "id"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "DeletePhysicalObjectCommandResponse": {
        "required": [
          "physicalObject"
        ],
        "type": "object",
        "properties": {
          "physicalObject": {
            "$ref": "#/components/schemas/PhysicalObjectDto"
          }
        },
        "additionalProperties": false
      },
      "DeletePhysicalObjectSkill": {
        "required": [
          "id"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "DeletePhysicalObjectSkillResponse": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeletePolicyEntity": {
        "required": [
          "doNotThrowExceptionIfNotFound",
          "id"
        ],
        "type": "object",
        "properties": {
          "doNotThrowExceptionIfNotFound": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DeletePolicyEntityResponse": {
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/PolicyEntity"
          }
        },
        "additionalProperties": false
      },
      "DeletePolicyPermission": {
        "required": [
          "id"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "DeletePolicyPermissionResponse": {
        "required": [
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/PolicyPermission"
          }
        },
        "additionalProperties": false
      },
      "DeletePolicyTenant": {
        "required": [
          "id"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "DeletePolicyTenantResponse": {
        "required": [
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/PolicyTenant"
          }
        },
        "additionalProperties": false
      },
      "DeleteProvisioningAgentDeviceCommandResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteRelayMessages": {
        "required": [
          "agentId",
          "integrationProvider"
        ],
        "type": "object",
        "properties": {
          "integrationProvider": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "agentId": {
            "type": "string",
            "format": "uuid"
          },
          "payload": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeleteRelayMessagesResponse": {
        "required": [
          "success"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DeleteSaltoAgentResponse": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteSentryBoxSagaResponse": {
        "required": [
          "sentryBoxId"
        ],
        "type": "object",
        "properties": {
          "sentryBoxId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteTank": {
        "required": [
          "tankId"
        ],
        "type": "object",
        "properties": {
          "tankId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteTankResponse": {
        "required": [
          "success"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DeleteVehicle": {
        "required": [
          "id"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "DeleteVehicleResponse": {
        "required": [
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/VehicleDetailDto"
          }
        },
        "additionalProperties": false
      },
      "DeleteVideoServer": {
        "type": "object",
        "additionalProperties": false
      },
      "DeleteVideoServerResponse": {
        "required": [
          "server"
        ],
        "type": "object",
        "properties": {
          "server": {
            "$ref": "#/components/schemas/NetworkOptixServerDto"
          }
        },
        "additionalProperties": false
      },
      "DeleteWorkflowInputParameters": {
        "required": [
          "id"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "DeleteWorkflowInputParametersResponse": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DescriptionWorkflowActivationType": {
        "enum": [
          "Undefined",
          "DescriptionContainsString"
        ],
        "type": "string"
      },
      "DescriptionWorkflowData": {
        "required": [
          "type",
          "workflowAlarmData"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/DescriptionWorkflowActivationType"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "alarmMessage": {
            "type": "string",
            "nullable": true
          },
          "workflowAlarmData": {
            "$ref": "#/components/schemas/WorkflowAlarmData"
          }
        },
        "additionalProperties": false
      },
      "DomainCustomFieldDto": {
        "required": [
          "enumValueNames",
          "fieldType",
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "fieldType": {
            "$ref": "#/components/schemas/FieldType"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "enumValueNames": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "translationsContentId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "properties": {
            "$ref": "#/components/schemas/DomainCustomFieldPropertiesDto"
          }
        },
        "additionalProperties": false
      },
      "DomainCustomFieldPropertiesDto": {
        "type": "object",
        "properties": {
          "enumValues": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DrawerField": {
        "type": "object",
        "properties": {
          "domainCustomFieldId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "entityPropertyName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DrawerSection": {
        "required": [
          "fields"
        ],
        "type": "object",
        "properties": {
          "overrideSectionName": {
            "type": "string",
            "nullable": true
          },
          "fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DrawerField"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EditDeviceInService": {
        "required": [
          "integrationProvider"
        ],
        "type": "object",
        "properties": {
          "integrationProvider": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "oldValue": {
            "type": "string",
            "nullable": true
          },
          "newValue": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EditDeviceInServiceResponse": {
        "required": [
          "success"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "EditTank": {
        "type": "object",
        "properties": {
          "tank": {
            "$ref": "#/components/schemas/TankDetailsDto"
          }
        },
        "additionalProperties": false
      },
      "EditTankResponse": {
        "type": "object",
        "properties": {
          "newValue": {
            "$ref": "#/components/schemas/TankDetailsDto"
          }
        },
        "additionalProperties": false
      },
      "EmailDetailDto": {
        "required": [
          "id",
          "personId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "personId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EmailLookupDto": {
        "required": [
          "id",
          "personId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          },
          "personId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "EntityTypeDto": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "nameTranslationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "properties": {
            "$ref": "#/components/schemas/CoreEntityTypeProperties"
          }
        },
        "additionalProperties": false
      },
      "EntityTypeFrontendConfiguration": {
        "required": [
          "drawerSections"
        ],
        "type": "object",
        "properties": {
          "drawerSections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DrawerSection"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EntranceCheckDto": {
        "required": [
          "identifier"
        ],
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "information": {
            "$ref": "#/components/schemas/EntranceCheckInformation"
          }
        },
        "additionalProperties": false
      },
      "EntranceCheckInformation": {
        "type": "object",
        "properties": {
          "personName": {
            "type": "string",
            "nullable": true
          },
          "publicReason": {
            "type": "string",
            "nullable": true
          },
          "privateReason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ErrorDetails": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "errorType": {
            "$ref": "#/components/schemas/ErrorType"
          },
          "additionalErrorCode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ErrorType": {
        "enum": [
          "Undefined",
          "PersonBlacklisted",
          "ForbiddenTenant",
          "SaltoError"
        ],
        "type": "string"
      },
      "ExportPhysicalEventListInCsvCommand": {
        "required": [
          "columns",
          "filter",
          "pagination",
          "preset"
        ],
        "type": "object",
        "properties": {
          "preset": {
            "$ref": "#/components/schemas/ExportPhysicalEventPresets"
          },
          "columns": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "filter": {
            "$ref": "#/components/schemas/PhysicalEventFilter"
          },
          "pagination": {
            "$ref": "#/components/schemas/QueryPagination"
          }
        },
        "additionalProperties": false
      },
      "ExportPhysicalEventPresets": {
        "enum": [
          "None",
          "PeopleCounting"
        ],
        "type": "string"
      },
      "FieldType": {
        "enum": [
          "UNDEFINED",
          "INT",
          "BOOL",
          "ENUM",
          "DATETIME",
          "STRING"
        ],
        "type": "string"
      },
      "FlowConsumptionLiquidData": {
        "required": [
          "endConsumption",
          "liquidAmount",
          "organizationId",
          "personId",
          "startConsumption",
          "tankId"
        ],
        "type": "object",
        "properties": {
          "personId": {
            "type": "string",
            "format": "uuid"
          },
          "liquidAmount": {
            "type": "number",
            "format": "double"
          },
          "startConsumption": {
            "type": "string",
            "format": "date-time"
          },
          "endConsumption": {
            "type": "string",
            "format": "date-time"
          },
          "tankId": {
            "type": "string",
            "format": "uuid"
          },
          "personName": {
            "type": "string",
            "nullable": true
          },
          "tankName": {
            "type": "string",
            "nullable": true
          },
          "liquidType": {
            "type": "string",
            "nullable": true
          },
          "liquidUnits": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "FoodDefenseImportCommand": {
        "required": [
          "step"
        ],
        "type": "object",
        "properties": {
          "step": {
            "type": "integer",
            "format": "int32"
          },
          "step1": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FoodDefenseImportDepartmentStep1"
            },
            "nullable": true
          },
          "step2": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FoodDefenseImportDepartmentStep2"
            },
            "nullable": true
          },
          "step3": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FoodDefenseImportDepartmentStep3"
            },
            "nullable": true
          },
          "step4": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FoodDefenseImportDepartmentStep4"
            },
            "nullable": true
          },
          "step5": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FoodDefenseImportDepartmentStep5"
            },
            "nullable": true
          },
          "step6": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FoodDefenseImportDepartmentStep6"
            },
            "nullable": true
          },
          "step7": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FoodDefenseImportDepartmentStep7"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FoodDefenseImportCommandResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "FoodDefenseImportDepartmentStep1": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "parentId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FoodDefenseImportDepartmentStep2": {
        "required": [
          "departmentId",
          "saltoUserId"
        ],
        "type": "object",
        "properties": {
          "saltoUserId": {
            "type": "string",
            "nullable": true
          },
          "departmentId": {
            "type": "string",
            "format": "uuid"
          },
          "identityDocument": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FoodDefenseImportDepartmentStep3": {
        "required": [
          "departmentId",
          "saltoDoorId"
        ],
        "type": "object",
        "properties": {
          "saltoDoorId": {
            "type": "string",
            "nullable": true
          },
          "departmentId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "FoodDefenseImportDepartmentStep4": {
        "required": [
          "accessLevelId",
          "departmentId"
        ],
        "type": "object",
        "properties": {
          "departmentId": {
            "type": "string",
            "format": "uuid"
          },
          "accessLevelId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FoodDefenseImportDepartmentStep5": {
        "required": [
          "departmentId",
          "zoneId"
        ],
        "type": "object",
        "properties": {
          "departmentId": {
            "type": "string",
            "format": "uuid"
          },
          "zoneId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FoodDefenseImportDepartmentStep6": {
        "required": [
          "dni",
          "employerId"
        ],
        "type": "object",
        "properties": {
          "dni": {
            "type": "string",
            "nullable": true
          },
          "employerId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FoodDefenseImportDepartmentStep7": {
        "required": [
          "saltoUserId",
          "vehiclePlate"
        ],
        "type": "object",
        "properties": {
          "saltoUserId": {
            "type": "string",
            "nullable": true
          },
          "vehiclePlate": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ForceChangePasswordIdentityUserCommand": {
        "required": [
          "id",
          "newPassword"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "newPassword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ForceChangePasswordIdentityUserCommandResponse": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FormFieldType": {
        "enum": [
          "UNDEFINED",
          "INPUT_BUTTON",
          "INPUT_CHECKBOX",
          "INPUT_COLOR",
          "INPUT_DATE",
          "INPUT_DATETIME_LOCAL",
          "INPUT_EMAIL",
          "INPUT_FILE",
          "INPUT_HIDDEN",
          "INPUT_IMAGE",
          "INPUT_MONTH",
          "INPUT_NUMBER",
          "INPUT_PASSWORD",
          "INPUT_RADIO",
          "INPUT_RANGE",
          "INPUT_RESET",
          "INPUT_SEARCH",
          "INPUT_SUBMIT",
          "INPUT_TEL",
          "INPUT_TEXT",
          "INPUT_TIME",
          "INPUT_URL",
          "INPUT_WEEK",
          "INPUT_TEXTAREA",
          "TEXT_HEADER",
          "TEXT_LABEL",
          "ACCEPT_FILE",
          "SELECT",
          "SELECT_BOOL"
        ],
        "type": "string"
      },
      "FormOrganizationalGroupsConfigurationDto": {
        "required": [
          "onExitChangeDepartments",
          "onExitChangeSecurityGroups",
          "onExitChangeSites"
        ],
        "type": "object",
        "properties": {
          "enterSecurityGroups": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "onExitChangeSecurityGroups": {
            "type": "boolean"
          },
          "exitSecurityGroups": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "enterDepartments": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "onExitChangeDepartments": {
            "type": "boolean"
          },
          "exitDepartments": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "enterSites": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "onExitChangeSites": {
            "type": "boolean"
          },
          "exitSites": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "onEnterAddToCapacityOfSiteId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FormPayloadDictionaryDto": {
        "type": "object",
        "properties": {
          "defaultLanguage": {
            "type": "string",
            "nullable": true
          },
          "defaultText": {
            "type": "string",
            "nullable": true
          },
          "translationText": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "defaultName": {
            "type": "string",
            "nullable": true
          },
          "translationName": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FormPersonalizationConfigurationDto": {
        "type": "object",
        "properties": {
          "icon": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FormPrivatePayloadDto": {
        "required": [
          "visitMode"
        ],
        "type": "object",
        "properties": {
          "securityGroups": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "exitSecurityGroups": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "visitMode": {
            "$ref": "#/components/schemas/VisitModeDto"
          },
          "virtualEnterSite": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "workflowInputId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "workflowControlPointId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FormQuestionDetailDto": {
        "required": [
          "key",
          "payload",
          "type"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/FormFieldType"
          },
          "payload": {
            "$ref": "#/components/schemas/FormQuestionPayloadDictionaryDto"
          }
        },
        "additionalProperties": false
      },
      "FormQuestionPayloadDictionaryDto": {
        "type": "object",
        "properties": {
          "defaultLanguage": {
            "type": "string",
            "nullable": true
          },
          "defaultText": {
            "type": "string",
            "nullable": true
          },
          "translationText": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "hasPersistence": {
            "type": "boolean",
            "nullable": true
          },
          "caseTransformation": {
            "$ref": "#/components/schemas/CaseTransformation"
          },
          "minLength": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "maxLength": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "needed": {
            "type": "boolean",
            "nullable": true
          },
          "trimSpaces": {
            "type": "boolean",
            "nullable": true
          },
          "removeNotAlfanumerical": {
            "type": "boolean",
            "nullable": true
          },
          "isInvisible": {
            "type": "boolean",
            "nullable": true
          },
          "isHidedForSentryBox": {
            "type": "boolean",
            "nullable": true
          },
          "questionNullable": {
            "type": "boolean",
            "nullable": true
          },
          "defaultValue": {
            "type": "string",
            "nullable": true
          },
          "enumPayload": {
            "$ref": "#/components/schemas/CustomEnumPayloadDto"
          },
          "requiredIfQuestionKeyIsTrue": {
            "type": "string",
            "nullable": true
          },
          "alertIfValueIsTrue": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FormVisitModeConfigurationDto": {
        "required": [
          "autoExit",
          "integrationSaltoKeyCard",
          "selfCheckIn",
          "virtual"
        ],
        "type": "object",
        "properties": {
          "integrationSaltoKeyCard": {
            "type": "boolean"
          },
          "virtual": {
            "type": "boolean"
          },
          "selfCheckIn": {
            "type": "boolean"
          },
          "autoExit": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "FormWorkflowConfigurationDto": {
        "type": "object",
        "properties": {
          "workflowInputId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "workflowControlPointId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GenerateDefaultEventCommand": {
        "required": [
          "physicalEvent"
        ],
        "type": "object",
        "properties": {
          "physicalEvent": {
            "$ref": "#/components/schemas/PhysicalEvent"
          }
        },
        "additionalProperties": false
      },
      "GenreType": {
        "enum": [
          "Unspecified",
          "Male",
          "Female",
          "NonBinary"
        ],
        "type": "string"
      },
      "GetAddressesList": {
        "required": [
          "personId"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "GetAddressesListResponse": {
        "type": "object",
        "properties": {
          "addresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AddressLookUpDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAlarm": {
        "required": [
          "id"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "GetAlarmList": {
        "required": [
          "start",
          "stop"
        ],
        "type": "object",
        "properties": {
          "start": {
            "type": "string",
            "format": "date-time"
          },
          "stop": {
            "type": "string",
            "format": "date-time"
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "offset": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "generalQuery": {
            "type": "string",
            "nullable": true
          },
          "roleName": {
            "type": "string",
            "nullable": true
          },
          "physicalObjectName": {
            "type": "string",
            "nullable": true
          },
          "personName": {
            "type": "string",
            "nullable": true
          },
          "vehiclePlate": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "roleType": {
            "$ref": "#/components/schemas/RoleType"
          },
          "service": {
            "$ref": "#/components/schemas/ServiceCode"
          },
          "sortBy": {
            "type": "string",
            "nullable": true
          },
          "orderAsc": {
            "type": "boolean",
            "nullable": true
          },
          "attended": {
            "type": "boolean",
            "nullable": true
          },
          "attendedDescription": {
            "type": "string",
            "nullable": true
          },
          "alarmDescription": {
            "type": "string",
            "nullable": true
          },
          "returnTotalCount": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAlarmListResponse": {
        "required": [
          "page",
          "resultsPerPage"
        ],
        "type": "object",
        "properties": {
          "totalResults": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "resultsPerPage": {
            "type": "integer",
            "format": "int32"
          },
          "page": {
            "type": "integer",
            "format": "int32"
          },
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlarmNotification"
            },
            "nullable": true
          },
          "error": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAlarmResponse": {
        "type": "object",
        "properties": {
          "content": {
            "$ref": "#/components/schemas/AlarmNotification"
          }
        },
        "additionalProperties": false
      },
      "GetAllRelayMessages": {
        "required": [
          "agentId",
          "integrationProvider"
        ],
        "type": "object",
        "properties": {
          "integrationProvider": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "agentId": {
            "type": "string",
            "format": "uuid"
          },
          "payload": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAllRelayMessagesResponse": {
        "required": [
          "success"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "allRelaysMessages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RelayMessagesDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAllTranslationsQuery": {
        "required": [
          "translationContentId"
        ],
        "type": "object",
        "properties": {
          "translationContentId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetAllTranslationsQueryResponse": {
        "required": [
          "translationContent"
        ],
        "type": "object",
        "properties": {
          "translationContent": {
            "$ref": "#/components/schemas/TranslationContentDto"
          }
        },
        "additionalProperties": false
      },
      "GetBillingClientListQuery": {
        "type": "object",
        "additionalProperties": false
      },
      "GetBillingClientListQueryResponse": {
        "required": [
          "billingClients"
        ],
        "type": "object",
        "properties": {
          "billingClients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillingClient"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetCertificateMqttSettingsQuery": {
        "required": [
          "certificateId"
        ],
        "type": "object",
        "properties": {
          "certificateId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetCertificateMqttSettingsQueryResponse": {
        "required": [
          "mqttSettings"
        ],
        "type": "object",
        "properties": {
          "mqttSettings": {
            "$ref": "#/components/schemas/MqttSettings"
          }
        },
        "additionalProperties": false
      },
      "GetCheckInFormHeadersListQuery": {
        "type": "object",
        "additionalProperties": false
      },
      "GetCheckInFormHeadersListQueryResponse": {
        "required": [
          "checkInFormHeaders"
        ],
        "type": "object",
        "properties": {
          "checkInFormHeaders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckInFormHeaderDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetChecksInList": {
        "type": "object",
        "additionalProperties": false
      },
      "GetChecksInListResponse": {
        "type": "object",
        "properties": {
          "checksIns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckInDetailDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetCurrentPersonResponse": {
        "required": [
          "person"
        ],
        "type": "object",
        "properties": {
          "person": {
            "$ref": "#/components/schemas/PersonDetailDto"
          }
        },
        "additionalProperties": false
      },
      "GetCustomFieldList": {
        "required": [
          "roleId"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "GetCustomFieldListResponse": {
        "type": "object",
        "properties": {
          "customFields": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetCustomIntegrationTokenList": {
        "type": "object",
        "additionalProperties": false
      },
      "GetCustomIntegrationTokenListResponse": {
        "type": "object",
        "properties": {
          "customIntegrationTokens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomIntegrationTokenDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetDevicesFromService": {
        "required": [
          "integrationProvider"
        ],
        "type": "object",
        "properties": {
          "integrationProvider": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "payload": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetDevicesFromServiceResponse": {
        "required": [
          "integrationProvider"
        ],
        "type": "object",
        "properties": {
          "integrationProvider": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "payload": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetDomainCustomFieldListQuery": {
        "type": "object",
        "additionalProperties": false
      },
      "GetDomainCustomFieldListQueryResponse": {
        "required": [
          "domainCustomFields"
        ],
        "type": "object",
        "properties": {
          "domainCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DomainCustomFieldDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetDoorLprPermissionsQueryResponse": {
        "required": [
          "doorVehiclePlatesWithAccess"
        ],
        "type": "object",
        "properties": {
          "doorVehiclePlatesWithAccess": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEmailsList": {
        "required": [
          "personId"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "GetEmailsListResponse": {
        "type": "object",
        "properties": {
          "emails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EmailLookupDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEntitySubjectFunctionsAppliedQuery": {
        "required": [
          "subjectEntityId"
        ],
        "type": "object",
        "properties": {
          "subjectEntityId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetEntitySubjectFunctionsAppliedQueryResponse": {
        "type": "object",
        "properties": {
          "policyFunctionIdList": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEntitySubjectPermissionsOverEntities": {
        "required": [
          "accessMethodId",
          "functionId",
          "subjectEntityId"
        ],
        "type": "object",
        "properties": {
          "subjectEntityId": {
            "type": "string",
            "format": "uuid"
          },
          "functionId": {
            "type": "string",
            "nullable": true
          },
          "accessMethodId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEntitySubjectPermissionsOverEntitiesResponse": {
        "required": [
          "hasPermissionOverAll",
          "targetEntityList"
        ],
        "type": "object",
        "properties": {
          "targetEntityList": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "hasPermissionOverAll": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "GetEntityTargetFunctionsAppliedQuery": {
        "required": [
          "targetEntityId"
        ],
        "type": "object",
        "properties": {
          "targetEntityId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetEntityTargetFunctionsAppliedQueryResponse": {
        "type": "object",
        "properties": {
          "policyFunctionIdList": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEntityTargetPermissionsOverEntities": {
        "required": [
          "accessMethodId",
          "functionId",
          "targetEntityId"
        ],
        "type": "object",
        "properties": {
          "targetEntityId": {
            "type": "string",
            "format": "uuid"
          },
          "functionId": {
            "type": "string",
            "nullable": true
          },
          "accessMethodId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEntityTargetPermissionsOverEntitiesResponse": {
        "required": [
          "all"
        ],
        "type": "object",
        "properties": {
          "subjectEntityList": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "all": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "GetEntityTypeListQuerySagaResponse": {
        "required": [
          "entityTypes"
        ],
        "type": "object",
        "properties": {
          "entityTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntityTypeDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetEntranceChecksListQuery": {
        "type": "object",
        "additionalProperties": false
      },
      "GetEntranceChecksListQueryResponse": {
        "required": [
          "entranceChecks"
        ],
        "type": "object",
        "properties": {
          "entranceChecks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntranceCheckDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetIdentityDeviceListQuery": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "tenantId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetIdentityDeviceListQueryResponse": {
        "required": [
          "devices"
        ],
        "type": "object",
        "properties": {
          "devices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IdentityDeviceDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetIdentityTenantListQuery": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetIdentityTenantListQueryResponse": {
        "required": [
          "identityTenants"
        ],
        "type": "object",
        "properties": {
          "identityTenants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IdentityTenantDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetIdentityUserListQuery": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetIdentityUserListQueryResponse": {
        "required": [
          "identityUsers"
        ],
        "type": "object",
        "properties": {
          "identityUsers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IdentityUserDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetLprControlPointListQueryResponse": {
        "required": [
          "controlPoints"
        ],
        "type": "object",
        "properties": {
          "controlPoints": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LprControlPointDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetLprPermissionsQuery": {
        "type": "object",
        "additionalProperties": false
      },
      "GetLprPermissionsQueryResponse": {
        "required": [
          "getDoorLprPermissionsQueryResponse"
        ],
        "type": "object",
        "properties": {
          "getDoorLprPermissionsQueryResponse": {
            "$ref": "#/components/schemas/GetDoorLprPermissionsQueryResponse"
          }
        },
        "additionalProperties": false
      },
      "GetNXVideoCredentialsResponse": {
        "type": "object",
        "properties": {
          "videoResponses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VideoResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetNXVideoPreviewCredentialsResponse": {
        "required": [
          "videoResponse"
        ],
        "type": "object",
        "properties": {
          "cameraId": {
            "type": "string",
            "nullable": true
          },
          "videoServerId": {
            "type": "string",
            "nullable": true
          },
          "videoResponse": {
            "$ref": "#/components/schemas/VideoResponse"
          }
        },
        "additionalProperties": false
      },
      "GetOrganizationGroupListQuery": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetOrganizationGroupListQueryResponse": {
        "required": [
          "organizationGroupsList"
        ],
        "type": "object",
        "properties": {
          "organizationGroupsList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrganizationGroup"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetOrganizationGroupListQuerySagaResponse": {
        "required": [
          "getOrganizationGroupListQueryResponse",
          "getPolicyEntityListResponse"
        ],
        "type": "object",
        "properties": {
          "getOrganizationGroupListQueryResponse": {
            "$ref": "#/components/schemas/GetOrganizationGroupListQueryResponse"
          },
          "getPolicyEntityListResponse": {
            "$ref": "#/components/schemas/GetPolicyEntityListResponse"
          }
        },
        "additionalProperties": false
      },
      "GetPeopleInDeviceList": {
        "required": [
          "integrationProvider"
        ],
        "type": "object",
        "properties": {
          "integrationProvider": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "payload": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPeopleInDeviceListResponse": {
        "type": "object",
        "properties": {
          "peopleToMatch": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PersonToMatchDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPeopleList": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "identityUserIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "identificationNumbers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "onlyVisitors": {
            "type": "boolean",
            "nullable": true
          },
          "currentSiteChangedSmallerThan": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "currentSiteChangedBiggerThan": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "currentSiteIsNotNull": {
            "type": "boolean",
            "nullable": true
          },
          "lastVisitStartSmallerThan": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastVisitStartBiggerThan": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastVisitEndSmallerThan": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastVisitEndBiggerThan": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "returnVehicles": {
            "type": "boolean",
            "nullable": true
          },
          "returnEmails": {
            "type": "boolean",
            "nullable": true
          },
          "returnPhones": {
            "type": "boolean",
            "nullable": true
          },
          "returnAddresses": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPeopleListResponse": {
        "required": [
          "people"
        ],
        "type": "object",
        "properties": {
          "people": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PersonDetailDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPeopleMatchedList": {
        "required": [
          "integrationProvider"
        ],
        "type": "object",
        "properties": {
          "integrationProvider": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "payload": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPeopleMatchedListResponse": {
        "required": [
          "integrationProvider"
        ],
        "type": "object",
        "properties": {
          "integrationProvider": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "payload": {
            "type": "string",
            "nullable": true
          },
          "peopleMatched": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PersonMatched"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPersonDetail": {
        "required": [
          "id"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "GetPersonDetailResponse": {
        "required": [
          "person"
        ],
        "type": "object",
        "properties": {
          "person": {
            "$ref": "#/components/schemas/PersonDetailDto"
          }
        },
        "additionalProperties": false
      },
      "GetPhonesListResponse": {
        "type": "object",
        "properties": {
          "phones": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PhoneLookUpDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPhysicalEventTriggers": {
        "type": "object",
        "properties": {
          "fromPhysicalObjectId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "fromRoleId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "workflowInputId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPhysicalEventTriggersResponse": {
        "type": "object",
        "properties": {
          "physicalEventsTriggers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PhysicalEventTriggerDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPhysicalEventsListQuery": {
        "required": [
          "filter",
          "pagination"
        ],
        "type": "object",
        "properties": {
          "filter": {
            "$ref": "#/components/schemas/PhysicalEventFilter"
          },
          "pagination": {
            "$ref": "#/components/schemas/QueryPagination"
          }
        },
        "additionalProperties": false
      },
      "GetPhysicalEventsListQueryResponse": {
        "type": "object",
        "properties": {
          "content": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PhysicalEvent"
            },
            "nullable": true
          },
          "queryTotalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPhysicalObjectCameras": {
        "required": [
          "physicalObjectIds"
        ],
        "type": "object",
        "properties": {
          "physicalObjectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPhysicalObjectCamerasResponse": {
        "required": [
          "cameraDictionary"
        ],
        "type": "object",
        "properties": {
          "cameraDictionary": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/PhysicalObjectCameraDto"
              }
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPhysicalObjectQuery": {
        "required": [
          "id"
        ],
        "type": "object",
        "additionalProperties": false
      },
      "GetPhysicalObjectQueryResponse": {
        "required": [
          "physicalObject"
        ],
        "type": "object",
        "properties": {
          "physicalObject": {
            "$ref": "#/components/schemas/PhysicalObjectDto"
          }
        },
        "additionalProperties": false
      },
      "GetPhysicalObjectSkillsList": {
        "type": "object",
        "properties": {
          "physicalObjectId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "serviceCode": {
            "$ref": "#/components/schemas/ServiceCode"
          },
          "returnPhysicalObject": {
            "type": "boolean",
            "nullable": true
          },
          "returnSkillAbilities": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPhysicalObjectSkillsListResponse": {
        "required": [
          "physicalObjectSkills"
        ],
        "type": "object",
        "properties": {
          "physicalObjectSkills": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PhysicalObjectSkill"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPhysicalObjectsListQuery": {
        "type": "object",
        "additionalProperties": false
      },
      "GetPhysicalObjectsListQueryResponse": {
        "required": [
          "physicalObjects"
        ],
        "type": "object",
        "properties": {
          "physicalObjects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PhysicalObjectDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPolicyEntityList": {
        "type": "object",
        "properties": {
          "filterIdsList": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "filterEntityTypesList": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "filterOnlyGroups": {
            "type": "boolean",
            "nullable": true
          },
          "includeParents": {
            "type": "boolean",
            "nullable": true
          },
          "includeChildren": {
            "type": "boolean",
            "nullable": true
          },
          "includeEntityTypes": {
            "type": "boolean",
            "nullable": true
          },
          "includeSubjectOfPermissions": {
            "type": "boolean",
            "nullable": true
          },
          "includeTargetOfPermissions": {
            "type": "boolean",
            "nullable": true
          },
          "includeTargetFunctions": {
            "type": "boolean",
            "nullable": true
          },
          "includeSubjectFunctions": {
            "type": "boolean",
            "nullable": true
          },
          "includeChildrenInformation": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPolicyEntityListResponse": {
        "type": "object",
        "properties": {
          "policyEntityList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyEntity"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPolicyFunctionListQuery": {
        "type": "object",
        "properties": {
          "includePermissions": {
            "type": "boolean",
            "nullable": true
          },
          "includeAccessMethods": {
            "type": "boolean",
            "nullable": true
          },
          "includeEntityTypes": {
            "type": "boolean",
            "nullable": true
          },
          "includeParents": {
            "type": "boolean",
            "nullable": true
          },
          "includeChildren": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPolicyFunctionListQueryResponse": {
        "type": "object",
        "properties": {
          "policyFunctionList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyFunction"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPolicyPermissionList": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "includeFunctions": {
            "type": "boolean",
            "nullable": true
          },
          "includeRequirements": {
            "type": "boolean",
            "nullable": true
          },
          "includeSubjects": {
            "type": "boolean",
            "nullable": true
          },
          "includeTargets": {
            "type": "boolean",
            "nullable": true
          },
          "includeAccessMethods": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPolicyPermissionListResponse": {
        "type": "object",
        "properties": {
          "policyPermissionList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyPermission"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPolicyTenantList": {
        "type": "object",
        "additionalProperties": false
      },
      "GetPolicyTenantListResponse": {
        "type": "object",
        "properties": {
          "policyTenantList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyTenant"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPrivateCertificateQueryResponse": {
        "required": [
          "certificate"
        ],
        "type": "object",
        "properties": {
          "certificate": {
            "$ref": "#/components/schemas/PrivateCertificateDto"
          }
        },
        "additionalProperties": false
      },
      "GetPrivateCheckInFormsList": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPrivateCheckInFormsListResponse": {
        "required": [
          "checkInForms"
        ],
        "type": "object",
        "properties": {
          "checkInForms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PrivateCheckInFormDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetProvisioningAgentDevicesListQuery": {
        "type": "object",
        "additionalProperties": false
      },
      "GetProvisioningAgentDevicesListQueryResponse": {
        "required": [
          "devices"
        ],
        "type": "object",
        "properties": {
          "devices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AgentDeviceDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPublicCertificatesListQuery": {
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "tenantId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "includeCertificateData": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPublicCertificatesListQueryResponse": {
        "required": [
          "certificates"
        ],
        "type": "object",
        "properties": {
          "certificates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicCertificateDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPublicCheckInFormInfoToFillQuery": {
        "type": "object",
        "additionalProperties": false
      },
      "GetPublicCheckInFormInfoToFillQueryResponse": {
        "required": [
          "formHeaders",
          "forms",
          "sentryBoxes",
          "tenantImageUrl",
          "tenantName"
        ],
        "type": "object",
        "properties": {
          "tenantName": {
            "type": "string",
            "nullable": true
          },
          "tenantImageUrl": {
            "type": "string",
            "nullable": true
          },
          "sentryBoxes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SentryBoxDto"
            },
            "nullable": true
          },
          "formHeaders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckInFormHeaderDto"
            },
            "nullable": true
          },
          "forms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicCheckInFormDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPublicCheckInFormsList": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPublicCheckInFormsListResponse": {
        "required": [
          "checkInForms"
        ],
        "type": "object",
        "properties": {
          "checkInForms": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicCheckInFormDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRelayMessages": {
        "required": [
          "agentId",
          "integrationProvider"
        ],
        "type": "object",
        "properties": {
          "integrationProvider": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "agentId": {
            "type": "string",
            "format": "uuid"
          },
          "payload": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRelayMessagesByAgentId": {
        "required": [
          "agentId",
          "integrationProvider"
        ],
        "type": "object",
        "properties": {
          "integrationProvider": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "agentId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetRelayMessagesByAgentIdResponse": {
        "type": "object",
        "properties": {
          "agentRelayMessages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RelayMessagesDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRelayMessagesResponse": {
        "required": [
          "success"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "agentRelayMessages": {
            "$ref": "#/components/schemas/RelayMessagesDto"
          }
        },
        "additionalProperties": false
      },
      "GetSaltoAccessLevelsList": {
        "type": "object",
        "additionalProperties": false
      },
      "GetSaltoAccessLevelsListResponse": {
        "type": "object",
        "properties": {
          "accessLevels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SaltoAccessLevelDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetSaltoAgentsList": {
        "type": "object",
        "additionalProperties": false
      },
      "GetSaltoAgentsListResponse": {
        "type": "object",
        "properties": {
          "agents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SaltoAgentDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetSaltoDoorsList": {
        "type": "object",
        "additionalProperties": false
      },
      "GetSaltoDoorsListResponse": {
        "required": [
          "doors"
        ],
        "type": "object",
        "properties": {
          "doors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SaltoDoorDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetSaltoEncodersList": {
        "type": "object",
        "additionalProperties": false
      },
      "GetSaltoEncodersListResponse": {
        "type": "object",
        "properties": {
          "encoders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SaltoEncoderDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetSaltoUsersList": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetSaltoUsersListResponse": {
        "type": "object",
        "properties": {
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SaltoUserDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetSaltoZonesList": {
        "type": "object",
        "additionalProperties": false
      },
      "GetSaltoZonesListResponse": {
        "required": [
          "zones"
        ],
        "type": "object",
        "properties": {
          "zones": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SaltoZoneDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetSentryBoxListQuery": {
        "type": "object",
        "additionalProperties": false
      },
      "GetSentryBoxListQueryResponse": {
        "required": [
          "sentryBoxes"
        ],
        "type": "object",
        "properties": {
          "sentryBoxes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SentryBoxDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTankConsumption": {
        "type": "object",
        "properties": {
          "tankId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "optionalStartDateRequest": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "optionalEndDateRequest": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "optionalPersonId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTankConsumptionResponse": {
        "type": "object",
        "properties": {
          "tankEvents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FlowConsumptionLiquidData"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTanksList": {
        "type": "object",
        "additionalProperties": false
      },
      "GetTanksListResponse": {
        "required": [
          "tanks"
        ],
        "type": "object",
        "properties": {
          "tanks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TankDetailsDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTenantListQuery": {
        "type": "object",
        "additionalProperties": false
      },
      "GetTenantListQueryResponse": {
        "required": [
          "tenantList"
        ],
        "type": "object",
        "properties": {
          "tenantList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTenantQueryResponse": {
        "required": [
          "tenant"
        ],
        "type": "object",
        "properties": {
          "tenant": {
            "$ref": "#/components/schemas/TenantDto"
          }
        },
        "additionalProperties": false
      },
      "GetVehicleDetailResponse": {
        "required": [
          "vehicle"
        ],
        "type": "object",
        "properties": {
          "vehicle": {
            "$ref": "#/components/schemas/VehicleDetailDto"
          }
        },
        "additionalProperties": false
      },
      "GetVehiclesList": {
        "type": "object",
        "properties": {
          "fromPersonId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "onlyFleetVehicles": {
            "type": "boolean",
            "nullable": true
          },
          "returnPeople": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetVehiclesListResponse": {
        "type": "object",
        "properties": {
          "vehicles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VehicleDetailDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetVideoServerCameraListResponse": {
        "type": "object",
        "properties": {
          "serverId": {
            "type": "string",
            "nullable": true
          },
          "cameras": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VideoServerCameraDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetVideoServerList": {
        "type": "object",
        "additionalProperties": false
      },
      "GetVideoServerListResponse": {
        "required": [
          "physicalObjects",
          "videoServers"
        ],
        "type": "object",
        "properties": {
          "videoServers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NetworkOptixServerDto"
            },
            "nullable": true
          },
          "physicalObjects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PhysicalObjectCameraDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetWorkflowInputParameters": {
        "type": "object",
        "additionalProperties": false
      },
      "GetWorkflowInputParametersResponse": {
        "required": [
          "workflowInputParameters"
        ],
        "type": "object",
        "properties": {
          "workflowInputParameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WorkflowInputParametersDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GiveVisitExitCommandSaga": {
        "required": [
          "personId",
          "visitExitType"
        ],
        "type": "object",
        "properties": {
          "personId": {
            "type": "string",
            "format": "uuid"
          },
          "visitExitType": {
            "$ref": "#/components/schemas/VisitExitType"
          }
        },
        "additionalProperties": false
      },
      "GiveVisitExitCommandSagaResponse": {
        "required": [
          "isVisitor"
        ],
        "type": "object",
        "properties": {
          "isVisitor": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "GiveVisitExitWorkflowData": {
        "required": [
          "workflowAlarmData"
        ],
        "type": "object",
        "properties": {
          "alsoIfAccessDenied": {
            "type": "boolean",
            "nullable": true
          },
          "workflowAlarmData": {
            "$ref": "#/components/schemas/WorkflowAlarmData"
          }
        },
        "additionalProperties": false
      },
      "IdentityDeviceDto": {
        "required": [
          "deviceId",
          "name",
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "format": "uuid"
          },
          "certificateIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IdentityTenantDto": {
        "required": [
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "IdentityUserDto": {
        "required": [
          "claims",
          "email",
          "emailConfirmed",
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "emailConfirmed": {
            "type": "boolean"
          },
          "claims": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClaimDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ImportSaltoUsersAutoFixCommand": {
        "type": "object",
        "additionalProperties": false
      },
      "ImportSaltoUsersAutoFixCommandResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "IntegrationCode": {
        "enum": [
          "Undefined",
          "IntegrationSalto",
          "IntegrationAngel",
          "IntegrationLpr",
          "Integration2N",
          "IntegrationCustom"
        ],
        "type": "string"
      },
      "LprControlPointDto": {
        "required": [
          "lprId"
        ],
        "type": "object",
        "properties": {
          "lprId": {
            "type": "string",
            "nullable": true
          },
          "neuralSynchroId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MakePhoneSipCall": {
        "required": [
          "message",
          "phoneNumber"
        ],
        "type": "object",
        "properties": {
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "messageHashKey": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MigrateFromLprSkillsToLprDoors": {
        "type": "object",
        "additionalProperties": false
      },
      "MigrateFromLprSkillsToLprDoorsResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "MigrateToPolicyServer": {
        "required": [
          "requestedOrganizationId",
          "step"
        ],
        "type": "object",
        "properties": {
          "step": {
            "type": "integer",
            "format": "int32"
          },
          "personId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MqttSettings": {
        "required": [
          "port"
        ],
        "type": "object",
        "properties": {
          "clientId": {
            "type": "string",
            "nullable": true
          },
          "host": {
            "type": "string",
            "nullable": true
          },
          "port": {
            "type": "integer",
            "format": "int32"
          },
          "authentication": {
            "$ref": "#/components/schemas/BaseMqttAuthentication"
          }
        },
        "additionalProperties": false
      },
      "NetworkOptixServerDto": {
        "required": [
          "authorizationMethod",
          "cloudSystemId",
          "domainId",
          "id",
          "serverName",
          "timeZoneId",
          "username"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "serverName": {
            "type": "string",
            "nullable": true
          },
          "cloudSystemId": {
            "type": "string",
            "nullable": true
          },
          "domainId": {
            "type": "string",
            "format": "uuid"
          },
          "authorizationMethod": {
            "type": "string",
            "nullable": true
          },
          "timeZoneId": {
            "type": "string",
            "nullable": true
          },
          "username": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NumberCompareType": {
        "enum": [
          "Equals",
          "GreaterThan",
          "LessThan"
        ],
        "type": "string"
      },
      "NumberComparingWorkflowData": {
        "required": [
          "number",
          "type",
          "workflowAlarmData"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/NumberCompareType"
          },
          "number": {
            "type": "integer",
            "format": "int32"
          },
          "workflowAlarmData": {
            "$ref": "#/components/schemas/WorkflowAlarmData"
          }
        },
        "additionalProperties": false
      },
      "OpenControlPointWorkflowData": {
        "required": [
          "openTimeSeconds",
          "workflowAlarmData"
        ],
        "type": "object",
        "properties": {
          "openTimeSeconds": {
            "type": "integer",
            "format": "int32"
          },
          "workflowAlarmData": {
            "$ref": "#/components/schemas/WorkflowAlarmData"
          }
        },
        "additionalProperties": false
      },
      "OrganizationGroup": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PersonAlarm": {
        "required": [
          "payload",
          "whenWarmUser"
        ],
        "type": "object",
        "properties": {
          "personId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "whenWarmUser": {
            "$ref": "#/components/schemas/WhenWarmUser"
          },
          "payload": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PersonDetailDto": {
        "required": [
          "created",
          "createdBy",
          "deactivated",
          "id",
          "isEntranceRestricted",
          "isVisit",
          "roleType",
          "tenantId",
          "visitExitType"
        ],
        "type": "object",
        "properties": {
          "createdBy": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "lastModifiedBy": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "payload": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "pictureFile": {
            "type": "string",
            "nullable": true
          },
          "dni": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "romCode": {
            "type": "string",
            "nullable": true
          },
          "deactivated": {
            "type": "boolean"
          },
          "roleType": {
            "$ref": "#/components/schemas/PersonRoleTypeDto"
          },
          "visitExitType": {
            "$ref": "#/components/schemas/VisitExitType"
          },
          "vehicles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VehicleLookupDto"
            },
            "nullable": true
          },
          "emails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EmailLookupDto"
            },
            "nullable": true
          },
          "phones": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PhoneLookUpDto"
            },
            "nullable": true
          },
          "addresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AddressLookUpDto"
            },
            "nullable": true
          },
          "customFields": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "identityUserId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "isVisit": {
            "type": "boolean"
          },
          "company": {
            "type": "string",
            "nullable": true
          },
          "visitReason": {
            "type": "string",
            "nullable": true
          },
          "currentSite": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "currentSiteChanged": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "exitSecurityGroupsList": {
            "type": "string",
            "nullable": true
          },
          "lastVisitStartDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastVisitEndDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "visitCurrentFormHeaderId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "isEntranceRestricted": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PersonLookupDto": {
        "required": [
          "created",
          "createdBy",
          "deactivated",
          "id",
          "isVisit",
          "roleType"
        ],
        "type": "object",
        "properties": {
          "createdBy": {
            "type": "string",
            "format": "uuid"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "lastModifiedBy": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "payload": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "dni": {
            "type": "string",
            "nullable": true
          },
          "romCode": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "deactivated": {
            "type": "boolean"
          },
          "roleType": {
            "$ref": "#/components/schemas/PersonRoleTypeDto"
          },
          "customFields": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "currentSite": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "currentSiteChanged": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "exitSecurityGroupsList": {
            "type": "string",
            "nullable": true
          },
          "identityUserId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "isVisit": {
            "type": "boolean"
          },
          "company": {
            "type": "string",
            "nullable": true
          },
          "visitReason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PersonMatched": {
        "required": [
          "id",
          "neuralSynchroId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "fullServiceName": {
            "type": "string",
            "nullable": true
          },
          "neuralSynchroId": {
            "type": "string",
            "format": "uuid"
          },
          "fullNeuralSynchroName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PersonRoleTypeDto": {
        "enum": [
          "UNDEFINED",
          "PERSON",
          "OPERATOR",
          "VISITOR"
        ],
        "type": "string"
      },
      "PersonToMatchDto": {
        "required": [
          "fullName",
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "fullName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PhoneDetailDto": {
        "required": [
          "id",
          "personId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "personId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PhoneLookUpDto": {
        "required": [
          "id",
          "personId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "personId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PhysicalEvent": {
        "required": [
          "agentId",
          "at",
          "domainId",
          "id",
          "physicalObjectType",
          "roleType",
          "service"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "originalId": {
            "type": "string",
            "nullable": true
          },
          "domainId": {
            "type": "string",
            "format": "uuid"
          },
          "agentId": {
            "type": "string",
            "format": "uuid"
          },
          "service": {
            "$ref": "#/components/schemas/ServiceCode"
          },
          "at": {
            "type": "string",
            "format": "date-time"
          },
          "roleId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "roleName": {
            "type": "string",
            "nullable": true
          },
          "roleType": {
            "$ref": "#/components/schemas/RoleType"
          },
          "physicalObjectId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "physicalObjectName": {
            "type": "string",
            "nullable": true
          },
          "physicalObjectPayload": {
            "type": "string",
            "nullable": true
          },
          "physicalObjectType": {
            "$ref": "#/components/schemas/PhysicalObjectType"
          },
          "eventType": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "info": {
            "type": "string",
            "nullable": true
          },
          "extraData": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          },
          "personId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "personName": {
            "type": "string",
            "nullable": true
          },
          "vehiclePlate": {
            "type": "string",
            "nullable": true
          },
          "normalized_PersonName": {
            "type": "string",
            "nullable": true
          },
          "normalized_PhysicalObjectName": {
            "type": "string",
            "nullable": true
          },
          "normalized_RoleName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PhysicalEventFilter": {
        "required": [
          "start",
          "stop"
        ],
        "type": "object",
        "properties": {
          "start": {
            "type": "string",
            "format": "date-time"
          },
          "stop": {
            "type": "string",
            "format": "date-time"
          },
          "generalQuery": {
            "type": "string",
            "nullable": true
          },
          "roleName": {
            "type": "string",
            "nullable": true
          },
          "physicalObjectName": {
            "type": "string",
            "nullable": true
          },
          "personName": {
            "type": "string",
            "nullable": true
          },
          "vehiclePlate": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "roleType": {
            "$ref": "#/components/schemas/RoleType"
          },
          "service": {
            "$ref": "#/components/schemas/ServiceCode"
          }
        },
        "additionalProperties": false
      },
      "PhysicalEventTriggerDto": {
        "required": [
          "checkPhysicalObjectId",
          "checkRoleId",
          "id",
          "lifeTime",
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "lifeTime": {
            "$ref": "#/components/schemas/WorkflowLifeTime"
          },
          "expirationDateUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "workflowInputParametersId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "checkRoleId": {
            "type": "boolean"
          },
          "roleId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "checkPhysicalObjectId": {
            "type": "boolean"
          },
          "physicalObjectId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "controlPointEnterExitType": {
            "$ref": "#/components/schemas/ControlPointEnterExitType"
          }
        },
        "additionalProperties": false
      },
      "PhysicalEventsCreatedBatchNotification": {
        "required": [
          "id",
          "seventEvents"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "seventEvents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PhysicalEvent"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PhysicalObjectCameraDto": {
        "required": [
          "cameraId",
          "cameraName",
          "physicalObjectId",
          "serverId",
          "serverName"
        ],
        "type": "object",
        "properties": {
          "cameraId": {
            "type": "string",
            "nullable": true
          },
          "cameraName": {
            "type": "string",
            "nullable": true
          },
          "serverId": {
            "type": "string",
            "nullable": true
          },
          "serverName": {
            "type": "string",
            "nullable": true
          },
          "physicalObjectId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "PhysicalObjectCameraNodeDto": {
        "required": [
          "cameraId",
          "cameraName",
          "serverId",
          "serverName"
        ],
        "type": "object",
        "properties": {
          "cameraId": {
            "type": "string",
            "nullable": true
          },
          "cameraName": {
            "type": "string",
            "nullable": true
          },
          "serverId": {
            "type": "string",
            "nullable": true
          },
          "serverName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PhysicalObjectDto": {
        "required": [
          "id",
          "physicalObjectType"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "payload": {
            "type": "string",
            "nullable": true
          },
          "physicalObjectType": {
            "$ref": "#/components/schemas/PhysicalObjectType"
          },
          "entranceToOutside": {
            "type": "boolean",
            "nullable": true
          },
          "entranceOfSiteId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "exitToOutside": {
            "type": "boolean",
            "nullable": true
          },
          "exitOfSiteId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PhysicalObjectServiceSkill": {
        "enum": [
          "UNDEFINED",
          "OPEN",
          "CLOSE",
          "UNLOCK",
          "ONLINE",
          "BATERY_STATUS",
          "READ_KEY_CARD",
          "ASSIGN_KEY_CARD",
          "DELETE_KEY_CARD"
        ],
        "type": "string"
      },
      "PhysicalObjectSkill": {
        "required": [
          "id",
          "serviceCode"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "serviceCode": {
            "$ref": "#/components/schemas/ServiceCode"
          },
          "callbackId": {
            "type": "string",
            "nullable": true
          },
          "callbackInfo": {
            "type": "string",
            "nullable": true
          },
          "physicalObjectId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "physicalObject": {
            "$ref": "#/components/schemas/PhysicalObjectDto"
          },
          "physicalObjectsAvaliableSkills": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SkillAbility"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PhysicalObjectType": {
        "enum": [
          "UNDEFINED",
          "DOOR",
          "BARRIER",
          "ENCODER"
        ],
        "type": "string"
      },
      "PolicyEntity": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "parents": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "children": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "entityTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "targetOfPermissions": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "subjectOfPermissions": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "targetFunctions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "subjectFunctions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "numberOfChildrenPeople": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "childrenPeople": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "numberOfChildrenVehicles": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "childrenVehicles": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "numberOfChildrenPhysicalObject": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "childrenPhysicalObject": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PolicyFunction": {
        "required": [
          "id",
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "permissions": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          },
          "subjectEntityTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "targetEntityTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "accessMethods": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "parents": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "children": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PolicyPermission": {
        "required": [
          "accessMethodId",
          "functionId",
          "id",
          "subjectPropagation",
          "targetPropagation",
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "subjectId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "targetId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "requirementId": {
            "type": "string",
            "nullable": true
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "subjectPropagation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyPropagation"
            },
            "nullable": true
          },
          "targetPropagation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyPropagation"
            },
            "nullable": true
          },
          "functionId": {
            "type": "string",
            "nullable": true
          },
          "accessMethodId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PolicyPropagation": {
        "enum": [
          "Undefined",
          "Direct",
          "All",
          "FirstChildren",
          "AllChildren"
        ],
        "type": "string"
      },
      "PolicyTenant": {
        "required": [
          "id",
          "isCurrentPermissionUpdating",
          "isPendingPermissionChanges",
          "lastPermissionUpdateEndUtc",
          "lastPermissionUpdateStartUtc",
          "policyPermissionsEnabled"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "policyPermissionsEnabled": {
            "type": "boolean"
          },
          "isPendingPermissionChanges": {
            "type": "boolean"
          },
          "isCurrentPermissionUpdating": {
            "type": "boolean"
          },
          "lastPermissionUpdateStartUtc": {
            "type": "string",
            "format": "date-time"
          },
          "lastPermissionUpdateEndUtc": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "PrivateCertificateDto": {
        "required": [
          "cryptographicInfoType",
          "id",
          "privateKey",
          "privateKeyPassword",
          "publicCertificate",
          "publicCertificateHash",
          "revoked",
          "standardType",
          "validUntilUtc"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "publicCertificate": {
            "type": "string",
            "nullable": true
          },
          "privateKey": {
            "type": "string",
            "nullable": true
          },
          "privateKeyPassword": {
            "type": "string",
            "nullable": true
          },
          "publicCertificateHash": {
            "type": "string",
            "nullable": true
          },
          "standardType": {
            "$ref": "#/components/schemas/CertificateStandardType"
          },
          "cryptographicInfoType": {
            "$ref": "#/components/schemas/CertificateCryptographicInfoType"
          },
          "revoked": {
            "type": "boolean"
          },
          "validUntilUtc": {
            "type": "string",
            "format": "date-time"
          },
          "parentCertificateId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "deviceId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PrivateCheckInFormDto": {
        "required": [
          "checkInFormHeaderIds",
          "id",
          "payload",
          "privatePayload"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "key": {
            "type": "string",
            "nullable": true
          },
          "payload": {
            "$ref": "#/components/schemas/FormPayloadDictionaryDto"
          },
          "color": {
            "type": "string",
            "nullable": true
          },
          "icon": {
            "type": "string",
            "nullable": true
          },
          "steps": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/FormQuestionDetailDto"
              }
            },
            "nullable": true
          },
          "privatePayload": {
            "$ref": "#/components/schemas/FormPrivatePayloadDto"
          },
          "checkInFormHeaderIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PrivateTenantConfiguration": {
        "type": "object",
        "properties": {
          "allowEmployeeDuplicates": {
            "type": "boolean",
            "nullable": true
          },
          "allowVisitorDuplicates": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProjectAll": {
        "type": "object",
        "additionalProperties": false
      },
      "ProjectAllResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "ProvisioningWindowsCmdCommand": {
        "required": [
          "agentDeviceId",
          "command"
        ],
        "type": "object",
        "properties": {
          "agentDeviceId": {
            "type": "string",
            "format": "uuid"
          },
          "command": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProvisioningWindowsCmdCommandResponse": {
        "required": [
          "response"
        ],
        "type": "object",
        "properties": {
          "response": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublicCertificateDto": {
        "required": [
          "cryptographicInfoType",
          "id",
          "publicCertificate",
          "publicCertificateHash",
          "revoked",
          "standardType",
          "validUntilUtc"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "publicCertificate": {
            "type": "string",
            "nullable": true
          },
          "publicCertificateHash": {
            "type": "string",
            "nullable": true
          },
          "standardType": {
            "$ref": "#/components/schemas/CertificateStandardType"
          },
          "cryptographicInfoType": {
            "$ref": "#/components/schemas/CertificateCryptographicInfoType"
          },
          "revoked": {
            "type": "boolean"
          },
          "validUntilUtc": {
            "type": "string",
            "format": "date-time"
          },
          "parentCertificateId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "deviceId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "commonName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublicCheckInFormDto": {
        "required": [
          "id",
          "payload"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "key": {
            "type": "string",
            "nullable": true
          },
          "payload": {
            "$ref": "#/components/schemas/FormPayloadDictionaryDto"
          },
          "color": {
            "type": "string",
            "nullable": true
          },
          "icon": {
            "type": "string",
            "nullable": true
          },
          "steps": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/FormQuestionDetailDto"
              }
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PublicTenantConfiguration": {
        "type": "object",
        "properties": {
          "imageUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QueryPagination": {
        "required": [
          "sortByPropertyName"
        ],
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "offset": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "orderDescending": {
            "type": "boolean",
            "nullable": true
          },
          "sortByPropertyName": {
            "type": "string",
            "nullable": true
          },
          "returnTotalCount": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RangeScheduler": {
        "required": [
          "fromDayOfWeek",
          "fromSeconds",
          "toDayOfWeek",
          "toSeconds"
        ],
        "type": "object",
        "properties": {
          "fromDayOfWeek": {
            "$ref": "#/components/schemas/DayOfWeek"
          },
          "fromSeconds": {
            "type": "integer",
            "format": "int32"
          },
          "toDayOfWeek": {
            "$ref": "#/components/schemas/DayOfWeek"
          },
          "toSeconds": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ReadSaltoKeyCard": {
        "required": [
          "saltoEncoderId"
        ],
        "type": "object",
        "properties": {
          "saltoEncoderId": {
            "type": "string",
            "nullable": true
          },
          "skipKeyRemoval": {
            "type": "boolean",
            "nullable": true
          },
          "timeout": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReadSaltoKeyCardResponse": {
        "required": [
          "didSaltoReturnRomCode",
          "doesKeyCardHaveUser",
          "isSaltoUserFoundInNeural",
          "saltoEncoderId"
        ],
        "type": "object",
        "properties": {
          "saltoEncoderId": {
            "type": "string",
            "nullable": true
          },
          "doesKeyCardHaveUser": {
            "type": "boolean"
          },
          "neuralPersonId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "isSaltoUserFoundInNeural": {
            "type": "boolean"
          },
          "didSaltoReturnRomCode": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "RelayMessagesDto": {
        "required": [
          "agentId",
          "descriptionHighMessage",
          "descriptionLowMessage",
          "infoHighMessage",
          "infoLowMessage",
          "integrationProvider"
        ],
        "type": "object",
        "properties": {
          "integrationProvider": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "agentId": {
            "type": "string",
            "format": "uuid"
          },
          "payload": {
            "type": "string",
            "nullable": true
          },
          "descriptionLowMessage": {
            "type": "string",
            "nullable": true
          },
          "descriptionHighMessage": {
            "type": "string",
            "nullable": true
          },
          "infoHighMessage": {
            "type": "string",
            "nullable": true
          },
          "infoLowMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RemoveEntityTypeFromEntity": {
        "required": [
          "entityId"
        ],
        "type": "object",
        "properties": {
          "entityId": {
            "type": "string",
            "format": "uuid"
          },
          "entityTypeId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RemoveEntityTypeFromEntityResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "RemoveNotificationSubscription": {
        "required": [
          "connectionId",
          "notificationName"
        ],
        "type": "object",
        "properties": {
          "notificationName": {
            "type": "string",
            "nullable": true
          },
          "connectionId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RemoveNotificationSubscriptionResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "RoleDetailDto": {
        "required": [
          "deactivated",
          "id",
          "roleType"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "roleType": {
            "$ref": "#/components/schemas/RoleType"
          },
          "deactivated": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "RoleType": {
        "enum": [
          "UNDEFINED",
          "PERSON",
          "VEHICLE",
          "OPERATOR",
          "VISITOR",
          "ROLE_GROUP"
        ],
        "type": "string"
      },
      "SaltoAccessLevelDto": {
        "required": [
          "mainDomainId",
          "saltoId"
        ],
        "type": "object",
        "properties": {
          "mainDomainId": {
            "type": "string",
            "format": "uuid"
          },
          "agentId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "saltoId": {
            "type": "string",
            "nullable": true
          },
          "neuralSynchroId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SaltoAgentDto": {
        "required": [
          "id",
          "mainDomainId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "mainDomainId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "SaltoDoorDto": {
        "required": [
          "isOnlineDoor",
          "mainDomainId",
          "saltoId"
        ],
        "type": "object",
        "properties": {
          "mainDomainId": {
            "type": "string",
            "format": "uuid"
          },
          "agentId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "saltoId": {
            "type": "string",
            "nullable": true
          },
          "neuralSynchroId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "isOnlineDoor": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SaltoEncoderDto": {
        "required": [
          "mainDomainId"
        ],
        "type": "object",
        "properties": {
          "mainDomainId": {
            "type": "string",
            "format": "uuid"
          },
          "agentId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "saltoId": {
            "type": "string",
            "nullable": true
          },
          "neuralSynchroId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SaltoUserDto": {
        "required": [
          "mainDomainId"
        ],
        "type": "object",
        "properties": {
          "mainDomainId": {
            "type": "string",
            "format": "uuid"
          },
          "agentId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "saltoId": {
            "type": "string",
            "nullable": true
          },
          "neuralSynchroId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "romCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SaltoZoneDto": {
        "required": [
          "mainDomainId",
          "saltoId"
        ],
        "type": "object",
        "properties": {
          "mainDomainId": {
            "type": "string",
            "format": "uuid"
          },
          "agentId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "saltoId": {
            "type": "string",
            "nullable": true
          },
          "neuralSynchroId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SendEmailButtonTemplate": {
        "required": [
          "subject",
          "to"
        ],
        "type": "object",
        "properties": {
          "to": {
            "type": "string",
            "nullable": true
          },
          "subject": {
            "type": "string",
            "nullable": true
          },
          "messageHashKey": {
            "type": "string",
            "nullable": true
          },
          "beforeButtonParagraph1": {
            "type": "string",
            "nullable": true
          },
          "beforeButtonParagraph2": {
            "type": "string",
            "nullable": true
          },
          "buttonUrl": {
            "type": "string",
            "nullable": true
          },
          "buttonText": {
            "type": "string",
            "nullable": true
          },
          "afterButtonParagraph1": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SendTelegramMessage": {
        "type": "object",
        "properties": {
          "chatId": {
            "type": "string",
            "nullable": true
          },
          "parseMode": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SentryBoxDto": {
        "required": [
          "id",
          "name",
          "tenantId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "key": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ServiceCode": {
        "enum": [
          "Undefined",
          "IntegrationSalto",
          "IntegrationAngel",
          "IntegrationLpr",
          "Integration2N",
          "IntegrationCustom",
          "ApiGateway",
          "Identity",
          "Core",
          "Sevent",
          "Alive",
          "Gun",
          "Policy",
          "Presence",
          "Static",
          "Provisioning"
        ],
        "type": "string"
      },
      "SetPeopleMatched": {
        "required": [
          "integrationProvider"
        ],
        "type": "object",
        "properties": {
          "integrationProvider": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "peopleToCreateInNeuralSynchro": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PersonToMatchDto"
            },
            "nullable": true
          },
          "peopleToCreateInDevice": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PersonToMatchDto"
            },
            "nullable": true
          },
          "peopleMatched": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PersonMatched"
            },
            "nullable": true
          },
          "payload": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetPeopleMatchedResponse": {
        "required": [
          "success"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "payload": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetRelayMessages": {
        "required": [
          "agentId",
          "descriptionHighMessage",
          "descriptionLowMessage",
          "infoHighMessage",
          "infoLowMessage",
          "integrationProvider"
        ],
        "type": "object",
        "properties": {
          "integrationProvider": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "agentId": {
            "type": "string",
            "format": "uuid"
          },
          "payload": {
            "type": "string",
            "nullable": true
          },
          "descriptionLowMessage": {
            "type": "string",
            "nullable": true
          },
          "descriptionHighMessage": {
            "type": "string",
            "nullable": true
          },
          "infoHighMessage": {
            "type": "string",
            "nullable": true
          },
          "infoLowMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SetRelayMessagesResponse": {
        "required": [
          "hasBeenCreated",
          "success"
        ],
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "hasBeenCreated": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SetRelayOutputForApi": {
        "required": [
          "deviceId",
          "payload"
        ],
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "format": "uuid"
          },
          "payload": {
            "$ref": "#/components/schemas/AngelRelayOutputPayload"
          }
        },
        "additionalProperties": false
      },
      "SkillAbility": {
        "required": [
          "id",
          "physicalObjectSkillId",
          "serviceSkill"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "serviceSkill": {
            "$ref": "#/components/schemas/PhysicalObjectServiceSkill"
          },
          "physicalObjectSkillId": {
            "type": "string",
            "format": "uuid"
          },
          "physicalObjectId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SyncAllSaltoAutoFixCommand": {
        "type": "object",
        "additionalProperties": false
      },
      "SyncAllSaltoAutoFixCommandResponse": {
        "required": [
          "anotherPersonHasThePreviousRomCode",
          "romCodeFromPersonWasNotUpdated",
          "saltoAgentUsersThatAreNotInNeural",
          "saltoAgentUsersWithoutKeyCard",
          "saltoCloudUsersThatAreNotInAgentSalto",
          "saltoCloudUsersThatAreNotInSaltoAgent",
          "saltoCloudUsersWithoutKeyCard",
          "saltoUsersAccessLevelsUpdated",
          "saltoUsersNameUpdated"
        ],
        "type": "object",
        "properties": {
          "anotherPersonHasThePreviousRomCode": {
            "type": "integer",
            "format": "int32"
          },
          "romCodeFromPersonWasNotUpdated": {
            "type": "integer",
            "format": "int32"
          },
          "saltoAgentUsersWithoutKeyCard": {
            "type": "integer",
            "format": "int32"
          },
          "saltoAgentUsersThatAreNotInNeural": {
            "type": "integer",
            "format": "int32"
          },
          "saltoCloudUsersThatAreNotInAgentSalto": {
            "type": "integer",
            "format": "int32"
          },
          "saltoCloudUsersWithoutKeyCard": {
            "type": "integer",
            "format": "int32"
          },
          "saltoUsersNameUpdated": {
            "type": "integer",
            "format": "int32"
          },
          "saltoUsersAccessLevelsUpdated": {
            "type": "integer",
            "format": "int32"
          },
          "saltoCloudUsersThatAreNotInSaltoAgent": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SyncSaltoDoorsAutoFixCommand": {
        "type": "object",
        "additionalProperties": false
      },
      "SyncSaltoDoorsAutoFixCommandResponse": {
        "required": [
          "saltoDoorsCreated",
          "saltoDoorsDeleted"
        ],
        "type": "object",
        "properties": {
          "saltoDoorsCreated": {
            "type": "integer",
            "format": "int32"
          },
          "saltoDoorsDeleted": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SyncSaltoEncodersAutoFixCommand": {
        "type": "object",
        "additionalProperties": false
      },
      "SyncSaltoEncodersAutoFixCommandResponse": {
        "required": [
          "encodersAdded",
          "encodersDeleted"
        ],
        "type": "object",
        "properties": {
          "encodersAdded": {
            "type": "integer",
            "format": "int32"
          },
          "encodersDeleted": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "SyncSaltoZonesAndAccessLevelsAutoFixCommand": {
        "type": "object",
        "additionalProperties": false
      },
      "SyncSaltoZonesAndAccessLevelsAutoFixCommandResponse": {
        "required": [
          "accessLevelsAdded",
          "accessLevelsDeleted",
          "sitesAdded",
          "sitesDeleted"
        ],
        "type": "object",
        "properties": {
          "sitesAdded": {
            "type": "integer",
            "format": "int32"
          },
          "sitesDeleted": {
            "type": "integer",
            "format": "int32"
          },
          "accessLevelsAdded": {
            "type": "integer",
            "format": "int32"
          },
          "accessLevelsDeleted": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "TankDetailsDto": {
        "required": [
          "id",
          "integrationId",
          "name",
          "organizationId"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "integrationId": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "integrationPayload": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "remainingAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "remainingAmountUnit": {
            "type": "string",
            "nullable": true
          },
          "liquidType": {
            "type": "string",
            "nullable": true
          },
          "lastFillingDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastEmptyingDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TankDto": {
        "required": [
          "id",
          "integrationId",
          "name",
          "organizationId"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "integrationId": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "integrationPayload": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "TankForm": {
        "required": [
          "integrationId",
          "name",
          "organizationId"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "integrationId": {
            "$ref": "#/components/schemas/IntegrationCode"
          },
          "integrationPayload": {
            "type": "string",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "TenantDto": {
        "required": [
          "id",
          "mainDomainId",
          "privateConfiguration",
          "publicConfiguration"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "mainDomainId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "publicConfiguration": {
            "$ref": "#/components/schemas/PublicTenantConfiguration"
          },
          "privateConfiguration": {
            "$ref": "#/components/schemas/PrivateTenantConfiguration"
          },
          "configuration": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TenantPerDayStatisticsDto": {
        "required": [
          "dateUtc",
          "eventsCount",
          "visitorsCount"
        ],
        "type": "object",
        "properties": {
          "dateUtc": {
            "type": "string",
            "format": "date"
          },
          "eventsCount": {
            "type": "integer",
            "format": "int32"
          },
          "visitorsCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "TenantPerDayStatisticsQuery": {
        "required": [
          "startDateUtc",
          "stopDateUtc"
        ],
        "type": "object",
        "properties": {
          "startDateUtc": {
            "type": "string",
            "format": "date"
          },
          "stopDateUtc": {
            "type": "string",
            "format": "date"
          }
        },
        "additionalProperties": false
      },
      "TenantPerDayStatisticsQueryResponse": {
        "required": [
          "statistics"
        ],
        "type": "object",
        "properties": {
          "statistics": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantPerDayStatisticsDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TestErrorDetailsCommand": {
        "type": "object",
        "properties": {
          "errorDetails": {
            "$ref": "#/components/schemas/ErrorDetails"
          }
        },
        "additionalProperties": false
      },
      "TranslationContentDto": {
        "required": [
          "id",
          "sections"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "sections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TranslationSectionDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TranslationDictionaryDto": {
        "type": "object",
        "properties": {
          "defaultLanguage": {
            "type": "string",
            "nullable": true
          },
          "defaultText": {
            "type": "string",
            "nullable": true
          },
          "translationText": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TranslationDto": {
        "required": [
          "languageCode",
          "translationText"
        ],
        "type": "object",
        "properties": {
          "languageCode": {
            "type": "string",
            "nullable": true
          },
          "translationText": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TranslationSectionDto": {
        "required": [
          "sectionKey",
          "translations"
        ],
        "type": "object",
        "properties": {
          "sectionKey": {
            "type": "string",
            "nullable": true
          },
          "translations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TranslationDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateAddress": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "postalAddress": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateAddressResponse": {
        "required": [
          "newValue",
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/AddressDetailDto"
          },
          "newValue": {
            "$ref": "#/components/schemas/AddressDetailDto"
          }
        },
        "additionalProperties": false
      },
      "UpdateAlarm": {
        "required": [
          "alarmId",
          "attended"
        ],
        "type": "object",
        "properties": {
          "attended": {
            "type": "boolean"
          },
          "attendedDescription": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateAlarmResponse": {
        "required": [
          "alarm"
        ],
        "type": "object",
        "properties": {
          "alarm": {
            "$ref": "#/components/schemas/AlarmNotification"
          }
        },
        "additionalProperties": false
      },
      "UpdateAllTranslationsCommand": {
        "required": [
          "translationContentId",
          "translationSectionKeys"
        ],
        "type": "object",
        "properties": {
          "translationContentId": {
            "type": "string",
            "format": "uuid"
          },
          "translationSectionKeys": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TranslationSectionDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateAllTranslationsCommandResponse": {
        "required": [
          "translationContent"
        ],
        "type": "object",
        "properties": {
          "translationContent": {
            "$ref": "#/components/schemas/TranslationContentDto"
          }
        },
        "additionalProperties": false
      },
      "UpdateCheckInForm": {
        "required": [
          "id",
          "payloadDictionary",
          "privatePayload",
          "steps"
        ],
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "payloadDictionary": {
            "$ref": "#/components/schemas/FormPayloadDictionaryDto"
          },
          "privatePayload": {
            "$ref": "#/components/schemas/FormPrivatePayloadDto"
          },
          "color": {
            "type": "string",
            "nullable": true
          },
          "icon": {
            "type": "string",
            "nullable": true
          },
          "steps": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/FormQuestionDetailDto"
              }
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateCheckInFormHeaderPersonalizationCommand": {
        "required": [
          "id",
          "personalization"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "personalization": {
            "$ref": "#/components/schemas/FormPersonalizationConfigurationDto"
          }
        },
        "additionalProperties": false
      },
      "UpdateCheckInFormHeaderSecurityGroupsCommand": {
        "required": [
          "id",
          "organizationalGroups"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organizationalGroups": {
            "$ref": "#/components/schemas/FormOrganizationalGroupsConfigurationDto"
          }
        },
        "additionalProperties": false
      },
      "UpdateCheckInFormHeaderSentryBoxesCommand": {
        "required": [
          "id",
          "sentryBoxes"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "sentryBoxes": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateCheckInFormHeaderVisitModeCommand": {
        "required": [
          "id",
          "visitMode"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "visitMode": {
            "$ref": "#/components/schemas/FormVisitModeConfigurationDto"
          }
        },
        "additionalProperties": false
      },
      "UpdateCheckInFormHeaderWorkflowCommand": {
        "required": [
          "id",
          "workflow"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "workflow": {
            "$ref": "#/components/schemas/FormWorkflowConfigurationDto"
          }
        },
        "additionalProperties": false
      },
      "UpdateCheckInFormResponse": {
        "required": [
          "newValue",
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/PrivateCheckInFormDto"
          },
          "newValue": {
            "$ref": "#/components/schemas/PrivateCheckInFormDto"
          }
        },
        "additionalProperties": false
      },
      "UpdateClaimsIdentityUserCommand": {
        "required": [
          "claims",
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "claims": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClaimDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateClaimsIdentityUserCommandResponse": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateCustomFields": {
        "required": [
          "roleId"
        ],
        "type": "object",
        "properties": {
          "customFields": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateCustomFieldsResponse": {
        "type": "object",
        "properties": {
          "customFields": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateDomainCustomFieldCommand": {
        "required": [
          "domainCustomFieldId",
          "fieldType"
        ],
        "type": "object",
        "properties": {
          "fieldType": {
            "$ref": "#/components/schemas/FieldType"
          }
        },
        "additionalProperties": false
      },
      "UpdateDomainCustomFieldCommandResponse": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "UpdateEmail": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateEmailResponse": {
        "required": [
          "newValue",
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "newValue": {
            "$ref": "#/components/schemas/EmailDetailDto"
          },
          "oldValue": {
            "$ref": "#/components/schemas/EmailDetailDto"
          }
        },
        "additionalProperties": false
      },
      "UpdateEntityTypePropertiesCommand": {
        "required": [
          "properties"
        ],
        "type": "object",
        "properties": {
          "properties": {
            "$ref": "#/components/schemas/CoreEntityTypeProperties"
          }
        },
        "additionalProperties": false
      },
      "UpdateEntityTypePropertiesCommandResponse": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateEntranceCheckCommand": {
        "type": "object",
        "properties": {
          "information": {
            "$ref": "#/components/schemas/EntranceCheckInformation"
          }
        },
        "additionalProperties": false
      },
      "UpdateEntranceCheckCommandResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "UpdateLprControlPointCommand": {
        "required": [
          "lprId"
        ],
        "type": "object",
        "properties": {
          "lprId": {
            "type": "string",
            "nullable": true
          },
          "neuralSynchroId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateLprControlPointCommandResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "UpdateNetworkOptixGeneralInformationCommand": {
        "required": [
          "authorizationMethod",
          "cloudSystemId",
          "id",
          "serverName",
          "timeZoneId",
          "username"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "cloudSystemId": {
            "type": "string",
            "nullable": true
          },
          "timeZoneId": {
            "type": "string",
            "nullable": true
          },
          "authorizationMethod": {
            "type": "string",
            "nullable": true
          },
          "username": {
            "type": "string",
            "nullable": true
          },
          "serverName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateNetworkOptixGeneralInformationCommandResponse": {
        "required": [
          "server"
        ],
        "type": "object",
        "properties": {
          "server": {
            "$ref": "#/components/schemas/NetworkOptixServerDto"
          }
        },
        "additionalProperties": false
      },
      "UpdateNetworkOptixPasswordCommand": {
        "required": [
          "id",
          "password"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateNetworkOptixPasswordCommandResponse": {
        "required": [
          "server"
        ],
        "type": "object",
        "properties": {
          "server": {
            "$ref": "#/components/schemas/NetworkOptixServerDto"
          }
        },
        "additionalProperties": false
      },
      "UpdateOrganizationGroupCommand": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateOrganizationGroupCommandResponse": {
        "required": [
          "organizationGroup"
        ],
        "type": "object",
        "properties": {
          "organizationGroup": {
            "$ref": "#/components/schemas/OrganizationGroup"
          }
        },
        "additionalProperties": false
      },
      "UpdatePersonCustomCommand": {
        "required": [
          "personId"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "identityNumber": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "company": {
            "type": "string",
            "nullable": true
          },
          "observations": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdatePersonCustomCommandResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "UpdatePersonGeneralInformationCommand": {
        "required": [
          "personId"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "dni": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdatePersonGeneralInformationCommandResponse": {
        "required": [
          "newValue",
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/PersonDetailDto"
          },
          "newValue": {
            "$ref": "#/components/schemas/PersonDetailDto"
          }
        },
        "additionalProperties": false
      },
      "UpdatePersonIdentityUserCommand": {
        "required": [
          "personId"
        ],
        "type": "object",
        "properties": {
          "identityUserId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdatePersonIdentityUserCommandResponse": {
        "required": [
          "personId"
        ],
        "type": "object",
        "properties": {
          "personId": {
            "type": "string",
            "format": "uuid"
          },
          "identityUserId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdatePersonLastSite": {
        "required": [
          "personId"
        ],
        "type": "object",
        "properties": {
          "lastSite": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdatePersonLastSiteResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "UpdatePhone": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdatePhoneResponse": {
        "required": [
          "newValue",
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "newValue": {
            "$ref": "#/components/schemas/PhoneDetailDto"
          },
          "oldValue": {
            "$ref": "#/components/schemas/PhoneDetailDto"
          }
        },
        "additionalProperties": false
      },
      "UpdatePhysicalObjectCameras": {
        "required": [
          "cameras",
          "physicalObjectId"
        ],
        "type": "object",
        "properties": {
          "cameras": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PhysicalObjectCameraNodeDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdatePhysicalObjectCamerasResponse": {
        "required": [
          "cameras"
        ],
        "type": "object",
        "properties": {
          "cameras": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PhysicalObjectCameraNodeDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdatePhysicalObjectNameCommand": {
        "required": [
          "physicalObjectId"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "payload": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdatePhysicalObjectNameResponse": {
        "required": [
          "newValue",
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/PhysicalObjectDto"
          },
          "newValue": {
            "$ref": "#/components/schemas/PhysicalObjectDto"
          }
        },
        "additionalProperties": false
      },
      "UpdatePhysicalObjectSitesCommand": {
        "required": [
          "controlPointId"
        ],
        "type": "object",
        "properties": {
          "entranceToOutside": {
            "type": "boolean",
            "nullable": true
          },
          "exitToOutside": {
            "type": "boolean",
            "nullable": true
          },
          "entranceOfSiteId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "exitOfSiteId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdatePhysicalObjectSitesCommandResponse": {
        "required": [
          "newValue",
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/PhysicalObjectDto"
          },
          "newValue": {
            "$ref": "#/components/schemas/PhysicalObjectDto"
          }
        },
        "additionalProperties": false
      },
      "UpdatePolicyStructure": {
        "type": "object",
        "additionalProperties": false
      },
      "UpdatePolicyStructureResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "UpdateRoleActivation": {
        "required": [
          "deactivated",
          "roleId"
        ],
        "type": "object",
        "properties": {
          "deactivated": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UpdateRoleActivationResponse": {
        "required": [
          "newValue",
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/RoleDetailDto"
          },
          "newValue": {
            "$ref": "#/components/schemas/RoleDetailDto"
          }
        },
        "additionalProperties": false
      },
      "UpdateRoleGroups": {
        "required": [
          "personId"
        ],
        "type": "object",
        "properties": {
          "securityGroupsId": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateRoleGroupsResponse": {
        "required": [
          "newValue",
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/PersonDetailDto"
          },
          "newValue": {
            "$ref": "#/components/schemas/PersonDetailDto"
          }
        },
        "additionalProperties": false
      },
      "UpdateRolePayload": {
        "required": [
          "roleId"
        ],
        "type": "object",
        "properties": {
          "payload": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateRolePayloadResponse": {
        "required": [
          "newValue",
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/RoleDetailDto"
          },
          "newValue": {
            "$ref": "#/components/schemas/RoleDetailDto"
          }
        },
        "additionalProperties": false
      },
      "UpdateSaltoKeyCard": {
        "required": [
          "encoderId",
          "personId"
        ],
        "type": "object",
        "properties": {
          "personId": {
            "type": "string",
            "format": "uuid"
          },
          "encoderId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateSaltoKeyCardResponse": {
        "required": [
          "encoderId",
          "personId"
        ],
        "type": "object",
        "properties": {
          "personId": {
            "type": "string",
            "format": "uuid"
          },
          "encoderId": {
            "type": "string",
            "nullable": true
          },
          "romCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateSentryBoxNameCommand": {
        "required": [
          "imageUrl",
          "key",
          "name",
          "sentryBoxId"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "imageUrl": {
            "type": "string",
            "nullable": true
          },
          "key": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateSentryBoxNameCommandResponse": {
        "required": [
          "sentryBoxId"
        ],
        "type": "object",
        "properties": {
          "sentryBoxId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "UpdateTenantPolicyPermissionsEnabled": {
        "required": [
          "id",
          "policyPermissionsEnabled"
        ],
        "type": "object",
        "properties": {
          "policyPermissionsEnabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UpdateTenantPolicyPermissionsEnabledResponse": {
        "required": [
          "newValue",
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/PolicyTenant"
          },
          "newValue": {
            "$ref": "#/components/schemas/PolicyTenant"
          }
        },
        "additionalProperties": false
      },
      "UpdateTenantPrivateConfigurationCommand": {
        "type": "object",
        "properties": {
          "privateConfiguration": {
            "$ref": "#/components/schemas/PrivateTenantConfiguration"
          }
        },
        "additionalProperties": false
      },
      "UpdateTenantPrivateConfigurationCommandResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "UpdateTenantPublicConfigurationCommand": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "publicConfiguration": {
            "$ref": "#/components/schemas/PublicTenantConfiguration"
          }
        },
        "additionalProperties": false
      },
      "UpdateTenantPublicConfigurationCommandResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "UpdateVehicleName": {
        "required": [
          "vehicleId"
        ],
        "type": "object",
        "properties": {
          "plate": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateVehicleResponse": {
        "required": [
          "newValue",
          "oldValue"
        ],
        "type": "object",
        "properties": {
          "oldValue": {
            "$ref": "#/components/schemas/VehicleDetailDto"
          },
          "newValue": {
            "$ref": "#/components/schemas/VehicleDetailDto"
          }
        },
        "additionalProperties": false
      },
      "UpdateWorkflowInputParameters": {
        "required": [
          "id",
          "name",
          "workflowData"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "workflowData": {
            "$ref": "#/components/schemas/WorkflowDataDto"
          }
        },
        "additionalProperties": false
      },
      "UpdateWorkflowInputParametersResponse": {
        "required": [
          "workflowInputParameters"
        ],
        "type": "object",
        "properties": {
          "workflowInputParameters": {
            "$ref": "#/components/schemas/WorkflowInputParametersDto"
          }
        },
        "additionalProperties": false
      },
      "VehicleDetailDto": {
        "required": [
          "deactivated",
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "plate": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "deactivated": {
            "type": "boolean"
          },
          "personId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "person": {
            "$ref": "#/components/schemas/PersonLookupDto"
          }
        },
        "additionalProperties": false
      },
      "VehicleLookupDto": {
        "required": [
          "deactivated",
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "plate": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "deactivated": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "VideoResponse": {
        "required": [
          "canBeRequested",
          "isAuthorizationNeeded",
          "tooManyOpenedConnectionsError"
        ],
        "type": "object",
        "properties": {
          "fullUri": {
            "type": "string",
            "nullable": true
          },
          "authorizationHeader": {
            "type": "string",
            "nullable": true
          },
          "tooManyOpenedConnectionsError": {
            "type": "boolean"
          },
          "canBeRequested": {
            "type": "boolean"
          },
          "isAuthorizationNeeded": {
            "type": "boolean"
          },
          "videoMimeType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VideoServerCameraDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VisitExitType": {
        "enum": [
          "Undefined",
          "ManualVisitPage",
          "AutomaticVehiclePlateExit",
          "AutomaticTimeout",
          "AutomaticCheckIn"
        ],
        "type": "string"
      },
      "VisitModeDto": {
        "required": [
          "keycard",
          "virtual"
        ],
        "type": "object",
        "properties": {
          "keycard": {
            "type": "boolean"
          },
          "virtual": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "WarnLicenseExpirationCommand": {
        "type": "object",
        "additionalProperties": false
      },
      "WarnLicenseExpirationCommandResponse": {
        "type": "object",
        "additionalProperties": false
      },
      "WebPageLoginQuerySaga": {
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WebPageLoginQuerySagaResponse": {
        "required": [
          "getCurrentPersonResponse",
          "getEntitySubjectFunctionsAppliedQueryResponse",
          "getPolicyTenantListResponse",
          "getTenantListQueryResponse"
        ],
        "type": "object",
        "properties": {
          "getCurrentPersonResponse": {
            "$ref": "#/components/schemas/GetCurrentPersonResponse"
          },
          "getTenantListQueryResponse": {
            "$ref": "#/components/schemas/GetTenantListQueryResponse"
          },
          "getPolicyTenantListResponse": {
            "$ref": "#/components/schemas/GetPolicyTenantListResponse"
          },
          "getEntitySubjectFunctionsAppliedQueryResponse": {
            "$ref": "#/components/schemas/GetEntitySubjectFunctionsAppliedQueryResponse"
          }
        },
        "additionalProperties": false
      },
      "WebPageVisitQuerySaga": {
        "type": "object",
        "additionalProperties": false
      },
      "WebPageVisitQuerySagaResponse": {
        "required": [
          "getCheckInFormHeaderListResponse",
          "getOrganizationGroupListQuerySagaResponse",
          "getPrivateCheckInFormsListResponse",
          "getSentryBoxListQueryResponse"
        ],
        "type": "object",
        "properties": {
          "getPrivateCheckInFormsListResponse": {
            "$ref": "#/components/schemas/GetPrivateCheckInFormsListResponse"
          },
          "getCheckInFormHeaderListResponse": {
            "$ref": "#/components/schemas/GetCheckInFormHeadersListQueryResponse"
          },
          "getSentryBoxListQueryResponse": {
            "$ref": "#/components/schemas/GetSentryBoxListQueryResponse"
          },
          "getOrganizationGroupListQuerySagaResponse": {
            "$ref": "#/components/schemas/GetOrganizationGroupListQuerySagaResponse"
          }
        },
        "additionalProperties": false
      },
      "WeekScheduler": {
        "required": [
          "fromSeconds",
          "toSeconds"
        ],
        "type": "object",
        "properties": {
          "daysOfWeek": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DayOfWeek"
            },
            "nullable": true
          },
          "fromSeconds": {
            "type": "integer",
            "format": "int32"
          },
          "toSeconds": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "WhenWarmUser": {
        "enum": [
          "Undefined",
          "Always",
          "WarmIfPersonInside",
          "WarmIfNoOneInside"
        ],
        "type": "string"
      },
      "WorkflowAlarmData": {
        "required": [
          "workflowSchedulerData",
          "workflowWarningsData"
        ],
        "type": "object",
        "properties": {
          "workflowWarningsData": {
            "$ref": "#/components/schemas/WorkflowWarningsData"
          },
          "workflowSchedulerData": {
            "$ref": "#/components/schemas/WorkflowSchedulerData"
          }
        },
        "additionalProperties": false
      },
      "WorkflowDataDto": {
        "type": "object",
        "properties": {
          "descriptionWorkflowData": {
            "$ref": "#/components/schemas/DescriptionWorkflowData"
          },
          "openControlPointWorkflowData": {
            "$ref": "#/components/schemas/OpenControlPointWorkflowData"
          },
          "giveVisitExitWorkflowData": {
            "$ref": "#/components/schemas/GiveVisitExitWorkflowData"
          },
          "antiTimeBackWorkflowData": {
            "$ref": "#/components/schemas/AntiTimeBackWorkflowData"
          },
          "numberComparingWorkflowData": {
            "$ref": "#/components/schemas/NumberComparingWorkflowData"
          }
        },
        "additionalProperties": false
      },
      "WorkflowInputParametersDto": {
        "required": [
          "id",
          "lifeTime",
          "name",
          "workflowId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "lifeTime": {
            "$ref": "#/components/schemas/WorkflowLifeTime"
          },
          "workflowId": {
            "type": "string",
            "nullable": true
          },
          "workflowData": {
            "$ref": "#/components/schemas/WorkflowDataDto"
          }
        },
        "additionalProperties": false
      },
      "WorkflowLifeTime": {
        "enum": [
          "OneTime",
          "RepeatsForever"
        ],
        "type": "string"
      },
      "WorkflowSchedulerData": {
        "required": [
          "always"
        ],
        "type": "object",
        "properties": {
          "timeZoneInfoId": {
            "type": "string",
            "nullable": true
          },
          "always": {
            "type": "boolean"
          },
          "rangeSchedulers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RangeScheduler"
            },
            "nullable": true
          },
          "weekSchedulers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WeekScheduler"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WorkflowWarningsData": {
        "type": "object",
        "properties": {
          "warnPeoplePhones": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PersonAlarm"
            },
            "nullable": true
          },
          "warnPeopleEmails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PersonAlarm"
            },
            "nullable": true
          },
          "warnPeopleTelegrams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PersonAlarm"
            },
            "nullable": true
          },
          "warnRelayOutput": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PersonAlarm"
            },
            "nullable": true
          },
          "alarmMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    }
  },
  "security": [
    { },
    {
      "OAuth2": [ ]
    }
  ]
}