Skip to content

Commit

Permalink
Added "expirationDate" mapping to credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkar-jain committed Sep 13, 2024
1 parent 2502e0a commit 7cdb6e2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/content/1.credentials/AlpsTourReservation.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"credentialSubject": {
"id": "<subjectDid>"
},
"issuanceDate": "<timestamp>"
"issuanceDate": "<timestamp>",
"expirationDate": "<timestamp-in:365d>"
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ This specification describes an experimental vocabulary for expressing a Verifia
"credentialSubject": {
"id": "<subjectDid>"
},
"issuanceDate": "<timestamp>"
"issuanceDate": "<timestamp>",
"expirationDate": "<timestamp-in:365d>"
}
```
3 changes: 2 additions & 1 deletion src/content/1.credentials/MortgageEligibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"credentialSubject": {
"id": "<subjectDid>"
},
"issuanceDate": "<timestamp>"
"issuanceDate": "<timestamp>",
"expirationDate": "<timestamp-in:365d>"
}
```
3 changes: 2 additions & 1 deletion src/content/1.credentials/PassportCh.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"credentialSubject": {
"id": "<subjectDid>"
},
"issuanceDate": "<timestamp>"
"issuanceDate": "<timestamp>",
"expirationDate": "<timestamp-in:365d>"
}
```
3 changes: 2 additions & 1 deletion src/content/1.credentials/VaccinationCertificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"credentialSubject": {
"id": "<subjectDid>"
},
"issuanceDate": "<timestamp>"
"issuanceDate": "<timestamp>",
"expirationDate": "<timestamp-in:365d>"
}
```

0 comments on commit 7cdb6e2

Please sign in to comment.