{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get profile of a user.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "profile": {
              "ref": "org.passingreads.actor.defs#profileView",
              "type": "ref"
            }
          },
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "description": "Handle or DID of the user",
            "format": "at-identifier",
            "type": "string"
          }
        },
        "required": [
          "actor"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "org.passingreads.actor.getProfile",
  "lexicon": 1
}
