You'll want to look at the Schema reader, which will produce a list with the attribute names and types.
attribute{}.fme_data_type
attribute{}.name
attribute{}.native_data_type
I tend to use python to compare two lists, but you could explode the attribute list and use a ChangeDetector.