{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An account's hidden profile, for a viewer in one of its listed audiences. Served by the viewer's serving app at its #umbrae_app endpoint, with atproto service auth (iss the viewer, aud the serving app, lxm this method); clients call through their PDS with atproto-proxy set to that app. The app answers only for profiles whose owner delegates to it, and never returns the audience list to anyone but the owner.",
      "errors": [
        {
          "description": "No profile, not one the viewer may see, or not one this app holds. The same answer for all three.",
          "name": "ProfileNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "format": "did",
              "type": "string"
            },
            "profile": {
              "description": "The tools.umbrae.profile record value, with its blob refs, without audiences (unless the viewer is the owner). Fetch its blobs with tools.umbrae.actor.getProfileBlob.",
              "type": "unknown"
            }
          },
          "required": [
            "did",
            "profile"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "description": "The profile's owner.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "actor"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "tools.umbrae.actor.getProfile",
  "lexicon": 1
}
