-
Notifications
You must be signed in to change notification settings - Fork 896
Schema output documentation
Joost de Valk edited this page Apr 2, 2019
·
2 revisions
This will be moved to developer.yoast.com ASAP.
Depending on whether the site represents a Person
or a Company
:
-
Organization
-
@type
:Organization
-
@id
:<homepage_url>#organization
-
name
:<site name>
-
url
:<homepage_url>
-
sameAs
: Array of social + WikiPedia URLs -
logo
-
@type
:imageObject
-
@id
:<homepage_url>#logo
-
url
:<logo image URL>
-
caption
:<site name>
-
-
image
- referenceslogo
-
@id
:<homepage_url>#logo
-
-
-
Person
-
@type
:Person
-
@id
:<homepage_url>#person
-
name
:<site name>
-
description
:<User bio>
-
sameAs
: Array of social + WikiPedia URLs -
image
-
@type
:imageObject
-
@id
:<homepage_url>#personlogo
-
url
:<gravatar URL>
-
caption
:<user display name>
-
-
-
Website
-
@type
:Website
-
@id
:<homepage_url>#website
, -
url
:<homepage_url>
, -
name
:<site name>
, -
publisher
- referencesOrganization
-
@id
:<homepage_url>#organization
-
-
potentialAction
-
@type
:SearchAction
-
target
:<homepage_url>?s={search_term_string}
-
query-input
:required name=search_term_string
-
-
-
WebPage
-
@type
:WebPage
-
@id
:<canonical>#webpage
-
url
:<canonical>
-
inLanguage
:<site language>
-
name
:<page title>
-
description
:<page description>
-
isPartOf
- referencesWebSite
@id
:<homepage_url>/#website
-
image
- when we have a featured image.-
@type
:ImageObject
-
@id
:<canonical>#primaryimage
-
url
:<image_url>
-
caption
:<image caption>
-
-
primaryImageOfPage
- referencesimage
above@id
:<canonical>#primaryimage
-
In case frontpage is a page, not an archive, treat like a single page.
Like Homepage.
-
WebPage
, add these attributes:-
datePublished
:<publication date>
-
dateModified
:<modification date>
-
breadcrumb
referencesBreadcrumbList
-
BreadcrumbList
Like Single page.
-
Article
:-
@id
:<canonical>#article
-
isPartOf
- referencesWebPage
-
mainEntityOfPage
- referencesWebPage
-
author
- referencesAuthor
-
publisher
- references theOrganization
orPerson
the website represents. -
headline
- page title (not SEO title). datePublished
dateModified
commentCount
-
image
references the#primaryimage
if available. -
keywords
- a comma separated list of post tags. -
sections
- a comma separated list of the post's categories.
-
-
Author
: only shows up when the website represents an Organization or the author is not thePerson
the website represents.-
@type
:Person
-
url
: points to the author's posts archive. - Just like
Person
on Homepage.
-
Like Single page.
-
WebPage
-
@type
becomesCollectionPage
-
Like Single page.
-
WebPage
-
@type
becomesCollectionPage
-
Like Single page.
-
WebPage
-
@type
becomesProfilePage
-
-
Person
-
@type
:Person
-
@id
:<canonical>#person
-
mainEntityOfPage
:<canonical>#webpage
-
name
:<person display name>
-
description
:<User bio>
-
sameAs
: Array of social + WikiPedia URLs -
image
-
@type
:imageObject
-
@id
:<homepage_url>#personlogo
-
url
:<gravatar URL>
-
caption
:<user display name>
-
-
Like Single page.
-
WebPage
:-
@type
becomesSearchResultsPage
-
Like Homepage.
- Remove
WebPage
.