Skip to content

Commit

Permalink
Update credential.json
Browse files Browse the repository at this point in the history
  • Loading branch information
PatStLouis authored Dec 2, 2024
1 parent 41ecdad commit 5758a4c
Showing 1 changed file with 9 additions and 27 deletions.
36 changes: 9 additions & 27 deletions tests/fixtures/license/1.1/credential.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,19 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
{
"@protected": true,
"DriverLicenseCredential": "urn:example:DriverLicenseCredential",
"DriverLicense": {
"@id": "urn:example:DriverLicense",
"@context": {
"@protected": true,
"id": "@id",
"type": "@type",
"documentIdentifier": "urn:example:documentIdentifier",
"dateOfBirth": "urn:example:dateOfBirth",
"expirationDate": "urn:example:expiration",
"issuingAuthority": "urn:example:issuingAuthority"
}
},
"driverLicense": {
"@id": "urn:example:driverLicense",
"@type": "@id"
}
}
"https://w3id.org/vdl/v2"
],
"id": "urn:uuid:36245ee9-9074-4b05-a777-febff2e69757",
"type": ["VerifiableCredential", "DriverLicenseCredential"],
"type": ["VerifiableCredential", "Iso18013DriversLicenseCredential"],
"credentialSubject": {
"id": "urn:uuid:1a0e4ef5-091f-4060-842e-18e519ab9440",
"driverLicense": {
"type": "DriverLicense",
"documentIdentifier": "T21387yc328c7y32h23f23",
"dateOfBirth": "01-01-1990",
"expirationDate": "01-01-2030",
"issuingAuthority": "VA"
"type": "LicensedDriver",
"driversLicense": {
"type": "Iso18013DriversLicense",
"document_number": "T21387yc328c7y32h23f23",
"birth_date": "01-01-1990",
"expiry_date": "01-01-2030",
"issuing_authority": "VA"
}
}
}

0 comments on commit 5758a4c

Please sign in to comment.