{
  "files": [
    {
      "name": "keyapis/device/v1/keyapis_device_model_v1.proto",
      "description": "Сервис реализует функционал управления моделями устройства",
      "package": "keyapis.device.v1",
      "hasEnums": false,
      "hasExtensions": false,
      "hasMessages": true,
      "hasServices": false,
      "enums": [
        {
          "name": "CapabilityType",
          "longName": "Model.CapabilityType",
          "fullName": "keyapis.device.v1.Model.CapabilityType",
          "description": "Список возможностей",
          "values": [
            {
              "name": "CAPABILITY_TYPE_UNKNOWN",
              "number": "0",
              "description": "Значение не указано"
            },
            {
              "name": "CHANGE_PASSWORD",
              "number": "1",
              "description": "Возможность смены пароля"
            },
            {
              "name": "DTMF_CODE",
              "number": "2",
              "description": "DTMF коды"
            },
            {
              "name": "FLAT_AUTOCOLLECT",
              "number": "3",
              "description": "Поддержка квартирного автосбора"
            },
            {
              "name": "SIP_CALL",
              "number": "4",
              "description": "Поддержка звонков"
            },
            {
              "name": "REINSTALL",
              "number": "5",
              "description": "Поддержка реконфигурирования устройства"
            },
            {
              "name": "EMERGENCY_DOOR",
              "number": "6",
              "description": "Аварийное открытие двери"
            },
            {
              "name": "TICKER",
              "number": "7",
              "description": "Поддержка бегущей строки"
            },
            {
              "name": "CONCIERGE_CALL",
              "number": "8",
              "description": "Вызов на номер консьержа"
            },
            {
              "name": "AUTOCOLLECT",
              "number": "9",
              "description": "Поддержка умного автосбора"
            },
            {
              "name": "TEMPORARY_KEY",
              "number": "10",
              "description": "Временные ключи"
            },
            {
              "name": "OPEN_DOOR",
              "number": "11",
              "description": "Открытие двери"
            },
            {
              "name": "GATE",
              "number": "12",
              "description": "Поддержка калитки"
            },
            {
              "name": "SIP_VIDEO",
              "number": "13",
              "description": "SIP видео вызов"
            },
            {
              "name": "CONSTANT_KEY",
              "number": "14",
              "description": "Постоянные ключи"
            },
            {
              "name": "CMS_PHONES",
              "number": "15",
              "description": "Поддержка аналоговых трубок"
            },
            {
              "name": "SL3",
              "number": "16",
              "description": "Поддержка шифрования ключей SL3"
            },
            {
              "name": "SYSLOG",
              "number": "17",
              "description": "Поддержка стандарта Syslog"
            },
            {
              "name": "NTP",
              "number": "18",
              "description": "Поддержка протокола NTP"
            },
            {
              "name": "FACE_RECOGNITION",
              "number": "19",
              "description": "Распознавание лиц"
            },
            {
              "name": "CAMERA",
              "number": "20",
              "description": "Видеокамера"
            },
            {
              "name": "EMERGENCY_CALL",
              "number": "21",
              "description": "Вызов экстренной службы"
            }
          ]
        }
      ],
      "extensions": [],
      "messages": [
        {
          "name": "Model",
          "longName": "Model",
          "fullName": "keyapis.device.v1.Model",
          "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
            }
          ]
        }
      ],
      "services": [],
      "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)"
    }
  ]
}