Skip to content

Commit 6e00309

Browse files
committed
Added new property 'accessRights' with domainIncludes 'CreativeWork' - issue: #2173
1 parent c5cae9f commit 6e00309

File tree

2 files changed

+77
-0
lines changed

2 files changed

+77
-0
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
TYPES: #accessRights-1 accessRights
2+
3+
PRE-MARKUP:
4+
5+
<!-- Dataset with restricted access -->
6+
7+
MICRODATA:
8+
9+
<!-- Dataset with restricted access -->
10+
<!-- JSON-LD example only -->
11+
12+
RDFA:
13+
14+
<!-- Dataset with restricted access -->
15+
<!-- JSON-LD example only -->
16+
17+
JSON:
18+
19+
<!-- Dataset with restricted access -->
20+
<script type="application/ld+json">
21+
{
22+
"@context": "http://schema.org/",
23+
"@type": "Dataset",
24+
"@id": "https://doi.org/10.7910/DVN/0OLJLM",
25+
"name": "Restricted Access WFHS Leef Manager Linking Data, Version 1.0",
26+
"accessRights": "Access to this dataset can be obtained by visiting the Work, Family & Health Network web page and following the instructions: http://projects.iq.harvard.edu/wfhn/restricted-access-data."
27+
}
28+
</script>
29+
30+
TYPES: #accessRights-2 accessRights, ArchiveComponent
31+
32+
PRE-MARKUP:
33+
34+
<!-- ArchiveComponent with restricted access -->
35+
36+
MICRODATA:
37+
38+
<!-- ArchiveComponent with restricted access -->
39+
<!-- JSON-LD example only -->
40+
41+
RDFA:
42+
43+
<!-- ArchiveComponent with restricted access -->
44+
<!-- JSON-LD example only -->
45+
46+
JSON:
47+
<!-- ArchiveComponent with restricted access -->
48+
<script type="application/ld+json">
49+
{
50+
"@context": "http://schema.org/",
51+
"@type": ["CreativeWork","ArchiveComponent"]
52+
"url": "https://purl.stanford.edu/bp158wj7223",
53+
"name": "Margaret Mitchell letter to Herschel Bricknell, 1936 August 22",
54+
"accessRights": "Online content is available for access via the Special Collections Reading Room.",
55+
"holdingArchive": {
56+
"@type": "ArchiveOrganization",
57+
"name": "Stanford Digital Repository",
58+
"url": "https://purl.stanford.edu/"
59+
}
60+
}</script>
61+

data/ext/pending/issue-2173.rdfa

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<div>
2+
3+
<div typeof="rdf:Property" resource="http://schema.org/accessRights">
4+
<span class="h" property="rdfs:label">accessRights</span>
5+
<span property="rdfs:comment">Information about conditions that affect the availability of, or method(s) of access to, the item. </span>
6+
7+
<span>domainIncludes: <a property="http://schema.org/domainIncludes" href="http://schema.org/CreativeWork">CreativeWork</a></span>
8+
<span>RangeIncludes: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>
9+
10+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
11+
<span property="schema:category">issue-2173</span>
12+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/2173">#2173</a>
13+
14+
</div>
15+
16+
</div>

0 commit comments

Comments
 (0)