Skip to content

Commit 71dd561

Browse files
committed
Update common files for JSON Literals.
For w3c/json-ld-syntax#4.
1 parent 53a8fc5 commit 71dd561

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

common/jsonld.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ const jsonld = {
1515
authors: ['Domenic Denicola'],
1616
status: 'unofficial',
1717
date: 'January 2014'
18+
},
19+
"JCS": {
20+
title: "JSON Canonicalization Scheme (JCS)",
21+
href: 'https://tools.ietf.org/html/draft-rundgren-json-canonicalization-scheme-05#page-6',
22+
authors: ['A. Rundgren', 'B. Jordan', 'S. Erdtman'],
23+
publisher: 'Network Working Group',
24+
status: 'Internet-Draft',
25+
date: 'February 16, 2019'
1826
}
1927
},
2028
conversions: {

common/terms.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,12 @@
335335
the value MUST be a <a>node object</a>, or <a>array</a> of node objects.
336336
If the value contains a <a>term</a> expanding to <code>@type</code>,
337337
it's values are merged with the map value when expanding.</dd>
338+
<dt><dfn>JSON literal</dfn></dt><dd>
339+
A <a>JSON literal</a> is a <a>typed literal</a> where the associated <a>IRI</a> is <code>jsonld:JSON</code>.
340+
In the <a>value object</a> representation, the value of <code>@type</code> is <code>@json</code>.
341+
JSON literals represent values which are valid [[JSON]].
342+
See <dfn data-cite="JSON-LD11#dfn-json-datatype" class="preserve">JSON datatype</dfn> in [[JSON-LD11]].
343+
</dd>
338344
<dt><dfn>typed literal</dfn></dt><dd>
339345
A <a>typed literal</a> is a <a>literal</a> with an associated <a>IRI</a>
340346
which indicates the literal's datatype.

0 commit comments

Comments
 (0)