Skip to content
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

Refactor core data model section #67

Merged
merged 10 commits into from
Aug 8, 2017
Prev Previous commit
Next Next commit
Fix verifiable profile example.
  • Loading branch information
msporny committed Aug 8, 2017
commit c0cd7b51fdb314a0c045f85f66b2af61e50ce727
34 changes: 29 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -937,11 +937,35 @@ <h2>Expressing a Verifiable Profile in JSON</h2>

<pre class="example" title="A simple verifiable profile">{
"id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
"type": ["Entity", "Person"],
"name": "Alice Bobman",
"email": "alice@example.com",
"birthDate": "1985-12-14",
"telephone": "12345678910"
"credential": [{
"id": "http://dmv.example.gov/credentials/3732",
"type": ["Credential", "ProofOfAgeCredential"],
"issuer": "https://dmv.example.gov/issuers/14",
"issued": "2010-01-01T19:73:24Z",
"claim": {
"id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
"ageOver": 21
},
"signature": {
"type": "LinkedDataSignature2017",
"created": "2017-06-17T10:03:48Z",
"creator": "https://dmv.example.gov/issuers/14/keys/234",
"nonce": "d61c4599-0cc2-4479-9efc-c63add3a43b2",
"signatureValue": "pYw8XNi1bgVg/sCneO4BavEll0/I1zJugez8RwDg/+
ibcC1wpsMCRVpjOboDoe4SxxKjkCOvKiCHGDvc4krqi6Z1n0UfqzxGfmatCuF
zvueMWmFPRdW+gGsutPTLhwYmfIFpbBu95t501+rSLHIEuujM/+PXr+W3JT24
9Cky6Ed="
}],
"signature": [{
"type": "LinkedDataSignature2017",
"created": "2017-06-18T21:19:10Z",
"creator": "did:example:ebfeb1f712ebc6f1c276e12ec21/keys/2",
"nonce": "c0ae1c8e-c7e7-469f-b252-86e6a0e7387e",
"signatureValue": "BavEll0/I1zpYw8XNi1bgVg/sCneO4Jugez8RwDg/+
MCRVpjOboDoe4SxxKjkCOvKiCHGDvc4krqi6Z1n0UfqzxGfmatCuFibcC1wps
PRdW+gGsutPTLzvueMWmFhwYmfIFpbBu95t501+rSLHIEuujM/+PXr9Cky6Ed
+W3JT24="
}]
}</pre>
</section>

Expand Down