{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Take a recovery key off the group's did:plc. This host's own key cannot be removed this way. Requires group.configure.",
      "errors": [
        {
          "name": "NotPlc"
        },
        {
          "name": "HostKey"
        },
        {
          "name": "UnknownKey"
        },
        {
          "name": "NotController"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "group": {
              "description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
              "format": "did",
              "type": "string"
            },
            "key": {
              "description": "A did:key (secp256k1 or P-256). Only the public key: the host never sees the private half.",
              "type": "string"
            }
          },
          "required": [
            "group",
            "key"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.removeRecoveryKey",
  "lexicon": 1
}
