A simple analytical model of magnetic jets