Skip to content

Commit

Permalink
Added Vaccination Certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
philpotisk committed Oct 25, 2023
1 parent 2dce2ea commit cf471ed
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/content/PassportCh.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"issuer": {
"id": "did:key:z6MkrHKzgsahxBLyNAbLQyB1pcWNYC9GmywiWPgkrvntAZcj",
"image": {
"id": "https://vc-repo.walt-test.cloud/logo.png",
"id": "https://img.freepik.com/premium-photo/swiss-flag-switzerland_469558-1774.jpg",
"type": "Image"
},
"name": "CH Authority",
"type": "Profile",
"url": "https://vc-repo.walt-test.cloud/logo.png"
"url": "https://img.freepik.com/premium-photo/swiss-flag-switzerland_469558-1774.jpg"
},
"issuanceDate": "2022-11-10T19:19:47.287Z",
"validFrom": "2022-11-10T19:19:47.287Z",
Expand Down
83 changes: 83 additions & 0 deletions src/content/VaccinationCertificate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# VaccinationCertificate

```json
{
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"credentialSchema": {
"id": "https://raw.githubusercontent.com/walt-id/waltid-ssikit-vclib/master/src/test/resources/schemas/VerifiableVaccinationCertificate.json",
"type": "JsonSchemaValidator2018"
},
"credentialStatus": {
"id": "https://essif.europa.eu/status/covidvaccination#392ac7f6-399a-437b-a268-4691ead8f176",
"type": "CredentialStatusList2020"
},
"credentialSubject": {
"dateOfBirth": "1993-04-08",
"familyName": "DOE",
"givenNames": "Jane",
"id": "asdf",
"personIdentifier": "optional The type of identifier and identifier of the person, according to the policies applicable in each country. Examples are citizen ID and/or document number (ID- card/passport) or identifier within the health system/IIS/e-registry.",
"personSex": "optional",
"uniqueCertificateIdentifier": "UVCI0904008084H",
"vaccinationProphylaxisInformation": [
{
"administeringCentre": "Name/code of administering centre or a health authority responsible for the vaccination event",
"batchNumber": "optional 1234",
"countryOfVaccination": "DE",
"dateOfVaccination": "2021-02-12",
"diseaseOrAgentTargeted": {
"code": "840539006",
"system": "2.16.840.1.113883. 6.96",
"version": "2021-01-31"
},
"doseNumber": "1",
"marketingAuthorizationHolder": "Example Vaccine Manufacturing Company",
"nextVaccinationDate": "optional - 2021-03-28",
"totalSeriesOfDoses": "2",
"vaccineMedicinalProduct": "VACCINE concentrate for dispersion for injection",
"vaccineOrProphylaxis": "1119349007 COVID-19 example vaccine"
}
]
},
"evidence": {
"documentPresence": [
"Physical"
],
"evidenceDocument": [
"Passport"
],
"id": "https://essif.europa.eu/tsr-va/evidence/f2aeec97-fc0d-42bf-8ca7-0548192d5678",
"subjectPresence": "Physical",
"type": [
"DocumentVerification"
],
"verifier": "did:ebsi:2962fb784df61baa267c8132497539f8c674b37c1244a7a"
},
"expirationDate": "2022-08-31T00:00:00Z",
"id": "covidvaccination#392ac7f6-399a-437b-a268-4691ead8f176",
"issued": "2021-08-31T00:00:00Z",
"issuer": "qwer",
"validFrom": "2021-08-31T00:00:00Z",
"issuanceDate": "2021-08-31T00:00:00Z",
"type": [
"VerifiableCredential",
"VerifiableAttestation",
"VaccinationCertificate"
]
}
```

## Mapping example

```json
{
"id": "<uuid>",
"issuer": "<issuerDid>",
"credentialSubject": {
"id": "<subjectDid>"
},
"issuanceDate": "<timestamp>"
}
```
4 changes: 1 addition & 3 deletions src/content/VerifiableId.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@
```json
{
"id": "<uuid>",
"issuer": {
"id": "<issuerDid>"
},
"issuer": "<issuerDid>",
"credentialSubject": {
"id": "<subjectDid>"
},
Expand Down

0 comments on commit cf471ed

Please sign in to comment.