2024-01-21 20:08:43 +00:00
|
|
|
{
|
2024-02-09 08:33:55 +00:00
|
|
|
"$id": "https://idhub.pangea.org/vc_schemas/course-credential.json",
|
2024-01-21 20:08:43 +00:00
|
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
|
|
"title": "NGO Course Credential Schema",
|
|
|
|
"description": "A NGO Course Credential Schema awarded by a NGO federation and their NGO members, as proposed by Lafede.cat",
|
|
|
|
"name": [
|
|
|
|
{
|
|
|
|
"value": "NGO Course Credential for participants",
|
|
|
|
"lang": "en"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Credencial per participants d'un curs impartit per una ONG",
|
|
|
|
"lang": "ca_ES"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Credencial para participantes de un curso impartido por una ONG",
|
|
|
|
"lang": "es"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"type": "object",
|
|
|
|
"allOf": [
|
|
|
|
{
|
|
|
|
"$ref": "https://idhub.pangea.org/vc_schemas/ebsi/attestation.json"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"properties": {
|
|
|
|
"credentialSubject": {
|
|
|
|
"description": "Defines additional properties on credentialSubject: the given course followed by a student",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"description": "Defines a unique identifier (DID) of the credential subject: the credential of a completed course by a student",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"firstName": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "The first name of the student"
|
|
|
|
},
|
|
|
|
"lastName": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "The family name of the student"
|
|
|
|
},
|
2024-02-07 09:32:28 +00:00
|
|
|
"email": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "email"
|
|
|
|
},
|
2024-01-21 20:08:43 +00:00
|
|
|
"personalIdentifier": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "The personal identifier of the student, such as ID number"
|
|
|
|
},
|
|
|
|
"issuedDate": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "The date the credential was issued",
|
|
|
|
"format": "date"
|
|
|
|
},
|
|
|
|
"modeOfInstruction": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "The mode of instruction: online, in-person, etc."
|
|
|
|
},
|
|
|
|
"courseDuration": {
|
|
|
|
"type": "integer",
|
|
|
|
"description": "The duration of the course in hours"
|
|
|
|
},
|
|
|
|
"courseDays": {
|
|
|
|
"type": "integer",
|
|
|
|
"description": "The number of days the course lasts"
|
|
|
|
},
|
|
|
|
"courseName": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "The name of the course"
|
|
|
|
},
|
|
|
|
"courseDescription": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "The description of the course"
|
|
|
|
},
|
|
|
|
"gradingScheme": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "The grading scheme used for the course"
|
|
|
|
},
|
|
|
|
"scoreAwarded": {
|
|
|
|
"type": "integer",
|
|
|
|
"description": "The score awarded to the student",
|
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 10
|
|
|
|
},
|
|
|
|
"qualificationAwarded": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "The qualification awarded to the student",
|
|
|
|
"enum": [
|
|
|
|
"A+",
|
|
|
|
"A",
|
|
|
|
"B",
|
|
|
|
"C",
|
|
|
|
"D"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"courseLevel": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "The level of the course"
|
|
|
|
},
|
|
|
|
"courseFramework": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "The framework in which the course belongs to"
|
|
|
|
},
|
|
|
|
"courseCredits": {
|
2024-02-16 08:01:46 +00:00
|
|
|
"type": ["number", "string"],
|
2024-01-21 20:08:43 +00:00
|
|
|
"description": "The number of (ECTS) credits awarded for the course"
|
|
|
|
},
|
|
|
|
"dateOfAssessment": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "The date of assessment",
|
|
|
|
"format": "date"
|
|
|
|
},
|
|
|
|
"evidenceAssessment": {
|
|
|
|
"type": "string",
|
|
|
|
"description": "The evidence of the assessment: final exam, presence, participation"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"id",
|
|
|
|
"firstName",
|
|
|
|
"lastName",
|
2024-02-07 09:32:28 +00:00
|
|
|
"email",
|
2024-01-21 20:08:43 +00:00
|
|
|
"personalIdentifier",
|
|
|
|
"issuedDate",
|
|
|
|
"modeOfInstruction",
|
|
|
|
"courseDuration",
|
|
|
|
"courseDays",
|
|
|
|
"courseName"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|