|
Align payload fields with data_collector PayloadSchema
- Rename 'photos' -> 'images' (data_collector expects images: list[str]) - Add 'price' field matching PayloadSchema price field - Add 'contact_phone' (first phone string, not list) - Add 'address' (combined city+district+street+building string) - Add 'area', 'rooms', 'floor' per strict schema - Keep extra fields (price_usd, city_name, etc.) because extra=allow - Remove 'photos_count' in favor of checking len(images) Fixes photo ingestion — previously data_collector rejected/ignored 'photos' because PayloadSchema only knows 'images'. Co-Authored-By: Claude <noreply@anthropic.com> |
|---|
|
|
| src/crawler.py |
|---|
| src/normalizer.py |
|---|