Skip to content

Commit

Permalink
mainEntityOfPage range includes URL.
Browse files Browse the repository at this point in the history
This is important as it will allow a shorthand form in JSON-LD to be
supported by the definitions we publish in our JSON-LD context file.

"mainEntityOfPage": "",

vs

"mainEntityOfPage": { "@id": "" }

(we default to @id if a property expects URL as a value for rangeincludes)
  • Loading branch information
danbri committed May 6, 2015
1 parent 3388707 commit 9d1c502
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/schema.rdfa
Original file line number Diff line number Diff line change
Expand Up @@ -7197,6 +7197,7 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Thing">Thing</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/CreativeWork">CreativeWork</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/URL">URL</a></span>
<link property="http://schema.org/inverseOf" href="http://schema.org/mainEntity"/>
</div>

Expand Down

0 comments on commit 9d1c502

Please sign in to comment.