Building Verifiable Credentials
Basic Structure
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://w3id.org/vc/status-list/2021/v1"
],
"type": ["VerifiableCredential"],
"credentialSubject": {
"id": "did:example:recipient123",
"name": "Credential Subject Name"
}
}Examples by Use Case
1. Basic Educational Achievement
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://w3id.org/vc/status-list/2021/v1",
"https://purl.imsglobal.org/spec/ob/v3p0/context.json"
],
"type": ["VerifiableCredential", "OpenBadgeCredential"],
"credentialSubject": {
"id": "did:example:recipient123",
"type": ["AchievementSubject"],
"achievement": {
"id": "https://example.org/achievements/123",
"type": ["Achievement"],
"name": "Introduction to Blockchain",
"description": "Successfully completed the introduction to blockchain course",
"criteria": {
"narrative": "The recipient demonstrated understanding of blockchain fundamentals"
}
}
}
}2. Professional Certification
3. Digital Badge with Evidence
4. Employment Credential
5. Skill Assessment
6. Learning Pathway Completion
7. Attendance Credential
8. Membership Credential
Best Practices
Last updated
Was this helpful?