def alter_projects_to_metax(projects):
    """Convert project objects from frontend to comply with the Metax schema.

    Arguments:
        project (list<dict>): List of project objects, containing details and organizations

    Returns:
        list<dict>: List of project objects in Metax schema

    """
    output = []
    for project in projects:
        details = project.get("details", {})
        metax_project = {
            "name": details.get("title"),
            "identifier": details.get("identifier"),
            "has_funder_identifier": details.get("fundingIdentifier"),
            "funder_type": details.get("funderType"),
            "source_organization": project.get("organizations", []),
            "has_funding_agency": project.get("fundingAgencies", []),
        }
        output.append(metax_project)
    return output