Note: You are viewing the development version of Schema.org. See how we work for more details.

mainEntity

A Schema.org Property
Indicates the primary entity described in some page or other CreativeWork.

Inverse-property: mainEntityOfPage


Values expected to be one of these types

Used on these types

Examples

Example 1
Copied
Example notes or example HTML without markup.
     

Cath's Cafe

Open: Daily from 11:00am till 8pm

Phone: 555-0100-3344

View our menu.

Example encoded as Microdata embedded in HTML.

Cath's Cafe

Open: Daily from 11:00am till 8pm

Phone: 555-0100-3344

View our menu.

Example encoded as JSON-LD in a HTML script tag.

Structured representation of the JSON-LD example.
Example 2
Copied
Example notes or example HTML without markup.
Books >
 Literature & Fiction >
 Classics

cover art: red horse, city in background
The Catcher in the Rye - Mass Market Paperback
by J.D. Salinger
4 stars - 3077 reviews

Price: $6.99
In Stock

Product details
224 pages
Publisher: Little, Brown, and Company - May 1, 1991
Language: English
ISBN-10: 0316769487

Reviews:

5 stars - "A masterpiece of literature" 
by John Doe. Written on May 4, 2006
I really enjoyed this book. It captures the essential challenge people face
as they try make sense of their lives and grow to adulthood.

4 stars - "love it LOLOL111!" 
by Bob Smith, Written on June 15, 2006
Catcher in the Rye is a fun book. It's a good book to read.
Example encoded as Microdata embedded in HTML.

...


cover art: red horse, city in background The Catcher in the Rye - Mass Market Paperback by
4 stars - 3077 reviews
Price: $6.99 In Stock
Product details 224 pages Publisher: Little, Brown, and Company - May 1, 1991 Language: English ISBN-10: 0316769487 Reviews:
5 stars - "A masterpiece of literature" by , Written on May 4, 2006 I really enjoyed this book. It captures the essential challenge people face as they try make sense of their lives and grow to adulthood.
4 stars - "A good read." by , Written on June 15, 2006 Catcher in the Rye is a fun book. It's a good book to read.
...
Example encoded as RDFa embedded in HTML.

...


cover art: red horse, city in background The Catcher in the Rye - Mass Market Paperback by J.D. Salinger
4 stars - 3077 reviews
Price: $6.99 In Stock
Product details 224 pages Publisher: Little, Brown, and Company - May 1, 1991 Language: English ISBN-10: 0316769487 Reviews:
5 stars - "A masterpiece of literature" by John Doe, Written on May 4, 2006 I really enjoyed this book. It captures the essential challenge people face as they try make sense of their lives and grow to adulthood.
4 stars - "A good read." by Bob Smith, Written on June 15, 2006 Catcher in the Rye is a fun book. It's a good book to read.
...
Example encoded as JSON-LD in a HTML script tag.

Structured representation of the JSON-LD example.