fixed class style validator example