diff --git a/expansion/schema_validation.py b/expansion/schema_validation.py index eac832bcd..cb9d88996 100644 --- a/expansion/schema_validation.py +++ b/expansion/schema_validation.py @@ -128,7 +128,7 @@ def Validate(properties, schema_name, template_name, imports): if properties is None: properties = {} - schema = yaml.safe_load(raw_schema) + schema = yaml.safe_load(raw_schema['content']) # If the schema is empty, do nothing. if not schema: