Skip to content

Commit

Permalink
feat: finalized CH credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
philpotisk committed Oct 16, 2023
1 parent cbd48bb commit 819686e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 59 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/vc-templates/BankId.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": [
"VerifiableCredential",
"BankId"
]
],
"credentialSubject": {
"accountId": "1234567890",
"IBAN": "DE99123456789012345678",
Expand Down
54 changes: 1 addition & 53 deletions src/main/resources/vc-templates/KycCredential.json
Original file line number Diff line number Diff line change
@@ -1,58 +1,6 @@
{
"@context": ["https://www.w3.org/2018/credentials/v1"],
"credentialSubject": {
"identificationprocess" : {
"agentname": "TROBOT",
"companyId": "1234",
"result": "SUCCESS_DATA_CHANGED",
"identificationTime": "2023-07-10T14:45:10+02:00",
"identificationId": "TST-ELXNG",
"transactionNumber": "1234",
"type": "APP"
},
"userData":{
"dateOfBirth": "1993-04-08",
"familyName": "DOE",
"firstName": "Jane"
},
"identificationdocument": {
"type" : "IDCARD",
"country" : "DE",
"validuntil" : "2031-08-01",
"number" : "L01X00T47",
"dateissued" : "2019-01-14"
},
"performedKycChecks": {
"type": "KYC",
"result": "SUCCESS",
"date": "2023-07-10T14:45:10+02:00",
"checks": [
{
"type": "PEP",
"result": "SUCCESS",
"date": "2023-07-10T14:45:10+02:00"
},
{
"type": "AML",
"result": "SUCCESS",
"date": "2023-07-10T14:45:10+02:00"
},
{
"type": "KYC",
"result": "SUCCESS",
"date": "2023-07-10T14:45:10+02:00"
}
]

},

"identificationId": "TST-ELXNG",
"identificationTime": "2023-07-10T14:45:10+02:00",
"transactionNumber": "123456",
"": "",
"": "",
"": "",

"currentAddress": "1 Boulevard de la Liberté, 59800 Lille",
"dateOfBirth": "1993-04-08",
"familyName": "DOE",
Expand All @@ -69,4 +17,4 @@
"validFrom": "2021-08-31T00:00:00Z",
"issuanceDate": "2021-08-31T00:00:00Z",
"type": ["VerifiableCredential", "VerifiableAttestation", "KycCredential"]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"type": [
"VerifiableCredential",
"VerifiableAttestation",
"VerifableId"
"VerifableId",
"MorgageEligibility"
],
"issuer": "did:ebsi:zhs8QaHif4mPqhEcn5Z8K9E",
"issuanceDate": "2022-11-10T19:19:47.287Z",
Expand All @@ -22,6 +23,6 @@
"totalIncome" : "",
"mortgageAmount" : "",
"additionalCollateral" : "",
"additionalCollateral" : ""
"postCodeProperty" : ""
}
}
9 changes: 6 additions & 3 deletions src/main/resources/vc-templates/PassportCh.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"type": [
"VerifiableCredential",
"VerifiableAttestation",
"VerifableId"
"VerifableId",
"PassportCh"
],
"issuer": "did:ebsi:zhs8QaHif4mPqhEcn5Z8K9E",
"issuanceDate": "2022-11-10T19:19:47.287Z",
Expand All @@ -21,10 +22,12 @@
"firstName": "Fidelis",
"emailAddress": "",
"dateOfBirth": "1930-10-01",
"placeOfBirth": "Ruemligen BL",
"height" : "183",
"gender" : "F",
"authortiy" : "Aarau AG",
"authority" : "Aarau AG",
"nationality" : "Schweiz",
"country" : "CHE"
"countryCode" : "CHE",
"passportPhoto": "data:image/png;base64,iVBORw0KGgo...kJggg=="
}
}

0 comments on commit 819686e

Please sign in to comment.