Language
Canonical URL: http://schema.org/LanguageNatural languages such as Spanish, Tamil, Hindi, English, etc. Formal language code tags expressed in BCP 47 can be used via the alternateName property. The Language type previously also covered programming languages such as Scheme and Lisp, which are now best represented using ComputerLanguage.
Usage: Between 100 and 1000 domains
Property | Expected Type | Description |
---|---|---|
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
|
Text | A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation. |
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
|
Text | The name of the item. |
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 Language may appear as values for the following properties
Property | On Types | Description |
---|---|---|
availableLanguage
|
ContactPoint or LodgingBusiness or ServiceChannel | A language someone may use with the item. Please use one of the language codes from the IETF BCP 47 standard. See also inLanguage |
inLanguage
|
CommunicateAction or CreativeWork or Event or LinkRole or WriteAction | 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. |
subtitleLanguage
|
Movie or ScreeningEvent or TVEpisode | Languages in which subtitles/captions are available, in IETF BCP 47 standard format. |
Examples
This example shows a JSON-LD description of services that do not necessarily have a direct human-oriented HTML description. It describes a GovernmentService named "Veterans Affairs Emergency Mental Health", its operator, service area and service details, such as its Veterans Crisis Line (including phone contact line hours of operation, language and other details).
This example is JSON only.
This example is JSON only.
<script type='application/ld+json'> { "@context": "http://schema.org", "@type": "GovernmentService", "name": "Veterans Affairs Emergency Mental Health", "serviceType": "Psychiatric Emergency Services", "operator": { "@type": "GovernmentOrganization", "name": "US Department of Veterans Affairs" }, "serviceArea": { "@type": "AdministrativeArea", "name": "Massachusetts" }, "audience": { "@type": "CivicAudience", "name": "Veterans" }, "availableChannel": { "@type": "ServiceChannel", "name": "Urgent Care Clinic", "availableLanguage": { "@type": "Language", "name": "Spanish", "alternateName": "es" }, "serviceLocation": { "@type": "Hospital", "name": "VA Boston -- West Roxbury", "address": { "@type": "PostalAddress", "streetAddress": "1400 VFW Parkway", "addressLocality": "West Roxbury", "addressRegion": "MA", "postalCode": "02132" } } } } </script>
This example is in microdata only.
<div itemscope itemtype="http://schema.org/Hotel"> <h1><span itemprop="name">ACME Hotel Innsbruck</span></h1> <span itemprop="description">A beautifully located business hotel right in the heart of the alps. Watch the sun rise over the scenic Inn valley while enjoying your morning coffee.</span> We speak: <ul> <li itemprop="availableLanguage" itemscope itemtype="http://schema.org/Language"> <span itemprop="name">English</span> </li> <li itemprop="availableLanguage" itemscope itemtype="http://schema.org/Language"> <span itemprop="name">German</span> </li> </ul> </div>
This example is in microdata only.
This example is in microdata only.
Schema Version 3.2