Skip to content

Commit 8b33f8e

Browse files
brentzundelmsporny
authored andcommitted
Add clarifying note to @context section about JSON-LD processing.
1 parent 4198592 commit 8b33f8e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

index.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,18 @@ <h3>Contexts</h3>
982982
the context.
983983
</dd>
984984
</dl>
985-
985+
<p class="note">
986+
Though this specification requires that a <code>@context</code> <a>property</a>
987+
be present, there is no requirement that the value of the <code>@context</code>
988+
property be processed using JSON-LD. This is to support processing using plain
989+
JSON libraries such as those that may be used when the
990+
<a>verifiable credential</a> is encoded as a JWT.
991+
JSON-LD aware processors can process the <code>@context</code> using full
992+
JSON-LD processing as expected. For other processors, the only processing
993+
necessary is to ensure that the order of the values in <code>@context</code>
994+
is what is expected for the particular application, but no JSON-LD processing
995+
of those values is required.
996+
</p>
986997
<pre class="example nohighlight" title="Usage of the @context property">
987998
{
988999
<span class="highlight">"@context": [

0 commit comments

Comments
 (0)