Projet

Général

Profil

0002-toulouse_maelis-remove-null-type-on-mandatory-civili.patch

Nicolas Roche, 13 septembre 2022 19:48

Télécharger (1,3 ko)

Voir les différences:

Subject: [PATCH 2/3] toulouse_maelis: remove null type on mandatory civility
 (#69046)

 passerelle/contrib/toulouse_maelis/schemas.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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
-