Skip to content

Instantly share code, notes, and snippets.

@dpjanes
Created May 18, 2021 15:50
Show Gist options
  • Save dpjanes/0da3a9a30c9366ea7d6323b0f3801a22 to your computer and use it in GitHub Desktop.
Save dpjanes/0da3a9a30c9366ea7d6323b0f3801a22 to your computer and use it in GitHub Desktop.
GHP Proof of COVID test - small
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://w3id.org/pathogen/v1",
"https://w3id.org/security/bbs/v1"
],
"id": "http://example.org/credentials/",
"type": [
"VerifiableCredential"
],
"issuanceDate": "2021-02-04T20:29:37Z",
"expirationDate": "2021-02-05T20:29:37Z",
"issuer": "did:example:123",
"credentialSubject": {
"type": "DGCProofOfCovidTest",
"testInformation": {
"type": "DGCTestInformation",
"testType": "loinc#LP217198-3",
"testResult": "POS",
"testCenter": "Hospital Na Františku Prague",
"testValidatorId": "test-id",
"countryOfTestAdminstration": "it"
},
"personalInformation": {
"type": "DGCSubject",
"familyName": "Schmidt",
"givenName": "Abdiel",
"birthDate": "1987-07-07",
"gender": "F"
}
},
"proof": {
"type": "BbsBlsSignature2020",
"created": "2021-05-16T14:46:22Z",
"proofPurpose": "assertionMethod",
"proofValue": "inDe7e2WQkeib6mVQJujqnvAyrAuLkuNKeDodRAhGm+aViRpJFhpPmnazremP9SvVWTX3rE374S9TEeeNShsI6rpoe6RNwVSUDixVsYvny5LRTnB+EIR1FC5s+TSI7/cFtPWj4QNmahPjLrepmIcSQ==",
"verificationMethod": "did:example:123#key-1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment