mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 14:31:57 -05:00
Emergency service instead of emergency services
This commit is contained in:
@@ -326,9 +326,9 @@ class Domain(db.Model):
|
||||
|
||||
ORGANISATION_TYPES = [
|
||||
"central", "local", "nhs_central",
|
||||
"nhs_local", "emergency_services", "school_or_college", "other",
|
||||
"nhs_local", "emergency_service", "school_or_college", "other",
|
||||
]
|
||||
NON_CROWN_ORGANISATION_TYPES = ["local", "nhs_central", "nhs_local", "emergency_services", "school_or_college"]
|
||||
NON_CROWN_ORGANISATION_TYPES = ["local", "nhs_central", "nhs_local", "emergency_service", "school_or_college"]
|
||||
|
||||
|
||||
class OrganisationTypes(db.Model):
|
||||
|
||||
@@ -8,7 +8,7 @@ post_create_organisation_schema = {
|
||||
"properties": {
|
||||
"name": {"type": "string"},
|
||||
"active": {"type": ["boolean", "null"]},
|
||||
"crown": {"type": ["boolean", "null"]},
|
||||
"crown": {"type": "boolean"},
|
||||
"organisation_type": {"enum": ORGANISATION_TYPES},
|
||||
},
|
||||
"required": ["name", "crown", "organisation_type"]
|
||||
|
||||
Reference in New Issue
Block a user