⚠️ Важно: данный сайт не имеет отношения к владельцам schema.org, это всего лишь любительский (неофициальный) перевод. Сайт сделан для тех кто плохо воспринимает технический английский. Оригинальную и актуальную информацию на английском языке вы можете найти тут: schema.org/WatchAction.

WatchAction - Микроразметка schema.su

На странице WatchAction на сайте schema.su вы узнаете о типе схемы Schema.org для действия просмотра видео контента.

WatchAction - Тип Schema.org
Описание: Акт потребления динамичного/движущегося визуального контента.

WatchAction - это тип схемы Schema.org, предназначенный для описания действия потребления динамичного/анимационного визуального контента. Этот тип может использоваться для пометки видео контента, телепередач, стриминговых сервисов и других видов медиа, которые требуют активного просмотра.

Для корректного использования микроразметки WatchAction на вашем сайте рекомендуется указывать свойства, такие как объект видео, длительность просмотра, место просмотра и любую другую дополнительную информацию, которая может быть полезной для пользователей и поисковых систем.

СвойствоОжидаемый типОписание
Properties from ConsumeAction
actionAccessibilityRequirement ActionAccessSpecification Набор требований, которые необходимо выполнить для выполнения действия. Если указано более одного значения, выполнение одного набора требований позволит выполнить действие.
expectsAcceptanceOf Offer Offer который должен быть принят перед тем как пользователь сможет выполнить Action. Например, пользователю может понадобиться купить фильм перед возможностью его просмотра.
Properties from Action
actionStatus ActionStatusType Показывает текущее состояние Действия.
agent Organization или Person The direct performer or driver of the action (animate or inanimate). E.g. John wrote a book.
endTime DateTime или Time The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to December. For media, including audio and video, it's the time offset of the end of a clip within a larger file.Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.
error Thing Для неудачных действий, больше информации о причине сбоя.
instrument Thing The object that helped the agent perform the action. E.g. John wrote a book with a pen.
location Place или PostalAddress или Text или VirtualLocation Местоположение, например, где происходит событие, где находится организация или где происходит действие.
object Thing The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). E.g. John read a book.
participant Organization или Person Other co-agents that participated in the action indirectly. E.g. John wrote a book with Steve.
provider Organization или Person Поставщик услуг, оператор услуг или исполнитель; производитель товаров. Другая сторона (продавец) может предлагать эти услуги или товары от имени поставщика. Поставщик также может выступать в роли продавца. Supersedes carrier.
result Thing The result produced in the action. E.g. John wrote a book.
startTime DateTime или Time The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to December. For media, including audio and video, it's the time offset of the start of a clip within a larger file.Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.
target EntryPoint или URL Индицирует целевую точку входа (EntryPoint) или URL для действия.
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 объекта.

Examples

Example 1
Copied
Example notes or example HTML without markup.
John watched Friends.
Example encoded as JSON-LD in a HTML script tag.
<!-- John watched Friends. -->
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "WatchAction",
  "agent": {
    "@type": "Person",
    "name": "John"
  },
  "object": {
    "@type": "TVEpisode",
    "name": "Friends!"
  }
}
</script>
Structured representation of the JSON-LD example.
Example 2
Copied
Example notes or example HTML without markup.
John watched The Big Bang Theory
Example encoded as JSON-LD in a HTML script tag.
<!-- John watched The Big Bang Theory -->
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "WatchAction",
  "agent": {
    "@type": "Person",
    "name": "John"
  },
  "object": {
    "@type": "TVSeries",
    "name": "The Big Bang Theory"
  }
}
</script>
Structured representation of the JSON-LD example.
Example 3
Copied
Example notes or example HTML without markup.
John watched The Internship
Example encoded as JSON-LD in a HTML script tag.
<!-- John watched The Internship -->
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "WatchAction",
  "agent": {
    "@type": "Person",
    "name": "John"
  },
  "object": {
    "@type": "Movie",
    "name": "The Internship"
  }
}
</script>
Structured representation of the JSON-LD example.
Example 4
Copied
Example notes or example HTML without markup.
John watched The Bolshoi Ballet group in Russia.
Example encoded as JSON-LD in a HTML script tag.
<!-- John watched The Bolshoi Ballet group in Russia.-->
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "WatchAction",
  "agent": {
    "@type": "Person",
    "name": "John"
  },
  "object": {
    "@type": "PerformingGroup",
    "name": "Bolshoi"
  },
  "location": {
    "@type": "PerformingArtsTheater",
    "name": "Chuvash State Opera and Ballet Theater"
  }
}
</script>
Structured representation of the JSON-LD example.
Example 5
Copied
Example notes or example HTML without markup.
<!-- A Movie named "Footloose" with a WatchAction as a
potentialAction, with a target of http://example.com/player?id=123. -->

<div>
  <a href="http://example.com/player?id=123">Watch <cite>Footloose</cite></a>
</div>
Example encoded as Microdata embedded in HTML.
<div itemscope itemtype="https://schema.org/Movie">
  <meta itemprop="name" content="Footloose">
  <div itemprop="potentialAction" itemscope itemtype="https://schema.org/WatchAction">
    <a itemprop="target" href="http://example.com/player?id=123">Watch <cite>Footloose</cite></a>
  </div>
</div>
Example encoded as RDFa embedded in HTML.
<div vocab="https://schema.org/" typeof="Movie">
  <meta property="name" content="Footloose">
  <div property="potentialAction" typeof="WatchAction">
    <a property="target" href="http://example.com/player?id=123">Watch <cite>Footloose</cite></a>
  </div>
</div>
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Movie",
  "name": "Footloose",
  "potentialAction" : {
    "@type": "WatchAction",
    "target" : "http://example.com/player?id=123"
  }
}
</script>
Structured representation of the JSON-LD example.

Обсуждение "WatchAction"