{
  "files": [
    {
      "name": "keyapis/vc/v1/keyapis_vc_camera_dictionary_v1.proto",
      "description": "Сервис работы с камерами",
      "package": "keyapis.vc.v1",
      "hasEnums": false,
      "hasExtensions": false,
      "hasMessages": true,
      "hasServices": true,
      "enums": [],
      "extensions": [],
      "messages": [
        {
          "name": "Category",
          "longName": "Category",
          "fullName": "keyapis.vc.v1.Category",
          "description": "Категория",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "id",
              "description": "Идентификатор",
              "label": "",
              "type": "int32",
              "longType": "int32",
              "fullType": "int32",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "title",
              "description": "Наименование",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 2
            },
            {
              "name": "kind",
              "description": "Тип",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 3
            }
          ]
        },
        {
          "name": "GetDictionaryCategoriesRequest",
          "longName": "GetDictionaryCategoriesRequest",
          "fullName": "keyapis.vc.v1.GetDictionaryCategoriesRequest",
          "description": "Запрос на получение справочника категорий",
          "hasExtensions": false,
          "hasFields": false,
          "hasOneofs": false,
          "extensions": [],
          "fields": []
        },
        {
          "name": "GetDictionaryCategoriesResponse",
          "longName": "GetDictionaryCategoriesResponse",
          "fullName": "keyapis.vc.v1.GetDictionaryCategoriesResponse",
          "description": "Ответ на запрос получения справочника категорий",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "data",
              "description": "Список категорий",
              "label": "",
              "type": "CameraCategories",
              "longType": "GetDictionaryCategoriesResponse.CameraCategories",
              "fullType": "keyapis.vc.v1.GetDictionaryCategoriesResponse.CameraCategories",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "error",
              "description": "Ошибка",
              "label": "",
              "type": "Error",
              "longType": "GetDictionaryCategoriesResponse.Error",
              "fullType": "keyapis.vc.v1.GetDictionaryCategoriesResponse.Error",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 2
            }
          ]
        },
        {
          "name": "CameraCategories",
          "longName": "GetDictionaryCategoriesResponse.CameraCategories",
          "fullName": "keyapis.vc.v1.GetDictionaryCategoriesResponse.CameraCategories",
          "description": "Список категорий",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "category",
              "description": "Категория",
              "label": "repeated",
              "type": "Category",
              "longType": "Category",
              "fullType": "keyapis.vc.v1.Category",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "Error",
          "longName": "GetDictionaryCategoriesResponse.Error",
          "fullName": "keyapis.vc.v1.GetDictionaryCategoriesResponse.Error",
          "description": "Ошибка запроса",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "vc_dictionary_error",
              "description": "Ошибка VCfront",
              "label": "",
              "type": "VcDictionaryError",
              "longType": "VcDictionaryError",
              "fullType": "keyapis.vc.v1.VcDictionaryError",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "GetDictionaryRolesRequest",
          "longName": "GetDictionaryRolesRequest",
          "fullName": "keyapis.vc.v1.GetDictionaryRolesRequest",
          "description": "Запрос на получение справочника ролей",
          "hasExtensions": false,
          "hasFields": false,
          "hasOneofs": false,
          "extensions": [],
          "fields": []
        },
        {
          "name": "GetDictionaryRolesResponse",
          "longName": "GetDictionaryRolesResponse",
          "fullName": "keyapis.vc.v1.GetDictionaryRolesResponse",
          "description": "Ответ на запрос получения справочника ролей",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "data",
              "description": "Список ролей",
              "label": "",
              "type": "Roles",
              "longType": "GetDictionaryRolesResponse.Roles",
              "fullType": "keyapis.vc.v1.GetDictionaryRolesResponse.Roles",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "error",
              "description": "Ошибка",
              "label": "",
              "type": "Error",
              "longType": "GetDictionaryRolesResponse.Error",
              "fullType": "keyapis.vc.v1.GetDictionaryRolesResponse.Error",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 2
            }
          ]
        },
        {
          "name": "Error",
          "longName": "GetDictionaryRolesResponse.Error",
          "fullName": "keyapis.vc.v1.GetDictionaryRolesResponse.Error",
          "description": "Ошибка запроса",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "vc_dictionary_error",
              "description": "Ошибка VCfront",
              "label": "",
              "type": "VcDictionaryError",
              "longType": "VcDictionaryError",
              "fullType": "keyapis.vc.v1.VcDictionaryError",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "Roles",
          "longName": "GetDictionaryRolesResponse.Roles",
          "fullName": "keyapis.vc.v1.GetDictionaryRolesResponse.Roles",
          "description": "Список ролей",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "roles",
              "description": "Роли",
              "label": "repeated",
              "type": "Role",
              "longType": "Role",
              "fullType": "keyapis.vc.v1.Role",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "GetDictionaryTariffsRequest",
          "longName": "GetDictionaryTariffsRequest",
          "fullName": "keyapis.vc.v1.GetDictionaryTariffsRequest",
          "description": "Запрос на получение справочника тарифов",
          "hasExtensions": false,
          "hasFields": false,
          "hasOneofs": false,
          "extensions": [],
          "fields": []
        },
        {
          "name": "GetDictionaryTariffsResponse",
          "longName": "GetDictionaryTariffsResponse",
          "fullName": "keyapis.vc.v1.GetDictionaryTariffsResponse",
          "description": "Ответ на запрос получения справочника тарифов",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "data",
              "description": "Список тарифов",
              "label": "",
              "type": "CameraTariffs",
              "longType": "GetDictionaryTariffsResponse.CameraTariffs",
              "fullType": "keyapis.vc.v1.GetDictionaryTariffsResponse.CameraTariffs",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "error",
              "description": "Ошибка",
              "label": "",
              "type": "Error",
              "longType": "GetDictionaryTariffsResponse.Error",
              "fullType": "keyapis.vc.v1.GetDictionaryTariffsResponse.Error",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "type",
              "defaultValue": "",
              "number": 2
            }
          ]
        },
        {
          "name": "CameraTariffs",
          "longName": "GetDictionaryTariffsResponse.CameraTariffs",
          "fullName": "keyapis.vc.v1.GetDictionaryTariffsResponse.CameraTariffs",
          "description": "Список тарифов",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "tariff",
              "description": "Тариф",
              "label": "repeated",
              "type": "Tariff",
              "longType": "Tariff",
              "fullType": "keyapis.vc.v1.Tariff",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "Error",
          "longName": "GetDictionaryTariffsResponse.Error",
          "fullName": "keyapis.vc.v1.GetDictionaryTariffsResponse.Error",
          "description": "Ошибка запроса",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": true,
          "extensions": [],
          "fields": [
            {
              "name": "vc_dictionary_error",
              "description": "Ошибка VCfront",
              "label": "",
              "type": "VcDictionaryError",
              "longType": "VcDictionaryError",
              "fullType": "keyapis.vc.v1.VcDictionaryError",
              "ismap": false,
              "isoneof": true,
              "oneofdecl": "reason",
              "defaultValue": "",
              "number": 1
            }
          ]
        },
        {
          "name": "Role",
          "longName": "Role",
          "fullName": "keyapis.vc.v1.Role",
          "description": "Роль",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "id",
              "description": "Идентификатор",
              "label": "",
              "type": "int32",
              "longType": "int32",
              "fullType": "int32",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "title",
              "description": "Наименование",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 2
            },
            {
              "name": "permissions",
              "description": "Доступы",
              "label": "repeated",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 3
            },
            {
              "name": "is_global",
              "description": "Является ли роль глобальной",
              "label": "",
              "type": "bool",
              "longType": "bool",
              "fullType": "bool",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 4
            }
          ]
        },
        {
          "name": "Tariff",
          "longName": "Tariff",
          "fullName": "keyapis.vc.v1.Tariff",
          "description": "Тариф",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "id",
              "description": "Идентификатор",
              "label": "",
              "type": "int32",
              "longType": "int32",
              "fullType": "int32",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "title",
              "description": "Наименование",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 2
            },
            {
              "name": "slug",
              "description": "Параметр slug",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 3
            },
            {
              "name": "status_kind",
              "description": "Тип статуса",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 4
            },
            {
              "name": "from_at",
              "description": "Дата действия от.\n# Тип: DateTime",
              "label": "",
              "type": "Timestamp",
              "longType": "google.protobuf.Timestamp",
              "fullType": "google.protobuf.Timestamp",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 5
            },
            {
              "name": "to_at",
              "description": "Дата действия до.\n# Тип: DateTime",
              "label": "",
              "type": "Timestamp",
              "longType": "google.protobuf.Timestamp",
              "fullType": "google.protobuf.Timestamp",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 6
            }
          ]
        },
        {
          "name": "VcDictionaryError",
          "longName": "VcDictionaryError",
          "fullName": "keyapis.vc.v1.VcDictionaryError",
          "description": "Ошибка VCfront",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "service",
              "description": "Сервис",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            },
            {
              "name": "product",
              "description": "Продукт",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 2
            },
            {
              "name": "message",
              "description": "Сообщение",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 3
            },
            {
              "name": "resasons",
              "description": "Причины",
              "label": "repeated",
              "type": "Reason",
              "longType": "VcDictionaryError.Reason",
              "fullType": "keyapis.vc.v1.VcDictionaryError.Reason",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 4
            }
          ]
        },
        {
          "name": "Reason",
          "longName": "VcDictionaryError.Reason",
          "fullName": "keyapis.vc.v1.VcDictionaryError.Reason",
          "description": "Причина",
          "hasExtensions": false,
          "hasFields": true,
          "hasOneofs": false,
          "extensions": [],
          "fields": [
            {
              "name": "message",
              "description": "Сообщение",
              "label": "",
              "type": "string",
              "longType": "string",
              "fullType": "string",
              "ismap": false,
              "isoneof": false,
              "oneofdecl": "",
              "defaultValue": "",
              "number": 1
            }
          ]
        }
      ],
      "services": [
        {
          "name": "DictionaryService",
          "longName": "DictionaryService",
          "fullName": "keyapis.vc.v1.DictionaryService",
          "description": "Сервис справочников",
          "methods": [
            {
              "name": "GetDictionaryCategories",
              "description": "Метод получения справочника категорий.\nМетод доступен для: admin, service, bti, owner, employee",
              "requestType": "GetDictionaryCategoriesRequest",
              "requestLongType": "GetDictionaryCategoriesRequest",
              "requestFullType": "keyapis.vc.v1.GetDictionaryCategoriesRequest",
              "requestStreaming": false,
              "responseType": "GetDictionaryCategoriesResponse",
              "responseLongType": "GetDictionaryCategoriesResponse",
              "responseFullType": "keyapis.vc.v1.GetDictionaryCategoriesResponse",
              "responseStreaming": false,
              "options": {
                "google.api.http": {
                  "rules": [
                    {
                      "method": "GET",
                      "pattern": "/vc/api/v1/dictionary/categories"
                    }
                  ]
                }
              }
            },
            {
              "name": "GetDictionaryTariffs",
              "description": "Метод получения справочника тарифов.\nМетод доступен для: admin, service, bti, owner, employee",
              "requestType": "GetDictionaryTariffsRequest",
              "requestLongType": "GetDictionaryTariffsRequest",
              "requestFullType": "keyapis.vc.v1.GetDictionaryTariffsRequest",
              "requestStreaming": false,
              "responseType": "GetDictionaryTariffsResponse",
              "responseLongType": "GetDictionaryTariffsResponse",
              "responseFullType": "keyapis.vc.v1.GetDictionaryTariffsResponse",
              "responseStreaming": false,
              "options": {
                "google.api.http": {
                  "rules": [
                    {
                      "method": "GET",
                      "pattern": "/vc/api/v1/dictionary/tariffs"
                    }
                  ]
                }
              }
            },
            {
              "name": "GetDictionaryRoles",
              "description": "Метод получения справочника ролей.\nМетод доступен для: admin, service, bti, owner, employee",
              "requestType": "GetDictionaryRolesRequest",
              "requestLongType": "GetDictionaryRolesRequest",
              "requestFullType": "keyapis.vc.v1.GetDictionaryRolesRequest",
              "requestStreaming": false,
              "responseType": "GetDictionaryRolesResponse",
              "responseLongType": "GetDictionaryRolesResponse",
              "responseFullType": "keyapis.vc.v1.GetDictionaryRolesResponse",
              "responseStreaming": false,
              "options": {
                "google.api.http": {
                  "rules": [
                    {
                      "method": "GET",
                      "pattern": "/vc/api/v1/dictionary/roles"
                    }
                  ]
                }
              }
            }
          ]
        }
      ],
      "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)"
    }
  ]
}