{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get full details about a specific book.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "book": {
              "ref": "org.passingreads.book.defs#statefulBook",
              "type": "ref"
            }
          },
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "id": {
            "description": "The book ID (short ID from QR code)",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "org.passingreads.book.getBook",
  "lexicon": 1
}
