diff --git a/lemur/common/schema.py b/lemur/common/schema.py index 4e2c5306..ee765dc4 100644 --- a/lemur/common/schema.py +++ b/lemur/common/schema.py @@ -60,6 +60,8 @@ class LemurSchema(Schema): class LemurInputSchema(LemurSchema): @pre_load(pass_many=True) def preprocess(self, data, many): + if isinstance(data, dict) and data.get('owner'): + data['owner'] = data['owner'].lower() return self.under(data, many=many)