def return_schema_name(raw_schema_version_string: str,
    raw_schema_type_string: str, schema_prefix: str=None):
    """ Takes Schema Version and Schema Type and returns a transformed schema name.
    Optionally takes a schema prefix to attach to the front. """
    schema_version_string = raw_schema_version_string.replace('-', '_'
        ).replace('.', '_')
    schema_name = schema_version_string + '_' + raw_schema_type_string.lower()
    if schema_prefix and schema_name:
        schema_name = schema_prefix + '_' + schema_name
    return schema_name
