{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Have the directory read the caller's own locallibrary records (computer.localnetwork.dj.set, computer.localnetwork.dj.recording, computer.localnetwork.dj.profile and computer.localnetwork.locallibrary.settings) again from their repo, for records it hasn't indexed yet. Requires inter-service auth; the caller is the issuer. An account's records are read at most every ten minutes, and a call in between answers from the last read.",
      "errors": [
        {
          "name": "AuthenticationRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "indexed": {
              "description": "Whether the directory finished reading them in time. When it didn't, it carries on, and the records show up once it's done.",
              "type": "boolean"
            }
          },
          "required": [
            "indexed"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "computer.localnetwork.directory.requestIndex",
  "lexicon": 1
}
