# Campaigns drive the new search_v2.py orchestrator.
# Each campaign = (criteria × list of regions × list of sources).
#
# Edit this file to:
#   - Add a new region to an existing search (e.g. 'creuse' to FR-Brittany)
#   - Adjust price/size filters per campaign
#   - Add a new country (just add a campaign with country: NL etc, once a
#     source for that country exists)
#
# Source names must match keys in sources/__init__.py:build_registry()

campaigns:
  - name: "FR Brittany — rural homestead"
    enabled: true
    criteria:
      country: FR
      min_price: 100000
      max_price: 500000
      min_land_m2: 1000
      min_building_m2: 70
      min_bedrooms: 3
      max_pages: 3
      limit: 50
    regions: [morbihan, finistere, cotes-d-armor]
    sources: [greenacres, immonot, leggett_email, properstar_email, listglobally_search]

  - name: "FR Provence/Drôme — rural homestead"
    enabled: true
    criteria:
      country: FR
      min_price: 100000
      max_price: 500000
      min_land_m2: 2000  # bigger plots typical here
      min_building_m2: 70
      min_bedrooms: 3
      max_pages: 3
      limit: 50
    regions: [drome, ardeche, herault, gard]
    sources: [greenacres, immonot, leggett_email, properstar_email, listglobally_search]

  - name: "FR Charentes + Dordogne — mid-priced lands"
    enabled: true
    criteria:
      country: FR
      min_price: 80000
      max_price: 350000
      min_land_m2: 2000
      min_building_m2: 80
      min_bedrooms: 3
      max_pages: 2
      limit: 30
    regions: [charente, charente-maritime, dordogne, lot]
    sources: [greenacres, immonot, leggett_email, properstar_email]

  - name: "FR Massif Central deep rural"
    enabled: true
    criteria:
      country: FR
      min_price: 70000
      max_price: 350000
      min_land_m2: 3000
      min_building_m2: 80
      min_bedrooms: 3
      max_pages: 2
      limit: 30
    regions: [creuse, correze, cantal, aveyron, lozere, tarn]
    sources: [greenacres, immonot, leggett_email]

  - name: "FR Pyrenean + Languedoc south"
    enabled: true
    criteria:
      country: FR
      min_price: 100000
      max_price: 450000
      min_land_m2: 2000
      min_building_m2: 80
      min_bedrooms: 3
      max_pages: 2
      limit: 30
    regions: [pyrenees-atlantiques, hautes-pyrenees, aude, pyrenees-orientales, tarn-et-garonne]
    sources: [greenacres, immonot, leggett_email]

  - name: "IT rural — exploratory"
    enabled: false   # turn on when ListGlobally token refreshed + body shape known
    criteria:
      country: IT
      min_price: 80000
      max_price: 400000
      min_building_m2: 80
      max_pages: 3
      limit: 30
    regions: [umbria, marche, toscana]
    sources: [greenacres, listglobally_search]
