ConstraintNode - Тип микроразметки Schema.org
Узнайте о типе микроразметки ConstraintNode на schema.su
Тип ConstraintNode предназначен для поддержки случаев использования, когда узел в графе структурированных данных описывается свойствами, которые кажутся описывать одну сущность, но используются в ситуации, когда они обслуживают более абстрактную цель. ConstraintNode может быть описан с использованием constraintProperty и numConstraints. Эти свойства ограничения могут служить различным целям, и их значения иногда могут пониматься как наборы возможных значений, а не одиночные, точные и конкретные значения.
Рекомендуется тщательно понимать контекст использования микроразметки типа ConstraintNode и правильно определять значение свойств ограничения для достижения оптимальных результатов в поисковой выдаче.
Свойство | Ожидаемый тип | Описание |
---|---|---|
Properties from ConstraintNode | ||
constraintProperty |
Property или URL | Indicates a property used as a constraint. For example, in the definition of a StatisticalVariable. The value is a property, either from within Schema.org or from other compatible (e.g. RDF) systems such as DataCommons.org or Wikidata.org. |
numConstraints |
Integer | Indicates the number of constraints property values defined for a particular ConstraintNode such as StatisticalVariable. This helps applications understand if they have access to a sufficiently complete description of a StatisticalVariable or other construct that is defined using properties on template-style nodes. |
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 объекта. |
More specific Types
Source
https://github.com/schemaorg/schemaorg/issues/2564