Skip to content

Commit

Permalink
Proposal for extensibility for non-standard data
Browse files Browse the repository at this point in the history
See discussion here #36
  • Loading branch information
kimdhamilton authored Mar 17, 2021
1 parent ce3751b commit 08d5b43
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,16 @@ <h3>Connection</h3>
<h3>Meta Data</h3>

<p>Information about wallet data.</p>

<p>
Implementors may use Meta Data to reference non-standard data formats, stored locally or externally. The following recommendations apply:

<ul>
<li>Implementors MAY define custom types for their non-standard data formats</li>
<li>Implementors SHOULD register their custom types if they want other wallets to support them</li>
<li>Implementors MAY use hashlinks to reference external (non-local) data with content integrity checks</li>
</ul>
</p>

<div class="issue" data-number="6">
Mostly an EDV integration question...Should authorization be
Expand Down Expand Up @@ -1031,6 +1041,24 @@ <h3>Meta Data</h3>
}
</pre
>

<p>
Here is an example of using Meta Data to reference non-standard data:
</p>
<pre>
{
"@context": ["https://w3id.org/wallet/v1"],
"id": "urn:uuid:1d52bc38-c336-455a-8227-2c1e635df2d7",
"type": "CustomData",
"name": "Quantum Computing 101",
"image": "https://via.placeholder.com/150",
"description" : "Certificate of completion from an online quantum computing course",
"tags": ["professional", "education"],
"correlation": ["urn:uuid:d36fd219-bccd-4ebd-a84a-65ed5751ddd2"],
"hashlink": "hl:zm9YZpCjPLPJ4Epc"
}
</pre>

</section>

<section>
Expand Down

0 comments on commit 08d5b43

Please sign in to comment.