{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get full details about multiple books in a single request.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "books": {
              "description": "List of books found. Missing books are omitted.",
              "items": {
                "ref": "org.passingreads.book.defs#statefulBook",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "books"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "ids": {
            "description": "Comma-separated list of book IDs",
            "type": "string"
          }
        },
        "required": [
          "ids"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "org.passingreads.book.getBooks",
  "lexicon": 1
}
