Skip to content

Instantly share code, notes, and snippets.

@priyankt68
Created November 19, 2024 12:04
Show Gist options
  • Select an option

  • Save priyankt68/9bcb4cffdeae8e82096cb4849f24ebdc to your computer and use it in GitHub Desktop.

Select an option

Save priyankt68/9bcb4cffdeae8e82096cb4849f24ebdc to your computer and use it in GitHub Desktop.
0073AC0A5A0B - change to AAAA - [email protected]
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
{
"credentialSchema": {
"@id": "https://www.w3.org/2018/credentials#credentialSchema",
"@type": "@id"
},
"email": {
"@id": "schema-id:email",
"@type": "https://schema.org/Text"
},
"name": {
"@id": "schema-id:studentName",
"@type": "https://schema.org/Text"
},
"fullName": {
"@id": "schema-id:fullName",
"@type": "https://schema.org/Text"
},
"recipientName": {
"@id": "schema-id:recipientName",
"@type": "https://schema.org/Text"
},
"courseName": {
"@id": "schema-id:courseName",
"@type": "https://schema.org/Text"
},
"instituteName": {
"@id": "schema-id:instituteName",
"@type": "https://schema.org/Text"
},
"instituteLogo": {
"@id": "schema-id:instituteLogo",
"@type": "https://schema.org/Text"
},
"dateOfCompletion": {
"@id": "schema-id:dateOfCompletion",
"@type": "https://schema.org/Text"
},
"scoreAchieved": {
"@id": "schema-id:score",
"@type": "https://schema.org/Text"
}
}
],
"type": [
"VerifiableCredential"
],
"issuanceDate": "2024-11-19T12:01:44.520Z",
"holder": {
"id": "did:web:did.credissuer.com:e340d6bf-a901-426b-8c48-1bdf06547c6a"
},
"id": "did:web:did.credissuer.com:c6ad096f-9ba7-48c2-98d3-b41a85c70a48",
"credentialSubject": {
"id": "did:web:did.credissuer.com:e340d6bf-a901-426b-8c48-1bdf06547c6a",
"email": "[email protected]",
"recipientName": "John Doe",
"name": "Priyank T",
"fullName": "Priyank Trivedi",
"courseName": "Executive Program in MBA",
"instituteName": "University of California",
"instituteLogo": "",
"dateOfCompletion": "12 Nov 2024",
"scoreAchieved": "490/500"
},
"issuer": "did:key:zQ3sheZGT2rqZ58hFsUfjCMrB96Kkd4cGk4Zu6j5EaL6MXzid",
"proof": {
"type": "EcdsaSecp256k1Signature2019",
"created": "2024-11-19T12:01:44Z",
"verificationMethod": "did:key:zQ3sheZGT2rqZ58hFsUfjCMrB96Kkd4cGk4Zu6j5EaL6MXzid#zQ3sheZGT2rqZ58hFsUfjCMrB96Kkd4cGk4Zu6j5EaL6MXzid",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFUzI1NksiLCJiNjQiOmZhbHNlLCJjcml0IjpbImI2NCJdfQ..C4POUTsumI69KA6eMMjvjkDZE4gBj2EDry8SAh3yM8ZoxVYjuZwx7-OWolJmCeOkBUn5ZY3pB0Np9GX3ZkZf5w"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment