Schema.org · Schema

Schema.org Book

A book.

Schema.orgStructured DataLinked DataJSON-LDVocabularySEOWeb StandardsRDFOntology

Properties

Name Type Description
@type string The Schema.org type.
@context string
name string The name of the book.
description string A description of the book.
url string URL of the book.
image object An image of the book.
author object The author of this book.
publisher object The publisher of this book.
isbn string The ISBN of the book.
numberOfPages integer The number of pages in the book.
bookEdition string The edition of the book.
bookFormat string The format of the book.
illustrator object The illustrator of the book.
datePublished string Date of first publication.
inLanguage string The language of the book.
genre string Genre of the book.
award object An award won by the book.
aggregateRating object The overall rating.
review object A review of the book.
offers object An offer to provide this book.
sameAs object URL of a reference Web page that unambiguously indicates the item's identity.
View JSON Schema on GitHub

JSON Schema

schema-org-book-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://schema.org/schemas/book.json",
  "title": "Schema.org Book",
  "description": "A book.",
  "type": "object",
  "required": ["@type", "name"],
  "properties": {
    "@type": {
      "type": "string",
      "const": "Book",
      "description": "The Schema.org type."
    },
    "@context": {
      "type": "string",
      "default": "https://schema.org"
    },
    "name": {
      "type": "string",
      "description": "The name of the book."
    },
    "description": {
      "type": "string",
      "description": "A description of the book."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "URL of the book."
    },
    "image": {
      "oneOf": [
        { "type": "string", "format": "uri" },
        { "$ref": "schema-org-image-object-schema.json" }
      ],
      "description": "An image of the book."
    },
    "author": {
      "oneOf": [
        { "$ref": "schema-org-person-schema.json" },
        { "type": "array", "items": { "$ref": "schema-org-person-schema.json" } }
      ],
      "description": "The author of this book."
    },
    "publisher": {
      "$ref": "schema-org-organization-schema.json",
      "description": "The publisher of this book."
    },
    "isbn": {
      "type": "string",
      "description": "The ISBN of the book."
    },
    "numberOfPages": {
      "type": "integer",
      "description": "The number of pages in the book."
    },
    "bookEdition": {
      "type": "string",
      "description": "The edition of the book."
    },
    "bookFormat": {
      "type": "string",
      "enum": ["AudiobookFormat", "EBook", "GraphicNovel", "Hardcover", "Paperback"],
      "description": "The format of the book."
    },
    "illustrator": {
      "$ref": "schema-org-person-schema.json",
      "description": "The illustrator of the book."
    },
    "datePublished": {
      "type": "string",
      "format": "date",
      "description": "Date of first publication."
    },
    "inLanguage": {
      "type": "string",
      "description": "The language of the book."
    },
    "genre": {
      "type": "string",
      "description": "Genre of the book."
    },
    "award": {
      "oneOf": [
        { "type": "string" },
        { "type": "array", "items": { "type": "string" } }
      ],
      "description": "An award won by the book."
    },
    "aggregateRating": {
      "$ref": "schema-org-aggregate-rating-schema.json",
      "description": "The overall rating."
    },
    "review": {
      "oneOf": [
        { "$ref": "schema-org-review-schema.json" },
        { "type": "array", "items": { "$ref": "schema-org-review-schema.json" } }
      ],
      "description": "A review of the book."
    },
    "offers": {
      "oneOf": [
        { "$ref": "schema-org-offer-schema.json" },
        { "type": "array", "items": { "$ref": "schema-org-offer-schema.json" } }
      ],
      "description": "An offer to provide this book."
    },
    "sameAs": {
      "oneOf": [
        { "type": "string", "format": "uri" },
        { "type": "array", "items": { "type": "string", "format": "uri" } }
      ],
      "description": "URL of a reference Web page that unambiguously indicates the item's identity."
    }
  }
}