0004-toulouse-maelis-remove-unused-vaccin-label-from-payl.patch
passerelle/contrib/toulouse_maelis/schemas.py | ||
---|---|---|
316 | 316 |
'description': "Informations sur le vaccin", |
317 | 317 |
'type': 'object', |
318 | 318 |
'required': ['code', 'vaccinationDate'], |
319 | 319 |
'properties': { |
320 | 320 |
'code': { |
321 | 321 |
'description': 'Code du vaccin (depuis référentiel)', |
322 | 322 |
'type': 'string', |
323 | 323 |
}, |
324 |
'label': { |
|
325 |
'description': 'Nom du vaccin', |
|
326 |
'oneOf': [{'type': 'string'}, {'type': 'null'}], |
|
327 |
}, |
|
328 | 324 |
'vaccinationDate': { |
329 | 325 |
'description': 'Date du vaccin', |
330 | 326 |
'type': 'string', |
331 | 327 |
'pattern': '^[0-9]{4}-[0-9]{2}-[0-9]{2}$', |
332 | 328 |
}, |
333 | 329 |
}, |
334 | 330 |
} |
335 | 331 | |
336 |
- |