PID
{
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"id": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
"type": [
"VerifiableCredential",
"PID"
],
"issuer": {
"id": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
"name": "Australian Government"
},
"issuanceDate": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
"expirationDate": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
"credentialSubject": {
"id": "THIS WILL BE REPLACED WITH DYNAMIC DATA FUNCTION",
"family_name": "Doe",
"given_name": "John",
"birth_date": "1990-01-15",
"age_over_18": true,
"age_over_21": true,
"nationality": "AU",
"issuing_authority": "Australian Government",
"issuing_country": "AU",
"document_number": "PID123456789"
}
}
Manifest
{
"claims": {
"Family Name": "$.credentialSubject.family_name",
"Given Name": "$.credentialSubject.given_name",
"Birth Date": "$.credentialSubject.birth_date",
"Age Over 18": "$.credentialSubject.age_over_18",
"Age Over 21": "$.credentialSubject.age_over_21",
"Nationality": "$.credentialSubject.nationality",
"Issuing Authority": "$.credentialSubject.issuing_authority",
"Issuing Country": "$.credentialSubject.issuing_country",
"Document Number": "$.credentialSubject.document_number"
}
}
Mapping example
{
"id": "<uuid>",
"issuer": {
"id": "<issuerDid>"
},
"credentialSubject": {
"id": "<subjectDid>"
},
"issuanceDate": "<timestamp>",
"expirationDate": "<timestamp-in:365d>"
}
