Skip to content

Commit 2e073dd

Browse files
committed
Merge pull request #3 from vholland/sdo-itemlist
Moved ItemList out of CreativeWork and extended the domain for CreativeW...
2 parents de0779a + e3dc6c6 commit 2e073dd

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

data/schema.rdfa

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,7 @@
13961396
<div typeof="rdfs:Class" resource="http://schema.org/ItemList">
13971397
<span class="h" property="rdfs:label">ItemList</span>
13981398
<span property="rdfs:comment">A list of items of any sort&amp;#x2014;for example, Top 10 Movies About Weathermen, or Top 100 Party Songs. Not to be confused with HTML lists, which are often used only for formatting.</span>
1399-
<span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/CreativeWork">CreativeWork</a></span>
1399+
<span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/Intangible">Intangible</a></span>
14001400
</div>
14011401

14021402
<div typeof="rdfs:Class" resource="http://schema.org/ItemPage">
@@ -4355,7 +4355,8 @@
43554355
<div typeof="rdf:Property" resource="http://schema.org/about">
43564356
<span class="h" property="rdfs:label">about</span>
43574357
<span property="rdfs:comment">The subject matter of the content.</span>
4358-
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/CreativeWork">CreativeWork</a></span>
4358+
 <span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/CreativeWork">CreativeWork</a></span>
4359+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/ItemList">ItemList</a></span>
43594360
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/CommunicateAction">CommunicateAction</a></span>
43604361
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Thing">Thing</a></span>
43614362
</div>
@@ -4819,6 +4820,7 @@
48194820
<span class="h" property="rdfs:label">author</span>
48204821
<span property="rdfs:comment">The author of this content. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.</span>
48214822
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/CreativeWork">CreativeWork</a></span>
4823+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/ItemList">ItemList</a></span>
48224824
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Organization">Organization</a></span>
48234825
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Person">Person</a></span>
48244826
</div>
@@ -5508,6 +5510,7 @@
55085510
<span class="h" property="rdfs:label">datePublished</span>
55095511
<span property="rdfs:comment">Date of first broadcast/publication.</span>
55105512
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/CreativeWork">CreativeWork</a></span>
5513+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/ItemList">ItemList</a></span>
55115514
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Date">Date</a></span>
55125515
</div>
55135516
<div typeof="rdf:Property" resource="http://schema.org/dayOfWeek">

data/sdo-itemlist-schema.rdfa

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<span property="rdfs:comment">The position of the item in an ordered list (1 = first, 2 = second, ...).</span>
4343
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/ListItem">ListItem</a></span>
4444
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Number">Number</a></span>
45+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>
4546
</div>
4647

4748
<div typeof="rdf:Property" resource="http://schema.org/item">
@@ -65,4 +66,12 @@
6566
<span>Domain: <a property="http://schema.org/rangeIncludes" href="http://schema.org/ListItem">ListItem</a></span>
6667
</div>
6768

68-
</div>
69+
<div typeof="rdf:Property" resource="http://schema.org/positionBasis">
70+
<span class="h" property="rdfs:label">positionBasis</span>
71+
<span property="rdfs:comment">A score or metric used to determine the item's position in the list.</span>
72+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/ListItem">ListItem</a></span>
73+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Number">Number</a></span>
74+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>
75+
</div>
76+
77+
</div>

0 commit comments

Comments
 (0)