/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
protocol/json/keybase1/prove_common.json
280 строк
6 KB
Miles Steele
proof icon full darkmode assets (#22282)
01 фев 2020, 00:17
Не верифицирован
01 фев 2020, 00:17
d9f57d1
Код
Авторство
О чём код?
{ "protocol": "proveCommon", "imports": [], "types": [ { "type": "enum", "name": "ProofState", "symbols": [ "NONE_0", "OK_1", "TEMP_FAILURE_2", "PERM_FAILURE_3", "LOOKING_4", "SUPERSEDED_5", "POSTED_6", "REVOKED_7", "DELETED_8", "UNKNOWN_TYPE_9", "SIG_HINT_MISSING_10", "UNCHECKED_11" ] }, { "type": "enum", "name": "ProofStatus", "symbols": [ "NONE_0", "OK_1", "LOCAL_2", "FOUND_3", "BASE_ERROR_100", "HOST_UNREACHABLE_101", "PERMISSION_DENIED_103", "FAILED_PARSE_106", "DNS_ERROR_107", "AUTH_FAILED_108", "HTTP_429_129", "HTTP_500_150", "TIMEOUT_160", "INTERNAL_ERROR_170", "UNCHECKED_171", "MISSING_PVL_172", "BASE_HARD_ERROR_200", "NOT_FOUND_201", "CONTENT_FAILURE_202", "BAD_USERNAME_203", "BAD_REMOTE_ID_204", "TEXT_NOT_FOUND_205", "BAD_ARGS_206", "CONTENT_MISSING_207", "TITLE_NOT_FOUND_208", "SERVICE_ERROR_209", "TOR_SKIPPED_210", "TOR_INCOMPATIBLE_211", "HTTP_300_230", "HTTP_400_240", "HTTP_OTHER_260", "EMPTY_JSON_270", "DELETED_301", "SERVICE_DEAD_302", "BAD_SIGNATURE_303", "BAD_API_URL_304", "UNKNOWN_TYPE_305", "NO_HINT_306", "BAD_HINT_TEXT_307", "INVALID_PVL_308" ], "doc": "3: It's been found in the hunt, but not proven yet\n 1xx: Retryable soft errors; note that this will be put in the proof_cache, but won't\n be returned from the proof cache in most cases. Their freshness will always be\n RANCID.\n 2xx: Will likely result in a hard error, if repeated enough\n 3xx: Hard final errors" }, { "type": "enum", "name": "ProofType", "symbols": [ "NONE_0", "KEYBASE_1", "TWITTER_2", "GITHUB_3", "REDDIT_4", "COINBASE_5", "HACKERNEWS_6", "FACEBOOK_8", "GENERIC_SOCIAL_9", "GENERIC_WEB_SITE_1000", "DNS_1001", "PGP_1002", "ROOTER_100001" ] }, { "type": "record", "name": "SelectorEntry", "fields": [ { "type": "boolean", "name": "isIndex" }, { "type": "int", "name": "index" }, { "type": "boolean", "name": "isKey" }, { "type": "string", "name": "key" }, { "type": "boolean", "name": "isAll" }, { "type": "boolean", "name": "isContents" } ] }, { "type": "record", "name": "ParamProofJSON", "fields": [ { "type": "SigID", "name": "sigHash", "jsonkey": "sig_hash" }, { "type": "string", "name": "kbUsername", "jsonkey": "kb_username" } ] }, { "type": "record", "name": "ParamProofUsernameConfig", "fields": [ { "type": "string", "name": "re" }, { "type": "int", "name": "min" }, { "type": "int", "name": "max" } ] }, { "type": "record", "name": "ParamProofServiceConfig", "fields": [ { "type": "int", "name": "version" }, { "type": "string", "name": "domain" }, { "type": "string", "name": "displayName", "jsonkey": "display_name" }, { "type": "string", "name": "description" }, { "type": "ParamProofUsernameConfig", "name": "usernameConfig", "jsonkey": "username" }, { "type": "string", "name": "brandColor", "jsonkey": "brand_color" }, { "type": "string", "name": "prefillUrl", "jsonkey": "prefill_url" }, { "type": "string", "name": "profileUrl", "jsonkey": "profile_url" }, { "type": "string", "name": "checkUrl", "jsonkey": "check_url" }, { "type": { "type": "array", "items": "SelectorEntry" }, "name": "checkPath", "jsonkey": "check_path" }, { "type": { "type": "array", "items": "SelectorEntry" }, "name": "avatarPath", "jsonkey": "avatar_path" } ] }, { "type": "record", "name": "ServiceDisplayConfig", "fields": [ { "type": "boolean", "name": "creationDisabled", "jsonkey": "creation_disabled" }, { "type": "int", "name": "priority" }, { "type": "string", "name": "key" }, { "type": [ null, "string" ], "name": "group" }, { "type": "boolean", "name": "new" }, { "type": "string", "name": "logoKey", "jsonkey": "logo_key" } ] }, { "type": "record", "name": "ExternalServiceConfig", "fields": [ { "type": "int", "name": "schemaVersion", "jsonkey": "schema_version" }, { "type": [ null, "ServiceDisplayConfig" ], "name": "display" }, { "type": [ null, "ParamProofServiceConfig" ], "name": "config" } ] } ], "messages": {}, "namespace": "keybase.1" }