{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Follows another user (a DID, not a publication). Presence of the record means followed; deleting it unfollows. The rkey is derived from the subject DID so each followed user maps to a single record. A followed user's recommends and documents enrich the reader's home feed.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "description": "When the reader followed the user.",
            "format": "datetime",
            "type": "string"
          },
          "excludedPublications": {
            "description": "Publications owned by the followed user that the reader has explicitly opted out of (following a user subscribes to all their publications except these). AT URIs of site.standard.publication records.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 1000,
            "type": "array"
          },
          "subject": {
            "description": "DID of the user being followed.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.standard-reader.graph.follow",
  "lexicon": 1
}
