Skip to content

Commit

Permalink
Reformat Context Injection section.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Oct 13, 2024
1 parent de03d6e commit 3342340
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2512,27 +2512,27 @@ <h3>JSON-LD context</h3>
</p>

<section>
<h4>Context injection</h4>
<h4>Context Injection</h4>
<p>
The `@context` property is used to ensure that implementations are using the
same semantics when terms in this specification are processed. For example, this
can be important when properties like `authentication` are processed and its
value, such as `Multikey` or `JsonWebKey`, are used.
The `@context` property is used to ensure that implementations are using the
same semantics when terms in this specification are processed. For example, this
can be important when properties like `authentication` are processed and its
value, such as `Multikey` or `JsonWebKey`, are used.
</p>

<p>
When an application is processing a [=controller document=], if an `@context`
property is not provided in the document or the terms used in the document are
not mapped by existing values in the `@context` property, implementations MUST inject
or append an `@context` property with a value of
`https://www.w3.org/ns/controller/v1` or one or more contexts with at least the
same declarations, such as the Decentralized Identifier v1.1 context
(`https://www.w3.org/ns/did/v1`).
When an application is processing a [=controller document=], if an `@context`
property is not provided in the document or the terms used in the document are
not mapped by existing values in the `@context` property, implementations MUST
inject or append an `@context` property with a value of
`https://www.w3.org/ns/controller/v1` or one or more contexts with at least the
same declarations, such as the Decentralized Identifier v1.1 context
(`https://www.w3.org/ns/did/v1`).
</p>

<p>
Implementations that do not intend to use JSON-LD MAY choose to not include an
`@context` declaration at the top-level of the document.
Implementations that do not intend to use JSON-LD MAY choose to not include an
`@context` declaration at the top-level of the document.
</p>
</section>
</section>
Expand Down

0 comments on commit 3342340

Please sign in to comment.