Skip to content

Commit

Permalink
Fixed examples to match context files.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianorwhatever authored and msporny committed Oct 25, 2023
1 parent ede59e6 commit 5cc9675
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@ <h3>Example</h3>
"expiry_date": "2017-01-01"
}],
"un_distinguishing_sign": "USA",
"aka_suffix": "1ST",
"aamva_aka_suffix": "1ST",
"sex": 2,
"family_name_truncation": "N",
"given_name_truncation": "N"
"aamva_family_name_truncation": "N",
"aamva_given_name_truncation": "N"
}
}
}
Expand All @@ -210,7 +210,8 @@ <h3>Alternative Data Model Expression</h3>
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://w3id.org/vdl/v1"
"https://w3id.org/vdl/v1",
"https://w3id.org/security/suites/ed25519-2020/v1"
],
"type": [
"VerifiableCredential",
Expand All @@ -221,16 +222,16 @@ <h3>Alternative Data Model Expression</h3>
"expirationDate": "2022-08-27T12:00:00.0000000-06:00",
"credentialSubject": {
"id": "did:example:12347abcd",
"familyName": "TURNER",
"givenName": "SUSAN",
"portrait": "/9j/4AAQSkZJRgABAQEAkACQA...gcdgck5HtRRSClooooP/2Q==,
"birthDate": "1998-08-28",
"licenseDetails": {
"driversLicense": {
"type": "Iso18013DriversLicense",
"documentNumber": "542426814",
"issuingCountry": "US",
"issuingAuthority": "CO",
"drivingPrivileges": [
"portrait": "/9j/4AAQSkZJRgABAQEAkACQA...gcdgck5HtRRSClooooP/2Q==",
"document_number": "542426814",
"family_name": "TURNER",
"given_name": "SUSAN",
"birth_date": "1998-08-28",
"issuing_country": "US",
"issuing_authority": "CO",
"driving_privileges": [
{
"codes": [{"code": "D"}],
"vehicleCategoryCode": "D",
Expand All @@ -243,17 +244,15 @@ <h3>Alternative Data Model Expression</h3>
"issueDate": "2019-01-01",
"expiryDate": "2017-01-01"
}],
"unDistinguishingSign": "USA",
},
"un_distinguishing_sign": "USA"
}
},
"proof": {
"type": "Ed25519Signature2020",
"created": "2021-06-20T00:17:01Z",
"verificationMethod": "did:key:z6MkjxvA4FNrQUhr8f7xhdQuP1VPzErkcnfxsRaU5oFgy2E5
#z6MkjxvA4FNrQUhr8f7xhdQuP1VPzErkcnfxsRaU5oFgy2E5",
"verificationMethod": "did:key:z6MkjxvA4FNrQUhr8f7xhdQuP1VPzErkcnfxsRaU5oFgy2E5#z6MkjxvA4FNrQUhr8f7xhdQuP1VPzErkcnfxsRaU5oFgy2E5",
"proofPurpose": "assertionMethod",
"proofValue": "z4zKSH1WmuSQ8tcpSB6mtaSGhtzvMnBQSckqrpTDm3wQyNfHd6rctuST2
cyzaKSY135Kp6ZYMyFaiLvBUjJ89GP7V"
"proofValue": "z4zKSH1WmuSQ8tcpSB6mtaSGhtzvMnBQSckqrpTDm3wQyNfHd6rctuST2cyzaKSY135Kp6ZYMyFaiLvBUjJ89GP7V"
}
}
</pre>
Expand Down

0 comments on commit 5cc9675

Please sign in to comment.