ListItem
Канонический URL: http://schema.org/ListItem
An list item, e.g. a step in a checklist or how-to description.
Свойство | Ожидаемый тип | Описание |
---|---|---|
Свойства от ListItem | ||
position |
Text или Integer |
The position of an item in a series or sequence of items. |
item | Thing | An entity represented by an entry in a list or data feed (e.g. an 'artist' in a list of 'artists')’. |
previousItem | ListItem | A link to the ListItem that preceeds the current one. |
nextItem | ListItem | A link to the ListItem that follows the current one. |
Свойства от 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. |
Более конкретные типы
Объекты класса ListItem могут являтся значениями следующих свойств
Свойство | В типах | Описание |
---|---|---|
itemListElement | ItemList | For itemListElement values, you can use simple strings (e.g. "Peter", "Paul", "Mary"), existing entities, or use ListItem.\n\nText values are best if the elements in the list are plain strings. Existing entities are best for a simple, unordered list of existing things in your data. ListItem is used with ordered lists when you want to provide additional context about the element in that list or when the same item might be in different places in different lists.\n\nNote: The order of elements in your mark-up is not sufficient for indicating the order or elements. Use ListItem with a 'position' property in such cases. |
previousItem | ListItem | A link to the ListItem that preceeds the current one. |
nextItem | ListItem | A link to the ListItem that follows the current one. |
Примеры
<ol> <li> <a href="https://example.com/dresses">Dresses</a> </li> <li> <a href="https://example.com/dresses/real">Real Dresses</a> </li> </ol>
<ol itemscope itemtype="http://schema.org/BreadcrumbList"> <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <a itemprop="item" href="https://example.com/dresses"> <span itemprop="name">Dresses</span></a> <meta itemprop="position" content="1" /> </li> <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <a itemprop="item" href="https://example.com/dresses/real"> <span itemprop="name">Real Dresses</span></a> <meta itemprop="position" content="2" /> </li> </ol>
<ol vocab="http://schema.org/" typeof="BreadcrumbList"> <li property="itemListElement" typeof="ListItem"> <a property="item" typeof="WebPage" href="https://example.com/dresses"> <span property="name">Dresses</span></a> <meta property="position" content="1"> </li> <li property="itemListElement" typeof="ListItem"> <a property="item" typeof="WebPage" href="https://example.com/dresses/real"> <span property="name">Real Dresses</span></a> <meta property="position" content="2"> </li> </ol>
<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": 1, "item": { "@id": "https://example.com/dresses", "name": "Dresses" } }, { "@type": "ListItem", "position": 2, "item": { "@id": "https://example.com/dresses/real", "name": "Real Dresses" } } ] } </script>
Schema Version 3.3