{
  "lotes_produccion": [
    {
      "id": "40000000-0000-0000-0000-000000000001",
      "batch_number": "BATCH-20250115-001",
      "product_id": "20000000-0000-0000-0000-000000000001",
      "product_name": "Baguette Francesa Tradicional",
      "recipe_id": "30000000-0000-0000-0000-000000000001",
      "planned_start_offset_days": -7,
      "planned_start_hour": 6,
      "planned_start_minute": 0,
      "planned_duration_minutes": 165,
      "planned_quantity": 100.0,
      "actual_quantity": 98.0,
      "status": "COMPLETED",
      "priority": "MEDIUM",
      "current_process_stage": "packaging",
      "yield_percentage": 98.0,
      "quality_score": 95.0,
      "waste_quantity": 2.0,
      "defect_quantity": 0.0,
      "waste_defect_type": "burnt",
      "estimated_cost": 150.00,
      "actual_cost": 148.50,
      "labor_cost": 80.00,
      "material_cost": 55.00,
      "overhead_cost": 13.50,
      "station_id": "STATION-01",
      "is_rush_order": false,
      "is_special_recipe": false,
      "is_ai_assisted": true,
      "production_notes": "Producción estándar, sin incidencias",
      "quality_notes": "2 baguettes quemadas por exceso de temperatura",
      "equipment_used": ["50000000-0000-0000-0000-000000000001"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000002",
      "batch_number": "BATCH-20250115-002",
      "product_id": "20000000-0000-0000-0000-000000000002",
      "product_name": "Croissant de Mantequilla Artesanal",
      "recipe_id": "30000000-0000-0000-0000-000000000002",
      "planned_start_offset_days": -7,
      "planned_start_hour": 5,
      "planned_start_minute": 0,
      "planned_duration_minutes": 240,
      "planned_quantity": 120.0,
      "actual_quantity": 115.0,
      "status": "COMPLETED",
      "priority": "HIGH",
      "current_process_stage": "packaging",
      "yield_percentage": 95.8,
      "quality_score": 92.0,
      "waste_quantity": 3.0,
      "defect_quantity": 2.0,
      "waste_defect_type": "misshapen",
      "estimated_cost": 280.00,
      "actual_cost": 275.00,
      "labor_cost": 120.00,
      "material_cost": 125.00,
      "overhead_cost": 30.00,
      "station_id": "STATION-02",
      "is_rush_order": false,
      "is_special_recipe": false,
      "is_ai_assisted": true,
      "production_notes": "Laminado perfecto, buen desarrollo",
      "quality_notes": "3 croissants con forma irregular por laminado desigual, 2 descartados",
      "equipment_used": ["50000000-0000-0000-0000-000000000002", "50000000-0000-0000-0000-000000000001"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000003",
      "batch_number": "BATCH-20250116-001",
      "product_id": "20000000-0000-0000-0000-000000000003",
      "product_name": "Pan de Pueblo con Masa Madre",
      "recipe_id": "30000000-0000-0000-0000-000000000003",
      "planned_start_offset_days": -6,
      "planned_start_hour": 7,
      "planned_start_minute": 30,
      "planned_duration_minutes": 300,
      "planned_quantity": 80.0,
      "actual_quantity": 80.0,
      "status": "COMPLETED",
      "priority": "MEDIUM",
      "current_process_stage": "packaging",
      "yield_percentage": 100.0,
      "quality_score": 98.0,
      "waste_quantity": 0.0,
      "defect_quantity": 0.0,
      "waste_defect_type": null,
      "estimated_cost": 200.00,
      "actual_cost": 195.00,
      "labor_cost": 90.00,
      "material_cost": 80.00,
      "overhead_cost": 25.00,
      "station_id": "STATION-01",
      "is_rush_order": false,
      "is_special_recipe": true,
      "is_ai_assisted": true,
      "production_notes": "Excelente fermentación de la masa madre",
      "quality_notes": "Batch perfecto, sin desperdicio",
      "equipment_used": ["50000000-0000-0000-0000-000000000001"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000004",
      "batch_number": "BATCH-20250116-002",
      "product_id": "20000000-0000-0000-0000-000000000004",
      "product_name": "Napolitana de Chocolate",
      "recipe_id": "30000000-0000-0000-0000-000000000004",
      "planned_start_offset_days": -6,
      "planned_start_hour": 6,
      "planned_start_minute": 0,
      "planned_duration_minutes": 180,
      "planned_quantity": 90.0,
      "actual_quantity": 88.0,
      "status": "COMPLETED",
      "priority": "MEDIUM",
      "current_process_stage": "packaging",
      "yield_percentage": 97.8,
      "quality_score": 94.0,
      "waste_quantity": 1.0,
      "defect_quantity": 1.0,
      "waste_defect_type": "misshapen",
      "estimated_cost": 220.00,
      "actual_cost": 218.00,
      "labor_cost": 95.00,
      "material_cost": 98.00,
      "overhead_cost": 25.00,
      "station_id": "STATION-02",
      "is_rush_order": false,
      "is_special_recipe": false,
      "is_ai_assisted": false,
      "production_notes": "Distribución uniforme del chocolate",
      "quality_notes": "1 napolitana con distribución irregular de chocolate, descartada",
      "equipment_used": ["50000000-0000-0000-0000-000000000001", "50000000-0000-0000-0000-000000000002"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000005",
      "batch_number": "BATCH-20250117-001",
      "product_id": "20000000-0000-0000-0000-000000000001",
      "product_name": "Baguette Francesa Tradicional",
      "recipe_id": "30000000-0000-0000-0000-000000000001",
      "planned_start_offset_days": -5,
      "planned_start_hour": 6,
      "planned_start_minute": 0,
      "planned_duration_minutes": 165,
      "planned_quantity": 120.0,
      "actual_quantity": 118.0,
      "status": "COMPLETED",
      "priority": "HIGH",
      "current_process_stage": "packaging",
      "yield_percentage": 98.3,
      "quality_score": 96.0,
      "waste_quantity": 1.5,
      "defect_quantity": 0.5,
      "waste_defect_type": "underproofed",
      "estimated_cost": 180.00,
      "actual_cost": 177.00,
      "labor_cost": 95.00,
      "material_cost": 65.00,
      "overhead_cost": 17.00,
      "station_id": "STATION-01",
      "is_rush_order": false,
      "is_special_recipe": false,
      "is_ai_assisted": true,
      "production_notes": "Lote grande para pedido especial",
      "quality_notes": "1.5kg por fermentación insuficiente",
      "equipment_used": ["50000000-0000-0000-0000-000000000001"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000006",
      "batch_number": "BATCH-20250117-002",
      "product_id": "20000000-0000-0000-0000-000000000002",
      "product_name": "Croissant de Mantequilla Artesanal",
      "recipe_id": "30000000-0000-0000-0000-000000000002",
      "planned_start_offset_days": -5,
      "planned_start_hour": 5,
      "planned_start_minute": 0,
      "planned_duration_minutes": 240,
      "planned_quantity": 100.0,
      "actual_quantity": 96.0,
      "status": "COMPLETED",
      "priority": "MEDIUM",
      "current_process_stage": "packaging",
      "yield_percentage": 96.0,
      "quality_score": 90.0,
      "waste_quantity": 2.0,
      "defect_quantity": 2.0,
      "waste_defect_type": "temperature_issues",
      "estimated_cost": 240.00,
      "actual_cost": 238.00,
      "labor_cost": 105.00,
      "material_cost": 105.00,
      "overhead_cost": 28.00,
      "station_id": "STATION-02",
      "is_rush_order": false,
      "is_special_recipe": false,
      "is_ai_assisted": false,
      "production_notes": "Algunos croissants con desarrollo irregular",
      "quality_notes": "2kg descartados por problemas de temperatura en fermentación",
      "equipment_used": ["50000000-0000-0000-0000-000000000002", "50000000-0000-0000-0000-000000000001"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000007",
      "batch_number": "BATCH-20250118-001",
      "product_id": "20000000-0000-0000-0000-000000000001",
      "product_name": "Baguette Francesa Tradicional",
      "recipe_id": "30000000-0000-0000-0000-000000000001",
      "planned_start_offset_days": -4,
      "planned_start_hour": 6,
      "planned_start_minute": 0,
      "planned_duration_minutes": 165,
      "planned_quantity": 100.0,
      "actual_quantity": 99.0,
      "status": "COMPLETED",
      "priority": "MEDIUM",
      "current_process_stage": "packaging",
      "yield_percentage": 99.0,
      "quality_score": 97.0,
      "waste_quantity": 1.0,
      "defect_quantity": 0.0,
      "waste_defect_type": "burnt",
      "estimated_cost": 150.00,
      "actual_cost": 149.00,
      "labor_cost": 80.00,
      "material_cost": 55.00,
      "overhead_cost": 14.00,
      "station_id": "STATION-01",
      "is_rush_order": false,
      "is_special_recipe": false,
      "is_ai_assisted": true,
      "production_notes": "Excelente resultado",
      "quality_notes": "1kg quemado por ajuste de horno",
      "equipment_used": ["50000000-0000-0000-0000-000000000001"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000008",
      "batch_number": "BATCH-20250118-002",
      "product_id": "20000000-0000-0000-0000-000000000003",
      "product_name": "Pan de Pueblo con Masa Madre",
      "recipe_id": "30000000-0000-0000-0000-000000000003",
      "planned_start_offset_days": -4,
      "planned_start_hour": 7,
      "planned_start_minute": 0,
      "planned_duration_minutes": 300,
      "planned_quantity": 60.0,
      "actual_quantity": 60.0,
      "status": "COMPLETED",
      "priority": "LOW",
      "current_process_stage": "packaging",
      "yield_percentage": 100.0,
      "quality_score": 99.0,
      "waste_quantity": 0.0,
      "defect_quantity": 0.0,
      "waste_defect_type": null,
      "estimated_cost": 155.00,
      "actual_cost": 152.00,
      "labor_cost": 70.00,
      "material_cost": 65.00,
      "overhead_cost": 17.00,
      "station_id": "STATION-01",
      "is_rush_order": false,
      "is_special_recipe": true,
      "is_ai_assisted": true,
      "production_notes": "Masa madre en punto óptimo",
      "quality_notes": "Batch perfecto, sin desperdicios",
      "equipment_used": ["50000000-0000-0000-0000-000000000001"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000009",
      "batch_number": "BATCH-20250119-001",
      "product_id": "20000000-0000-0000-0000-000000000002",
      "product_name": "Croissant de Mantequilla Artesanal",
      "recipe_id": "30000000-0000-0000-0000-000000000002",
      "planned_start_offset_days": -3,
      "planned_start_hour": 5,
      "planned_start_minute": 0,
      "planned_duration_minutes": 240,
      "planned_quantity": 150.0,
      "actual_quantity": 145.0,
      "status": "COMPLETED",
      "priority": "URGENT",
      "current_process_stage": "packaging",
      "yield_percentage": 96.7,
      "quality_score": 93.0,
      "waste_quantity": 3.0,
      "defect_quantity": 2.0,
      "waste_defect_type": "burnt",
      "estimated_cost": 350.00,
      "actual_cost": 345.00,
      "labor_cost": 150.00,
      "material_cost": 155.00,
      "overhead_cost": 40.00,
      "station_id": "STATION-02",
      "is_rush_order": true,
      "is_special_recipe": false,
      "is_ai_assisted": true,
      "production_notes": "Pedido urgente de evento corporativo",
      "quality_notes": "3kg quemados por presión de tiempo, 2kg descartados",
      "equipment_used": ["50000000-0000-0000-0000-000000000002", "50000000-0000-0000-0000-000000000001"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000010",
      "batch_number": "BATCH-20250119-002",
      "product_id": "20000000-0000-0000-0000-000000000004",
      "product_name": "Napolitana de Chocolate",
      "recipe_id": "30000000-0000-0000-0000-000000000004",
      "planned_start_offset_days": -3,
      "planned_start_hour": 6,
      "planned_start_minute": 30,
      "planned_duration_minutes": 180,
      "planned_quantity": 80.0,
      "actual_quantity": 79.0,
      "status": "COMPLETED",
      "priority": "MEDIUM",
      "current_process_stage": "packaging",
      "yield_percentage": 98.8,
      "quality_score": 95.0,
      "waste_quantity": 0.5,
      "defect_quantity": 0.5,
      "waste_defect_type": "misshapen",
      "estimated_cost": 195.00,
      "actual_cost": 192.00,
      "labor_cost": 85.00,
      "material_cost": 85.00,
      "overhead_cost": 22.00,
      "station_id": "STATION-02",
      "is_rush_order": false,
      "is_special_recipe": false,
      "is_ai_assisted": true,
      "production_notes": "Buen resultado general",
      "quality_notes": "0.5kg con forma irregular, descartados",
      "equipment_used": ["50000000-0000-0000-0000-000000000001"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000011",
      "batch_number": "BATCH-20250120-001",
      "product_id": "20000000-0000-0000-0000-000000000001",
      "product_name": "Baguette Francesa Tradicional",
      "recipe_id": "30000000-0000-0000-0000-000000000001",
      "planned_start_offset_days": -2,
      "planned_start_hour": 6,
      "planned_start_minute": 0,
      "planned_duration_minutes": 165,
      "planned_quantity": 110.0,
      "actual_quantity": 108.0,
      "status": "COMPLETED",
      "priority": "MEDIUM",
      "current_process_stage": "packaging",
      "yield_percentage": 98.2,
      "quality_score": 96.0,
      "waste_quantity": 1.5,
      "defect_quantity": 0.5,
      "waste_defect_type": "underproofed",
      "estimated_cost": 165.00,
      "actual_cost": 162.00,
      "labor_cost": 88.00,
      "material_cost": 60.00,
      "overhead_cost": 14.00,
      "station_id": "STATION-01",
      "is_rush_order": false,
      "is_special_recipe": false,
      "is_ai_assisted": true,
      "production_notes": "Producción estándar",
      "quality_notes": "1.5kg con fermentación insuficiente, 0.5kg descartados",
      "equipment_used": ["50000000-0000-0000-0000-000000000001"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000012",
      "batch_number": "BATCH-20250120-002",
      "product_id": "20000000-0000-0000-0000-000000000003",
      "product_name": "Pan de Pueblo con Masa Madre",
      "recipe_id": "30000000-0000-0000-0000-000000000003",
      "planned_start_offset_days": -2,
      "planned_start_hour": 7,
      "planned_start_minute": 30,
      "planned_duration_minutes": 300,
      "planned_quantity": 70.0,
      "actual_quantity": 70.0,
      "status": "COMPLETED",
      "priority": "MEDIUM",
      "current_process_stage": "packaging",
      "yield_percentage": 100.0,
      "quality_score": 98.0,
      "waste_quantity": 0.0,
      "defect_quantity": 0.0,
      "waste_defect_type": null,
      "estimated_cost": 175.00,
      "actual_cost": 172.00,
      "labor_cost": 80.00,
      "material_cost": 72.00,
      "overhead_cost": 20.00,
      "station_id": "STATION-01",
      "is_rush_order": false,
      "is_special_recipe": true,
      "is_ai_assisted": true,
      "production_notes": "Fermentación perfecta",
      "quality_notes": "Batch perfecto, optimizado por IA",
      "equipment_used": ["50000000-0000-0000-0000-000000000001"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000013",
      "batch_number": "BATCH-20250121-001",
      "product_id": "20000000-0000-0000-0000-000000000002",
      "product_name": "Croissant de Mantequilla Artesanal",
      "recipe_id": "30000000-0000-0000-0000-000000000002",
      "planned_start_offset_days": -1,
      "planned_start_hour": 5,
      "planned_start_minute": 0,
      "planned_duration_minutes": 240,
      "planned_quantity": 130.0,
      "actual_quantity": 125.0,
      "status": "COMPLETED",
      "priority": "HIGH",
      "current_process_stage": "packaging",
      "yield_percentage": 96.2,
      "quality_score": 94.0,
      "waste_quantity": 3.0,
      "defect_quantity": 2.0,
      "waste_defect_type": "burnt",
      "estimated_cost": 310.00,
      "actual_cost": 305.00,
      "labor_cost": 135.00,
      "material_cost": 138.00,
      "overhead_cost": 32.00,
      "station_id": "STATION-02",
      "is_rush_order": false,
      "is_special_recipe": false,
      "is_ai_assisted": false,
      "production_notes": "Demanda elevada del fin de semana",
      "quality_notes": "3kg quemados por sobrecarga de horno, 2kg descartados",
      "equipment_used": ["50000000-0000-0000-0000-000000000002", "50000000-0000-0000-0000-000000000001"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000014",
      "batch_number": "BATCH-20250121-002",
      "product_id": "20000000-0000-0000-0000-000000000001",
      "product_name": "Baguette Francesa Tradicional",
      "recipe_id": "30000000-0000-0000-0000-000000000001",
      "planned_start_offset_days": -1,
      "planned_start_hour": 6,
      "planned_start_minute": 30,
      "planned_duration_minutes": 165,
      "planned_quantity": 120.0,
      "actual_quantity": 118.0,
      "status": "COMPLETED",
      "priority": "HIGH",
      "current_process_stage": "packaging",
      "yield_percentage": 98.3,
      "quality_score": 97.0,
      "waste_quantity": 1.5,
      "defect_quantity": 0.5,
      "waste_defect_type": "burnt",
      "estimated_cost": 180.00,
      "actual_cost": 178.00,
      "labor_cost": 95.00,
      "material_cost": 66.00,
      "overhead_cost": 17.00,
      "station_id": "STATION-01",
      "is_rush_order": false,
      "is_special_recipe": false,
      "is_ai_assisted": true,
      "production_notes": "Alta demanda de fin de semana",
      "quality_notes": "1.5kg ligeramente quemados, 0.5kg descartados",
      "equipment_used": ["50000000-0000-0000-0000-000000000001"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000015",
      "batch_number": "BATCH-20250122-001",
      "product_id": "20000000-0000-0000-0000-000000000001",
      "product_name": "Baguette Francesa Tradicional",
      "recipe_id": "30000000-0000-0000-0000-000000000001",
      "planned_start_offset_days": 0,
      "planned_start_hour": 6,
      "planned_start_minute": 0,
      "planned_duration_minutes": 165,
      "planned_quantity": 100.0,
      "actual_quantity": null,
      "status": "IN_PROGRESS",
      "priority": "MEDIUM",
      "current_process_stage": "baking",
      "yield_percentage": null,
      "quality_score": null,
      "waste_quantity": null,
      "defect_quantity": null,
      "waste_defect_type": null,
      "estimated_cost": 150.00,
      "actual_cost": null,
      "labor_cost": null,
      "material_cost": null,
      "overhead_cost": null,
      "station_id": "STATION-01",
      "is_rush_order": false,
      "is_special_recipe": false,
      "is_ai_assisted": true,
      "production_notes": "Producción en curso con predicción de IA",
      "quality_notes": null,
      "equipment_used": ["50000000-0000-0000-0000-000000000001"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000016",
      "batch_number": "BATCH-20250122-002",
      "product_id": "20000000-0000-0000-0000-000000000002",
      "product_name": "Croissant de Mantequilla Artesanal",
      "recipe_id": "30000000-0000-0000-0000-000000000002",
      "planned_start_offset_days": 0,
      "planned_start_hour": 8,
      "planned_start_minute": 0,
      "planned_duration_minutes": 240,
      "planned_quantity": 100.0,
      "actual_quantity": null,
      "status": "PENDING",
      "priority": "MEDIUM",
      "current_process_stage": null,
      "yield_percentage": null,
      "quality_score": null,
      "waste_quantity": null,
      "defect_quantity": null,
      "waste_defect_type": null,
      "estimated_cost": 240.00,
      "actual_cost": null,
      "labor_cost": null,
      "material_cost": null,
      "overhead_cost": null,
      "station_id": "STATION-02",
      "is_rush_order": false,
      "is_special_recipe": false,
      "is_ai_assisted": true,
      "production_notes": "Pendiente de inicio - cantidad optimizada por IA",
      "quality_notes": null,
      "equipment_used": ["50000000-0000-0000-0000-000000000002", "50000000-0000-0000-0000-000000000001"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000017",
      "batch_number": "BATCH-20250123-001",
      "product_id": "20000000-0000-0000-0000-000000000003",
      "product_name": "Pan de Pueblo con Masa Madre",
      "recipe_id": "30000000-0000-0000-0000-000000000003",
      "planned_start_offset_days": 1,
      "planned_start_hour": 7,
      "planned_start_minute": 0,
      "planned_duration_minutes": 300,
      "planned_quantity": 75.0,
      "actual_quantity": null,
      "status": "PENDING",
      "priority": "MEDIUM",
      "current_process_stage": null,
      "yield_percentage": null,
      "quality_score": null,
      "waste_quantity": null,
      "defect_quantity": null,
      "waste_defect_type": null,
      "estimated_cost": 185.00,
      "actual_cost": null,
      "labor_cost": null,
      "material_cost": null,
      "overhead_cost": null,
      "station_id": "STATION-01",
      "is_rush_order": false,
      "is_special_recipe": true,
      "is_ai_assisted": true,
      "production_notes": "Planificado para mañana con predicción de demanda IA",
      "quality_notes": null,
      "equipment_used": ["50000000-0000-0000-0000-000000000001"]
    },
    {
      "id": "40000000-0000-0000-0000-000000000018",
      "batch_number": "BATCH-20250123-002",
      "product_id": "20000000-0000-0000-0000-000000000004",
      "product_name": "Napolitana de Chocolate",
      "recipe_id": "30000000-0000-0000-0000-000000000004",
      "planned_start_offset_days": 1,
      "planned_start_hour": 6,
      "planned_start_minute": 0,
      "planned_duration_minutes": 180,
      "planned_quantity": 85.0,
      "actual_quantity": null,
      "status": "PENDING",
      "priority": "LOW",
      "current_process_stage": null,
      "yield_percentage": null,
      "quality_score": null,
      "waste_quantity": null,
      "defect_quantity": null,
      "waste_defect_type": null,
      "estimated_cost": 210.00,
      "actual_cost": null,
      "labor_cost": null,
      "material_cost": null,
      "overhead_cost": null,
      "station_id": "STATION-02",
      "is_rush_order": false,
      "is_special_recipe": false,
      "is_ai_assisted": false,
      "production_notes": "Planificado para mañana",
      "quality_notes": null,
      "equipment_used": ["50000000-0000-0000-0000-000000000001"]
    }
  ]
}
