porting schemas - record & primitive schema