def METHOD_NAME(config_file, schema_uri):
    l = logging.getLogger(__name__)
    try:
        # load configuration file
        config_dict = lib.open_and_load_json(config_file)
    except (OSError, ValueError) as e:
        six.reraise(IrodsError, IrodsError('\n\t'.join([
            'ERROR: Validation Failed for [{0}]:'.format(config_file),
            'against [{0}]'.format(schema_uri),
            '{0}: {1}'.format(e.__class__.__name__, e)])),
                          sys.exc_info()[2])
    validate_dict(config_dict, schema_uri, name=config_file)
    return config_dict