fix nuls values in not required but with format

This commit is contained in:
Cayo Puigdefabregas 2024-02-27 15:31:21 +01:00
parent 3efd530d18
commit 6283539948
3 changed files with 6 additions and 6 deletions

View File

@ -117,7 +117,7 @@
"description": "The number of (ECTS) credits awarded for the course" "description": "The number of (ECTS) credits awarded for the course"
}, },
"dateOfAssessment": { "dateOfAssessment": {
"type": "string", "type": ["string", "null"],
"description": "The date of assessment", "description": "The date of assessment",
"format": "date" "format": "date"
}, },
@ -142,4 +142,4 @@
} }
} }
] ]
} }

View File

@ -100,7 +100,7 @@
"type": "string" "type": "string"
}, },
"website": { "website": {
"type": "string", "type": ["string", "null"],
"format": "uri" "format": "uri"
}, },
"evidence": { "evidence": {
@ -129,4 +129,4 @@
} }
} }
] ]
} }

View File

@ -52,7 +52,7 @@
"minLength": 1 "minLength": 1
}, },
"affiliatedUntil": { "affiliatedUntil": {
"type": "string", "type": ["string", "null"],
"format": "date" "format": "date"
}, },
"typeOfPerson": { "typeOfPerson": {
@ -100,4 +100,4 @@
} }
} }
] ]
} }