{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List all book IDs and locations for static site generation.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "books": {
              "items": {
                "ref": "org.passingreads.defs#bookIdEntry",
                "type": "ref"
              },
              "type": "array"
            },
            "locations": {
              "items": {
                "ref": "org.passingreads.defs#locationEntry",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "books",
            "locations"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "org.passingreads.book.listBookIds",
  "lexicon": 1
}
