diff --git a/entity_validator.py b/entity_validator.py index 3c5b66d..fbcd49e 100644 --- a/entity_validator.py +++ b/entity_validator.py @@ -79,13 +79,16 @@ def validate(entity): schema = { 'finanzdaten': { - 'type': 'dict', + 'type': 'dict', + 'required': True, 'schema': schema_fin}, 'mitgliederdaten': { - 'type': 'dict', + 'type': 'dict', + 'required': True, 'schema': schema_membership}, 'stammdaten': { - 'type': 'dict', + 'type': 'dict', + 'required': True, 'schema': schema_base}, 'id': { 'type': 'string',