Format class validation