sub dicts are required
This commit is contained in:
parent
79d60dc4d4
commit
25a0f902ab
1 changed files with 6 additions and 3 deletions
|
@ -80,12 +80,15 @@ def validate(entity):
|
||||||
schema = {
|
schema = {
|
||||||
'finanzdaten': {
|
'finanzdaten': {
|
||||||
'type': 'dict',
|
'type': 'dict',
|
||||||
|
'required': True,
|
||||||
'schema': schema_fin},
|
'schema': schema_fin},
|
||||||
'mitgliederdaten': {
|
'mitgliederdaten': {
|
||||||
'type': 'dict',
|
'type': 'dict',
|
||||||
|
'required': True,
|
||||||
'schema': schema_membership},
|
'schema': schema_membership},
|
||||||
'stammdaten': {
|
'stammdaten': {
|
||||||
'type': 'dict',
|
'type': 'dict',
|
||||||
|
'required': True,
|
||||||
'schema': schema_base},
|
'schema': schema_base},
|
||||||
'id': {
|
'id': {
|
||||||
'type': 'string',
|
'type': 'string',
|
||||||
|
|
Loading…
Reference in a new issue