from typing import List


def normalize_resource_paths(resource_paths: List[str]) -> List[str]:
    """
    Takes a list of resource relative paths and normalizes to lowercase
    and with the "ed-fi" namespace prefix removed.

    Parameters
    ----------
    resource_paths : List[str]
        The list of resource relative paths

    Returns
    -------
    List[str]
        A list of normalized resource relative paths.
        For example: ["studentschoolassociations", "tpdm/candidates"]
    """
    return list(
        map(
            lambda r: r.removeprefix("/").removeprefix("ed-fi/").lower(),
            resource_paths,
        )
    )