Skip to content

added clarifying note to @context section #535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 10, 2019
Merged
Changes from all commits
Commits
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
13 changes: 12 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,18 @@ <h3>Contexts</h3>
the context.
</dd>
</dl>

<p class="note">
Though this specification requires that a <code>@context</code> <a>property</a>
be present, there is no requirement that the value of the <code>@context</code>
property be processed using JSON-LD. This is to support processing using plain
JSON libraries such as those that may be used when the
<a>verifiable credential</a> is encoded as a JWT.
JSON-LD aware processors can process the <code>@context</code> using full
JSON-LD processing as expected. For other processors, the only processing
necessary is to ensure that the order of the values in <code>@context</code>
is what is expected for the particular application, but no JSON-LD processing
of those values is required.
</p>
<pre class="example nohighlight" title="Usage of the @context property">
{
<span class="highlight">"@context": [
Expand Down