{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Legacy: accounts following the actor with the deprecated `com.getorbyt.graph.follow`, newest first. Orbyt's follow is the network follow; this stays for older builds and goes once `minimumClient` passes the last build that writes Orbyt follows. Unauthenticated; a service-auth viewer adds `viewer` state.",
      "errors": [
        {
          "name": "InvalidCursor"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "followers": {
              "items": {
                "ref": "com.getorbyt.actor.defs#profileView",
                "type": "ref"
              },
              "maxLength": 100,
              "type": "array"
            },
            "subject": {
              "ref": "com.getorbyt.actor.defs#profileView",
              "type": "ref"
            }
          },
          "required": [
            "subject",
            "followers"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "format": "did",
            "type": "string"
          },
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "actor"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "com.getorbyt.graph.getFollowers",
  "lexicon": 1
}
