What would you put in the array? Name of the book, link? Also API it's on the roadmap 👌
It's open ended, but most people use things like: https://schema.org/Book In tihs case you could just do are array of objects, type: Book, name: name_of_book