Schema.org's WebSite vs WebPage
I was reading Google documentation on how to impletement Sitelinks Search Box. In the example, they use
itemscope itemtype="http://schema.org/WebSite"
to implement sub-properties like potentialAction
, etc.
However, after reading the schema documentation CreativeWork
it looks to me that WebSite
is inferior to WebPage
.
CreativeWork
WebPage
has its own properties, while WebSite
doesn't Is there a scenario where WebSite
should be used / is preferable?
WebSite
represents a web site, WebPage
represents a web page (like the difference between Blog
and BlogPosting
).
The additional properties from WebPage
(like breadcrumb
and mainContentOfPage
) wouldn't necessarily make sense for WebSite
.
Google's Sitelinks Search Box uses WebSite
because the search usually applies to the whole site, not just a single page.