add email as required

This commit is contained in:
Cayo Puigdefabregas 2024-02-07 10:32:28 +01:00
parent 1433949c4a
commit 25c7d9eee0
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{
"$id": "https://idhub.pangea.org/vc_schemas/courseCredential",
"$id": "https://idhub.pangea.org/vc_schemas/course-credential",
"$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",
@ -40,6 +40,10 @@
"type": "string",
"description": "The family name of the student"
},
"email": {
"type": "string",
"format": "email"
},
"personalIdentifier": {
"type": "string",
"description": "The personal identifier of the student, such as ID number"
@ -116,6 +120,7 @@
"id",
"firstName",
"lastName",
"email",
"personalIdentifier",
"issuedDate",
"modeOfInstruction",

View File

@ -1,5 +1,5 @@
{
"$id": "https://idhub.pangea.org/vc_schemas/federationMembership.json",
"$id": "https://idhub.pangea.org/vc_schemas/federation-membership.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Federation membership",
"description": "The federation membership specifies participation of a NGO into a NGO federation, as proposed by Lafede.cat",
@ -113,6 +113,7 @@
"membershipStatus",
"federation",
"membershipSince",
"email",
"certificationDate"
]
}