public List<RankProfilesConfig.Rankprofile.Builder> getRankProfilesConfig() {
        return rankProfiles.values().stream().map(RawRankProfile::getConfig).toList();
    }
Creates a rank profile list

@param schema the schema this is a rank profile from
@param attributeFields the attribute fields to create a ranking for
config-model/src/main/java/com/yahoo/schema/derived/RankProfileList.java