export type LegacyVesselSources = {
  permittedList: boolean;
  checklist: boolean;
  fleet906: boolean;
};

export type LegacyVesselInfo = {
  permitNo: string;
  shipNameRoman: string;
  shipNameCn: string | null;
  shipCode: string; // PT | PT-S | GN | OT | PS | FC | ...
  ton: number | null;
  callSign: string;
  mmsi: number | null;
  mmsiList: number[];
  workSeaArea: string;
  workTerm1: string;
  workTerm2: string;
  quota: string;

  ownerCn: string | null;
  ownerRoman: string | null;

  pairPermitNo: string | null;
  pairShipNameCn: string | null;

  checklistSheet: string | null;
  sources: LegacyVesselSources;
};

export type LegacyVesselDataset = {
  generatedAt: string;
  counts: Record<string, number>;
  vessels: LegacyVesselInfo[];
};

