{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "How many accounts follow a project or a profile, and whether one of them does.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "followers": {
              "minimum": 0,
              "type": "integer"
            },
            "follows": {
              "description": "The actor's computer.localnetwork.follow records of the subject, oldest first. Usually one, but nothing stops an account writing two.",
              "items": {
                "format": "at-uri",
                "type": "string"
              },
              "type": "array"
            }
          },
          "required": [
            "followers",
            "follows"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "description": "The account to look up a follow for.",
            "format": "did",
            "type": "string"
          },
          "subject": {
            "description": "The project or profile record followed.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "subject"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "computer.localnetwork.directory.getFollowStatus",
  "lexicon": 1
}
