@cef-ebsi/vcdm1.1-dc4eu-professional-training v1.0.1
@cef-ebsi/vcdm1.1-dc4eu-professional-training
Professional Training Certificate
Schema for professional and sectorial training certificates
The schema is published to the Trusted Schemas Registry with the IDs:
0xa92c40f0684db3bbcf2bb2600579dfaf7785a421515394c79eb9de41debf17a7(hexadecimal)zCPP3GVyk2bK65E81K8BC6T2gdNYQNEeKgm9wEYuSgHTU(multibase base58btc)
Table of Contents
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Professional Training Certificate",
"description": "Schema for professional and sectorial training certificates",
"type": "object",
"allOf": [
{
"$ref": "./node_modules/@cef-ebsi/vcdm1.1-attestation-schema/schema.json"
},
{
"properties": {
"id": {
"type": "string",
"format": "uri",
"description": "Unique identifier for the training credential"
},
"type": {
"type": "array",
"description": "Credential type definitions",
"items": {
"type": "string"
},
"default": ["VerifiableCredential", "ProfessionalTrainingCredential"]
},
"issuer": {
"type": "object",
"description": "Information about the issuing institution",
"properties": {
"id": {
"type": "string",
"format": "uri",
"description": "Unique identifier of the issuing institution"
},
"vatIdentifier": {
"type": "object",
"description": "VAT number of the issuing institution",
"properties": {
"type": {
"const": "LegalIdentifier"
},
"notation": {
"type": "string",
"description": "VAT Number"
}
}
},
"legalName": {
"type": "object",
"description": "Multilingual name of the issuing institution",
"additionalProperties": {
"type": "string"
}
},
"accreditation": {
"type": "array",
"description": "Accreditation information",
"items": {
"type": "object",
"properties": {
"accreditationBody": {
"type": "string",
"description": "Name of the accreditation body"
},
"accreditationId": {
"type": "string",
"description": "Identifier of the accreditation"
},
"accreditationDate": {
"type": "string",
"format": "date",
"description": "Date of accreditation"
},
"validUntil": {
"type": "string",
"format": "date",
"description": "Accreditation validity end date"
}
},
"required": ["accreditationBody", "accreditationId"]
}
}
},
"required": ["id", "legalName"]
},
"issuanceDate": {
"type": "string",
"format": "date-time",
"description": "Date when the credential was issued"
},
"credentialSubject": {
"type": "object",
"description": "Information about the graduate and qualification",
"properties": {
"id": {
"type": "string",
"format": "uri",
"description": "Identifier of the credential subject"
},
"givenName": {
"type": "string",
"description": "Current first name(s), including middle name(s) where applicable, of the user to whom the person identification data relates."
},
"familyName": {
"type": "string",
"description": "Current last name(s) or surname(s) of the user to whom the person identification data relates."
},
"qualification": {
"type": "object",
"description": "Details about the qualification achieved",
"properties": {
"title": {
"type": "object",
"description": "Multilingual name of the qualification",
"additionalProperties": {
"type": "string"
}
},
"level": {
"type": "object",
"description": "Qualification level information",
"properties": {
"eqfLevel": {
"type": "integer",
"minimum": 1,
"maximum": 8,
"description": "European Qualifications Framework level"
},
"nqfLevel": {
"type": "string",
"description": "National Qualifications Framework level"
}
},
"required": ["eqfLevel"]
},
"fieldOfStudy": {
"type": "object",
"description": "Field of study information",
"properties": {
"name": {
"type": "object",
"description": "Multilingual name of the field of study",
"additionalProperties": {
"type": "string"
}
}
},
"required": ["name"]
},
"trainingAwarded": {
"type": "object",
"description": "Multilingual name of the training awarded",
"additionalProperties": {
"type": "string"
}
},
"trainingDuration": {
"type": "object",
"description": "Duration of the study programme",
"properties": {
"startDate": {
"type": "string",
"format": "date",
"description": "Start date of training activity"
},
"endDate": {
"type": "string",
"format": "date",
"description": "End date of training activity"
}
}
},
"volumeOfLearning": {
"type": "string",
"format": "duration",
"description": "The estimated number of hours the learner is expected to spend engaged in learning to earn the award."
},
"mode": {
"type": "array",
"description": "The mode of learning and or assessment",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uri"
},
"type": {
"const": "Concept"
},
"inScheme": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uri"
},
"type": {
"const": "ConceptScheme"
}
}
},
"prefLabel": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": ["Presential", "Online", "Hybrid"]
}
}
}
},
"required": ["id", "type", "inScheme", "prefLabel"]
}
},
"creditPoint": {
"type": "array",
"description": "The credit points assigned to the learning specification.",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uri"
},
"type": {
"const": "CreditPoint"
},
"framework": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uri"
},
"type": {
"const": "Concept"
},
"prefLabel": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"inScheme": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uri"
},
"type": {
"const": "ConceptScheme"
}
}
}
}
},
"point": {
"type": "string"
}
},
"required": ["id", "type", "framework", "point"]
}
},
"sponsor": {
"type": "string",
"description": "An entity, other than the training provider, that collaborates in the development of the activity, either by providing funding, resources, promotion or public endorsement. They are not involved in the training provision or in the writing of the material."
},
"partner": {
"type": "string",
"description": "Entity involved in the provision of the training or in the drafting of the material."
},
"entryRequirement": {
"type": "object",
"description": "Specific entry requirements or prerequisites of individuals for which this specification is designed to start this learning opportunity",
"properties": {
"id": {
"type": "string",
"format": "uri"
},
"type": {
"const": "Note"
},
"noteLiteral": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"required": ["noteLiteral"]
},
"learningOutcomes": {
"type": "array",
"description": "Learning outcomes achieved",
"items": {
"type": "object",
"properties": {
"category": {
"type": "string",
"enum": ["knowledge", "skills", "competence"],
"description": "Category of learning outcome"
},
"description": {
"type": "object",
"description": "Multilingual description of the learning outcome",
"additionalProperties": {
"type": "string"
}
}
},
"required": ["category", "description"]
}
}
},
"required": ["title", "trainingAwarded"]
}
},
"required": ["givenName", "qualification"]
},
"proof": {
"type": "object",
"description": "Cryptographic proof of the credential",
"properties": {
"type": {
"type": "string",
"description": "Type of proof"
},
"created": {
"type": "string",
"format": "date-time",
"description": "Date and time when the proof was created"
},
"proofPurpose": {
"type": "string",
"description": "Purpose of the proof"
},
"verificationMethod": {
"type": "string",
"format": "uri",
"description": "Method used to verify the proof"
},
"proofValue": {
"type": "string",
"description": "Value of the proof"
}
},
"required": [
"type",
"created",
"proofPurpose",
"verificationMethod",
"proofValue"
]
}
},
"required": [
"@context",
"id",
"type",
"issuer",
"issuanceDate",
"credentialSubject",
"proof"
]
}
]
}Installation
# with npm
npm add @cef-ebsi/vcdm1.1-dc4eu-professional-training@1.0.1
# with Yarn
yarn add @cef-ebsi/vcdm1.1-dc4eu-professional-training@1.0.1
# with pnpm
pnpm add @cef-ebsi/vcdm1.1-dc4eu-professional-training@1.0.1Usage
The package exports the schema and its metadata as JavaScript objects:
import {
schema,
metadata,
} from "@cef-ebsi/vcdm1.1-dc4eu-professional-training";
// you can now use the schema and metadataIn addition, the package exports a TypeScript type corresponding to the schema:
import type { ProfessionalTrainingCertificate } from "@cef-ebsi/vcdm1.1-dc4eu-professional-training";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.
6 months ago