ActionAccessSpecification
Набор требований, которые необходимо выполнить для выполнения действия.
ActionAccessSpecification - Тип Schema.org
Описание: Набор требований, которые необходимо выполнить для выполнения действия.
Микроразметка ActionAccessSpecification используется для установления требований, которые должны быть выполнены для выполнения определенного действия.
Этот тип может быть полезен для указания на необходимые условия или критерии, которые должны быть соблюдены при выполнении какого-либо действия на веб-ресурсе.
Свойство | Ожидаемый тип | Описание |
---|---|---|
Properties from ActionAccessSpecification | ||
availabilityEnds |
Date или DateTime или Time | Микроразметка availabilityEnds определяет конец доступности продукта или услуги, включенных в предложение. |
availabilityStarts |
Date или DateTime или Time | Начало доступности продукта или услуги, включенных в предложение. |
category |
CategoryCode или PhysicalActivityCategory или Text или Thing или URL | Категория для элемента. Большие знаки больше или косые черты могут использоваться неформально для обозначения иерархии категорий. |
eligibleRegion |
GeoShape или Place или Text | The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is valid.See also ineligibleRegion. |
expectsAcceptanceOf |
Offer | Offer который должен быть принят перед тем как пользователь сможет выполнить Action. Например, пользователю может понадобиться купить фильм перед возможностью его просмотра. |
ineligibleRegion |
GeoShape или Place или Text | The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is not valid, e.g. a region where the transaction is not allowed.See also eligibleRegion. |
requiresSubscription |
Boolean или MediaSubscription | 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'). |
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
ActionAccessSpecification may appear as a value for the following properties
Свойство | On Types | Описание |
---|---|---|
actionAccessibilityRequirement | ConsumeAction | Набор требований, которые необходимо выполнить для выполнения действия. Если указано более одного значения, выполнение одного набора требований позволит выполнить действие. |
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.