{
  "protocol": "saltpackUi",
  "imports": [
    {
      "path": "common.avdl",
      "type": "idl"
    }
  ],
  "types": [
    {
      "type": "enum",
      "name": "SaltpackSenderType",
      "symbols": [
        "NOT_TRACKED_0",
        "UNKNOWN_1",
        "ANONYMOUS_2",
        "TRACKING_BROKE_3",
        "TRACKING_OK_4",
        "SELF_5"
      ]
    },
    {
      "type": "record",
      "name": "SaltpackSender",
      "fields": [
        {
          "type": "UID",
          "name": "uid"
        },
        {
          "type": "string",
          "name": "username"
        },
        {
          "type": "SaltpackSenderType",
          "name": "senderType"
        }
      ]
    }
  ],
  "messages": {
    "saltpackPromptForDecrypt": {
      "request": [
        {
          "name": "sessionID",
          "type": "int"
        },
        {
          "name": "sender",
          "type": "SaltpackSender"
        },
        {
          "name": "usedDelegateUI",
          "type": "bool"
        }
      ],
      "response": null
    },
    "saltpackVerifySuccess": {
      "request": [
        {
          "name": "sessionID",
          "type": "int"
        },
        {
          "name": "signingKID",
          "type": "KID"
        },
        {
          "name": "sender",
          "type": "SaltpackSender"
        }
      ],
      "response": null
    }
  },
  "namespace": "keybase.1"
}