diff --git a/app/validators/metadata_validator.py b/app/validators/metadata_validator.py index b7fdb7ee..8201fa21 100644 --- a/app/validators/metadata_validator.py +++ b/app/validators/metadata_validator.py @@ -32,7 +32,7 @@ def validate_mandatory(self): # ru_name required for template rendering in business, default and NI theme required_metadata_names = [] - if self.theme_name in ["business", "default", "northernireland"]: + if self.theme_name in ["business", "default", "northernireland", "beis"]: required_metadata_names.extend(["user_id", "period_id", "ru_name"]) for metadata_name in required_metadata_names: diff --git a/schemas/questionnaire_v1.json b/schemas/questionnaire_v1.json index 32154ab2..6ca8f186 100644 --- a/schemas/questionnaire_v1.json +++ b/schemas/questionnaire_v1.json @@ -52,6 +52,7 @@ "default", "health", "northernireland", + "beis", "census", "census-nisra" ]