Update service type and crown when service is added to organisation

This commit is contained in:
Pea Tyczynska
2019-07-15 14:39:21 +01:00
parent 9dfc550f46
commit 8a3ac8400f
4 changed files with 14 additions and 15 deletions

View File

@@ -8,7 +8,7 @@ post_create_organisation_schema = {
"properties": {
"name": {"type": "string"},
"active": {"type": ["boolean", "null"]},
"crown": {"type": "boolean"},
"crown": {"type": ["boolean", "null"]},
"organisation_type": {"enum": ORGANISATION_TYPES},
},
"required": ["name", "crown", "organisation_type"]