{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get an actor's profile with gallery stats and follow relationships.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "social.grain.actor.defs#profileViewDetailed",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "format": "at-identifier",
            "type": "string"
          },
          "viewer": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "actor"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.grain.unspecced.getActorProfile",
  "lexicon": 1
}
