Backend validation for books.