@cef-ebsi/vcdm1.1-dc4eu-higher-education-diploma-supplement
v1.0.0-next.1
Published
European Higher Education Diploma Supplement (VCDM 1.1)
Downloads
17
Keywords
Readme
@cef-ebsi/vcdm1.1-dc4eu-higher-education-diploma-supplement
European Higher Education Diploma Supplement
Profile schema extending the base EDC-W3C-VC to define diploma supplement credentials in higher education.
The schema is published to the Trusted Schemas Registry with the IDs:
0x08b5c9f9552f1f00c11b7f4d2bf121fc4cfb36701763f948018978dfe82bbdd3(hexadecimal)zb138KuxC1i146r9aHZqH3X29AYboVhPqbosKj4zBB9U(multibase base58btc)
Table of Contents
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "European Higher Education Diploma Supplement",
"description": "Profile schema extending the base EDC-W3C-VC to define diploma supplement credentials in higher education.",
"type": "object",
"allOf": [
{
"$ref": "./node_modules/@cef-ebsi/vcdm1.1-europass-edc-schema/schema.json"
},
{
"type": "object",
"properties": {
"type": {
"type": "array",
"items": {
"type": "string"
},
"const": [
"VerifiableCredential",
"VerifiableAttestation",
"EuropeanDigitalCredential",
"EuropeanHigherEducationDiplomaSupplement"
]
},
"credentialSubject": {
"type": "object",
"required": [
"id",
"type",
"dateOfBirth",
"familyName",
"givenName",
"hasClaim"
],
"properties": {
"hasClaim": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": ["type", "title", "awardedBy", "specifiedBy"],
"properties": {
"type": {
"type": "string",
"const": "LearningAchievement"
},
"title": {
"type": "object"
},
"awardedBy": {
"type": "object",
"required": ["awardingBody", "awardingDate", "location"],
"properties": {
"awardingBody": {
"type": "object"
},
"awardingDate": {
"type": "string",
"format": "date-time"
},
"location": {
"type": "object"
}
}
},
"specifiedBy": {
"type": "object",
"required": [
"eqfLevel",
"educationSubject",
"creditPoint",
"mode"
],
"properties": {
"eqfLevel": {
"type": "object",
"required": ["notation"],
"properties": {
"notation": {
"type": "string"
}
}
},
"educationSubject": {
"type": "array",
"minItems": 1
},
"creditPoint": {
"type": "array",
"minItems": 1
},
"mode": {
"type": "array",
"minItems": 1
},
"additionalNote": {
"type": "array"
}
}
},
"entitlesTo": {
"type": "array",
"items": {
"type": "object",
"required": ["awardedBy"]
}
},
"wasDerivedFrom": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "object"
},
"creditPoint": {
"type": "array"
},
"grade": {
"type": "object"
},
"temporal": {
"type": "object"
}
}
}
}
}
}
}
}
},
"displayParameter": {
"type": "object"
},
"credentialProfiles": {
"type": "array",
"items": {
"type": "object"
}
}
}
}
]
}Installation
# with npm
npm add @cef-ebsi/[email protected]
# with Yarn
yarn add @cef-ebsi/[email protected]
# with pnpm
pnpm add @cef-ebsi/[email protected]Usage
The package exports the schema and its metadata as JavaScript objects:
import {
schema,
metadata,
} from "@cef-ebsi/vcdm1.1-dc4eu-higher-education-diploma-supplement";
// you can now use the schema and metadataIn addition, the package exports a TypeScript type corresponding to the schema:
import type { EuropeanHigherEducationDiplomaSupplement } from "@cef-ebsi/vcdm1.1-dc4eu-higher-education-diploma-supplement";License
Copyright (C) 2024 European Union
This program is free software: you can redistribute it and/or modify it under the terms of the EUROPEAN UNION PUBLIC LICENCE v. 1.2 as published by the European Union.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the EUROPEAN UNION PUBLIC LICENCE v. 1.2 for further details.
You should have received a copy of the EUROPEAN UNION PUBLIC LICENCE v. 1.2. along with this program. If not, see https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12.
