Skip to content

Commit 1285255

Browse files
committed
Add example that does not contain @context.
1 parent f2baa07 commit 1285255

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

index.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2747,6 +2747,26 @@ <h4>Context Injection</h4>
27472747
(`https://www.w3.org/ns/did/v1`).
27482748
</p>
27492749

2750+
<pre class="example nohighlight" title="A controller document without an @context entry">
2751+
{
2752+
"id": "https://controller.example/101",
2753+
"verificationMethod": [{
2754+
"id": "https://controller.example/101#key-203947",
2755+
"type": "JsonWebKey",
2756+
"controller": "https://controller.example/101",
2757+
"publicKeyJwk": {
2758+
"kid": "key-203947",
2759+
"kty": "EC",
2760+
"crv": "P-256",
2761+
"alg": "ES256",
2762+
"x": "f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU",
2763+
"y": "x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0"
2764+
}
2765+
}],
2766+
"authentication": ["#key-20240828"]
2767+
}
2768+
</pre>
2769+
27502770
<p>
27512771
Implementations that do not intend to use JSON-LD MAY choose to not include an
27522772
`@context` declaration at the top-level of the document. Whether or not the
@@ -2755,6 +2775,7 @@ <h4>Context Injection</h4>
27552775
processors=] are the same. Any differences in semantics between documents
27562776
processed in either mode are either implementation or specification bugs.
27572777
</p>
2778+
27582779
</section>
27592780
</section>
27602781

0 commit comments

Comments
 (0)