def METHOD_NAME(data, schema, raises):
    """``verify_json_schema`` raises if the data doesn't verify against the schema."""
    if raises:
        with pytest.raises(TaskVerificationError):
            client.verify_json_schema(data, schema)
    else:
        client.verify_json_schema(data, schema)