def get_locations(top_container_info):
    """Gets a string representation of a location for an ArchivesSpace top container.

    Args:
        top_container_info (dict): json for a top container (with resolved container locations)

     Returns:
         string: all locations associated with the top container, separated by a comma.
    """

    def make_short_location(loc_data):
        return ".".join([
            loc_data.get("room", "").strip().replace("Vault ", ""),
            loc_data.get("coordinate_1_indicator", "").strip(),
            loc_data.get("coordinate_2_indicator", "").strip()])

    locations = None
    if top_container_info.get("container_locations"):
        locations = ",".join([make_short_location(c["_resolved"]) for c in top_container_info.get("container_locations")])
    return locations