0002-toulouse_maelis-remove-null-type-on-mandatory-civili.patch
passerelle/contrib/toulouse_maelis/schemas.py | ||
---|---|---|
224 | 224 |
'$schema': 'http://json-schema.org/draft-04/schema#', |
225 | 225 |
'title': 'RL', |
226 | 226 |
'description': "Informations sur le responsable légal", |
227 | 227 |
'type': 'object', |
228 | 228 |
'required': ['firstname', 'lastname', 'civility', 'quality', 'dateBirth', 'adresse'], |
229 | 229 |
'properties': { |
230 | 230 |
'civility': { |
231 | 231 |
'description': 'civilité (depuis référenciel)', |
232 |
'oneOf': [{'type': 'null'}, {'type': 'string'}],
|
|
232 |
'type': 'string',
|
|
233 | 233 |
}, |
234 | 234 |
'quality': { |
235 | 235 |
'description': 'Qualité', |
236 | 236 |
'type': 'string', |
237 | 237 |
}, |
238 | 238 |
'adresse': ADDRESS_SCHEMA, |
239 | 239 |
'contact': CONTACT_SCHEMA, |
240 | 240 |
'profession': PROFESSION_SCHEMA, |
241 |
- |