Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add @Version to context definitions in examples using 1.1 features.
  • Loading branch information
gkellogg committed Nov 26, 2017
commit 68fb31295aabcf69ee76d3a88548bc7b15e3ca21
14 changes: 13 additions & 1 deletion spec/latest/json-ld/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,7 @@ <h2>Compact IRIs</h2>
<!--
{
"@context": {
****"@version": 1.1****,
"xsd": "http://www.w3.org/2001/XMLSchema#",
****"foaf": "http://xmlns.com/foaf/0.1/"****,
****"foaf:homepage"****: { "@type": "@id" },
Expand Down Expand Up @@ -2157,6 +2158,7 @@ <h2>Scoped Contexts</h2>
<!--
{
"@context": {
****"@version": 1.1****,
"name": "http://schema.org/name",
"interest": {
"@id": "http://xmlns.com/foaf/0.1/interest",
Expand Down Expand Up @@ -2199,7 +2201,9 @@ <h2>Scoped Contexts</h2>
title="Using @reverse to define reverse properties">
<!--
{
"@context": { "name": "http://example.com/vocab#name",
"@context": {
****"@version": 1.1****,
"name": "http://example.com/vocab#name",
****"children": { "@reverse": "http://example.com/vocab#parent" }****
},
"@id": "#homer",
Expand All @@ -2224,6 +2228,7 @@ <h2>Scoped Contexts</h2>
<!--
{
"@context": {
****"@version": 1.1****,
"name": "http://schema.org/name",
"interest": "http://xmlns.com/foaf/0.1/interest",
****"Document"****: {
Expand Down Expand Up @@ -2624,6 +2629,7 @@ <h2>Data Indexing</h2>
<!--
{
"@context": {
****"@version": 1.1****,
"schema": "http://schema.org/",
"name": "schema:name",
"body": "schema:articleBody",
Expand Down Expand Up @@ -2734,6 +2740,7 @@ <h2>Node Identifier Indexing</h2>
<!--
{
"@context": {
****"@version": 1.1****,
"schema": "http://schema.org/",
"name": "schema:name",
"body": "schema:articleBody",
Expand Down Expand Up @@ -2779,6 +2786,7 @@ <h2>Node Identifier Indexing</h2>
<!--
{
"@context": {
****"@version": 1.1****,
"schema": "http://schema.org/",
"name": "schema:name",
"body": "schema:articleBody",
Expand Down Expand Up @@ -2826,6 +2834,7 @@ <h2>Node Type Indexing</h2>
<!--
{
"@context": {
****"@version": 1.1****,
"schema": "http://schema.org/",
"name": "schema:name",
"affiliation": {
Expand Down Expand Up @@ -2863,6 +2872,7 @@ <h2>Node Type Indexing</h2>
<!--
{
"@context": {
****"@version": 1.1****,
"schema": "http://schema.org/",
"name": "schema:name",
"affiliation": {
Expand Down Expand Up @@ -2901,6 +2911,7 @@ <h2>Nested Properties</h2>
<!--
{
"@context": {
****"@version": 1.1****,
"skos": "http://www.w3.org/2004/02/skos/core#",
****"labels": "@nest"****,
"main_label": {"@id": "skos:prefLabel"},
Expand Down Expand Up @@ -2951,6 +2962,7 @@ <h2>Nested Properties</h2>
<!--
{
"@context": {
****"@version": 1.1****,
"skos": "http://www.w3.org/2004/02/skos/core#",
****"labels": "@nest"****,
"main_label": {"@id": "skos:prefLabel", ****"@nest": "labels"****},
Expand Down