sub dicts are required

This commit is contained in:
David Kilias 2020-12-04 21:23:07 +01:00
parent 79d60dc4d4
commit 25a0f902ab

View file

@ -80,12 +80,15 @@ def validate(entity):
schema = {
'finanzdaten': {
'type': 'dict',
'required': True,
'schema': schema_fin},
'mitgliederdaten': {
'type': 'dict',
'required': True,
'schema': schema_membership},
'stammdaten': {
'type': 'dict',
'required': True,
'schema': schema_base},
'id': {
'type': 'string',