WebSite
Canonical URL: http://schema.org/WebSiteA WebSite is a set of related web pages and other items typically served from a single web domain and accessible via URLs.
Usage: Over 1,000,000 domains
| Property | Expected Type | Description |
|---|---|---|
| Properties from CreativeWork | ||
accessibilityAPI
|
Text | Indicates that the resource is compatible with the referenced accessibility API (WebSchemas wiki lists possible values). |
associatedMedia
|
MediaObject | A media object that encodes this CreativeWork. This property is a synonym for encoding. |
hasPart
|
CreativeWork | Indicates a CreativeWork that is (in some sense) a part of this CreativeWork. Inverse property: isPartOf. |
headline
|
Text | Headline of the article. |
inLanguage
|
Language or Text | The language of the content or performance or used in an action. Please use one of the language codes from the IETF BCP 47 standard. See also availableLanguage. Supersedes language. |
isAccessibleForFree
|
Boolean | A flag to signal that the publication is accessible for free. Supersedes free. |
isPartOf
|
CreativeWork | Indicates a CreativeWork that this CreativeWork is (in some sense) part of. Inverse property: hasPart. |
position
|
Integer or Text | The position of an item in a series or sequence of items. |
publishingPrinciples
|
URL | Link to page describing the editorial principles of the organization primarily responsible for the creation of the CreativeWork. |
review
|
Review | A review of the item. Supersedes reviews. |
| Properties from Thing | ||
additionalType
|
URL | An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the 'typeof' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally. |
alternateName
|
Text | An alias for the item. |
description
|
Text | A description of the item. |
disambiguatingDescription
|
No comment | |
identifier
|
PropertyValue or Text or URL | The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details. |
image
|
ImageObject or URL | An image of the item. This can be a URL or a fully described ImageObject. |
mainEntityOfPage
|
CreativeWork or URL | Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details. Inverse property: mainEntity. |
name
|
No comment | |
potentialAction
|
Action | Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role. |
sameAs
|
URL | URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website. |
url
|
URL | URL of the item. |
Instances of WebSite may appear as values for the following properties
| Property | On Types | Description |
|---|---|---|
| interactionService | InteractionCounter | The WebSite or SoftwareApplication where the interactions took place. |
Available properties in extensions
- For CreativeWork in the bib extension: publisherImprint, translationOfWork, workTranslation
- For CreativeWork in the pending extension: contentReferenceTime
- For Thing in the extension: disambiguatingDescription, name
Examples
<p>(A WebSite describing its search options)</p>
<div itemscope itemtype="http://schema.org/WebSite">
<link itemprop="url" href="http://www.example.com/"/>
<form itemprop="potentialAction" itemscope itemtype="http://schema.org/SearchAction">
<meta itemprop="target" content="http://example.com/search?q={query}"/>
<input itemprop="query-input" type="text" name="query"/>
<input type="submit"/>
</form>
</div>
<div vocab="http://schema.org/" typeof="WebSite">
<meta property="url" href="http://www.example.com/"/>
<form property="potentialAction" typeof="http://schema.org/SearchAction">
<meta property="target" content="http://www.example.com/search?q={query}"/>
<input property="query-input" type="text" name="query">
<input type="submit">
</form>
</div>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "http://example.com/",
"potentialAction": {
"@type": "SearchAction",
"target": "http://example.com/search?&q={query}",
"query-input": "required"
}
}
</script>
Schema Version 3.2
