def METHOD_NAME(validator, properties, instance, schema):
    for property, subschema in properties.items():
        if "default" in subschema:
            instance.setdefault(property, subschema["default"])
    yield from validate_properties(validator, properties, instance, schema)