Skip to content

Commit 7627e7b

Browse files
vickitardifdanbri
authored andcommitted
Issue #1741: Added MediaSubscription and ActionAccessSpecification (#1773)
* Issue 1741: Added MediaSubscription and ActionAccessSpecification. * Issue #1741: Updated the release notes.
1 parent a323fc0 commit 7627e7b

File tree

3 files changed

+146
-2
lines changed

3 files changed

+146
-2
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
TYPES: ActionAccessSpecification,MediaSubscription,ListenAction
2+
3+
PRE-MARKUP:
4+
5+
See JSON example.
6+
7+
MICRODATA:
8+
9+
TODO
10+
11+
RDFA:
12+
13+
TODO
14+
15+
JSON:
16+
17+
<script type="application/ld+json">
18+
{
19+
"@context": "http://schema.org/",
20+
"@type": "MusicRecording",
21+
"potentialAction": {
22+
"@type": "ListenAction",
23+
"actionAccessibilityRequirement": {
24+
"@type": "ActionAccessSpecification",
25+
"availabilityStarts": "2017-01-01T00:00",
26+
"availabilityEnds": "2017-12-31T00:00",
27+
"eligibleRegion": {
28+
"@type": "Country",
29+
"sameAs": "https://www.wikidata.org/wiki/Q166433",
30+
"name": "US"
31+
},
32+
"requiresSubscription": {
33+
"@type": "MediaSubscription",
34+
"name": "ACME streaming music monthly subscription",
35+
"authenticator": {
36+
"@type": "Organization",
37+
"name": "ACME Media"
38+
}
39+
},
40+
"expectsAcceptanceOf": {
41+
"@type": "Offer",
42+
"itemOffered": {
43+
"@type": "MusicRecording",
44+
"name": "Song I want to stream that is only available for streaming after I buy it."
45+
}
46+
}
47+
}
48+
}
49+
}
50+
</script>
51+

data/ext/pending/issue-1741.rdfa

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
<div>
2+
<!-- MediaSubscription and ActionAccessSpecification, issue 1741 -->
3+
4+
<div typeof="rdfs:Class" resource="http://schema.org/MediaSubscription">
5+
<span class="h" property="rdfs:label">MediaSubscription</span>
6+
<span property="rdfs:comment">A subscription which allows a user to access media including audio, video, books, etc.</span>
7+
<span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/Intangible">Intangible</a></span>
8+
9+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
10+
<span property="schema:category">issue-1741</span>
11+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1741"></a>
12+
</div>
13+
<div typeof="rdf:Property" resource="http://schema.org/authenticator">
14+
<span class="h" property="rdfs:label">authenticator</span>
15+
<span property="rdfs:comment">The Organization responsible for authenticating the user's subscription. For example, many media apps require a cable/satellite provider to authenticate your subscription before playing media.</span>
16+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/MediaSubscription">MediaSubscription</a></span>
17+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Organization">Organization</a></span>
18+
19+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
20+
<span property="schema:category">issue-1741</span>
21+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1741"></a>
22+
</div>
23+
24+
<div typeof="rdfs:Class" resource="http://schema.org/ActionAccessSpecification">
25+
<span class="h" property="rdfs:label">ActionAccessSpecification</span>
26+
<span property="rdfs:comment">A set of requirements that a must be fulfilled in order to perform an Action.</span>
27+
<span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/Intangible">Intangible</a></span>
28+
29+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
30+
<span property="schema:category">issue-1741</span>
31+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1741"></a>
32+
</div>
33+
<div typeof="rdf:Property" resource="http://schema.org/availabilityStarts">
34+
<span class="h" property="rdfs:label">availabilityStarts</span>
35+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/ActionAccessSpecification">ActionAccessSpecification</a></span>
36+
37+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
38+
<span property="schema:category">issue-1741</span>
39+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1741"></a>
40+
</div>
41+
<div typeof="rdf:Property" resource="http://schema.org/availabilityEnds">
42+
<span class="h" property="rdfs:label">availabilityEnds</span>
43+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/ActionAccessSpecification">ActionAccessSpecification</a></span>
44+
45+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
46+
<span property="schema:category">issue-1741</span>
47+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1741"></a>
48+
</div>
49+
<div typeof="rdf:Property" resource="http://schema.org/category">
50+
<span class="h" property="rdfs:label">category</span>
51+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/ActionAccessSpecification">ActionAccessSpecification</a></span>
52+
53+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
54+
<span property="schema:category">issue-1741</span>
55+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1741"></a>
56+
</div>
57+
<div typeof="rdf:Property" resource="http://schema.org/eligibleRegion">
58+
<span class="h" property="rdfs:label">eligibleRegion</span>
59+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/ActionAccessSpecification">ActionAccessSpecification</a></span>
60+
61+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
62+
<span property="schema:category">issue-1741</span>
63+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1741"></a>
64+
</div>
65+
<div typeof="rdf:Property" resource="http://schema.org/expectsAcceptanceOf">
66+
<span class="h" property="rdfs:label">expectsAcceptanceOf</span>
67+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/ActionAccessSpecification">ActionAccessSpecification</a></span>
68+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/MediaSubscription">MediaSubscription</a></span>
69+
70+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
71+
<span property="schema:category">issue-1741</span>
72+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1741"></a>
73+
</div>
74+
<div typeof="rdf:Property" resource="http://schema.org/requiresSubscription">
75+
<span class="h" property="rdfs:label">requiresSubscription</span>
76+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/ActionAccessSpecification">ActionAccessSpecification</a></span>
77+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/MediaSubscription">MediaSubscription</a></span>
78+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
79+
<span property="schema:category">issue-1741</span>
80+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1741"></a>
81+
</div>
82+
<div typeof="rdf:Property" resource="http://schema.org/actionAccessibilityRequirement">
83+
<span class="h" property="rdfs:label">actionAccessibilityRequirement</span>
84+
<span property="rdfs:comment">A set of requirements that a must be fulfilled in order to perform an Action. If more than one value is specied, fulfilling one set of requirements will allow the Action to be performed.</span>
85+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/ConsumeAction">ConsumeAction</a></span>
86+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/ActionAccessSpecification">ActionAccessSpecification</a></span>
87+
88+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
89+
<span property="schema:category">issue-1741</span>
90+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1741"></a>
91+
</div>
92+
93+
</div>

docs/releases.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ <h3>Additions to <a href="http://pending.schema.org/">Pending</a> section</h3>
166166
<li id="g1689"><a href="https://github.com/schemaorg/schemaorg/issues/1689">Issue #1689</a>: Add <a href="/EmployerAggregateRating">EmployerAggregateRating</a> as a subtype of <a href="/AggregateRating">AggregateRating</a> to differentiate ratings for the entity as an employer and the <a href="/reviewAspect">reviewAspect</a> property to <a href="/Review">Review</a> and <a href="/Rating">Rating</a> to allow authors to specify the facet or relevant part of being reviewed.
167167
</li>
168168
<li id="g1698"><a href="https://github.com/schemaorg/schemaorg/issues/1698">Issue #1698</a>: Add a <a href="/Occupation">Occupation</a> type with the supporting properties, many of which existed for <a href="JobPosting">JobPosting</a>. A <a href="/Person">Person's</a> occupation can be specified with <a href="hasOccupation">hasOccupation</a>. The Occupation's <a href="/estimatedSalary">estimatedSalary</a> is expressed as a <a href="/MonetaryAmountDistribution">MonetaryAmountDistribution</a>, a subtype of the new <a href="/QuantitativeValueDistribution">QuantitativeValueDistribution</a> type.
169-
170169
</li>
171-
170+
<li id="g1741"><a href="https://github.com/schemaorg/schemaorg/issues/1741">Issue #1741</a>: Add a <a href="/MediaSubscription">MediaSubscription</a> type with the supporting properties to describe a subscription for viewing media. Also added <a href="ActionAccessSpecification">ActionAccessSpecification</a> to allow authors to specify when a ConsumeAction requires a subscription or a purchase.
171+
</li>
172172
<!-- <li id="g@@@@"><a href=""></a></li> -->
173173
</ul>
174174

0 commit comments

Comments
 (0)