Skip to content

Commit ce54135

Browse files
committed
correction and CorrectionComment pending terms, for #1950
1 parent c161f45 commit ce54135

File tree

2 files changed

+78
-0
lines changed

2 files changed

+78
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
TYPES: CorrectionComment, correction
2+
3+
PRE-MARKUP:
4+
5+
An example showing a CorrectionComment associated with an article.
6+
7+
MICRODATA:
8+
9+
TODO
10+
11+
RDFA:
12+
13+
TODO
14+
15+
16+
JSON:
17+
18+
<script type="application/ld+json">
19+
{
20+
"@context": "http://schema.org",
21+
"@type": "ReportageNewsArticle",
22+
"url": "https://www.nytimes.com/2018/01/23/movies/oscars-snubs-surprises.html",
23+
"publisher":"...",
24+
"datePublished":"...",
25+
"dateModified":"...",
26+
"Headline":"...",
27+
"mainEntityOfPage": "https://www.nytimes.com/2018/01/23/movies/oscars-snubs-surprises.html",
28+
"correction": {
29+
"@type": "CorrectionComment",
30+
"text": "An earlier version of this article misstated the number of times Denzel Washington has been nominated for an Oscar. His nod for 'Roman J. Israel, Esq.' brings the total to nine, not eight.",
31+
"datePublished": "2018-01-23",
32+
"correctedWork": "https://www.nytimes.com/2018/01/23/movies/oscars-snubs-surprises.html"
33+
}
34+
}
35+
</script>

data/ext/pending/issue-1950.rdfa

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<div>
2+
3+
<!-- cc @TheTrustProject @subbuvincent -->
4+
5+
<div typeof="http://schema.org/Organization" resource="https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#TP">
6+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
7+
<span property="rdfs:label">The Trust Project</span>
8+
<span property="rdfs:comment">This term and its definition is based upon the work of [The Trust Project](http://thetrustproject.org/).</span>
9+
</div>
10+
11+
12+
13+
<div typeof="rdf:Property" resource="http://schema.org/correction">
14+
<span class="h" property="rdfs:label">correction</span>
15+
<span property="rdfs:comment">Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.</span>
16+
17+
<span property="schema:category">issue-1688</span><a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1950">#1950</a>
18+
19+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/CreativeWork">CreativeWork</a></span>
20+
21+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/CorrectionComment">CorrectionComment</a></span>
22+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>
23+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/URL">URL</a></span>
24+
25+
<span property="schema:category">issue-1950</span>
26+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1950">#1950</a>
27+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
28+
<span>Source: <a property="dc:source" href="https://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#TP">trustproject</a></span>
29+
</div>
30+
31+
32+
<div typeof="rdfs:Class" resource="http://schema.org/CorrectionComment">
33+
<span class="h" property="rdfs:label">CorrectionComment</span>
34+
<span property="rdfs:comment">A [[comment]] that corrects [[CreativeWork]].</span>
35+
<span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/Comment">Comment</a></span>
36+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
37+
<span>Category: <span property="schema:category">issue-1950</span></span>
38+
<span>Source: <a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1950">#1950</a></span>
39+
</div>
40+
41+
<!-- see also https://github.com/schemaorg/schemaorg/issues/1601 and 1525 and 1688 -->
42+
43+
</div>

0 commit comments

Comments
 (0)