{
  "$schema": "./mapping_schema.json",
  "brand": "Grundfos",
  "aliases": [
    "GRUNDFOS",
    "Grundfos Pompes"
  ],
  "source_files": [
    "FAB-DIS_Final_26102026_MANUEL_GRUNDFOS_V3.json",
    "FAB-DIS_Final_26102026_MANUEL_GRUNDFOS_V3_conforme.xlsx"
  ],

  "filters": {
    "include_families": [],
    "exclude_keywords": [
      "forage", "puits", "immergée", "diaphragme", "pompe doseuse", "submersible",
      "arrosage", "dosing", "chine", "dme", "dms"
    ],
    "include_keywords": [
      "circulateur", "alpha", "magna", "ups", "comfort", "conlift", "condensat",
      "relevage condensats", "module de pompe", "bride", "isolation thermique"
    ]
  },

  "category_rules": [
    {
      "target_category": "circulateur_chauffage",
      "priority": 10,
      "match": {
        "libelle_regex": "(?:alpha1|alpha2|alpha solar|magna1|magna3|ups|circulateur)"
      }
    },
    {
      "target_category": "pompe_relevage_condensats",
      "priority": 20,
      "match": {
        "libelle_regex": "(?:conlift|relevage condensat)"
      }
    },
    {
      "target_category": "accessory",
      "priority": 99,
      "match": {
        "default": true
      }
    }
  ],

  "attribute_extractors": {
    "flow_nominal_m3h": {
      "regex_patterns": [
        "([0-9]+[.,]?[0-9]*)\\s*m[3³]/h"
      ]
    },
    "max_head_meters": {
      "regex_patterns": [
        "(?:Hmax|H\\.?|hauteur)[^0-9]*([0-9]+[.,]?[0-9]*)\\s*m",
        "-(40|60|80|100|120)"
      ]
    },
    "power_supply": {
      "regex_patterns": [
        "(230\\s*V|400\\s*V|triphasé|monophasé|1~|3~)"
      ],
      "normalize": {
        "230 V": "230V_1P",
        "230V": "230V_1P",
        "monophasé": "230V_1P",
        "1~": "230V_1P",
        "400 V": "400V_3P",
        "400V": "400V_3P",
        "triphasé": "400V_3P",
        "3~": "400V_3P"
      },
      "default": "230V_1P"
    },
    "pricing": {
      "price_ht_field": "TARIFD",
      "price_ht_fallback_field": "TARIF",
      "currency": "EUR"
    }
  }
}
