extract bai record types into protocols