Class AllowedTypesValidation