Микроразметка LocationFeatureSpecification
Описание микроразметки LocationFeatureSpecification на сайте schema.su.
LocationFeatureSpecification - Тип Schema.org
Описание: Определяет характеристику местоположения, предоставляя структурированное значение, представляющее характеристику объекта размещения в виде пары свойство-значение с разной степенью формальности.
Микроразметка LocationFeatureSpecification используется для определения характеристики расположения объекта размещения путем предоставления структурированного значения, представляющего собой характеристику размещения как пару свойство-значение с различными степенями формальности.
Эта микроразметка полезна для определения особенностей местоположения различных размещений, таких как отели, апартаменты, рестораны и другие. Рекомендуется использовать LocationFeatureSpecification для более точного описания особенностей объекта размещения, что может улучшить понимание контента поисковыми системами и повысить его отображение в результатах поиска.
Свойство | Ожидаемый тип | Описание |
---|---|---|
Properties from LocationFeatureSpecification | ||
hoursAvailable |
OpeningHoursSpecification | Часы, в течение которых этот сервис или контакт доступен. |
validFrom |
Date или DateTime | Дата, когда объект становится действительным. |
validThrough |
Date или DateTime | Свойство validThrough показывает дату, после которой элемент больше не является действительным. Например, окончание предложения или периода заработной платы. |
Properties from PropertyValue | ||
maxValue |
Number | Верхнее значение какой-либо характеристики или свойства. |
measurementMethod |
DefinedTerm или MeasurementMethodEnum или Text или URL | A subproperty of measurementTechnique that can be used for specifying specific methods, in particular via MeasurementMethodEnum. |
measurementTechnique |
DefinedTerm или MeasurementMethodEnum или Text или URL | A technique, method or technology used in an Observation, StatisticalVariable or Dataset (or DataDownload, DataCatalog), corresponding to the method used for measuring the corresponding variable(s) (for datasets, described using variableMeasured; for Observation, a StatisticalVariable). Often but not necessarily each variableMeasured will have an explicit representation as (or mapping to) an property such as those defined in Schema.org, or other RDF vocabularies and "knowledge graphs". In that case the subproperty of variableMeasured called measuredProperty is applicable.The measurementTechnique property helps when extra clarification is needed about how a measuredProperty was measured. This is oriented towards scientific and scholarly dataset publication but may have broader applicability; it is not intended as a full representation of measurement, but can often serve as a high level summary for dataset discovery. For example, if variableMeasured is: molecule concentration, measurementTechnique could be: "mass spectrometry" or "nmr spectroscopy" or "colorimetry" or "immunofluorescence". If the variableMeasured is "depression rating", the measurementTechnique could be "Zung Scale" or "HAM-D" or "Beck Depression Inventory". If there are several variableMeasured properties recorded for some given data object, use a PropertyValue for each variableMeasured and attach the corresponding measurementTechnique. The value can also be from an enumeration, organized as a MeasurementMetholdEnumeration. |
minValue |
Number | Нижнее значение определенного свойства или характеристики. |
propertyID |
Text или URL | Общепринятый идентификатор для характеристики, представленной свойством, например, производитель или стандартный код для свойства. propertyID может быть (1) префиксной строкой, главным образом предназначенной для использования со стандартами для свойств продуктов; (2) специфичной для сайта, не содержащей префиксов строкой (например, первичный ключ свойства или идентификатор свойства, специфичный для поставщика), или (3) URL, указывающем на тип свойства, указывающем на внешний словарь или веб-ресурс, описывающий свойство (например, статья в словаре). Организации стандартов должны содействовать принятию стандартизированного префикса для идентификаторов свойств из их стандартов. |
unitCode |
Text или URL | Единица измерения, указанная с использованием Общего кода UN/CEFACT (3 знака) или URL. Другие коды, чем Общий код UN/CEFACT, могут использоваться с префиксом, за которым следует двоеточие. |
unitText |
Text | A string or text indicating the unit of measurement. Useful if you cannot provide a standard unit code forunitCode. |
value |
Boolean или Number или StructuredValue или Text | The value of a QuantitativeValue (including Observation) or property value node.For QuantitativeValue and MonetaryAmount, the recommended type for values is 'Number'.For PropertyValue, it can be 'Text', 'Number', 'Boolean', or 'StructuredValue'.Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator. |
valueReference |
DefinedTerm или Enumeration или MeasurementTypeEnumeration или PropertyValue или QualitativeValue или QuantitativeValue или StructuredValue или Text | Вторичное значение, которое предоставляет дополнительную информацию об исходном значении, например, ссылочная температуру или тип измерения. |
Properties from Thing | ||
additionalType |
Text или 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. Typically the value is a URI-identified RDF class, and in this case corresponds to the use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide. |
alternateName |
Text | Псевдоним для элемента. |
description |
Text или TextObject | Описание элемента. |
disambiguatingDescription |
Text | Подсвойство описания. Краткое описание элемента, используемое для различения от других, схожих элементов. Для того чтобы описание было полезным для разрешения неоднозначности, может потребоваться информация из других свойств (в частности, name). |
identifier |
PropertyValue или Text или 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 или URL | An image of the item. This can be a URL or a fully described ImageObject. |
mainEntityOfPage |
CreativeWork или URL | Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details. Обратное свойство: mainEntity |
name |
Text | Название элемента. |
potentialAction |
Action | Указывает на потенциальное действие, описывающее идеализированное действие, в котором этот объект мог бы выполнять роль 'объекта'. |
sameAs |
URL | URL страницы для ссылки, однозначно указывающей на идентичность объекта. Например, URL страницы объекта на Википедии, записи в Wikidata или официального веб-сайта. |
subjectOf |
CreativeWork или Event | Свойство Schema.org - subjectOf: A CreativeWork or Event about this Thing. Обратное свойство: about |
url |
URL | URL объекта. |
Instances of
LocationFeatureSpecification may appear as a value for the following properties
Свойство | On Types | Описание |
---|---|---|
amenityFeature | Accommodation или FloorPlan или LodgingBusiness или Place | Дополнительная особенность (например, характеристика или услуга) жилья. Это универсальное свойство не делает заявление о том, включена ли особенность в предложение основного жилья или доступна за дополнительную плату. |
Acknowledgements
STI Accommodation Ontology
Examples
Example 1
Copied
Example notes or example HTML without markup.
This example is in microdata only.
Example encoded as Microdata embedded in HTML.
<div itemscope itemtype="https://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> Hotel Features: <ul> <li itemprop="amenityFeature" itemscope itemtype="https://schema.org/LocationFeatureSpecification"> <span itemprop="name">Sauna</span> <meta itemprop="value" content="True"> </li> <li itemprop="amenityFeature" itemscope itemtype="https://schema.org/LocationFeatureSpecification"> <span itemprop="name">Gym</span> <meta itemprop="value" content="True"> </li> </ul> </div>
Example 2
Copied
Example notes or example HTML without markup.
This example is in microdata only.
Example encoded as Microdata embedded in HTML.
<div itemscope itemtype="https://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> Hotel Features: <ul> <li itemprop="amenityFeature" itemscope itemtype="https://schema.org/LocationFeatureSpecification"> <span itemprop="name">Sauna</span> <meta itemprop="value" content="True"> <div itemprop="hoursAvailable" itemscope itemtype="https://schema.org/OpeningHoursSpecification"> <link itemprop="dayOfWeek" href="http://purl.org/goodrelations/v1#Thursday" />(Open Thursdays <time itemprop="opens" content="16:00:00"> 4:00 PM</time> - <time itemprop="closes" content="21:00:00"> 9:00 PM</time>) </div> </li> </ul> </div>