Skip to content

Commit

Permalink
Added new property 'accessRights' with domainIncludes 'CreativeWork' …
Browse files Browse the repository at this point in the history
…- issue: #2173
  • Loading branch information
Dataliberate committed Apr 10, 2019
1 parent c5cae9f commit 6e00309
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 0 deletions.
61 changes: 61 additions & 0 deletions data/ext/pending/issue-2173-examples.txt
Original file line number Diff line number Diff line change
@@ -0,0 1,61 @@
TYPES: #accessRights-1 accessRights

PRE-MARKUP:

<!-- Dataset with restricted access -->

MICRODATA:

<!-- Dataset with restricted access -->
<!-- JSON-LD example only -->

RDFA:

<!-- Dataset with restricted access -->
<!-- JSON-LD example only -->

JSON:

<!-- Dataset with restricted access -->
<script type="application/ld json">
{
"@context": "http://schema.org/",
"@type": "Dataset",
"@id": "https://doi.org/10.7910/DVN/0OLJLM",
"name": "Restricted Access WFHS Leef Manager Linking Data, Version 1.0",
"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."
}
</script>

TYPES: #accessRights-2 accessRights, ArchiveComponent

PRE-MARKUP:

<!-- ArchiveComponent with restricted access -->

MICRODATA:

<!-- ArchiveComponent with restricted access -->
<!-- JSON-LD example only -->

RDFA:

<!-- ArchiveComponent with restricted access -->
<!-- JSON-LD example only -->

JSON:
<!-- ArchiveComponent with restricted access -->
<script type="application/ld json">
{
"@context": "http://schema.org/",
"@type": ["CreativeWork","ArchiveComponent"]
"url": "https://purl.stanford.edu/bp158wj7223",
"name": "Margaret Mitchell letter to Herschel Bricknell, 1936 August 22",
"accessRights": "Online content is available for access via the Special Collections Reading Room.",
"holdingArchive": {
"@type": "ArchiveOrganization",
"name": "Stanford Digital Repository",
"url": "https://purl.stanford.edu/"
}
}</script>

16 changes: 16 additions & 0 deletions data/ext/pending/issue-2173.rdfa
Original file line number Diff line number Diff line change
@@ -0,0 1,16 @@
<div>

<div typeof="rdf:Property" resource="http://schema.org/accessRights">
<span class="h" property="rdfs:label">accessRights</span>
<span property="rdfs:comment">Information about conditions that affect the availability of, or method(s) of access to, the item. </span>

<span>domainIncludes: <a property="http://schema.org/domainIncludes" href="http://schema.org/CreativeWork">CreativeWork</a></span>
<span>RangeIncludes: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-2173</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/2173">#2173</a>

</div>

</div>

0 comments on commit 6e00309

Please sign in to comment.