From 895fd81dbcf3dee4c391b0c425cab1f8b7c0dc41 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 28 Feb 2024 10:38:56 +0100 Subject: [PATCH] drop null type in schemas --- schemas/course-credential.json | 2 +- schemas/federation-membership.json | 2 +- schemas/membership-card.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/schemas/course-credential.json b/schemas/course-credential.json index d576472..f5fed93 100644 --- a/schemas/course-credential.json +++ b/schemas/course-credential.json @@ -117,7 +117,7 @@ "description": "The number of (ECTS) credits awarded for the course" }, "dateOfAssessment": { - "type": ["string", "null"], + "type": "string", "description": "The date of assessment", "format": "date" }, diff --git a/schemas/federation-membership.json b/schemas/federation-membership.json index 316f57a..d94f22c 100644 --- a/schemas/federation-membership.json +++ b/schemas/federation-membership.json @@ -100,7 +100,7 @@ "type": "string" }, "website": { - "type": ["string", "null"], + "type": "string", "format": "uri" }, "evidence": { diff --git a/schemas/membership-card.json b/schemas/membership-card.json index 001fb4a..a4e4aae 100644 --- a/schemas/membership-card.json +++ b/schemas/membership-card.json @@ -52,7 +52,7 @@ "minLength": 1 }, "affiliatedUntil": { - "type": ["string", "null"], + "type": "string", "format": "date" }, "typeOfPerson": {