Микроразметка EntryPoint на schema.su
EntryPoint - важный элемент в веб-протоколе.
EntryPoint - Тип Schema.org
Описание: Точка входа, используемая в некотором веб-протоколе.
EntryPoint - это точка входа в некоторый веб-протокол. Он используется для указания начала действия или коммуникации в рамках веб-сервисов. Чтобы микроразметка ваших веб-страниц была более информативной и понятной для поисковых систем, рекомендуется явно указывать элементы, связанные с EntryPoint.
Свойство | Ожидаемый тип | Описание |
---|---|---|
Properties from EntryPoint | ||
actionApplication |
SoftwareApplication | Приложение, которое может выполнить запрос. Supersedes application. |
actionPlatform |
DigitalPlatformEnumeration или Text или URL | Высокоуровневая платформа(ы), где можно выполнить действие для данного URL. Чтобы указать конкретное приложение или экземпляр операционной системы, используйте actionApplication. |
contentType |
Text | Поддерживаемые типы контента для ответа EntryPoint. |
encodingType |
Text | Поддерживаемый тип(ы) кодировки для запроса входной точки. |
httpMethod |
Text | HTTP метод, который определяет подходящий HTTP метод для запроса к HTTP точке входа. Значения записываются заглавными буквами, как используется в HTTP. |
urlTemplate |
Text | URL шаблон (RFC6570), который будет использоваться для формирования цели выполнения действия. |
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
EntryPoint may appear as a value for the following properties
Свойство | On Types | Описание |
---|---|---|
target | Action | Индицирует целевую точку входа (EntryPoint) или URL для действия. |
Acknowledgements
Hydra project
Examples
Example 1
Copied
Example notes or example HTML without markup.
A Restaurant named "Tartine Bakery" with a ViewAction as a potentialAction, with several target endpoints including the simple url http://example.com/player?id=123 and full EntryPoint descriptions for Windows and iOS SoftwareApplication apps.
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Restaurant", "name": "Tartine Bakery", "potentialAction": { "@type": "ViewAction", "target": [ "http://www.urbanspoon.com/r/6/92204", { "@type": "EntryPoint", "urlTemplate": "http://api.urbanspoon.com/r/6/92204", "contentType": "application/json+ld" }, "android-app://com.urbanspoon/http/www.urbanspoon.com/r/6/92204", { "@type": "EntryPoint", "urlTemplate": "urbanspoon://r/6/92204", "actionApplication": { "@type": "SoftwareApplication", "@id": "284708449", "name": "Urbanspoon iPhone & iPad App", "operatingSystem": "iOS" } }, { "@type": "EntryPoint", "urlTemplate": "urbanspoon://r/6/92204", "actionApplication": { "@type": "SoftwareApplication", "@id": "5b23b738-bb64-4829-9296-5bcb59bb0d2d", "name": "Windows Phone App", "operatingSystem": "Windows Phone 8" } } ] } } </script>
Structured representation of the JSON-LD example.