Private/Convert-Weather.ps1

filter Convert-Weather
{
    [PSCustomObject]@{
        ID          = $_.id
        Main        = $_.main
        Description = $_.description
        Icon        = $_.icon
    }
}