update schemas for data files, adding record type attribute