Skip to content

Instantly share code, notes, and snippets.

@tejash-jl
Created September 21, 2022 09:25
Show Gist options
  • Save tejash-jl/320a75173212bc35eca1050b898d3e82 to your computer and use it in GitHub Desktop.
Save tejash-jl/320a75173212bc35eca1050b898d3e82 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": "Asirwada Pradipta",
"dob": "2015-08-04",
"gender": "Male",
"phone": "",
"account_number": "1233211",
"bank_name": "slcb",
"disability_level": "0",
"program": "flood_relief_aug_2022",
"eligibility": {
"isEligible": "false"
}
},
"issuer": "did:web:openg2p",
"proof": {
"type": "RsaSignature2018",
"created": "2022-09-21T09:25:14Z",
"verificationMethod": "did:india",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJQUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..POtxruZb3Ru0_b0tjs8RU7UwFbDoUd8-XsxVQqsvJ-U0gAAtuK2U4pM6A4ZskyyNYtDLHz5MNgzIUM3i1MIiZ9x4GyfzadxPf6pYYwzUP7-HJfODK6h9vYSPlep0zvPlbg1x-mP_NOqAdM4P-c065CTWJ3BvDXowRgB-7Ft0g_AnYrUyTcsMsmF9NMwArTzoDpA40PQoAg8wQu1KEKc5Hsg-2bG6Rc-V90uJcMDHrj6Y3BxlAGs99zog0REIVuWto0sLfBVze3Lc-yHY9ycGh86tDQ850YD0npfEHRAa68Ng5gTxo-kEkXh6JAFGtK99lzjPMtIlEGpSw0AUN1tF5g"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment