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 8f5048b commit 41ecdad
Showing 1 changed file with 9 additions and 28 deletions.
37 changes: 9 additions & 28 deletions tests/fixtures/license/2.0/credential.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,19 @@
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
{
"@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 41ecdad

Please sign in to comment.