2025-12-13 23:57:54 +01:00
|
|
|
{
|
|
|
|
|
"forecasts": [
|
|
|
|
|
{
|
|
|
|
|
"id": "80000000-0000-0000-0000-000000002001",
|
|
|
|
|
"tenant_id": "80000000-0000-4000-a000-000000000001",
|
|
|
|
|
"product_id": "20000000-0000-0000-0000-000000000001",
|
2025-12-14 11:58:14 +01:00
|
|
|
"forecast_date": "BASE_TS + 18h",
|
2025-12-13 23:57:54 +01:00
|
|
|
"predicted_quantity": 300.0,
|
|
|
|
|
"confidence_score": 0.95,
|
|
|
|
|
"forecast_horizon_days": 1,
|
2025-12-14 11:58:14 +01:00
|
|
|
"created_at": "BASE_TS",
|
2025-12-13 23:57:54 +01:00
|
|
|
"notes": "Demanda diaria enterprise para 15 hoteles",
|
|
|
|
|
"enterprise_forecast": true,
|
|
|
|
|
"forecast_type": "contractual_commitment",
|
|
|
|
|
"contract_reference": "ENT-HOTEL-2024-001",
|
|
|
|
|
"customer_id": "60000000-0000-0000-0000-000000002001",
|
|
|
|
|
"delivery_locations": [
|
|
|
|
|
"Madrid Centro",
|
|
|
|
|
"Barcelona Gràcia",
|
|
|
|
|
"Valencia Ruzafa",
|
|
|
|
|
"Sevilla Santa Cruz",
|
|
|
|
|
"Málaga Centro"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "80000000-0000-0000-0000-000000002002",
|
|
|
|
|
"tenant_id": "80000000-0000-4000-a000-000000000001",
|
|
|
|
|
"product_id": "20000000-0000-0000-0000-000000000002",
|
2025-12-14 11:58:14 +01:00
|
|
|
"forecast_date": "BASE_TS + 18h",
|
2025-12-13 23:57:54 +01:00
|
|
|
"predicted_quantity": 60.0,
|
|
|
|
|
"confidence_score": 0.92,
|
|
|
|
|
"forecast_horizon_days": 1,
|
2025-12-14 11:58:14 +01:00
|
|
|
"created_at": "BASE_TS",
|
2025-12-13 23:57:54 +01:00
|
|
|
"notes": "Demanda diaria enterprise para desayunos",
|
|
|
|
|
"enterprise_forecast": true,
|
|
|
|
|
"forecast_type": "contractual_commitment",
|
|
|
|
|
"contract_reference": "ENT-HOTEL-2024-001",
|
|
|
|
|
"customer_id": "60000000-0000-0000-0000-000000002001"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": "80000000-0000-0000-0000-000000002099",
|
|
|
|
|
"tenant_id": "80000000-0000-4000-a000-000000000001",
|
|
|
|
|
"product_id": "20000000-0000-0000-0000-000000000001",
|
2025-12-14 11:58:14 +01:00
|
|
|
"forecast_date": "BASE_TS + 1d 18h",
|
2025-12-13 23:57:54 +01:00
|
|
|
"predicted_quantity": 450.0,
|
|
|
|
|
"confidence_score": 0.98,
|
|
|
|
|
"forecast_horizon_days": 2,
|
2025-12-14 11:58:14 +01:00
|
|
|
"created_at": "BASE_TS",
|
2025-12-13 23:57:54 +01:00
|
|
|
"notes": "Demanda de fin de semana - evento especial",
|
|
|
|
|
"enterprise_forecast": true,
|
|
|
|
|
"forecast_type": "special_event",
|
|
|
|
|
"contract_reference": "ENT-HOTEL-2024-001",
|
|
|
|
|
"customer_id": "60000000-0000-0000-0000-000000002001",
|
|
|
|
|
"reasoning_data": {
|
|
|
|
|
"type": "special_event",
|
|
|
|
|
"parameters": {
|
|
|
|
|
"event_type": "conference",
|
|
|
|
|
"event_name": "Mediterranean Business Conference 2025",
|
|
|
|
|
"attendees": 500,
|
|
|
|
|
"demand_increase_factor": 1.8
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"prediction_batches": [
|
|
|
|
|
{
|
|
|
|
|
"id": "80000000-0000-0000-0000-000000002101",
|
|
|
|
|
"tenant_id": "80000000-0000-4000-a000-000000000001",
|
|
|
|
|
"batch_id": "ENT-FCST-20250116-001",
|
2025-12-14 11:58:14 +01:00
|
|
|
"prediction_date": "BASE_TS",
|
2025-12-13 23:57:54 +01:00
|
|
|
"status": "COMPLETED",
|
|
|
|
|
"total_forecasts": 3,
|
2025-12-14 11:58:14 +01:00
|
|
|
"created_at": "BASE_TS",
|
2025-12-13 23:57:54 +01:00
|
|
|
"notes": "Predicción diaria para contratos enterprise",
|
|
|
|
|
"enterprise_batch": true,
|
|
|
|
|
"forecast_horizon": "48_hours",
|
|
|
|
|
"model_used": "enterprise_demand_v2"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|