{
  "$schema": "./mapping_schema.json",
  "brand": "Intuis",
  "aliases": [
    "INTUIS",
    "INTUIS THERMO",
    "INTUIS THERMODYNAMIQUE",
    "Groupe Intuis",
    "Auer"
  ],
  "source_files": [
    "fabdis-3.0-INTUIS_THERMO-FULL_19-10-2026_conforme.json",
    "fabdis-3.0-INTUIS_THERMO-FULL_19-10-2026_conforme_conforme.xlsx"
  ],

  "filters": {
    "include_families": [
      "71", "72", "73", "74", "77", "85", "IC"
    ],
    "exclude_keywords": [
      "radiateur gaz", "modulgaz", "poêle à gaz", "insert gaz", "mise en service", "accompagnement technique"
    ],
    "include_keywords": [
      "pompe à chaleur", "pac", "air/eau", "air-eau", "hrc", "hti", "hmp",
      "chauffe-eau", "thermodynamique", "thermo.", "cet", "edel", "zé7", "ze7",
      "gialix", "chaudière électrique", "ballon", "préparateur", "pej", "onix",
      "thorix", "hydraulique", "pilote", "sonde", "thermostat", "vanne", "clapet",
      "limiteur", "passerelle", "netatmo", "accessoire", "kit", "filtre", "flexible",
      "support", "bouteille", "échangeur", "circulateur", "régulation", "ambiance", "r290"
    ]
  },

  "category_rules": [
    {
      "target_category": "pac_air_eau",
      "priority": 10,
      "match": {
        "fam1": ["72"],
        "libelle_regex": "(?:pompe à chaleur|pac|air/eau|hrc|hti|hmp)"
      }
    },
    {
      "target_category": "dhw_thermodynamic",
      "priority": 20,
      "match": {
        "fam1": ["71"],
        "libelle_regex": "(?:chauffe-eau|thermodynamique|thermo\\.|cet|edel|zé7|ze7)"
      }
    },
    {
      "target_category": "pac_air_eau",
      "priority": 30,
      "match": {
        "fam1": ["73"],
        "libelle_regex": "(?:chaudière électrique|gialix)"
      }
    },
    {
      "target_category": "regulation",
      "priority": 40,
      "match": {
        "fam1": ["85", "IC"],
        "libelle_regex": "(?:thermostat|sonde|passerelle|netatmo|régulation|connect|ambiance|limiteur)"
      }
    },
    {
      "target_category": "accessory",
      "priority": 99,
      "match": {
        "default": true
      }
    }
  ],

  "attribute_extractors": {
    "heating_power_kw": {
      "regex_patterns": [
        "(?:HRC70|HTi70|HMP70|Gialix)\\s*([0-9]+[.,]?[0-9]*)\\s*kW",
        "([0-9]+[.,]?[0-9]*)\\s*kW"
      ]
    },
    "cooling_power_kw": {
      "regex_patterns": [
        "(?:frig|froid|cooling)[^0-9]*([0-9]+[.,]?[0-9]*)\\s*kW"
      ]
    },
    "tank_volume_liters": {
      "regex_patterns": [
        "([0-9]{2,4})\\s*(?:L|Litres|litres|l\\b)"
      ]
    },
    "refrigerant_type": {
      "regex_patterns": [
        "(R290|R32|R454C|R410A|R134a)"
      ],
      "normalize": {
        "r290": "R290",
        "r32": "R32",
        "r454c": "R454C",
        "r410a": "R410A"
      },
      "default": "R290"
    },
    "power_supply": {
      "regex_patterns": [
        "(triphasé|tri\\b|400\\s*V|monophasé|mono\\b|230\\s*V)"
      ],
      "normalize": {
        "230 V": "230V_1P",
        "230V": "230V_1P",
        "monophasé": "230V_1P",
        "mono": "230V_1P",
        "400 V": "400V_3P",
        "400V": "400V_3P",
        "triphasé": "400V_3P",
        "tri": "400V_3P"
      },
      "default": "230V_1P"
    },
    "pricing": {
      "price_ht_field": "TARIFD",
      "price_ht_fallback_field": "TARIF",
      "currency": "EUR"
    }
  }
}
