MediaSubscription - Микроразметка schema.su
Подписка, позволяющая пользователю получить доступ к медиа, включая аудио, видео, книги и т.д.
MediaSubscription - Тип Schema.org
Описание: Подписка, позволяющая пользователю получить доступ к медиа, включая аудио, видео, книги и т.д.
MediaSubscription - это тип микроразметки Schema.org, который представляет собой подписку, позволяющую пользователю получить доступ к различным форматам медиа, включая аудио, видео, книги и другие.
Для использования MediaSubscription на вашем сайте, укажите тип подписки, доступные медиа-файлы и правила ее использования. Это поможет поисковым системам лучше понимать контекст вашего контента и лучше отображать его в результатах поиска.
Свойство | Ожидаемый тип | Описание |
---|---|---|
Properties from MediaSubscription | ||
authenticator |
Organization | Организация, ответственная за аутентификацию подписки пользователя. Например, многие медиа-приложения требуют аутентификацию вашей подписки провайдера кабельного/спутникового телевидения перед воспроизведением медиа-контента. |
expectsAcceptanceOf |
Offer | Offer который должен быть принят перед тем как пользователь сможет выполнить Action. Например, пользователю может понадобиться купить фильм перед возможностью его просмотра. |
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
MediaSubscription may appear as a value for the following properties
Свойство | On Types | Описание |
---|---|---|
requiresSubscription | ActionAccessSpecification или MediaObject | Indicates if use of the media require a subscription (either paid or free). Allowed values are true or false (note that an earlier version had 'yes', 'no'). |
Source
https://github.com/schemaorg/schemaorg/issues/1741
Examples
Example 1
Copied
Example notes or example HTML without markup.
See JSON example.
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "MusicRecording", "potentialAction": { "@type": "ListenAction", "actionAccessibilityRequirement": { "@type": "ActionAccessSpecification", "availabilityStarts": "2017-01-01T00:00", "availabilityEnds": "2017-12-31T00:00", "eligibleRegion": { "@type": "Country", "sameAs": "https://www.wikidata.org/wiki/Q166433", "name": "US" }, "requiresSubscription": { "@type": "MediaSubscription", "name": "ACME streaming music monthly subscription", "authenticator": { "@type": "Organization", "name": "ACME Media" } }, "expectsAcceptanceOf": { "@type": "Offer", "itemOffered": { "@type": "MusicRecording", "name": "Song I want to stream that is only available for streaming after I buy it." } } } } } </script>
Structured representation of the JSON-LD example.