Skip to content

Instantly share code, notes, and snippets.

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

  • Save priyankt68/2369b49dad5095961a24ba74f81ab423 to your computer and use it in GitHub Desktop.

Select an option

Save priyankt68/2369b49dad5095961a24ba74f81ab423 to your computer and use it in GitHub Desktop.
{
"@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:45:44.445Z",
"holder": {
"id": "did:web:did.credissuer.com:e340d6bf-a901-426b-8c48-1bdf06547c6a"
},
"id": "did:web:did.credissuer.com:5833abcf-2e8b-43dc-af82-4d17b676a4b9",
"credentialSubject": {
"id": "did:web:did.credissuer.com:e340d6bf-a901-426b-8c48-1bdf06547c6a",
"email": "[email protected]",
"recipientName": "Surendrasingh Sucharia",
"name": "Surendrasingh Sucharia",
"fullName": "Surendrasingh Sucharia",
"courseName": "Bachelors in Computer Science",
"instituteName": "University of California",
"instituteLogo": "",
"dateOfCompletion": "19 Nov 2024",
"scoreAchieved": "490/500"
},
"issuer": "did:key:zQ3sheZGT2rqZ58hFsUfjCMrB96Kkd4cGk4Zu6j5EaL6MXzid",
"proof": {
"type": "EcdsaSecp256k1Signature2019",
"created": "2024-11-19T12:45:44Z",
"verificationMethod": "did:key:zQ3sheZGT2rqZ58hFsUfjCMrB96Kkd4cGk4Zu6j5EaL6MXzid#zQ3sheZGT2rqZ58hFsUfjCMrB96Kkd4cGk4Zu6j5EaL6MXzid",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFUzI1NksiLCJiNjQiOmZhbHNlLCJjcml0IjpbImI2NCJdfQ..60zwGEUnZ0r6526ZpDi4YJB6ZayV8lUTfiBMXqxboCszK26nR91LYzgQ7lGEbVLIQbtSTBupXpdwzAiih4jMKQ"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment