human
Solve the following python programming problem given the following code:
@pytest.fixture()
def schema_match(manager):
assistant
#Here is the Python program you requested.

    """This fixture enables verifying JSON Schema. Return a list of validation error dicts. List is empty if no errors
    occurred.
    """
    def match(schema, response):
        validator = jsonschema.Draft4Validator(schema)
        errors = list(validator.iter_errors(response))
        return [dict(value=list(e.path), message=e.message) for e in errors]
    return match