Schemas (JSON Examples)
These are verifiable credentials JSON examples.
StudentID (MyAcademicID) (v1)
{
"credentialSubject": {
"identifier": [
{
"schemeID": "European Student Identifier",
"value": "urn:schac:personalUniqueCode:int:esi:gataca.test:XXXYYYZZZ",
"id": "urn:schac:personalUniqueCode:int:esi:gataca.test:XXXYYYZZZ"
}
],
"firstName": "John",
"familyName": "Doe"
}
}
MyAcademicID (v2)
{
"credentialSubject": {
"communityUserIdentifier": "XXXXXXXXXXXXX@erasmus.eduteams.org",
"displayName": "Jane Doe",
"givenName": "Jane",
"familyName": "Doe",
"emailAddress": "jane.doe@gataca.io",
"assurance": [
"https://refeds",
"https://refeds/ID/unique",
"https://refeds/ID/eppn-unique-no-reassign",
"https://refeds/IAP/low",
"https://refeds$/ATP/ePA-1m",
"https://refeds/ATP/ePA-1d"
]
}
}
Verifiable Diploma
{
"credentialSubject": {
"identifier": {
"schemeID": "Student identification number",
"value": "XXXYYYZZZ"
},
"achieved": [
{
"id": "urn:epass:learningAchievement:1",
"identifier": [
{
"schemeID": "XXX Certificate ID",
"value": "XXXYYYZZZ"
}
],
"specifiedBy": [
{
"id": "urn:epass:qualification:1",
"eqflLevel": "http: //data.europa.eu/snb/eqf/6",
"title": "Software Engineer"
}
],
"title": "Software Engineer",
"wasAwardedBy": {
"awardingBody": [
"Gataca University"
],
"awardingDate": "2008-10-18T00:00:00Z",
"awardingLocation": [
"https: //essif.europa.eu/madrid"
],
"id": "urn:epass:awardingProcess:1"
},
"hasPart": {
"learningAchievements": [
{
"id": "urn:epass:learningAchievement:XXXYYYYZZZ",
"specifiedBy": [
{
"id": "urn:epass:qualification:2",
"title": "Data Structures",
"volumeOfLearning": "6"
}
],
"title": "Data Structures",
"wasDerivedFrom": [
{
"grade": "18",
"id": "urn:epass:assessment:2",
"title": "Data Structures"
}
]
},
{
"id": "urn:epass:learningAchievement:XXXXYYYZZZZ",
"specifiedBy": [
{
"id": "urn:epass:qualification:3",
"title": "Programming II",
"volumeOfLearning": "6"
}
],
"title": "Programming II",
"wasDerivedFrom": [
{
"grade": "15",
"id": "urn:epass:assessment:3",
"title": "Programming II"
}
]
},
{
"id": "urn:epass:learningAchievement:4",
"specifiedBy": [
{
"id": "urn:epass:qualification:4",
"title": "Computer Architecture",
"volumeOfLearning": "6"
}
],
"title": "Computer Architecture",
"wasDerivedFrom": [
{
"grade": "15",
"id": "urn:epass:assessment:4",
"title": "Computer Architecture"
}
]
},
{
"id": "urn:epass:learningAchievement:5",
"specifiedBy": [
{
"id": "urn:epass:qualification:5",
"title": "Artificial Intelligence",
"volumeOfLearning": "6"
}
],
"title": "Artificial Intelligence",
"wasDerivedFrom": [
{
"grade": "15",
"id": "urn:epass:assessment:5",
"title": "Artificial Intelligence"
}
]
}
]
}
}
]
}
}
Conference Ticket
{
"credentialSubject": {
"familyName": "Doe",
"firstName": "Jane",
"company": "Gataca",
"role": "Placeholder",
"eventName": "Mobile World Congress '23",
"ticketType": "Startup"
},
"expirationDate": "2026-03-05T19:23:24Z"
}
Bank Account
{
"credentialSubject":{
"accountNumber":"ES0000000000000000",
"averageBalance":"17348",
"averageBalanceYear":"136704",
"bankName":"ACME Bank",
"firstName":"John",
"lastName":"Doe",
"swift":"AAAA-BB-CC-123"
},
"expirationDate": "2025-03-05T19:23:24Z"
}
Credit Card
{
"credentialSubject": {
"cardNumber": "1234 5678 9012 3456",
"holderName": "Name Last Name",
"expiryMonth": "12",
"expiryYear": "2024",
"cvv":"123"
},
"type": [
"VerifiableCredential",
"creditCardCredential"
],
"expirationDate": "2024-12-01T19:23:24Z"
}
Workshop Ticket
{
"credentialSubject": {
"workshopRef": ["urn:schac:workshopID:test:test:test"],
"display": "Jane Doe",
"givenName": "Jane",
"familyName": "Doe",
"email": "jane@doe.io"
}
}
Education ID
{
"credentialSubject": {
"identifier": "xxxxxxx",
"schacPersonalUniqueCode": ["yyyyyy"],
"schacPersonalUniqueID": "urn:schac:personalUniqueID:es:zzzzzz",
"schacHomeOrganization": "Gataca",
"familyName": "Doe",
"firstName": "Jane",
"displayName": "Jane",
"dateOfBirth": "1983-03-05",
"commonName": "Jane Doe",
"mail": "jane.doe@gataca.io",
"eduPersonPrincipalName": "xxxxyyyyyzzzzz",
"eduPersonPrimaryAffiliation": "member",
"eduPersonAffiliation": ["member", "stuff"],
"eduPersonScopedAffiliation": ["affiliation1"],
"eduPersonAssurance": ["assurance1"]
}
}
Boarding Pass (boardingPassCredential)
{
"credentialSubject": {
"subjectIdentifier": "12345678M",
"ticketIdentifier": "79K65ES",
"ticketPrice": "342.12",
"lastName": "Doe",
"firstName": "Jane",
"seatType": "Turist",
"seatNumber": "56F",
"departureDate": "2024-03-14T14:00:00Z",
"arrivalDate": "2024-03-14T17:00:00Z",
"arrivalPlace": "ROM",
"vehicleDescription": "4354-LF"
}
}
ePrescription (ePrescriptionCredential)
{
"credentialSubject": {
"identifier": "123456",
"name": "Dexketoprofeno",
"sku": "A675GTR-23",
"quantity": 2
},
"expirationDate": "2026-03-14T12:00:00Z"
}
Verifiable Birth Certificate (birthCertificateCredential)
{
"credentialSubject": {
"reference": "ABC-123-XZ",
"lastName": "Doe",
"firstName": "Jane",
"dateOfBirth": "1983-06-21T02:23:24Z",
"placeOfBirth": "Madrid",
"countryOfBirth": "Spain",
"gender": "Female",
"nationality": "Spanish"
}
}
EDC (ELM 3.2)
[
{
"@context": ["https://www.w3.org/ns/credentials/v2"],
"credentialSubject": {
"type": "Person",
"identifier": [
{
"id": "urn:epass:identifier:2",
"type": "Identifier",
"notation": "5412254",
"schemeName": "Student Identifier"
}
],
"givenName": {
"en": [
"David"
]
},
"familyName": {
"en": [
"Smith"
]
},
"fullName": {
"en": [
"David Smith"
]
},
"hasClaim": [
{
"id": "urn:epass:learningAchievement:1",
"type": "LearningAchievement",
"awardedBy": {
"id": "urn:epass:awardingProcess:1",
"type": "AwardingProcess",
"awardingBody": [
{
"id": "urn:epass:org:1",
"type": "Organisation",
"location": [
{
"id": "urn:epass:location:1",
"type": "Location",
"address": [
{
"id": "urn:epass:address:1",
"type": "Address",
"countryCode": {
"id": "http://publications.europa.eu/resource/authority/country/BEL",
"type": "Concept",
"inScheme": {
"id": "http://publications.europa.eu/resource/authority/country",
"type": "ConceptScheme"
},
"prefLabel": {
"en": [
"Belgium"
]
},
"notation": "country"
},
"fullAddress": {
"id": "urn:epass:note:1",
"type": "Note",
"noteLiteral": {
"en": [
"Here"
]
}
}
}
],
"description": {
"en": [
"The Address"
]
}
}
],
"legalName": {
"en": [
"University of Life"
]
},
"registration": {
"id": "urn:epass:legalIdentifier:2",
"type": "LegalIdentifier",
"notation": "987654321",
"spatial": {
"id": "http://publications.europa.eu/resource/authority/country/BEL",
"type": "Concept",
"inScheme": {
"id": "http://publications.europa.eu/resource/authority/country",
"type": "ConceptScheme"
},
"prefLabel": {
"en": [
"Belgium"
]
},
"notation": "country"
}
}
}
]
},
"description": {
"en": [
"has attended the Europass Digital Credentials Live Webinar"
]
},
"title": {
"en": [
"Certificate of Completion"
]
},
"specifiedBy": {
"id": "urn:epass:learningAchievementSpec:1",
"type": "LearningAchievementSpecification",
"title": {
"en": [
"Certificate of Completion"
]
}
}
},
{
"id": "urn:epass:activity:1",
"type": "LearningActivity",
"awardedBy": {
"id": "urn:epass:awardingProcess:1",
"type": "AwardingProcess",
"awardingBody": [
{
"id": "urn:epass:org:1",
"type": "Organisation",
"location": [
{
"id": "urn:epass:location:1",
"type": "Location",
"address": [
{
"id": "urn:epass:address:1",
"type": "Address",
"countryCode": {
"id": "http://publications.europa.eu/resource/authority/country/BEL",
"type": "Concept",
"inScheme": {
"id": "http://publications.europa.eu/resource/authority/country",
"type": "ConceptScheme"
},
"prefLabel": {
"en": [
"Belgium"
]
},
"notation": "country"
},
"fullAddress": {
"id": "urn:epass:note:1",
"type": "Note",
"noteLiteral": {
"en": [
"Here"
]
}
}
}
],
"description": {
"en": [
"The Address"
]
}
}
],
"legalName": {
"en": [
"University of Life"
]
},
"registration": {
"id": "urn:epass:legalIdentifier:2",
"type": "LegalIdentifier",
"notation": "987654321",
"spatial": {
"id": "http://publications.europa.eu/resource/authority/country/BEL",
"type": "Concept",
"inScheme": {
"id": "http://publications.europa.eu/resource/authority/country",
"type": "ConceptScheme"
},
"prefLabel": {
"en": [
"Belgium"
]
},
"notation": "country"
}
}
}
]
},
"title": {
"en": [
"Watching presentations and EDC demo during the webinar"
]
},
"directedBy": [
{
"id": "urn:epass:org:1",
"type": "Organisation",
"location": [
{
"id": "urn:epass:location:1",
"type": "Location",
"address": [
{
"id": "urn:epass:address:1",
"type": "Address",
"countryCode": {
"id": "http://publications.europa.eu/resource/authority/country/BEL",
"type": "Concept",
"inScheme": {
"id": "http://publications.europa.eu/resource/authority/country",
"type": "ConceptScheme"
},
"prefLabel": {
"en": [
"Belgium"
]
},
"notation": "country"
},
"fullAddress": {
"id": "urn:epass:note:1",
"type": "Note",
"noteLiteral": {
"en": [
"Here"
]
}
}
}
],
"description": {
"en": [
"The Address"
]
}
}
],
"legalName": {
"en": [
"University of Life"
]
},
"registration": {
"id": "urn:epass:legalIdentifier:2",
"type": "LegalIdentifier",
"notation": "987654321",
"spatial": {
"id": "http://publications.europa.eu/resource/authority/country/BEL",
"type": "Concept",
"inScheme": {
"id": "http://publications.europa.eu/resource/authority/country",
"type": "ConceptScheme"
},
"prefLabel": {
"en": [
"Belgium"
]
},
"notation": "country"
}
}
}
],
"specifiedBy": {
"id": "urn:epass:learningActivitySpec:1",
"type": "LearningActivitySpecification",
"title": {
"en": [
"Watching presentations and EDC demo during the webinar"
]
},
"dcType": [
{
"id": "http://data.europa.eu/snb/learning-activity/efff75e10a",
"type": "Concept",
"inScheme": {
"id": "http://data.europa.eu/snb/learning-activity/25831c2",
"type": "ConceptScheme"
},
"prefLabel": {
"en": [
"workshop, seminar or conference"
]
}
}
],
"language": [
{
"id": "http://publications.europa.eu/resource/authority/language/ENG",
"type": "Concept",
"inScheme": {
"id": "http://publications.europa.eu/resource/authority/language",
"type": "ConceptScheme"
},
"prefLabel": {
"en": [
"English"
]
},
"notation": "language"
}
],
"mode": [
{
"id": "http://data.europa.eu/snb/learning-assessment/920fbb3cbe",
"type": "Concept",
"inScheme": {
"id": "http://data.europa.eu/snb/learning-assessment/25831c2",
"type": "ConceptScheme"
},
"prefLabel": {
"en": [
"Online"
]
}
}
]
},
"workload": "PT1H"
}
]
},
"type": [
"VerifiableCredential",
"edcCredential"
]
}
]
Last updated