{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Lightweight existence check: returns 200 if the actor is a known, active didpic user (same activity filter as the admin Users page). Designed for the image CDN's known-DID gate where the heavier getProfilePublic was too slow.",
      "errors": [
        {
          "name": "InvalidActor"
        },
        {
          "name": "ActorNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "did"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "description": "DID of the actor to check. Handles are not accepted.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "actor"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.didpic.actor.exists",
  "lexicon": 1
}
