Skip to content

Commit

Permalink
Fix namespace from /ns/controller/v1 -> /ns/cid/v1.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Dec 9, 2024
1 parent 42882f1 commit 75dd250
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
30 changes: 15 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ <h3>Data Model</h3>

<pre class="example" title="Controller Document using publicKeyMultibase and JSON-LD">
{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example",
"authentication": [{
"id": "https://controller.example#authn-key-123",
Expand Down Expand Up @@ -969,7 +969,7 @@ <h3>Controllers</h3>
<pre class="example nohighlight"
title="Controlled identifier document with a controller property">
{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller1.example/123",
"controller": "https://controllerB.example/abc",
}
Expand Down Expand Up @@ -1247,7 +1247,7 @@ <h2>Verification Methods</h2>
<pre class="example nohighlight"
title="Example verification method structure">
{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123456789abcdefghi",
<span class="comment">...</span>
"verificationMethod": [{
Expand Down Expand Up @@ -1336,7 +1336,7 @@ <h3>Verification Material</h3>
class="example nohighlight"
title="Verification methods using publicKeyJwk and publicKeyMultibase">
{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123456789abcdefghi",
<span class="comment">...</span>
"verificationMethod": [{
Expand Down Expand Up @@ -1398,7 +1398,7 @@ <h3>Multikey</h3>
<pre class="example nohighlight"
title="Multikey encoding of a Ed25519 public key">
{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123456789abcdefghi#keys-1",
"type": "Multikey",
"controller": "https://controller.example/123456789abcdefghi",
Expand Down Expand Up @@ -1766,7 +1766,7 @@ <h2>Authentication</h2>
<pre class="example nohighlight" title="Authentication property
containing three verification methods">
{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123456789abcdefghi",
<span class="comment">...</span>
"authentication": [
Expand Down Expand Up @@ -1848,7 +1848,7 @@ <h2>Assertion</h2>
<pre class="example nohighlight" title="Assertion method property
containing two verification methods">
{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123456789abcdefghi",
<span class="comment">...</span>
"assertionMethod": [
Expand Down Expand Up @@ -1899,7 +1899,7 @@ <h2>Key Agreement</h2>
<pre class="example nohighlight" title="Key agreement property
containing two verification methods">
{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123456789abcdefghi",
<span class="comment">...</span>
"keyAgreement": [
Expand Down Expand Up @@ -1972,7 +1972,7 @@ <h2>Capability Invocation</h2>
<pre class="example nohighlight" title="Capability invocation property
containing two verification methods">
{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123456789abcdefghi",
<span class="comment">...</span>
"capabilityInvocation": [
Expand Down Expand Up @@ -2030,7 +2030,7 @@ <h2>Capability Delegation</h2>
<pre class="example nohighlight" title="Capability Delegation property
containing two verification methods">
{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123456789abcdefghi",
<span class="comment">...</span>
"capabilityDelegation": [
Expand Down Expand Up @@ -2818,7 +2818,7 @@ <h3>JSON-LD context</h3>
<tbody>
<tr>
<td style="white-space: nowrap;">
<strong>URL:</strong> https://www.w3.org/ns/controller/v1<br>
<strong>URL:</strong> https://www.w3.org/ns/cid/v1<br>
<strong>SHA2-256 Digest:</strong><br> <code><span class="vc-hash"
data-hash-url="https://w3c.github.io/cid/context/v1.jsonld"
data-hash-format="openssl dgst -sha256" /></code>
Expand All @@ -2830,7 +2830,7 @@ <h3>JSON-LD context</h3>
<p>
It is possible to confirm the cryptographic digests listed above by running a
command like the following through a modern UNIX-like OS command line interface: `curl -sL -H
"Accept: application/ld+json" https://www.w3.org/ns/controller/v1 | openssl dgst -sha256`
"Accept: application/ld+json" https://www.w3.org/ns/cid/v1 | openssl dgst -sha256`
</p>

<p>
Expand Down Expand Up @@ -2861,7 +2861,7 @@ <h4>Context Injection</h4>
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
`https://www.w3.org/ns/cid/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>
Expand Down Expand Up @@ -3808,7 +3808,7 @@ <h2>Multikey Examples</h2>
<pre class="example nohighlight"
title="Multiple public keys encoded as Multikeys in a controlled identifier document">
{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123",
"verificationMethod": [{
"id": "https://multikey.example/issuer/123#key-1",
Expand Down Expand Up @@ -3914,7 +3914,7 @@ <h2>JsonWebKey Examples</h2>
<pre class="example nohighlight"
title="Multiple public keys encoded as JsonWebKey in a controlled identifier document">
{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123",
"verificationMethod": [{
"id": "https://jsonwebkey.example/issuer/123#key-1",
Expand Down
30 changes: 15 additions & 15 deletions transitions/2025/CR1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ <h1 id="title" class="title">Controlled Identifier Document 1.0</h1>
<div class="marker">
<a class="self-link" href="#example-controller-document-using-publickeymultibase-and-json-ld">Example<bdi> 2</bdi></a><span class="example-title">: Controller Document using publicKeyMultibase and JSON-LD</span>
</div> <pre aria-busy="false"><code class="hljs json"><span class="hljs-punctuation">{</span>
<span class="hljs-attr">"@context"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"https://www.w3.org/ns/controller/v1"</span><span class="hljs-punctuation">,</span>
<span class="hljs-attr">"@context"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"https://www.w3.org/ns/cid/v1"</span><span class="hljs-punctuation">,</span>
<span class="hljs-attr">"id"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"https://controller.example"</span><span class="hljs-punctuation">,</span>
<span class="hljs-attr">"authentication"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span><span class="hljs-punctuation">{</span>
<span class="hljs-attr">"id"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"https://controller.example#authn-key-123"</span><span class="hljs-punctuation">,</span>
Expand Down Expand Up @@ -1260,7 +1260,7 @@ <h1 id="title" class="title">Controlled Identifier Document 1.0</h1>
<div class="marker">
<a class="self-link" href="#example-controlled-identifier-document-with-a-controller-property">Example<bdi> 4</bdi></a><span class="example-title">: Controlled identifier document with a controller property</span>
</div> <pre class="nohighlight">{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller1.example/123",
"controller": "https://controllerB.example/abc",
}</pre>
Expand Down Expand Up @@ -1521,7 +1521,7 @@ <h1 id="title" class="title">Controlled Identifier Document 1.0</h1>
<div class="marker">
<a class="self-link" href="#example-example-verification-method-structure">Example<bdi> 6</bdi></a><span class="example-title">: Example verification method structure</span>
</div> <pre class="nohighlight">{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123456789abcdefghi",
<span class="comment">...</span>
"verificationMethod": [{
Expand Down Expand Up @@ -1608,7 +1608,7 @@ <h1 id="title" class="title">Controlled Identifier Document 1.0</h1>
<div class="marker">
<a class="self-link" href="#example-various-verification-method-types">Example<bdi> 7</bdi></a><span class="example-title">: Verification methods using publicKeyJwk and publicKeyMultibase</span>
</div> <pre class="nohighlight">{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123456789abcdefghi",
<span class="comment">...</span>
"verificationMethod": [{
Expand Down Expand Up @@ -1671,7 +1671,7 @@ <h1 id="title" class="title">Controlled Identifier Document 1.0</h1>
<div class="marker">
<a class="self-link" href="#example-multikey-encoding-of-a-ed25519-public-key">Example<bdi> 8</bdi></a><span class="example-title">: Multikey encoding of a Ed25519 public key</span>
</div> <pre class="nohighlight">{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123456789abcdefghi#keys-1",
"type": "Multikey",
"controller": "https://controller.example/123456789abcdefghi",
Expand Down Expand Up @@ -2038,7 +2038,7 @@ <h1 id="title" class="title">Controlled Identifier Document 1.0</h1>
<a class="self-link" href="#example-authentication-property-containing-three-verification-methods">Example<bdi> 12</bdi></a><span class="example-title">: Authentication property
containing three verification methods</span>
</div> <pre class="nohighlight">{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123456789abcdefghi",
<span class="comment">...</span>
"authentication": [
Expand Down Expand Up @@ -2116,7 +2116,7 @@ <h1 id="title" class="title">Controlled Identifier Document 1.0</h1>
<a class="self-link" href="#example-assertion-method-property-containing-two-verification-methods">Example<bdi> 13</bdi></a><span class="example-title">: Assertion method property
containing two verification methods</span>
</div> <pre class="nohighlight">{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123456789abcdefghi",
<span class="comment">...</span>
"assertionMethod": [
Expand Down Expand Up @@ -2169,7 +2169,7 @@ <h1 id="title" class="title">Controlled Identifier Document 1.0</h1>
<a class="self-link" href="#example-key-agreement-property-containing-two-verification-methods">Example<bdi> 14</bdi></a><span class="example-title">: Key agreement property
containing two verification methods</span>
</div> <pre class="nohighlight">{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123456789abcdefghi",
<span class="comment">...</span>
"keyAgreement": [
Expand Down Expand Up @@ -2244,7 +2244,7 @@ <h1 id="title" class="title">Controlled Identifier Document 1.0</h1>
<a class="self-link" href="#example-capability-invocation-property-containing-two-verification-methods">Example<bdi> 15</bdi></a><span class="example-title">: Capability invocation property
containing two verification methods</span>
</div> <pre class="nohighlight">{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123456789abcdefghi",
<span class="comment">...</span>
"capabilityInvocation": [
Expand Down Expand Up @@ -2304,7 +2304,7 @@ <h1 id="title" class="title">Controlled Identifier Document 1.0</h1>
<a class="self-link" href="#example-capability-delegation-property-containing-two-verification-methods">Example<bdi> 16</bdi></a><span class="example-title">: Capability Delegation property
containing two verification methods</span>
</div> <pre class="nohighlight">{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123456789abcdefghi",
<span class="comment">...</span>
"capabilityDelegation": [
Expand Down Expand Up @@ -3084,7 +3084,7 @@ <h1 id="title" class="title">Controlled Identifier Document 1.0</h1>
<tbody>
<tr>
<td style="white-space: nowrap;">
<strong>URL:</strong> https://www.w3.org/ns/controller/v1<br>
<strong>URL:</strong> https://www.w3.org/ns/cid/v1<br>
<strong>SHA2-256 Digest:</strong><br> <code><span class="vc-hash" data-hash-url="https://w3c.github.io/cid/context/v1.jsonld" data-hash-format="openssl dgst -sha256">ea216ecc1cb02cd39b693dba2250141e270ba0bf95890be107dd9a9e8e43de85</span></code>
</td>
</tr>
Expand All @@ -3094,7 +3094,7 @@ <h1 id="title" class="title">Controlled Identifier Document 1.0</h1>
<p>
It is possible to confirm the cryptographic digests listed above by running a
command like the following through a modern UNIX-like OS command line interface: <code>curl -sL -H
"Accept: application/ld+json" https://www.w3.org/ns/controller/v1 | openssl dgst -sha256</code>
"Accept: application/ld+json" https://www.w3.org/ns/cid/v1 | openssl dgst -sha256</code>
</p>

<p>
Expand Down Expand Up @@ -3125,7 +3125,7 @@ <h1 id="title" class="title">Controlled Identifier Document 1.0</h1>
property is not provided in the document or the terms used in the document are
not mapped by existing values in the <code>@context</code> property, implementations <em class="rfc2119">MUST</em>
inject or append an <code>@context</code> property with a value of
<code>https://www.w3.org/ns/controller/v1</code> or one or more contexts with at least the
<code>https://www.w3.org/ns/cid/v1</code> or one or more contexts with at least the
same declarations, such as the Decentralized Identifier v1.1 context
(<code>https://www.w3.org/ns/did/v1</code>).
</p>
Expand Down Expand Up @@ -4065,7 +4065,7 @@ <h1 id="title" class="title">Controlled Identifier Document 1.0</h1>
<div class="marker">
<a class="self-link" href="#example-multiple-public-keys-encoded-as-multikeys-in-a-controlled-identifier-document">Example<bdi> 28</bdi></a><span class="example-title">: Multiple public keys encoded as Multikeys in a controlled identifier document</span>
</div> <pre class="nohighlight">{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123",
"verificationMethod": [{
"id": "https://multikey.example/issuer/123#key-1",
Expand Down Expand Up @@ -4176,7 +4176,7 @@ <h1 id="title" class="title">Controlled Identifier Document 1.0</h1>
<div class="marker">
<a class="self-link" href="#example-multiple-public-keys-encoded-as-jsonwebkey-in-a-controlled-identifier-document">Example<bdi> 33</bdi></a><span class="example-title">: Multiple public keys encoded as JsonWebKey in a controlled identifier document</span>
</div> <pre class="nohighlight">{
"@context": "https://www.w3.org/ns/controller/v1",
"@context": "https://www.w3.org/ns/cid/v1",
"id": "https://controller.example/123",
"verificationMethod": [{
"id": "https://jsonwebkey.example/issuer/123#key-1",
Expand Down

0 comments on commit 75dd250

Please sign in to comment.