toulouse-maelis: child bean become for create and update (#71642)
This commit is contained in:
parent
34f443362d
commit
6e1be35e94
|
@ -579,10 +579,6 @@ UPDATE_FAMILY_SCHEMA = {
|
|||
|
||||
CREATE_FAMILY_SCHEMA = copy.deepcopy(UPDATE_FAMILY_SCHEMA)
|
||||
CREATE_FAMILY_SCHEMA['required'] = ['rl1', 'category', 'situation']
|
||||
create_family_child_schema = CREATE_FAMILY_SCHEMA['properties']['childList']['oneOf'][0]['items']
|
||||
del create_family_child_schema['properties']['bPhoto']
|
||||
del create_family_child_schema['properties']['bLeaveAlone']
|
||||
del create_family_child_schema['properties']['paiInfoBean']
|
||||
|
||||
CREATE_RL1_SCHEMA = copy.deepcopy(CREATE_FAMILY_SCHEMA)
|
||||
del CREATE_RL1_SCHEMA['properties']['rl2']
|
||||
|
|
Loading…
Reference in New Issue