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": "[email protected]",
"displayName": "Jane Doe",
"givenName": "Jane",
"familyName": "Doe",
"emailAddress": "[email protected]",
"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"
]
}
}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": "[email protected]"
}
}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": "[email protected]",
"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"
}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"
]
}
]Legal age (ageCredential) - Schema
{
"credentialSubject": {
"legalAge": "18+"
},
"type": [
"VerifiableCredential",
"ageCredential"
]
}Employee (employeeCredential) - Schema
{
"credentialSubject": {
"employee": "xxxxxxxxx"
},
"type": [
"VerifiableCredential",
"employeeCredential"
]
}OpenBadge (OpenBadgeCredential)
[
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
],
"credentialSubject": {
"type": [
"AchievementSubject"
],
"achievement": {
"type": [
"Achievement"
],
"name": "Decentralized Identity in Education",
"description": "This certificate acknowledges successful completion of the course 'Decentralized Identity in Education', exploring applications of decentralized identity systems in the educational field.",
"campaign": "campaing_test",
"criteria": {}
},
"activityStartDate": "2024-01-01T00:00:00Z",
"activityEndDate": "2024-01-31T00:00:00Z",
"recipient": {
"givenName": "John",
"familyName": "Doe"
}
},
"validFrom": "2024-11-21T12:00:00Z",
"type": [
"VerifiableCredential",
"OpenBadgeCredential"
]
}
]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"
]
]Organization Data Exchange (TrustBridge) - Schema
[
{
"credentialSubject": {
"exchange": {
"data": [
{
"content": {
"academicYear": "2025/26",
"hostInstitution": "University of Gataca",
"program": "Erasmus+ Mobility for Studies",
"students": [
{
"email": "[email protected]",
"familyName": "Janssens",
"fieldOfStudy": "Engineering",
"givenName": "Sophie",
"plannedPeriod": {
"endDate": "2026-02-15",
"startDate": "2025-09-15"
},
"studentId": "GAT-2025-001"
},
{
"email": "[email protected]",
"familyName": "Peeters",
"fieldOfStudy": "Economics",
"givenName": "Thomas",
"plannedPeriod": {
"endDate": "2026-06-30",
"startDate": "2025-09-15"
},
"studentId": "GAT-2025-002"
}
]
},
"descriptor": {
"mediaType": "application/json",
"schema": "https://schema.org/Person",
"title": "List of Gataca students nominated for Erasmus at Madrid (AY 2025/26)",
"version": "1.0"
},
"id": "student-roster-2025-2026"
}
],
"exchangeId": "erasmus-2025-2026-gataca",
"legalBasis": "Erasmus+ Inter-Institutional Agreement 2025/IIA/067",
"participants": [
{
"contact": {
"email": "[email protected]",
"url": "https://www.gataca.io"
},
"id": "did:example:org:gataca",
"name": "Gataca",
"role": "sender"
},
{
"contact": {
"email": "[email protected]",
"url": "https://www.acme.io"
},
"id": "did:example:org:acme",
"name": "University of ACMe",
"role": "recipient"
}
],
"permissions": [
{
"action": "use",
"constraints": [
"purpose:student-mobility-administration"
],
"grantedTo": "recipient"
},
{
"action": "store",
"constraints": [
"ttl:one-academic-year"
],
"grantedTo": "recipient"
}
],
"provenance": [
{
"at": "2025-10-02T12:40:00Z",
"by": "did:example:org:gataca",
"note": "Roster generated by Gataca Erasmus office",
"type": "created"
},
{
"at": "2025-10-02T12:45:00Z",
"by": "did:example:org:gataca",
"note": "Sent securely to Gataca via Exchange Credential",
"type": "forwarded"
}
],
"purpose": "Exchange of nominated students for Erasmus+ mobility programme",
"retention": "Delete after end of academic year 2025/26",
"termsOfUse": [
{
"type": "link",
"value": "https://www.gataca.io/erasmus-data-sharing-terms"
}
]
}
},
"type": [
"VerifiableCredential",
"dataExchange"
]
}
]Legal PID (LPID) - Schema
[
{
"credentialSubject": {
"legal_person_id": "ES-GATACA-B12345678",
"legal_person_name": "GATACA LABS S.L.",
"issuing_authority": "Ministry of Industry, Trade and Tourism of Spain",
"issuing_authority_id": "did:es:ministerio:micot",
"issuing_country": "ES",
"issuing_jurisdiction": "ES-M",
"issuance_date": "2025-01-01T00:00:00Z",
"expiry_date": "2035-01-01T00:00:00Z",
"authentic_source_id": "did:es:br:commercial-registry-madrid",
"authentic_source_name": "Commercial Registry of Madrid"
},
"type": [
"VerifiableCredential",
"urn:eudi:lpid:eu:1"
]
}
]Last updated

