/* HNS 물질 검색 데이터 타입 */

export interface HNSSearchSubstance {
  id: number;
  abbreviation: string; // 약자/제품명 (화물적부도 코드)
  nameKr: string; // 국문명
  nameEn: string; // 영문명
  synonymsEn: string; // 영문 동의어
  synonymsKr: string; // 국문 동의어/용도
  unNumber: string; // UN번호
  casNumber: string; // CAS번호
  transportMethod: string; // 운송방법
  sebc: string; // SEBC 거동분류
  /* 물리·화학적 특성 */
  usage: string;
  state: string;
  color: string;
  odor: string;
  flashPoint: string;
  autoIgnition: string;
  boilingPoint: string;
  density: string; // 비중 (물=1)
  solubility: string;
  vaporPressure: string;
  vaporDensity: string; // 증기밀도 (공기=1)
  explosionRange: string; // 폭발범위
  /* 위험등급·농도기준 */
  nfpa: { health: number; fire: number; reactivity: number; special: string };
  hazardClass: string;
  ergNumber: string;
  idlh: string;
  aegl2: string;
  erpg2: string;
  /* 방제거리 */
  responseDistanceFire: string;
  responseDistanceSpillDay: string;
  responseDistanceSpillNight: string;
  marineResponse: string;
  /* PPE */
  ppeClose: string;
  ppeFar: string;
  /* MSDS 요약 */
  msds: {
    hazard: string;
    firstAid: string;
    fireFighting: string;
    spillResponse: string;
    exposure: string;
    regulation: string;
  };
  /* IBC CODE */
  ibcHazard: string;
  ibcShipType: string;
  ibcTankType: string;
  ibcDetection: string;
  ibcFireFighting: string;
  ibcMinRequirement: string;
  /* EmS */
  emsCode: string;
  emsFire: string;
  emsSpill: string;
  emsFirstAid: string;
  /* 화물적부도 코드 */
  cargoCodes: Array<{ code: string; name: string; company: string; source: string }>;
  /* 항구별 반입 */
  portFrequency: Array<{ port: string; portCode: string; lastImport: string; frequency: string }>;
}
