diff --git a/riocli/jsonschema/validate.py b/riocli/jsonschema/validate.py index 67da70f6..2c5f24cf 100644 --- a/riocli/jsonschema/validate.py +++ b/riocli/jsonschema/validate.py @@ -25,11 +25,6 @@ def set_defaults(validator, properties, instance, schema): for p, sub_schema in properties.items(): if "default" not in sub_schema: continue - - # Skip if property is not in instance - if p not in instance: - continue - if isinstance(instance, dict): instance.setdefault(p, sub_schema["default"]) if isinstance(instance, list):