LocationFeatureSpecification
Канонический URL: http://schema.org/LocationFeatureSpecification
Specifies a location feature by providing a structured value representing a feature of an accommodation as a property-value pair of varying degrees of formality.
Свойство | Ожидаемый тип | Описание |
---|---|---|
Свойства от LocationFeatureSpecification | ||
hoursAvailable | OpeningHoursSpecification | The hours during which this service or contact is available. |
validFrom | DateTime | The date when the item becomes valid. |
validThrough | DateTime | The date after when the item is not valid. For example the end of an offer, salary period, or a period of opening hours. |
Свойства от PropertyValue | ||
maxValue | Number | The upper value of some characteristic or property. |
minValue | Number | The lower value of some characteristic or property. |
unitCode |
Text или URL |
The unit of measurement given using the UN/CEFACT Common Code (3 characters) or a URL. Other codes than the UN/CEFACT Common Code may be used with a prefix followed by a colon. |
value |
Number или Text или Boolean или StructuredValue |
The value of the quantitative value or property value node.\n\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\n* For [[PropertyValue]], it can be 'Text;', 'Number', 'Boolean', or 'StructuredValue'. |
valueReference |
Enumeration или StructuredValue или PropertyValue или QualitativeValue или QuantitativeValue |
A pointer to a secondary value that provides additional information on the original value, e.g. a reference temperature. |
unitText | Text | A string or text indicating the unit of measurement. Useful if you cannot provide a standard unit code for unitCode. |
propertyID |
Text или URL |
A commonly used identifier for the characteristic represented by the property, e.g. a manufacturer or a standard code for a property. propertyID can be (1) a prefixed string, mainly meant to be used with standards for product properties; (2) a site-specific, non-prefixed string (e.g. the primary key of the property or the vendor-specific id of the property), or (3) a URL indicating the type of the property, either pointing to an external vocabulary, or a Web resource that describes the property (e.g. a glossary entry). Standards bodies should promote a standard prefix for the identifiers of properties from their standards. |
Свойства от Thing | ||
additionalType | URL | Дополнительный тип для элемента, который обычно используется для добавления более конкретных типов от внешних словарей в синтаксис микроданных. Это отношения между чем-то и классом к которому он принадлежит. В синтаксисе RDFa, лучше использовать родной синтаксис RDF - аттрибут "TypeOf" для множественных типов. Инстументы Schema.org могут слабо понимать дополнительные типы, особенно те, которые определены извне. |
alternateName | Text | Любое альтернативное название медицинской сущности. |
description | Text | Короткое описание записи. |
image |
URL или ImageObject |
URL изображения записи. |
name | Text | Имя записи. |
sameAs | URL | Адрес веб-страницы, которая недвусмысленно указывает на идентичность элемента. Например, ссылка на страницу элемента на Википедии, Freebase страницу или на официальный сайт. |
url | URL | URL записи. |
potentialAction | Action | Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role. |
mainEntityOfPage |
CreativeWork или URL |
Указывает на страницу (или другую "CreativeWork"), для которой эта вещь является основной описываемой сущностью. Подробнее см. В [справочных материалах] (/docs/datamodel.html#mainEntityBackground). |
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 |
URL или Text или PropertyValue |
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](/docs/datamodel.html#identifierBg) for more details. |
Объекты класса LocationFeatureSpecification могут являтся значениями следующих свойств
Свойство | В типах | Описание |
---|---|---|
amenityFeature |
Accommodation или LodgingBusiness или Place |
An amenity feature (e.g. a characteristic or service) of the Accommodation. This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs. |
Примеры
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> Hotel Features: <ul> <li itemprop="amenityFeature" itemscope itemtype="http://schema.org/LocationFeatureSpecification"> <span itemprop="name">Sauna</span> <meta itemprop="value" content="True"> </li> <li itemprop="amenityFeature" itemscope itemtype="http://schema.org/LocationFeatureSpecification"> <span itemprop="name">Gym</span> <meta itemprop="value" content="True"> </li> </ul> </div>
This example is in microdata only.
This example is in microdata only.
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> Hotel Features: <ul> <li itemprop="amenityFeature" itemscope itemtype="http://schema.org/LocationFeatureSpecification"> <span itemprop="name">Sauna</span> <meta itemprop="value" content="True"> <div itemprop="hoursAvailable" itemtype="http://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>
This example is in microdata only.
This example is in microdata only.
Schema Version 3.3