Schemas (JSON Examples)
These are verifiable credentials JSON examples.
Education
European Student Card (ESC) - Schema
[
{
"credentialSubject": {
"contactPoint": {
"emailAddress": "[email protected]",
"phone": "+34 666777888"
},
"enrollmentIn": {
"academicLevel": {
"notation": "Bachelor",
"prefLabel": {
"en": "Bachelor level"
},
"type": "Code"
},
"nonISCEDFthematicArea": {
"en": "Mechanical Engineering"
},
"thematicArea": {
"id": "http://example.org/iscedf/0710",
"inScheme": "http://example.org/iscedf/",
"prefLabel": {
"en": "Engineering and engineering trades"
},
"type": "Concept"
},
"type": "Enrollment"
},
"fullName": {
"en": "Jane Doe"
},
"identifier": {
"dcType": "ESI",
"notation": "ESI123456789",
"type": "Identifier"
},
"personAffiliation": "student",
"type": "Person"
},
"type": [
"VerifiableCredential",
"europeanStudentCard"
]
}
]OpenBadge (AchievementCredential) - Schema
[
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
],
"credentialSubject": {
"achievement": {
"achievementType": "CertificateOfCompletion",
"criteria": {
"id": "https://example.edu/courses/data-science-101/criteria",
"narrative": "Completed all modules and passed the final assessment with a score of at least 85%.",
"type": [
"Criteria"
]
},
"description": "Completed the introductory Data Science 101 course.",
"id": "https://example.edu/achievements/data-science-101",
"name": "Data Science 101",
"type": [
"Achievement"
]
},
"type": [
"AchievementSubject"
]
},
"type": [
"VerifiableCredential",
"AchievementCredential"
]
}
]ELM 3.3 - (Micro-credentials, Diploma, ToS, etc.) Schema
[
{
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"credentialSubject": {
"credentialProfile": "EDC-generic",
"learningAchievement": {
"id": "urn:uuid:8a3e8b91-7f47-4c2d-8d71-9d5a64a3c1f2",
"title": {
"en": "Microcredential in Digital Identity Foundations"
},
"description": {
"en": "This microcredential certifies the successful completion of a short learning programme on digital identity and trust services."
},
"learningOutcome": [
{
"id": "urn:uuid:lo-1",
"description": {
"en": "Understand the principles of decentralized identity and verifiable credentials."
}
},
{
"id": "urn:uuid:lo-2",
"description": {
"en": "Explain the role of trust frameworks in digital identity ecosystems."
}
}
],
"creditPoint": {
"framework": "ECTS",
"value": 2
},
"awardingBody": {
"id": "did:web:university.example.eu",
"legalName": {
"en": "Example European University"
}
}
}
},
"type": [
"VerifiableCredential",
"EuropeanDigitalCredential"
]
}
]Workshop Ticket
{
"credentialSubject": {
"workshopRef": ["urn:schac:workshopID:test:test:test"],
"display": "Jane Doe",
"givenName": "Jane",
"familyName": "Doe",
"email": "[email protected]"
}
}Transcript of Records (ToR) - Schema
Event
Participant (ParticipantCredential) - Schema
Banking
Identity
Legal age (ageCredential) - Schema
Travel
Healthcare
Enterprise
Organization Data Exchange (TrustBridge) - Schema
Legal PID (LPID) - Schema
Employee (employeeCredential) - Schema
Last updated

