{
  "files": [
    {
      "name": "keyapis/vc/v1/keyapis_vc_camera_v1.proto",
      "description": "Сервис работы с камерами",
      "package": "keyapis.vc.v1",
      "hasEnums": false,
      "hasExtensions": false,
      "hasMessages": true,
      "hasServices": true,
      "enums": [
        {
          "name": "Type",
          "longName": "Camera.Type",
          "fullName": "keyapis.vc.v1.Camera.Type",
          "description": "Справочник типов камер",
          "values": [
            {
              "name": "TYPE_UNKNOWN",
              "number": "0",
              "description": "Значение не указано"
            },
            {
              "name": "DVR",
              "number": "1",
              "description": "Регистратор"
            },
            {
              "name": "VMS",
              "number": "2",
              "description": "Система управления видео"
            },
            {
              "name": "ROSE",
              "number": "3",
              "description": "RTSP-камера"
            },
            {
              "name": "VIOLET",
              "number": "4",
              "description": "IP-камера"
            }
          ]
        },
        {
          "name": "DirectionType",
          "longName": "CameraPaging.DirectionType",
          "fullName": "keyapis.vc.v1.CameraPaging.DirectionType",
          "description": "Справочник типов направлений сортировки.\n# Тип: byte",
          "values": [
            {
              "name": "DIRECTION_TYPE_UNKNOWN",
              "number": "0",
              "description": "Значение не указано"
            },
            {
              "name": "DESC",
              "number": "1",
              "description": "От большего к меньшему"
            },
            {
              "name": "ASC",
              "number": "2",
              "description": "От меньшего к большему"
            }
          ]
        },
        {
          "name": "OrderByType",
          "longName": "CameraPaging.OrderByType",
          "fullName": "keyapis.vc.v1.CameraPaging.OrderByType",
          "description": "Справочник типов значений сортировки.\n# Тип: byte",
          "values": [
            {
              "name": "ORDER_BY_TYPE_UNKNOWN",
              "number": "0",
              "description": "Значение не указано"
            },
            {
              "name": "UID",
              "number": "1",
              "description": "По идентификатору"
            }
          ]
        },
        {
          "name": "DirectionType",
          "longName": "CameraRoomPaging.DirectionType",
          "fullName": "keyapis.vc.v1.CameraRoomPaging.DirectionType",
          "description": "Справочник типов направлений сортировки.\n# Тип: byte",
          "values": [
            {
              "name": "DIRECTION_TYPE_UNKNOWN",
              "number": "0",
              "description": "Значение не указано"
            },
            {
              "name": "DESC",
              "number": "1",
              "description": "От большего к меньшему"
            },
            {
              "name": "ASC",
              "number": "2",
              "description": "От меньшего к большему"
            }
          ]
        },
        {
          "name": "OrderByType",
          "longName": "CameraRoomPaging.OrderByType",
          "fullName": "keyapis.vc.v1.CameraRoomPaging.OrderByType",
          "description": "Справочник типов значений сортировки.\n# Тип: byte",
          "values": [
            {
              "name": "ORDER_BY_TYPE_UNKNOWN",
              "number": "0",
              "description": "Значение не указано"
            },
            {
              "name": "CAMERA_UID",
              "number": "1",
              "description": "По Идентификатору камеры"
            },
            {
              "name": "ORPON_ROOM_NUMBER",
              "number": "2",
              "description": "По ОРПОН и номеру квартиры"
            }
          ]
        }
      ],
      "extensions": [],
      "messages": [
        {
          "name": "Camera",
          "longName": "Camera",
          "fullName": "keyapis.vc.v1.Camera",
          "description": "Камера",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "id",
              "description": "Идентификатор камеры",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "OUTPUT_ONLY"
                  ]
                }
              },
              "number": 1
            },
            {
              "name": "uid",
              "description": "uid камеры",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "OUTPUT_ONLY"
                  ]
                }
              },
              "number": 2
            },
            {
              "name": "name",
              "description": "Название камеры",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "OUTPUT_ONLY"
                  ]
                }
              },
              "number": 3
            },
            {
              "name": "is_online",
              "description": "Признак: онлайн камера или нет",
              "label": "",
              "type": "bool",
              "longType": "bool",
              "fullType": "bool",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "OUTPUT_ONLY"
                  ]
                }
              },
              "number": 4
            },
            {
              "name": "is_active_user_camera",
              "description": "Признак: Есть ли у камеры активный пользователь",
              "label": "",
              "type": "bool",
              "longType": "bool",
              "fullType": "bool",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "OUTPUT_ONLY"
                  ]
                }
              },
              "number": 5
            },
            {
              "name": "status_changed_at",
              "description": "Дата и время изменения статуса камеры",
              "label": "",
              "type": "Timestamp",
              "longType": "google.protobuf.Timestamp",
              "fullType": "google.protobuf.Timestamp",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "OUTPUT_ONLY"
                  ]
                }
              },
              "number": 6
            },
            {
              "name": "mac",
              "description": "MAC-адрес камеры",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 7
            },
            {
              "name": "ip",
              "description": "IP камеры",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "OUTPUT_ONLY"
                  ]
                }
              },
              "number": 8
            },
            {
              "name": "remote_ip",
              "description": "Внешний IP камеры",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "OUTPUT_ONLY"
                  ]
                }
              },
              "number": 9
            },
            {
              "name": "tariff_started_at",
              "description": "Дата начала действия текущего тарифа",
              "label": "",
              "type": "Timestamp",
              "longType": "google.protobuf.Timestamp",
              "fullType": "google.protobuf.Timestamp",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "OUTPUT_ONLY"
                  ]
                }
              },
              "number": 10
            },
            {
              "name": "tariff_ended_at",
              "description": "Дата окончания действия текущего тарифа",
              "label": "",
              "type": "Timestamp",
              "longType": "google.protobuf.Timestamp",
              "fullType": "google.protobuf.Timestamp",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "OUTPUT_ONLY"
                  ]
                }
              },
              "number": 11
            },
            {
              "name": "tariff_title",
              "description": "Наименование тарифа",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "OUTPUT_ONLY"
                  ]
                }
              },
              "number": 12
            },
            {
              "name": "type",
              "description": "Тип камеры",
              "label": "",
              "type": "Type",
              "longType": "Camera.Type",
              "fullType": "keyapis.vc.v1.Camera.Type",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "INPUT_ONLY"
                  ]
                }
              },
              "number": 13
            },
            {
              "name": "camera_category_id",
              "description": "Идентификатор категории.\nКамера - 1, домофон - 2, скуд - 3, шлагбаум - 4",
              "label": "",
              "type": "int32",
              "longType": "int32",
              "fullType": "int32",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "INPUT_ONLY"
                  ]
                }
              },
              "number": 14
            },
            {
              "name": "rtsp_url",
              "description": "РТСП-ссылка",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "INPUT_ONLY"
                  ]
                }
              },
              "number": 15
            },
            {
              "name": "serial_number",
              "description": "Серийный номер",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "INPUT_ONLY"
                  ]
                }
              },
              "number": 16
            },
            {
              "name": "company_id",
              "description": "Идентификатор компании",
              "label": "",
              "type": "int32",
              "longType": "int32",
              "fullType": "int32",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "INPUT_ONLY"
                  ]
                }
              },
              "number": 17
            }
          ]
        },
        {
          "name": "ValidationError",
          "longName": "Camera.ValidationError",
          "fullName": "keyapis.vc.v1.Camera.ValidationError",
          "description": "Ошибки валидации",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "rtsp_url_required",
              "description": "Поле rtsp_url должно быть заполнено",
              "label": "",
              "type": "RtspUrlRequired",
              "longType": "Camera.ValidationError.RtspUrlRequired",
              "fullType": "keyapis.vc.v1.Camera.ValidationError.RtspUrlRequired",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "one_field_mac_or_serial_number_required",
              "description": "Только одно поле обязательно к заполнению mac или serial_number",
              "label": "",
              "type": "OneFieldMacOrSerialNumberRequired",
              "longType": "Camera.ValidationError.OneFieldMacOrSerialNumberRequired",
              "fullType": "keyapis.vc.v1.Camera.ValidationError.OneFieldMacOrSerialNumberRequired",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 2
            }
          ]
        },
        {
          "name": "OneFieldMacOrSerialNumberRequired",
          "longName": "Camera.ValidationError.OneFieldMacOrSerialNumberRequired",
          "fullName": "keyapis.vc.v1.Camera.ValidationError.OneFieldMacOrSerialNumberRequired",
          "description": "Только одно поле обязательно к заполнению mac или serial_number.\nДля камер с типом VIOLET и DVR",
          "hasExtensions": false,
          "hasFields": false,
          "hasOneofs": false,
          "extensions": [],
          "fields": []
        },
        {
          "name": "RtspUrlRequired",
          "longName": "Camera.ValidationError.RtspUrlRequired",
          "fullName": "keyapis.vc.v1.Camera.ValidationError.RtspUrlRequired",
          "description": "Поле rtsp_url должно быть заполнено.\nТолько для камер с типом ROSE",
          "hasExtensions": false,
          "hasFields": false,
          "hasOneofs": false,
          "extensions": [],
          "fields": []
        },
        {
          "name": "CameraFilter",
          "longName": "CameraFilter",
          "fullName": "keyapis.vc.v1.CameraFilter",
          "description": "Фильтр камер",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "is_active",
              "description": "Признак активности камеры",
              "label": "",
              "type": "BoolValue",
              "longType": "google.protobuf.BoolValue",
              "fullType": "google.protobuf.BoolValue",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "is_channel_alive",
              "description": "Признак активности канала",
              "label": "",
              "type": "BoolValue",
              "longType": "google.protobuf.BoolValue",
              "fullType": "google.protobuf.BoolValue",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 2
            },
            {
              "name": "is_online",
              "description": "Статус камеры",
              "label": "",
              "type": "BoolValue",
              "longType": "google.protobuf.BoolValue",
              "fullType": "google.protobuf.BoolValue",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 3
            },
            {
              "name": "camera_type",
              "description": "Тип камеры",
              "label": "",
              "type": "Type",
              "longType": "Camera.Type",
              "fullType": "keyapis.vc.v1.Camera.Type",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 4
            }
          ]
        },
        {
          "name": "CameraPaging",
          "longName": "CameraPaging",
          "fullName": "keyapis.vc.v1.CameraPaging",
          "description": "Постраничный вывод",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "order_by_type",
              "description": "Тип значения сортировки.\nЕсли значение не передано, то будет взято значение по умолчанию",
              "label": "",
              "type": "OrderByType",
              "longType": "CameraPaging.OrderByType",
              "fullType": "keyapis.vc.v1.CameraPaging.OrderByType",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "direction_type",
              "description": "Тип направления сортировки.\n# По умолчанию: DESC",
              "label": "",
              "type": "DirectionType",
              "longType": "CameraPaging.DirectionType",
              "fullType": "keyapis.vc.v1.CameraPaging.DirectionType",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 2
            },
            {
              "name": "limit",
              "description": "Количество записей на страницу.\nЕсли значение 0 (не передано), то будет взято значение по умолчанию.\n# Диапазон: 0..100.\n# По умолчанию: 20",
              "label": "",
              "type": "int32",
              "longType": "int32",
              "fullType": "int32",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 3
            },
            {
              "name": "offset",
              "description": "Сдвиг.\n# Диапазон: 0..2147483647",
              "label": "",
              "type": "int32",
              "longType": "int32",
              "fullType": "int32",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 4
            }
          ]
        },
        {
          "name": "CameraRoom",
          "longName": "CameraRoom",
          "fullName": "keyapis.vc.v1.CameraRoom",
          "description": "Связь камеры и квартиры",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "camera_uid",
              "description": "Идентификатор камеры",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 1
            },
            {
              "name": "orpon",
              "description": "ОРПОН дома",
              "label": "",
              "type": "int64",
              "longType": "int64",
              "fullType": "int64",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 2
            },
            {
              "name": "room_number",
              "description": "Номер квартиры.\n# Диапазон: 1..4",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 3
            }
          ]
        },
        {
          "name": "CameraRoomFilter",
          "longName": "CameraRoomFilter",
          "fullName": "keyapis.vc.v1.CameraRoomFilter",
          "description": "Фильтр связок камеры и квартиры.\nПри передаче массива в параметр фильтра элементы массива работают в выборке через ИЛИ.\nПри передаче нескольких разных параметров фильтра они работают в выборке через И",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "camera_uids",
              "description": "По Идентификаторам камер.\n# Диапазон: 0..100",
              "label": "repeated",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "orpons",
              "description": "По ОРПОНам.\n# Диапазон: 0..100",
              "label": "repeated",
              "type": "int64",
              "longType": "int64",
              "fullType": "int64",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 2
            },
            {
              "name": "room_numbers",
              "description": "По квартирам.\n# Диапазон: 0..100",
              "label": "repeated",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 3
            }
          ]
        },
        {
          "name": "CameraRoomPaging",
          "longName": "CameraRoomPaging",
          "fullName": "keyapis.vc.v1.CameraRoomPaging",
          "description": "Постраничный вывод",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "order_by_type",
              "description": "Тип значения сортировки.\nЕсли значение не передано, то будет взято значение по умолчанию CAMERA_UID",
              "label": "",
              "type": "OrderByType",
              "longType": "CameraRoomPaging.OrderByType",
              "fullType": "keyapis.vc.v1.CameraRoomPaging.OrderByType",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "direction_type",
              "description": "Тип направления сортировки.\n# По умолчанию: DESC",
              "label": "",
              "type": "DirectionType",
              "longType": "CameraRoomPaging.DirectionType",
              "fullType": "keyapis.vc.v1.CameraRoomPaging.DirectionType",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 2
            },
            {
              "name": "limit",
              "description": "Количество записей на страницу.\nЕсли значение 0 (не передано), то будет взято значение по умолчанию.\n# Диапазон: 0..100.\n# По умолчанию: 20",
              "label": "",
              "type": "int32",
              "longType": "int32",
              "fullType": "int32",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 3
            },
            {
              "name": "offset",
              "description": "Сдвиг.\n# Диапазон: 0..2147483647",
              "label": "",
              "type": "int32",
              "longType": "int32",
              "fullType": "int32",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 4
            }
          ]
        },
        {
          "name": "CameraScope",
          "longName": "CameraScope",
          "fullName": "keyapis.vc.v1.CameraScope",
          "description": "Ограничение выборки камер",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "vc_company_id",
              "description": "Внешний идентификатор компании",
              "label": "",
              "type": "int32",
              "longType": "int32",
              "fullType": "int32",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "DeleteCameraRequest",
          "longName": "DeleteCameraRequest",
          "fullName": "keyapis.vc.v1.DeleteCameraRequest",
          "description": "Запрос удаления камеры",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "uid",
              "description": "Идентификатор камеры в vcfront.\n# Тип: Guid",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 1
            },
            {
              "name": "is_delete_permanently",
              "description": "Флаг полного (безвозвратного) удаления камеры",
              "label": "",
              "type": "bool",
              "longType": "bool",
              "fullType": "bool",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 2
            }
          ]
        },
        {
          "name": "DeleteCameraResponse",
          "longName": "DeleteCameraResponse",
          "fullName": "keyapis.vc.v1.DeleteCameraResponse",
          "description": "Ответ на запрос удаления камеры",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "error",
              "description": "Ошибка",
              "label": "",
              "type": "Error",
              "longType": "DeleteCameraResponse.Error",
              "fullType": "keyapis.vc.v1.DeleteCameraResponse.Error",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "Error",
          "longName": "DeleteCameraResponse.Error",
          "fullName": "keyapis.vc.v1.DeleteCameraResponse.Error",
          "description": "Ошибка запроса",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "validation",
              "description": "Ошибка валидации",
              "label": "",
              "type": "ValidationError",
              "longType": "ValidationError",
              "fullType": "keyapis.vc.v1.ValidationError",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "GetCameraListRequest",
          "longName": "GetCameraListRequest",
          "fullName": "keyapis.vc.v1.GetCameraListRequest",
          "description": "Запрос на получение списка камер",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "scope",
              "description": "Ограничение выборки",
              "label": "",
              "type": "CameraScope",
              "longType": "CameraScope",
              "fullType": "keyapis.vc.v1.CameraScope",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "filter",
              "description": "Фильтр",
              "label": "",
              "type": "CameraFilter",
              "longType": "CameraFilter",
              "fullType": "keyapis.vc.v1.CameraFilter",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 2
            },
            {
              "name": "paging",
              "description": "Постраничный вывод",
              "label": "",
              "type": "CameraPaging",
              "longType": "CameraPaging",
              "fullType": "keyapis.vc.v1.CameraPaging",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "pagination",
              "defaultValue": "",
              "number": 3
            }
          ]
        },
        {
          "name": "GetCameraListResponse",
          "longName": "GetCameraListResponse",
          "fullName": "keyapis.vc.v1.GetCameraListResponse",
          "description": "Ответ на получение списка камер",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "data",
              "description": "Список",
              "label": "",
              "type": "Data",
              "longType": "GetCameraListResponse.Data",
              "fullType": "keyapis.vc.v1.GetCameraListResponse.Data",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "error",
              "description": "Ошибка",
              "label": "",
              "type": "Error",
              "longType": "GetCameraListResponse.Error",
              "fullType": "keyapis.vc.v1.GetCameraListResponse.Error",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 2
            }
          ]
        },
        {
          "name": "Data",
          "longName": "GetCameraListResponse.Data",
          "fullName": "keyapis.vc.v1.GetCameraListResponse.Data",
          "description": "Список",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "items",
              "description": "Список Camera",
              "label": "repeated",
              "type": "Camera",
              "longType": "Camera",
              "fullType": "keyapis.vc.v1.Camera",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "total",
              "description": "Всего количество",
              "label": "",
              "type": "int32",
              "longType": "int32",
              "fullType": "int32",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 2
            }
          ]
        },
        {
          "name": "Error",
          "longName": "GetCameraListResponse.Error",
          "fullName": "keyapis.vc.v1.GetCameraListResponse.Error",
          "description": "Ошибка запроса",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "validation",
              "description": "Ошибка валидации",
              "label": "",
              "type": "ValidationError",
              "longType": "ValidationError",
              "fullType": "keyapis.vc.v1.ValidationError",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "GetCameraRequest",
          "longName": "GetCameraRequest",
          "fullName": "keyapis.vc.v1.GetCameraRequest",
          "description": "Запрос получения камеры",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "scope",
              "description": "Ограничение выборки",
              "label": "",
              "type": "CameraScope",
              "longType": "CameraScope",
              "fullType": "keyapis.vc.v1.CameraScope",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 1
            },
            {
              "name": "uid",
              "description": "uid камеры",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 2
            }
          ]
        },
        {
          "name": "GetCameraResponse",
          "longName": "GetCameraResponse",
          "fullName": "keyapis.vc.v1.GetCameraResponse",
          "description": "Ответ на запрос получения камеры",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "data",
              "description": "Камера",
              "label": "",
              "type": "Camera",
              "longType": "Camera",
              "fullType": "keyapis.vc.v1.Camera",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "error",
              "description": "Ошибка",
              "label": "",
              "type": "Error",
              "longType": "GetCameraResponse.Error",
              "fullType": "keyapis.vc.v1.GetCameraResponse.Error",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 2
            }
          ]
        },
        {
          "name": "Error",
          "longName": "GetCameraResponse.Error",
          "fullName": "keyapis.vc.v1.GetCameraResponse.Error",
          "description": "Ошибка запроса",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "validation",
              "description": "Ошибка валидации",
              "label": "",
              "type": "ValidationError",
              "longType": "ValidationError",
              "fullType": "keyapis.vc.v1.ValidationError",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "GetCameraRoomCountRequest",
          "longName": "GetCameraRoomCountRequest",
          "fullName": "keyapis.vc.v1.GetCameraRoomCountRequest",
          "description": "Запрос получения количества связей камеры и квартиры",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "filter",
              "description": "Фильтр",
              "label": "",
              "type": "CameraRoomFilter",
              "longType": "CameraRoomFilter",
              "fullType": "keyapis.vc.v1.CameraRoomFilter",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "GetCameraRoomCountResponse",
          "longName": "GetCameraRoomCountResponse",
          "fullName": "keyapis.vc.v1.GetCameraRoomCountResponse",
          "description": "Ответ получения количества связей камеры и квартиры",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "data",
              "description": "Всего количество",
              "label": "",
              "type": "int32",
              "longType": "int32",
              "fullType": "int32",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "error",
              "description": "Ошибка",
              "label": "",
              "type": "Error",
              "longType": "GetCameraRoomCountResponse.Error",
              "fullType": "keyapis.vc.v1.GetCameraRoomCountResponse.Error",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 2
            }
          ]
        },
        {
          "name": "Error",
          "longName": "GetCameraRoomCountResponse.Error",
          "fullName": "keyapis.vc.v1.GetCameraRoomCountResponse.Error",
          "description": "Ошибка запроса",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "validation",
              "description": "Ошибка валидации",
              "label": "",
              "type": "ValidationError",
              "longType": "ValidationError",
              "fullType": "keyapis.vc.v1.ValidationError",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "GetCameraRoomListRequest",
          "longName": "GetCameraRoomListRequest",
          "fullName": "keyapis.vc.v1.GetCameraRoomListRequest",
          "description": "Запрос получения списка связей камеры и квартиры",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "filter",
              "description": "Фильтр",
              "label": "",
              "type": "CameraRoomFilter",
              "longType": "CameraRoomFilter",
              "fullType": "keyapis.vc.v1.CameraRoomFilter",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "paging",
              "description": "Постраничный вывод",
              "label": "",
              "type": "CameraRoomPaging",
              "longType": "CameraRoomPaging",
              "fullType": "keyapis.vc.v1.CameraRoomPaging",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "pagination",
              "defaultValue": "",
              "number": 2
            }
          ]
        },
        {
          "name": "GetCameraRoomListResponse",
          "longName": "GetCameraRoomListResponse",
          "fullName": "keyapis.vc.v1.GetCameraRoomListResponse",
          "description": "Ответ получения списка связей камеры и квартиры",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "data",
              "description": "Связь камеры и квартиры",
              "label": "",
              "type": "CameraRoom",
              "longType": "CameraRoom",
              "fullType": "keyapis.vc.v1.CameraRoom",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "error",
              "description": "Ошибка",
              "label": "",
              "type": "Error",
              "longType": "GetCameraRoomListResponse.Error",
              "fullType": "keyapis.vc.v1.GetCameraRoomListResponse.Error",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 2
            }
          ]
        },
        {
          "name": "Error",
          "longName": "GetCameraRoomListResponse.Error",
          "fullName": "keyapis.vc.v1.GetCameraRoomListResponse.Error",
          "description": "Ошибка запроса",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "validation",
              "description": "Ошибка валидации",
              "label": "",
              "type": "ValidationError",
              "longType": "ValidationError",
              "fullType": "keyapis.vc.v1.ValidationError",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "GetCameraRtspUrlExternalIdRequest",
          "longName": "GetCameraRtspUrlExternalIdRequest",
          "fullName": "keyapis.vc.v1.GetCameraRtspUrlExternalIdRequest",
          "description": "Запрос получения камеры",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "external_id",
              "description": "Идентификатор камеры в vcfront.\n# Тип: Guid",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 1
            }
          ]
        },
        {
          "name": "GetCameraRtspUrlExternalIdResponse",
          "longName": "GetCameraRtspUrlExternalIdResponse",
          "fullName": "keyapis.vc.v1.GetCameraRtspUrlExternalIdResponse",
          "description": "Ответ на запрос получения RTSP-ссылки по идентификатору камеры в vcfront",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "data",
              "description": "RTSP-ссылка",
              "label": "",
              "type": "CameraRtspUrl",
              "longType": "GetCameraRtspUrlExternalIdResponse.CameraRtspUrl",
              "fullType": "keyapis.vc.v1.GetCameraRtspUrlExternalIdResponse.CameraRtspUrl",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "error",
              "description": "Ошибка",
              "label": "",
              "type": "Error",
              "longType": "GetCameraRtspUrlExternalIdResponse.Error",
              "fullType": "keyapis.vc.v1.GetCameraRtspUrlExternalIdResponse.Error",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 2
            }
          ]
        },
        {
          "name": "CameraRtspUrl",
          "longName": "GetCameraRtspUrlExternalIdResponse.CameraRtspUrl",
          "fullName": "keyapis.vc.v1.GetCameraRtspUrlExternalIdResponse.CameraRtspUrl",
          "description": "RTSP-ссылка",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "rtsp_url",
              "description": "RTSP-ссылка",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "Error",
          "longName": "GetCameraRtspUrlExternalIdResponse.Error",
          "fullName": "keyapis.vc.v1.GetCameraRtspUrlExternalIdResponse.Error",
          "description": "Ошибка запроса получения списка камер",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "validation",
              "description": "Ошибка валидации",
              "label": "",
              "type": "ValidationError",
              "longType": "ValidationError",
              "fullType": "keyapis.vc.v1.ValidationError",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "PostCameraRequest",
          "longName": "PostCameraRequest",
          "fullName": "keyapis.vc.v1.PostCameraRequest",
          "description": "Запрос создания камеры",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "data",
              "description": "Камера",
              "label": "",
              "type": "Camera",
              "longType": "Camera",
              "fullType": "keyapis.vc.v1.Camera",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 1
            }
          ]
        },
        {
          "name": "PostCameraResponse",
          "longName": "PostCameraResponse",
          "fullName": "keyapis.vc.v1.PostCameraResponse",
          "description": "Ответ на запрос создания камеры",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "error",
              "description": "Ошибка",
              "label": "",
              "type": "Error",
              "longType": "PostCameraResponse.Error",
              "fullType": "keyapis.vc.v1.PostCameraResponse.Error",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "Error",
          "longName": "PostCameraResponse.Error",
          "fullName": "keyapis.vc.v1.PostCameraResponse.Error",
          "description": "Ошибка запроса",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "validation",
              "description": "Ошибка валидации",
              "label": "",
              "type": "ValidationError",
              "longType": "ValidationError",
              "fullType": "keyapis.vc.v1.ValidationError",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "camera_validation",
              "description": "Ошибка валидации",
              "label": "",
              "type": "ValidationError",
              "longType": "Camera.ValidationError",
              "fullType": "keyapis.vc.v1.Camera.ValidationError",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 2
            },
            {
              "name": "vc",
              "description": "Ошибка в сервисе ВН",
              "label": "",
              "type": "VcError",
              "longType": "PostCameraResponse.Error.VcError",
              "fullType": "keyapis.vc.v1.PostCameraResponse.Error.VcError",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 3
            }
          ]
        },
        {
          "name": "VcError",
          "longName": "PostCameraResponse.Error.VcError",
          "fullName": "keyapis.vc.v1.PostCameraResponse.Error.VcError",
          "description": "Ошибка в сервисе ВН",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "text",
              "description": "Текст ошибки",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "PutCameraRoomAttachListRequest",
          "longName": "PutCameraRoomAttachListRequest",
          "fullName": "keyapis.vc.v1.PutCameraRoomAttachListRequest",
          "description": "Запрос пакетной привязки камер и квартир",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "data",
              "description": "Массив связей Camera и Room",
              "label": "repeated",
              "type": "CameraRoom",
              "longType": "CameraRoom",
              "fullType": "keyapis.vc.v1.CameraRoom",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "PutCameraRoomAttachListResponse",
          "longName": "PutCameraRoomAttachListResponse",
          "fullName": "keyapis.vc.v1.PutCameraRoomAttachListResponse",
          "description": "Ответ на запрос пакетной привязки камер и квартир",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "error",
              "description": "Ошибка",
              "label": "",
              "type": "Error",
              "longType": "PutCameraRoomAttachListResponse.Error",
              "fullType": "keyapis.vc.v1.PutCameraRoomAttachListResponse.Error",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "Error",
          "longName": "PutCameraRoomAttachListResponse.Error",
          "fullName": "keyapis.vc.v1.PutCameraRoomAttachListResponse.Error",
          "description": "Ошибка запроса",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "validation",
              "description": "Ошибка валидации",
              "label": "",
              "type": "ValidationError",
              "longType": "ValidationError",
              "fullType": "keyapis.vc.v1.ValidationError",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "PutCameraRoomAttachRequest",
          "longName": "PutCameraRoomAttachRequest",
          "fullName": "keyapis.vc.v1.PutCameraRoomAttachRequest",
          "description": "Запрос привязки камеры и квартиры",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "data",
              "description": "Связь Camera и Room",
              "label": "",
              "type": "CameraRoom",
              "longType": "CameraRoom",
              "fullType": "keyapis.vc.v1.CameraRoom",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 1
            }
          ]
        },
        {
          "name": "PutCameraRoomAttachResponse",
          "longName": "PutCameraRoomAttachResponse",
          "fullName": "keyapis.vc.v1.PutCameraRoomAttachResponse",
          "description": "Ответ привязки камеры и квартиры",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "error",
              "description": "Ошибка",
              "label": "",
              "type": "Error",
              "longType": "PutCameraRoomAttachResponse.Error",
              "fullType": "keyapis.vc.v1.PutCameraRoomAttachResponse.Error",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "Error",
          "longName": "PutCameraRoomAttachResponse.Error",
          "fullName": "keyapis.vc.v1.PutCameraRoomAttachResponse.Error",
          "description": "Ошибка запроса",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "validation",
              "description": "Ошибка валидации",
              "label": "",
              "type": "ValidationError",
              "longType": "ValidationError",
              "fullType": "keyapis.vc.v1.ValidationError",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "PutCameraRoomDetachListRequest",
          "longName": "PutCameraRoomDetachListRequest",
          "fullName": "keyapis.vc.v1.PutCameraRoomDetachListRequest",
          "description": "Запрос пакетной отвязки камер и квартир",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "data",
              "description": "Массив связей Camera и Room",
              "label": "repeated",
              "type": "CameraRoom",
              "longType": "CameraRoom",
              "fullType": "keyapis.vc.v1.CameraRoom",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "PutCameraRoomDetachListResponse",
          "longName": "PutCameraRoomDetachListResponse",
          "fullName": "keyapis.vc.v1.PutCameraRoomDetachListResponse",
          "description": "Ответ на запрос пакетной отвязки камер и квартир",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "error",
              "description": "Ошибка",
              "label": "",
              "type": "Error",
              "longType": "PutCameraRoomDetachListResponse.Error",
              "fullType": "keyapis.vc.v1.PutCameraRoomDetachListResponse.Error",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "Error",
          "longName": "PutCameraRoomDetachListResponse.Error",
          "fullName": "keyapis.vc.v1.PutCameraRoomDetachListResponse.Error",
          "description": "Ошибка запроса",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "validation",
              "description": "Ошибка валидации",
              "label": "",
              "type": "ValidationError",
              "longType": "ValidationError",
              "fullType": "keyapis.vc.v1.ValidationError",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "PutCameraRoomDetachRequest",
          "longName": "PutCameraRoomDetachRequest",
          "fullName": "keyapis.vc.v1.PutCameraRoomDetachRequest",
          "description": "Запрос отвязки камеры и квартиры",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "data",
              "description": "Связь Camera и Room",
              "label": "",
              "type": "CameraRoom",
              "longType": "CameraRoom",
              "fullType": "keyapis.vc.v1.CameraRoom",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 1
            }
          ]
        },
        {
          "name": "PutCameraRoomDetachResponse",
          "longName": "PutCameraRoomDetachResponse",
          "fullName": "keyapis.vc.v1.PutCameraRoomDetachResponse",
          "description": "Ответ отвязки камеры и квартиры",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "error",
              "description": "Ошибка",
              "label": "",
              "type": "Error",
              "longType": "PutCameraRoomDetachResponse.Error",
              "fullType": "keyapis.vc.v1.PutCameraRoomDetachResponse.Error",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "Error",
          "longName": "PutCameraRoomDetachResponse.Error",
          "fullName": "keyapis.vc.v1.PutCameraRoomDetachResponse.Error",
          "description": "Ошибка запроса",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "validation",
              "description": "Ошибка валидации",
              "label": "",
              "type": "ValidationError",
              "longType": "ValidationError",
              "fullType": "keyapis.vc.v1.ValidationError",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "ValidationError",
          "longName": "ValidationError",
          "fullName": "keyapis.vc.v1.ValidationError",
          "description": "Ошибки валидации.\nЭти проверки выполняются до обращения в базу данных",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "path",
              "description": "Путь к полю в формате наименования прото",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 1
            },
            {
              "name": "message",
              "description": "Валидационное сообщение",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "options": {
                "google.api.field_behavior": {
                  "options": [
                    "REQUIRED"
                  ]
                }
              },
              "number": 2
            }
          ]
        }
      ],
      "services": [
        {
          "name": "CameraService",
          "longName": "CameraService",
          "fullName": "keyapis.vc.v1.CameraService",
          "description": "Сервис работы с камерами",
          "methods": [
            {
              "name": "GetCameraRoomCount",
              "description": "Метод получения количества связей камеры и квартиры.\nМетод доступен для: admin, service, bti, owner, employee",
              "requestType": "GetCameraRoomCountRequest",
              "requestLongType": "GetCameraRoomCountRequest",
              "requestFullType": "keyapis.vc.v1.GetCameraRoomCountRequest",
              "requestStreaming": false,
              "responseType": "GetCameraRoomCountResponse",
              "responseLongType": "GetCameraRoomCountResponse",
              "responseFullType": "keyapis.vc.v1.GetCameraRoomCountResponse",
              "responseStreaming": false,
              "options": {
                "google.api.http": {
                  "rules": [
                    {
                      "method": "GET",
                      "pattern": "/vc/api/v1/camera/room/count"
                    }
                  ]
                }
              }
            },
            {
              "name": "GetCameraRoomList",
              "description": "Метод получения списка связей камеры и квартиры.\nМетод доступен для: admin, service, bti, owner, employee",
              "requestType": "GetCameraRoomListRequest",
              "requestLongType": "GetCameraRoomListRequest",
              "requestFullType": "keyapis.vc.v1.GetCameraRoomListRequest",
              "requestStreaming": false,
              "responseType": "GetCameraRoomListResponse",
              "responseLongType": "GetCameraRoomListResponse",
              "responseFullType": "keyapis.vc.v1.GetCameraRoomListResponse",
              "responseStreaming": true,
              "options": {
                "google.api.http": {
                  "rules": [
                    {
                      "method": "GET",
                      "pattern": "/vc/api/v1/camera/room/list"
                    }
                  ]
                }
              }
            },
            {
              "name": "GetCamera",
              "description": "Метод получения камеры.\nДля owner, employee параметр scope.vc_company_id подставляется из токена.\nМетод доступен для: admin, service, bti, ltp_first, owner, employee",
              "requestType": "GetCameraRequest",
              "requestLongType": "GetCameraRequest",
              "requestFullType": "keyapis.vc.v1.GetCameraRequest",
              "requestStreaming": false,
              "responseType": "GetCameraResponse",
              "responseLongType": "GetCameraResponse",
              "responseFullType": "keyapis.vc.v1.GetCameraResponse",
              "responseStreaming": false,
              "options": {
                "google.api.http": {
                  "rules": [
                    {
                      "method": "GET",
                      "pattern": "/vc/api/v1/camera/{uid}"
                    }
                  ]
                }
              }
            },
            {
              "name": "GetCameraList",
              "description": "Метод получения списка камер.\nДля owner, employee параметр scope.vc_company_id подставляется из токена.\nМетод доступен для: admin, service, bti, ltp_first, owner, employee",
              "requestType": "GetCameraListRequest",
              "requestLongType": "GetCameraListRequest",
              "requestFullType": "keyapis.vc.v1.GetCameraListRequest",
              "requestStreaming": false,
              "responseType": "GetCameraListResponse",
              "responseLongType": "GetCameraListResponse",
              "responseFullType": "keyapis.vc.v1.GetCameraListResponse",
              "responseStreaming": false,
              "options": {
                "google.api.http": {
                  "rules": [
                    {
                      "method": "GET",
                      "pattern": "/vc/api/v1/camera/list"
                    }
                  ]
                }
              }
            },
            {
              "name": "GetCameraRtspUrlExternalId",
              "description": "Метод получения RTSP-ссылки по идентификатору камеры в vcfront.\nМетод доступен для: admin, service.\nМетод доступен для: ApiKey",
              "requestType": "GetCameraRtspUrlExternalIdRequest",
              "requestLongType": "GetCameraRtspUrlExternalIdRequest",
              "requestFullType": "keyapis.vc.v1.GetCameraRtspUrlExternalIdRequest",
              "requestStreaming": false,
              "responseType": "GetCameraRtspUrlExternalIdResponse",
              "responseLongType": "GetCameraRtspUrlExternalIdResponse",
              "responseFullType": "keyapis.vc.v1.GetCameraRtspUrlExternalIdResponse",
              "responseStreaming": false,
              "options": {
                "google.api.http": {
                  "rules": [
                    {
                      "method": "GET",
                      "pattern": "/vc/api/v1/camera/rtsp_url/external_id/{external_id}"
                    }
                  ]
                }
              }
            },
            {
              "name": "PutCameraRoomAttach",
              "description": "Метод привязки камеры и квартиры.\nМетод доступен для: admin, service, bti, owner, employee",
              "requestType": "PutCameraRoomAttachRequest",
              "requestLongType": "PutCameraRoomAttachRequest",
              "requestFullType": "keyapis.vc.v1.PutCameraRoomAttachRequest",
              "requestStreaming": false,
              "responseType": "PutCameraRoomAttachResponse",
              "responseLongType": "PutCameraRoomAttachResponse",
              "responseFullType": "keyapis.vc.v1.PutCameraRoomAttachResponse",
              "responseStreaming": false,
              "options": {
                "google.api.http": {
                  "rules": [
                    {
                      "method": "PUT",
                      "pattern": "/vc/api/v1/camera/{data.camera_uid}/room/{data.orpon}/{data.room_number}/attach"
                    }
                  ]
                }
              }
            },
            {
              "name": "PutCameraRoomDetach",
              "description": "Метод отвязки камеры и квартиры.\nМетод доступен для: admin, service, bti, owner, employee",
              "requestType": "PutCameraRoomDetachRequest",
              "requestLongType": "PutCameraRoomDetachRequest",
              "requestFullType": "keyapis.vc.v1.PutCameraRoomDetachRequest",
              "requestStreaming": false,
              "responseType": "PutCameraRoomDetachResponse",
              "responseLongType": "PutCameraRoomDetachResponse",
              "responseFullType": "keyapis.vc.v1.PutCameraRoomDetachResponse",
              "responseStreaming": false,
              "options": {
                "google.api.http": {
                  "rules": [
                    {
                      "method": "PUT",
                      "pattern": "/vc/api/v1/camera/{data.camera_uid}/room/{data.orpon}/{data.room_number}/detach"
                    }
                  ]
                }
              }
            },
            {
              "name": "PutCameraRoomAttachList",
              "description": "Метод пакетной привязки камер и квартир.\nМетод доступен для: admin, service, bti, owner, employee",
              "requestType": "PutCameraRoomAttachListRequest",
              "requestLongType": "PutCameraRoomAttachListRequest",
              "requestFullType": "keyapis.vc.v1.PutCameraRoomAttachListRequest",
              "requestStreaming": false,
              "responseType": "PutCameraRoomAttachListResponse",
              "responseLongType": "PutCameraRoomAttachListResponse",
              "responseFullType": "keyapis.vc.v1.PutCameraRoomAttachListResponse",
              "responseStreaming": false,
              "options": {
                "google.api.http": {
                  "rules": [
                    {
                      "method": "PUT",
                      "pattern": "/vc/api/v1/camera/room/attach/list",
                      "body": "*"
                    }
                  ]
                }
              }
            },
            {
              "name": "PutCameraRoomDetachList",
              "description": "Метод пакетной отвязки камер и квартир.\nМетод доступен для: admin, service, bti, owner, employee",
              "requestType": "PutCameraRoomDetachListRequest",
              "requestLongType": "PutCameraRoomDetachListRequest",
              "requestFullType": "keyapis.vc.v1.PutCameraRoomDetachListRequest",
              "requestStreaming": false,
              "responseType": "PutCameraRoomDetachListResponse",
              "responseLongType": "PutCameraRoomDetachListResponse",
              "responseFullType": "keyapis.vc.v1.PutCameraRoomDetachListResponse",
              "responseStreaming": false,
              "options": {
                "google.api.http": {
                  "rules": [
                    {
                      "method": "PUT",
                      "pattern": "/vc/api/v1/camera/room/detach/list",
                      "body": "*"
                    }
                  ]
                }
              }
            },
            {
              "name": "DeleteCamera",
              "description": "Метод удаления камеры.\nМетод доступен для: admin, service, bti",
              "requestType": "DeleteCameraRequest",
              "requestLongType": "DeleteCameraRequest",
              "requestFullType": "keyapis.vc.v1.DeleteCameraRequest",
              "requestStreaming": false,
              "responseType": "DeleteCameraResponse",
              "responseLongType": "DeleteCameraResponse",
              "responseFullType": "keyapis.vc.v1.DeleteCameraResponse",
              "responseStreaming": false,
              "options": {
                "google.api.http": {
                  "rules": [
                    {
                      "method": "DELETE",
                      "pattern": "/vc/api/v1/camera/{uid}"
                    }
                  ]
                }
              }
            },
            {
              "name": "PostCamera",
              "description": "Метод создания камеры.\nМетод доступен для: admin, service, bti",
              "requestType": "PostCameraRequest",
              "requestLongType": "PostCameraRequest",
              "requestFullType": "keyapis.vc.v1.PostCameraRequest",
              "requestStreaming": false,
              "responseType": "PostCameraResponse",
              "responseLongType": "PostCameraResponse",
              "responseFullType": "keyapis.vc.v1.PostCameraResponse",
              "responseStreaming": false,
              "options": {
                "google.api.http": {
                  "rules": [
                    {
                      "method": "POST",
                      "pattern": "/vc/api/v1/camera",
                      "body": "*"
                    }
                  ]
                }
              }
            }
          ]
        }
      ],
      "syntax": "proto3"
    }
  ],
  "scalarValueTypes": [
    {
      "protoType": "double",
      "notes": "",
      "cppType": "double",
      "csType": "double",
      "goType": "float64",
      "javaType": "double",
      "phpType": "float",
      "pythonType": "float",
      "rubyType": "Float"
    },
    {
      "protoType": "float",
      "notes": "",
      "cppType": "float",
      "csType": "float",
      "goType": "float32",
      "javaType": "float",
      "phpType": "float",
      "pythonType": "float",
      "rubyType": "Float"
    },
    {
      "protoType": "int32",
      "notes": "Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.",
      "cppType": "int32",
      "csType": "int",
      "goType": "int32",
      "javaType": "int",
      "phpType": "integer",
      "pythonType": "int",
      "rubyType": "Bignum or Fixnum (as required)"
    },
    {
      "protoType": "int64",
      "notes": "Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.",
      "cppType": "int64",
      "csType": "long",
      "goType": "int64",
      "javaType": "long",
      "phpType": "integer/string",
      "pythonType": "int/long",
      "rubyType": "Bignum"
    },
    {
      "protoType": "uint32",
      "notes": "Uses variable-length encoding.",
      "cppType": "uint32",
      "csType": "uint",
      "goType": "uint32",
      "javaType": "int",
      "phpType": "integer",
      "pythonType": "int/long",
      "rubyType": "Bignum or Fixnum (as required)"
    },
    {
      "protoType": "uint64",
      "notes": "Uses variable-length encoding.",
      "cppType": "uint64",
      "csType": "ulong",
      "goType": "uint64",
      "javaType": "long",
      "phpType": "integer/string",
      "pythonType": "int/long",
      "rubyType": "Bignum or Fixnum (as required)"
    },
    {
      "protoType": "sint32",
      "notes": "Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.",
      "cppType": "int32",
      "csType": "int",
      "goType": "int32",
      "javaType": "int",
      "phpType": "integer",
      "pythonType": "int",
      "rubyType": "Bignum or Fixnum (as required)"
    },
    {
      "protoType": "sint64",
      "notes": "Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.",
      "cppType": "int64",
      "csType": "long",
      "goType": "int64",
      "javaType": "long",
      "phpType": "integer/string",
      "pythonType": "int/long",
      "rubyType": "Bignum"
    },
    {
      "protoType": "fixed32",
      "notes": "Always four bytes. More efficient than uint32 if values are often greater than 2^28.",
      "cppType": "uint32",
      "csType": "uint",
      "goType": "uint32",
      "javaType": "int",
      "phpType": "integer",
      "pythonType": "int",
      "rubyType": "Bignum or Fixnum (as required)"
    },
    {
      "protoType": "fixed64",
      "notes": "Always eight bytes. More efficient than uint64 if values are often greater than 2^56.",
      "cppType": "uint64",
      "csType": "ulong",
      "goType": "uint64",
      "javaType": "long",
      "phpType": "integer/string",
      "pythonType": "int/long",
      "rubyType": "Bignum"
    },
    {
      "protoType": "sfixed32",
      "notes": "Always four bytes.",
      "cppType": "int32",
      "csType": "int",
      "goType": "int32",
      "javaType": "int",
      "phpType": "integer",
      "pythonType": "int",
      "rubyType": "Bignum or Fixnum (as required)"
    },
    {
      "protoType": "sfixed64",
      "notes": "Always eight bytes.",
      "cppType": "int64",
      "csType": "long",
      "goType": "int64",
      "javaType": "long",
      "phpType": "integer/string",
      "pythonType": "int/long",
      "rubyType": "Bignum"
    },
    {
      "protoType": "bool",
      "notes": "",
      "cppType": "bool",
      "csType": "bool",
      "goType": "bool",
      "javaType": "boolean",
      "phpType": "boolean",
      "pythonType": "boolean",
      "rubyType": "TrueClass/FalseClass"
    },
    {
      "protoType": "string",
      "notes": "A string must always contain UTF-8 encoded or 7-bit ASCII text.",
      "cppType": "string",
      "csType": "string",
      "goType": "string",
      "javaType": "String",
      "phpType": "string",
      "pythonType": "str/unicode",
      "rubyType": "String (UTF-8)"
    },
    {
      "protoType": "bytes",
      "notes": "May contain any arbitrary sequence of bytes.",
      "cppType": "string",
      "csType": "ByteString",
      "goType": "[]byte",
      "javaType": "ByteString",
      "phpType": "string",
      "pythonType": "str",
      "rubyType": "String (ASCII-8BIT)"
    }
  ]
}