Book Schema · Unhead

[Unhead Home](https://unhead.unjs.io/ "Home")

- [Docs](https://unhead.unjs.io/docs/react/head/guides/get-started/overview)
- [Tools](https://unhead.unjs.io/tools)
- [Learn](https://unhead.unjs.io/learn/guides/what-is-capo)

[Releases](https://unhead.unjs.io/releases)

Search…```k`` /`

[Unhead on GitHub](https://github.com/unjs/unhead)

[User Guides](https://unhead.unjs.io/docs/react/head/guides/get-started/overview)

[API](https://unhead.unjs.io/docs/react/head/api/get-started/overview)

[Releases](https://unhead.unjs.io/docs/react/releases/v3)

React

- [Switch to React](https://unhead.unjs.io/docs/react/schema-org/api/schema/book)
- [Switch to TypeScript](https://unhead.unjs.io/docs/typescript/schema-org/api/schema/book)
- [Switch to Vue](https://unhead.unjs.io/docs/vue/schema-org/api/schema/book)
- [Switch to Svelte](https://unhead.unjs.io/docs/svelte/schema-org/api/schema/book)
- [Switch to Solid.js](https://unhead.unjs.io/docs/solid-js/schema-org/api/schema/book)
- [Switch to Angular](https://unhead.unjs.io/docs/angular/schema-org/api/schema/book)
- [Switch to Nuxt](https://unhead.unjs.io/docs/nuxt/schema-org/api/schema/book)

v3 (stable)

Schema.org

- [Discord Support](https://discord.com/invite/275MBUBvgP)
- [React Playground](https://stackblitz.com/edit/github-5hqsxyid)

- Composables
  - [`useSchemaOrg()`](https://unhead.unjs.io/docs/react/schema-org/api/composables/use-schema-org)
- Nodes
  - [Article](https://unhead.unjs.io/docs/react/schema-org/api/schema/article)
  - [Book Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/book)
  - [Breadcrumb Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/breadcrumb)
  - [Comment Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/comment)
  - [Course Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/course)
  - [Dataset Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/dataset)
  - [Event Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/event)
  - [Food Establishment Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/food-establishment)
  - [HowTo](https://unhead.unjs.io/docs/react/schema-org/api/schema/how-to)
  - [Image Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/image)
  - [ItemList](https://unhead.unjs.io/docs/react/schema-org/api/schema/item-list)
  - [JobPosting](https://unhead.unjs.io/docs/react/schema-org/api/schema/job-posting)
  - [LocalBusiness](https://unhead.unjs.io/docs/react/schema-org/api/schema/local-business)
  - [Movie Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/movie)
  - [Music Album Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/music-album)
  - [Music Group Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/music-group)
  - [Music Playlist Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/music-playlist)
  - [Music Recording Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/music-recording)
  - [Organization](https://unhead.unjs.io/docs/react/schema-org/api/schema/organization)
  - [Person Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/person)
  - [Podcast Episode Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/podcast-episode)
  - [Podcast Season Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/podcast-season)
  - [Podcast Series Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/podcast-series)
  - [Product Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/product)
  - [Question Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/question)
  - [Recipe Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/recipe)
  - [Service Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/service)
  - [SoftwareApplication](https://unhead.unjs.io/docs/react/schema-org/api/schema/software-app)
  - [TV Episode Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/tv-episode)
  - [TV Season Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/tv-season)
  - [TV Series Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/tv-series)
  - [Video Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/video)
  - [WebPage Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/webpage)
  - [WebSite Schema](https://unhead.unjs.io/docs/react/schema-org/api/schema/website)

Schema

# Book Schema

[Copy for LLMs](https://raw.githubusercontent.com/unjs/unhead/refs/heads/main/docs/schema-org/5.api/9.schema/book.md)

Last updated Jan 19, 2026 by [Harlan Wilton](https://github.com/harlan-zw) in [docs: sync](https://github.com/unjs/unhead/commit/d2f86454774aa60706628b46a850653e1e4d56d9).

On this page

- [Schema.org Book](#schemaorg-book)
- [Useful Links](#useful-links)
- [Types](#types)
- [Related Schemas](#related-schemas)

## [Schema.org Book](#schemaorg-book)

- **Type**: `defineBook(input?: Book)`Describes a Book.

## [Useful Links](#useful-links)

- [Schema.org Book](https://schema.org/Book)
- [Book Schema Markup - Google Search Central](https://developers.google.com/search/docs/advanced/structured-data/book)

## [Types](#types)

```
export interface BookSimple extends Thing {
  /**
   * The title of the book.
   */
  name: string
  /**
   * A description of the book. Display limit of 60 characters.
   */
  description?: string
  /**
   *  A reference to an Identity piece, representing author associated with the Book.
   */
  author?: NodeRelations<Identity>
  /**
   * The URL on your website where the book is introduced or described.
   */
  url?: string
  /**
   * The URL of a reference page that identifies the work. For example, a Wikipedia, Wikidata, VIAF, or Library of Congress page for the book.
   */
  sameAs?: Arrayable<string>
  /**
   * The number of pages in the book.
   */
  numberOfPages?: number
  /**
   * The illustrator(s) of the book.
   */
  illustrator?: NodeRelations<Identity>
  /**
   * The edition(s) of the work.
   */
  workExample: NodeRelations<BookEdition>
}

type BookFormat = OptionalSchemaOrgPrefix<'AudiobookFormat'> | OptionalSchemaOrgPrefix<'EBook'> | OptionalSchemaOrgPrefix<'Hardcover'> | OptionalSchemaOrgPrefix<'Paperback'>

export interface BookEditionSimple extends Thing {
  /**
   * The title of the edition. Only use this when the title of the edition is different from the title of the work.
   */
  name?: string
  /**
   * The format of the edition.
   */
  bookFormat: BookFormat
  /**
   * The main language of the content in the edition. Use one of the two-letter codes from the list of ISO 639-1 alpha-2 codes.
   */
  inLanguage?: string
  /**
   * The ISBN-13 of the edition. If you have ISBN-10, convert it into ISBN-13.
   */
  isbn: string
  /**
   * The action to be triggered for users to purchase or download the book.
   */
  potentialAction?: Arrayable<ReadAction | any>
  /**
   * The author(s) of the edition.
   */
  author?: NodeRelations<Identity>
  /**
   * The edition information of the book. For example, 2nd Edition.
   */
  bookEdition?: string
  /**
   * The date of publication of the edition in YYYY-MM-DD or YYYY format. This can be either a specific date or only a specific year.
   */
  datePublished?: ResolvableDate
  /**
   * The external or other ID that unambiguously identifies this edition. Multiple identifiers are allowed. For more details, refer to PropertyValue (identifier).
   */
  identifier?: unknown
  /**
   * The URL of a reference web page that unambiguously indicates the edition. For example, a Wikipedia page for this specific edition. Don't reuse the sameAs of the Work.
   */
  sameAs?: Arrayable<string>
  /**
   * The URL on your website where the edition is introduced or described. It can be the same as workExample.target.urlTemplate.
   */
  url?: string
}
```

🔨 Schema in development

## [Related Schemas](#related-schemas)

- [Person](https://unhead.unjs.io/docs/schema-org/api/schema/person) - Book author
- [Organization](https://unhead.unjs.io/docs/schema-org/api/schema/organization) - Publisher

[Edit this page](https://github.com/unjs/unhead/edit/main/docs/schema-org/5.api/9.schema/book.md)

[Markdown For LLMs](https://raw.githubusercontent.com/unjs/unhead/refs/heads/main/docs/schema-org/5.api/9.schema/book.md)

Did this page help you?

[Article Implement Article structured data with Unhead. JSON-LD examples for BlogPosting, NewsArticle, TechArticle with datePublished and author markup.](https://unhead.unjs.io/docs/schema-org/api/schema/article) [Breadcrumb Schema Use defineBreadcrumb() to add BreadcrumbList structured data. Display clickable navigation paths in Google search results for better user experience.](https://unhead.unjs.io/docs/schema-org/api/schema/breadcrumb)

On this page

- [Schema.org Book](#schemaorg-book)
- [Useful Links](#useful-links)
- [Types](#types)
- [Related Schemas](#related-schemas)

[GitHub](https://github.com/unjs/unhead) [ Discord](https://discord.com/invite/275MBUBvgP)

[ /llms.txt](https://unhead.unjs.io/llms.txt)

[Part of the UnJS ecosystem](https://unjs.io/)

### Head Management

- [Getting Started](https://unhead.unjs.io/docs/react/head/guides/get-started/overview)
- [useHead](https://unhead.unjs.io/docs/react/head/api/composables/use-head)
- [useSeoMeta](https://unhead.unjs.io/docs/react/head/api/composables/use-seo-meta)
- [useHeadSafe](https://unhead.unjs.io/docs/react/head/api/composables/use-head-safe)
- [useScript](https://unhead.unjs.io/docs/react/head/api/composables/use-script)

### Schema.org

- [Getting Started](https://unhead.unjs.io/docs/react/schema-org/guides/get-started/overview)
- [useSchemaOrg](https://unhead.unjs.io/docs/react/schema-org/api/composables/use-schema-org)
- [Nodes](https://unhead.unjs.io/docs/react/schema-org/guides/core-concepts/nodes)
- [Recipes](https://unhead.unjs.io/docs/react/schema-org/guides/recipes/identity)

### Guides

- [Titles](https://unhead.unjs.io/docs/react/head/guides/core-concepts/titles)
- [Streaming SSR](https://unhead.unjs.io/docs/react/head/guides/core-concepts/streaming)
- [DOM Events](https://unhead.unjs.io/docs/react/head/guides/core-concepts/dom-event-handling)
- [Plugins](https://unhead.unjs.io/docs/react/head/guides/plugins/template-params)

### Tools

- [Meta Tag Generator](https://unhead.unjs.io/tools/meta-tag-generator)
- [OG Image Generator](https://unhead.unjs.io/tools/og-image-generator)
- [Schema.org Generator](https://unhead.unjs.io/tools/schema-generator)
- [Capo.js Analyzer](https://unhead.unjs.io/tools/capo-analyzer)

### Articles

- [What is Capo.js?](https://unhead.unjs.io/learn/guides/what-is-capo)

### Research

- [State of <head> in 2026](https://unhead.unjs.io/learn/research/state-of-head-2026)
- [Streaming Head Performance](https://unhead.unjs.io/learn/research/streaming-head-performance)
- [Capo.js Performance Research](https://unhead.unjs.io/learn/research/capo-performance-research)

Copyright © 2025-2026 Harlan Wilton - [MIT License](https://github.com/unjs/unhead/blob/main/license)