diff --git a/jsonschema/validators.py b/jsonschema/validators.py index 13a96647f..f3db1b978 100644 --- a/jsonschema/validators.py +++ b/jsonschema/validators.py @@ -333,7 +333,9 @@ def iter_errors(self, instance, _schema=None): instance=instance, schema=_schema, ) - if k not in {u"if", u"$ref"}: + if k == "additionalProperties" and v in (True, False): + pass + elif k not in {u"if", u"$ref"}: error.schema_path.appendleft(k) yield error finally: