Schemas (JSON Examples)

These are verifiable credentials JSON examples.

Education

chevron-rightEuropean Student Card (ESC) - Schemaarrow-up-righthashtag
[
    {
        "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"
        ]
    }
]
chevron-rightOpenBadge (AchievementCredential) - Schemaarrow-up-righthashtag
[
    {
        "@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"
        ]
    }
]
chevron-rightELM 3.3 - (Micro-credentials, Diploma, ToS, etc.) Schemaarrow-up-righthashtag
[
    {
        "@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"
        ]
    }
]
chevron-rightAlliance IDhashtag
{
  "credentialSubject": {
    "identifier": {
      "schemeID": "test",
      "value": "test"
    }
  }
}
chevron-rightWorkshop Tickethashtag
{
  "credentialSubject": {
        "workshopRef": ["urn:schac:workshopID:test:test:test"],
        "display": "Jane Doe",
        "givenName": "Jane",
        "familyName": "Doe",
        "email": "[email protected]"
    }
}
chevron-rightStudentID (MyAcademicID) (v1)hashtag
chevron-rightMyAcademicID (v2)hashtag
chevron-rightDiplomahashtag
chevron-rightTranscript of Records (ToR) - Schemaarrow-up-righthashtag
chevron-rightEducation IDhashtag
chevron-rightEDC (ELM 3.2)hashtag

Event

chevron-rightConference Tickethashtag
chevron-rightParticipant (ParticipantCredential) - Schemaarrow-up-righthashtag

Banking

chevron-rightBank Accounthashtag
chevron-rightCredit Cardhashtag

Identity

chevron-rightBirth Certificate (birthCertificateCredential)hashtag

Travel

chevron-rightBoarding Pass (boardingPassCredential)hashtag
chevron-rightVerifiable Key (keyCredential)hashtag

Healthcare

chevron-rightePrescription (ePrescriptionCredential)hashtag

Enterprise

chevron-rightOrganization Data Exchange (TrustBridge) - Schemaarrow-up-righthashtag
chevron-rightEmployee (employeeCredential) - Schemaarrow-up-righthashtag

Last updated