Skip to content

Instantly share code, notes, and snippets.

@tejash-jl
Last active September 21, 2022 09:26
Show Gist options
  • Save tejash-jl/4945195c11076cecc85120ec64fe28aa to your computer and use it in GitHub Desktop.
Save tejash-jl/4945195c11076cecc85120ec64fe28aa to your computer and use it in GitHub Desktop.
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
{
"@context": {
"@version": 1.1,
"@protected": true,
"Beneficiary": {
"@id": "https://github.com/sunbird-specs/vc-specs#Beneficiary",
"@context": {
"id": "@id",
"@version": 1.1,
"@protected": true,
"name": "schema:Text",
"dob": "schema:Text",
"gender": "schema:Text",
"phone": "schema:Text",
"account_number": "schema:Text",
"bank_name": "schema:Text",
"disability_level": "schema:Text",
"program": "schema:Text"
}
},
"eligibility": {
"@id": "https://github.com/sunbird-specs/vc-specs#eligibility",
"@context": {
"id": "@id",
"@version": 1.1,
"@protected": true,
"isEligible": "schema:Text"
}
}
}
}
],
"type": [
"VerifiableCredential"
],
"issuanceDate": "2021-08-27T10:57:57.237Z",
"credentialSubject": {
"type": "Beneficiary",
"name": "Ade Hastuti",
"dob": "2022-08-01",
"gender": "Female",
"phone": "+62-12-571-0072",
"account_number": "229899429",
"bank_name": "slcb",
"disability_level": "58",
"program": "flood_relief_aug_2022",
"eligibility": {
"isEligible": "false"
}
},
"issuer": "did:web:openg2p",
"proof": {
"type": "RsaSignature2018",
"created": "2022-09-21T09:26:15Z",
"verificationMethod": "did:india",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJQUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..Zt_X1gWUz3LEEmCAqYd48420Cw5xFehNRNefjzTe_tOcZ9kHcmCd9hmrIsUQIJ7P6cjyh51JbfVVM9L5Pn1Ce0cCaEWA2Kv6t7DUHdlr_iPPWOc-UVbiuBO6DZv-6q7hcexOv6ssiaf-4STdLD0vRE60jaAKlJEkqqw4HxYKXnvtVZuLbj0ykyz4W-erdPB70vtPNKn0laZJlGpWuKeJBvbsXl5mBcg3GhEdun4QsyuiW-Xb9ka3fS1LuktnL6N1SaeGul3tpmpdLMMQyazgs0uN9Z2Ifq32_QZW7d56JVFSbdDBH48l1v4OR6_xA55FNqkyQkG1rb8W5LJspYzv6A"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment