fix(rna): date_creation may be null

Closes #7975
This commit is contained in:
Colin Darie 2022-10-31 11:10:47 +01:00
parent 8704c26b24
commit 408f57d2d1
2 changed files with 9 additions and 4 deletions

View file

@ -14,8 +14,15 @@
"type": "string"
},
"association_date_creation": {
"type": "string",
"format": "date"
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
},
"association_date_declaration": {
"type": "string",
@ -229,7 +236,6 @@
"required": [
"association_titre",
"association_rna",
"association_date_creation",
"association_date_declaration",
"association_date_publication"
]