Свойство schema.org ?
Содержание: Описание, Какие должны быть типы, В каких типах используется, Примеры использования.
Свойство isAccessibleForFree в Schema.org используется для указания, что определённый объект, событие или место доступны без оплаты. Это свойство помогает пользователям и поисковым системам понять, что за доступ к этому объекту не требуется плата.
Использование этого свойства особенно важно для сайтов, которые предлагают информацию о мероприятиях, музеях, парках, образовательных ресурсах и других местах, где может быть как платный, так и бесплатный доступ. Оно позволяет структурировать данные таким образом, чтобы пользователи могли быстро находить бесплатные варианты, а поисковые системы могли правильно индексировать и отображать эту информацию.
isAccessibleForFree может быть использовано в различных контекстах, например, в микроданных, JSON-LD или RDFa, что позволяет разработчикам веб-сайтов интегрировать это свойство в свои страницы. Это улучшает видимость и доступность информации о бесплатных ресурсах, что может привлечь большее количество посетителей и пользователей.
Таким образом, это свойство служит для упрощения поиска и восприятия информации о доступности объектов и мероприятий, делая её более понятной и доступной для широкой аудитории.
Пример заметки или HTML разметки.
<h1>Disneyland Paris</h1>
<div>It's an amusement park in Marne-la-Vallée, near Paris, in France.</div>
<div>Hours: Mo-Fr 10am-7pm Sa 10am-22pm Su 10am-21pm</div>
<div>Entrance: with ticket</div>
<div>Currency accepted: Euro</div>
<div>Payment accepted: Cash, Credit Card</div>
<div>Website:
<a href="http://www.disneylandparis.it/">www.disneylandparis.it</a>
</div>
Пример, закодированный в формате Microdata, встроенный в HTML.
<div itemscope itemtype="https://schema.org/AmusementPark https://schema.org/TouristAttraction">
<h1><span itemprop="name">Disneyland Paris</span></h1>
<div>
<span itemprop="description">It's an amusement park in Marne-la-Vallée, near Paris, in France and is the most visited theme park in all of France and Europe.</span>
</div>
<div>Hours: Mo-Fr 10am-7pm Sa 10am-22pm Su 10am-21pm
<meta itemprop="openingHours" content="Mo-Fr 10:00-19:00"/>
<meta itemprop="openingHours" content="Sa 10:00-22:00"/>
<meta itemprop="openingHours" content="Su 10:00-21:00"/>
</div>
<div>
<meta itemprop="isAccessibleForFree" content="false"/>Entrance: with ticket
</div>
<div>
<meta itemprop="currenciesAccepted" content="EUR"/>Currency accepted: Euro
</div>
<div>
<meta itemprop="paymentAccepted" content="Cash, Credit Card"/>Payment accepted: Cash, Credit Card
</div>
<div>Website:
<a href="http://www.disneylandparis.it/" itemprop="url">www.disneylandparis.it</a>
</div>
</div>
Пример, закодированный в формате RDFa, встроенный в HTML.
<div vocab="https://schema.org/" typeof="TouristAttraction AmusementPark">
<h1><span property="name">Disneyland Paris</span></h1>
<div>
<span property="description">It's an amusement park in Marne-la-Vallée, near Paris, in France and is the most visited theme park in all of France and Europe.</span>
</div>
<div>Hours: Mo-Fr 10am-7pm Sa 10am-22pm Su 10am-21pm
<meta property="openingHours" content="Mo-Fr 10:00-19:00"/>
<meta property="openingHours" content="Sa 10:00-22:00"/>
<meta property="openingHours" content="Su 10:00-21:00"/>
</div>
<div>
<meta property="isAccessibleForFree" content="false"/>Entrance: with ticket
</div>
<div>
<meta property="currenciesAccepted" content="EUR"/>Currency accepted: Euro
</div>
<div>
<meta property="paymentAccepted" content="Cash, Credit Card"/>Payment accepted: Cash, Credit Card
</div>
<div>Website:
<a href="http://www.disneylandparis.it/" property="url">www.disneylandparis.it</a>
</div>
</div>
Пример, закодированный в формате JSON-LD в теге <script> HTML.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": ["TouristAttraction", "AmusementPark"],
"name": "Disneyland Paris",
"description": "It's an amusement park in Marne-la-Vallée, near Paris, in France and is the most visited theme park in all of France and Europe.",
"openingHours":["Mo-Fr 10:00-19:00", "Sa 10:00-22:00", "Su 10:00-21:00"],
"isAccessibleForFree": false,
"currenciesAccepted": "EUR",
"paymentAccepted":"Cash, Credit Card",
"url":"http://www.disneylandparis.it/"
}
</script>
Структурированное представление примера JSON-LD.
Пример заметки или HTML разметки.
Name: VillersâBretonneux Australian National Memorial
Description: The Australian National Memorial, VillersâBretonneux is the main memorial to Australian military personnel killed on the Western Front during World War I.
Address: Fouilloy, FR
Geocoordinates: lat 49.8852515, lon 2.5106436
Public Access: yes
Is Accessible For Free: yes
Tourist Audience: Memorial Tourism from Australia and New Zealand
Image: https://commons.wikimedia.org/wiki/File%3AVillers-Bretonneux_m%C3%A9morial_australien_(tour_et_croix)_1.jpg
Same As: https://www.wikidata.org/wiki/Q2544355
Пример, закодированный в формате Microdata, встроенный в HTML.
<div>
<div itemtype="https://schema.org/TouristAttraction" itemscope>
<link itemprop="additionalType" href="https://schema.org/Cemetery" />
<meta itemprop="name" content="VillersâBretonneux Australian National Memorial" />
<meta itemprop="description" content="The Australian National Memorial, VillersâBretonneux is the main memorial to Australian military personnel killed on the Western Front during World War I." />
<div itemprop="touristType" itemtype="https://schema.org/Audience" itemscope>
<meta itemprop="audienceType" content="Memorial Tourism" />
<div itemprop="geographicArea" itemtype="https://schema.org/AdministrativeArea" itemscope>
<meta itemprop="name" content="New Zealand" />
</div>
<div itemprop="geographicArea" itemtype="https://schema.org/AdministrativeArea" itemscope>
<meta itemprop="name" content="Australia" />
</div>
</div>
<div itemprop="address" itemtype="https://schema.org/PostalAddress" itemscope>
<meta itemprop="addressLocality" content="Fouilloy" />
<meta itemprop="addressCountry" content="FR" />
</div>
<div itemprop="geo" itemtype="https://schema.org/GeoCoordinates" itemscope>
<meta itemprop="latitude" content="49.8852515" />
<meta itemprop="longitude" content="2.5106436" />
</div>
<meta itemprop="publicAccess" content="true" />
<meta itemprop="isAccessibleForFree" content="true" />
<link itemprop="sameAs" href="https://www.wikidata.org/wiki/Q2544355" />
<link itemprop="image" href="https://commons.wikimedia.org/wiki/File%3AVillers-Bretonneux_m%C3%A9morial_australien_(tour_et_croix)_1.jpg" />
</div>
</div>
Пример, закодированный в формате RDFa, встроенный в HTML.
<div vocab="https://schema.org/" typeof="Cemetery TouristAttraction">
<div property="name" content="VillersâBretonneux Australian National Memorial"></div>
<div property="description" content="The Australian National Memorial, VillersâBretonneux is the main memorial to Australian military personnel killed on the Western Front during World War I."></div>
<div property="touristType" typeof="Audience">
<div property="audienceType" content="Memorial Tourism"></div>
<div property="geographicArea" typeof="AdministrativeArea">
>
<div property="name" content="New Zealand"></div>
</div>
<div property="geographicArea" typeof="AdministrativeArea">
<div property="name" content="Australia"></div>
</div>
</div>
</div>
<div property="address" typeof="PostalAddress">
<div property="addressCountry" content="FR"></div>
<div property="addressLocality" content="Fouilloy"></div>
</div>
<div property="geo" typeof="GeoCoordinates">
<div property="latitude" content="49.8852515"></div>
<div property="longitude" content="2.5106436"></div>
</div>
<div property="publicAccess" datatype="xsd:boolean" content="true"></div>
<div property="isAccessibleForFree" datatype="xsd:boolean" content="true">
<link property="sameAs" href="https://www.wikidata.org/wiki/Q2544355">
<link property="image" href="https://commons.wikimedia.org/wiki/File%3AVillers-Bretonneux_m%C3%A9morial_australien_(tour_et_croix)_1.jpg">
</div>
Пример, закодированный в формате JSON-LD в теге <script> HTML.
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": [
"Cemetery",
"TouristAttraction"
],
"name": "VillersâBretonneux Australian National Memorial",
"description": "The Australian National Memorial, VillersâBretonneux is the main memorial to Australian military personnel killed on the Western Front during World War I.",
"touristType": {
"@type": "Audience",
"audienceType" : "Memorial Tourism",
"geographicArea": [{
"@type": "AdministrativeArea",
"name": "Australia"
},{
"@type": "AdministrativeArea",
"name": "New Zealand"
}]
},
"address": {
"@type": "PostalAddress",
"addressCountry": "FR",
"addressLocality":"Fouilloy"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": "49.8852515",
"longitude": "2.5106436"
},
"publicAccess": true,
"isAccessibleForFree": true,
"sameAs":"https://www.wikidata.org/wiki/Q2544355",
"image":"https://commons.wikimedia.org/wiki/File%3AVillers-Bretonneux_m%C3%A9morial_australien_(tour_et_croix)_1.jpg"
}
</script>
Структурированное представление примера JSON-LD.
Пример заметки или HTML разметки.
<h1>Hyde Park</h1>
<div>It's one of the nine royal parks of London.</div>
<div>Website:
<a href="http://www.royalparks.org.uk/parks/hyde-park">www.royalparks.org.uk/parks/hyde-park</a>
</div>
<div>Ticket: access for free.</div>
Пример, закодированный в формате Microdata, встроенный в HTML.
<div itemscope itemtype="https://schema.org/TouristAttraction">
<h1><span itemprop="name">Hyde Park</span></h1>
<div>
<span itemprop="description">It's one of nine royal parks of London.</span>
</div>
<div>Website:
<a href="http://www.royalparks.org.uk/parks/hyde-park" itemprop="url">www.royalparks.org.uk/parks/hyde-park</a>
</div>
<div>
<meta itemprop="isAccessibleForFree" content="true"/>Ticket: access for free.
</div>
</div>
Пример, закодированный в формате RDFa, встроенный в HTML.
<div vocab="https://schema.org/" typeof="TouristAttraction">
<h1><span property="name">Hyde Park</span></h1>
<div>
<span property="description">It's one of nine royal parks of London.</span>
</div>
<div>Website:
<a href="http://www.royalparks.org.uk/parks/hyde-park" property="url">www.royalparks.org.uk/parks/hyde-park</a>
</div>
<div>
<meta property="isAccessibleForFree" content="true"/>Ticket: access for free.
</div>
</div>
Пример, закодированный в формате JSON-LD в теге <script> HTML.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "TouristAttraction",
"name": "Hyde Park",
"description": "It's one of nine royal parks of London.",
"url": "http://www.royalparks.org.uk/parks/hyde-park",
"isAccessibleForFree": true
}
</script>
Структурированное представление примера JSON-LD.
Пример заметки или HTML разметки.
Name: The Falles 2017
Description: The Falles is a traditional celebration held in commemoration of Saint Joseph in the city of Valencia, Spain. The term Falles refers to both the celebration and the monuments burnt during the celebration. Added to UNESCO's intangible cultural heritage of humanity list on 30 November 2016.
From: March 3, 2017
To: March 3, 2017
Location: Valencia, ES
Public Access: yes
Is Accessible For Free: yes
Tourist Audience: Cultural tourism
Image 1: https://commons.wikimedia.org/wiki/File%3AFalla_Plaza_del_Ayuntamiento_2016_(1).jpg
Image 2: https://commons.wikimedia.org/wiki/File:La_fallera_y_su_crem%C3%A1.jpg
Same As: http://www.wikidata.org/entity/Q1143768
Пример, закодированный в формате Microdata, встроенный в HTML.
<div>
<div itemtype="https://schema.org/TouristAttraction" itemscope>
<link itemprop="additionalType" href="https://schema.org/Event" />
<meta itemprop="name" content="Las Fallas 2017" />
<meta itemprop="name" content="The Falles 2017" />
<meta itemprop="alternateName" content="Les Falles 2017" />
<meta itemprop="touristType" content="Cultural tourism" />
<meta itemprop="description" content="Las Fallas son unas fiestas con una tradición arraigada en la ciudad de Valencia y diferentes poblaciones de la Comunidad Valenciana, y que se celebran en honor de San José. El término Falla se refiere a las propia fiestas y a los monumentos quemados en las calles de Valencia el dÃa 19 de marzo. En noviembre de 2016 la Unesco las inscribió en su Lista Representativa del Patrimonio Cultural Inmaterial de la Humanidad." />
<meta itemprop="description" content="The Falles is a traditional celebration held in commemoration of Saint Joseph in the city of Valencia, Spain. The term Falles refers to both the celebration and the monuments burnt during the celebration. Added to UNESCO's intangible cultural heritage of humanity list on 30 November 2016." />
<meta itemprop="startDate" content="2017-03-15T09:00" />
<meta itemprop="endDate" content="2017-03-19T23:59" />
<div itemprop="location" itemtype="https://schema.org/PostalAddress" itemscope>
<meta itemprop="addressLocality" content="Valencia" />
<meta itemprop="addressRegion" content="Valencia" />
<meta itemprop="addressCountry" content="ES" />
</div>
<meta itemprop="publicAccess" content="true" />
<meta itemprop="isAccessibleForFree" content="true" />
<link itemprop="image" href="https://commons.wikimedia.org/wiki/File%3AFalla_Plaza_del_Ayuntamiento_2016_(1).jpg" />
<link itemprop="image" href="https://commons.wikimedia.org/wiki/File:La_fallera_y_su_crem%C3%A1.jpg" />
<link itemprop="sameAs" href="http://www.wikidata.org/entity/Q1143768" />
</div>
</div>
Пример, закодированный в формате RDFa, встроенный в HTML.
<div vocab="https://schema.org/" typeof="TouristAttraction Event">
<div property="name" xml:lang="es" content="Las Fallas 2017" lang="es"></div>
<div property="name" xml:lang="en" content="The Falles 2017" lang="en"></div>
<div property="alternateName" content="Les Falles 2017"></div>
<div property="description" xml:lang="es" content="Las Fallas son unas fiestas con una tradición arraigada en la ciudad de Valencia y diferentes poblaciones de la Comunidad Valenciana, y que se celebran en honor de San José. El término Falla se refiere a las propia fiestas y a los monumentos quemados en las calles de Valencia el dÃa 19 de marzo. En noviembre de 2016 la Unesco las inscribió en su Lista Representativa del Patrimonio Cultural Inmaterial de la Humanidad." lang="es"></div>
<div property="description" xml:lang="en" content="The Falles is a traditional celebration held in commemoration of Saint Joseph in the city of Valencia, Spain. The term Falles refers to both the celebration and the monuments burnt during the celebration. Added to UNESCO's intangible cultural heritage of humanity list on 30 November 2016." lang="en"></div>
<div property="startDate" content="2017-03-15T09:00"></div>
<div property="endDate" content="2017-03-19T23:59"></div>
<div property="location" typeof="PostalAddress">
<div property="addressLocality" content="Valencia"></div>
<div property="addressCountry" content="ES"></div>
<div property="addressRegion" content="Valencia"></div>
</div>
<div property="publicAccess" datatype="xsd:boolean" content="true"></div>
<div property="isAccessibleForFree" datatype="xsd:boolean" content="true"></div>
<div property="touristType" content="Cultural tourism"></div>
<link property="image" href="https://commons.wikimedia.org/wiki/File%3AFalla_Plaza_del_Ayuntamiento_2016_(1).jpg" />
<link property="image" href="https://commons.wikimedia.org/wiki/File:La_fallera_y_su_crem%C3%A1.jpg" />
<link property="sameAs" href="http://www.wikidata.org/entity/Q1143768" />
</div>
Пример, закодированный в формате JSON-LD в теге <script> HTML.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": [
"Event",
"TouristAttraction"
],
"name": "The Falles 2017",
"name": [
{
"@language": "es",
"@value": "Las Fallas 2017"
},
{
"@language": "en",
"@value": "The Falles 2017"
}
],
"alternateName":"Les Falles 2017",
"description":"The Falles is a traditional celebration held in commemoration of Saint Joseph in the city of Valencia, Spain. The term Falles refers to both the celebration and the monuments burnt during the celebration. Added to UNESCO's intangible cultural heritage of humanity list on 30 November 2016.",
"description":[
{
"@language": "es",
"@value": "Las Fallas son unas fiestas con una tradición arraigada en la ciudad de Valencia y diferentes poblaciones de la Comunidad Valenciana, y que se celebran en honor de San José. El término Falla se refiere a las propia fiestas y a los monumentos quemados en las calles de Valencia el dÃa 19 de marzo. En noviembre de 2016 la Unesco las inscribió en su Lista Representativa del Patrimonio Cultural Inmaterial de la Humanidad."
},
{
"@language": "en",
"@value": "The Falles is a traditional celebration held in commemoration of Saint Joseph in the city of Valencia, Spain. The term Falles refers to both the celebration and the monuments burnt during the celebration. Added to UNESCO's intangible cultural heritage of humanity list on 30 November 2016."
}
],
"startDate":"2017-03-15T09:00",
"endDate": "2017-03-19T23:59",
"location": {
"@type": "PostalAddress",
"addressLocality": "Valencia",
"addressRegion": "Valencia",
"addressCountry": "ES"
},
"publicAccess": true,
"isAccessibleForFree": true,
"touristType": [
"Cultural tourism"
],
"image": [
"https://commons.wikimedia.org/wiki/File%3AFalla_Plaza_del_Ayuntamiento_2016_(1).jpg",
"https://commons.wikimedia.org/wiki/File:La_fallera_y_su_crem%C3%A1.jpg"
],
"sameAs": "http://www.wikidata.org/entity/Q1143768"
}
</script>
Структурированное представление примера JSON-LD.