{
  "lexicon": 1,
  "id": "com.atproto.identity.resolveIdentity",
  "defs": {
    "main": {
      "type": "query",
      "description": "Resolves an identity (DID or Handle) to a full identity (DID document and verified handle).",
      "parameters": {
        "type": "params",
        "required": [
          "identifier"
        ],
        "properties": {
          "identifier": {
            "type": "string",
            "description": "Handle or DID to resolve.",
            "format": "at-identifier"
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "ref",
          "ref": "com.atproto.identity.defs#identityInfo"
        }
      },
      "errors": [
        {
          "description": "The resolution process confirmed that the handle does not resolve to any DID.",
          "name": "HandleNotFound"
        },
        {
          "description": "The DID resolution process confirmed that there is no current DID.",
          "name": "DidNotFound"
        },
        {
          "description": "The DID previously existed, but has been deactivated.",
          "name": "DidDeactivated"
        }
      ]
    }
  }
}