toulouse-maelis: manage authorised persons on main WS (#71646)
This commit is contained in:
parent
5e06fb43a2
commit
25de4254aa
|
@ -552,6 +552,15 @@ CHILD_SCHEMA = {
|
|||
},
|
||||
'medicalRecord': {'oneOf': [MEDICALRECORD_SCHEMA, {'type': 'null'}]},
|
||||
'paiInfoBean': {'oneOf': [PAIINFO_SCHEMA, {'type': 'null'}]},
|
||||
'authorizedPersonList': {
|
||||
'oneOf': [
|
||||
{
|
||||
'type': 'array',
|
||||
'items': AUTHORIZED_PERSON_SCHEMA,
|
||||
},
|
||||
{'type': 'null'},
|
||||
],
|
||||
},
|
||||
},
|
||||
'additionalProperties': False,
|
||||
}
|
||||
|
@ -646,6 +655,7 @@ CREATE_CHILD_SCHEMA['unflatten'] = True
|
|||
del CREATE_CHILD_SCHEMA['properties']['dietcode']
|
||||
del CREATE_CHILD_SCHEMA['properties']['medicalRecord']
|
||||
del CREATE_CHILD_SCHEMA['properties']['paiInfoBean']
|
||||
del CREATE_CHILD_SCHEMA['properties']['authorizedPersonList']
|
||||
|
||||
UPDATE_CHILD_SCHEMA = copy.deepcopy(CREATE_CHILD_SCHEMA)
|
||||
|
||||
|
|
Loading…
Reference in New Issue