{
  "schema_version": "lems.forecast-context.v3",
  "variables": {
    "capacity": {"type": "integer", "unit": "units"},
    "units": {"type": "number", "unit": "units"},
    "supply": {"type": "categorical", "values": ["low", "high"]}
  },
  "forecast": {
    "event_type": "ops.delivery",
    "forecast_time": "2026-01-01T00:00:00Z",
    "target_time": "2026-02-01T00:00:00Z",
    "fields": {"capacity": 10},
    "evidence_refs": [{"field": "capacity", "event_id": "f1"}],
    "output": {
      "kind": "float", "variable": "units",
      "minimum": 0, "maximum": 10, "increment": 0.5, "precision": 1
    }
  },
  "same_type_events": [{
    "event_id": "e1", "event_type": "ops.delivery", "source": "s1",
    "observed_at": "2025-12-01T00:00:00Z", "available_at": "2025-12-02T00:00:00Z",
    "fields": {"capacity": 10}, "outcome": {"variable": "units", "value": 7.5}
  }],
  "adjacent_events": [],
  "factors": [{
    "event_id": "f1", "event_type": "ops.capacity", "source": "s2",
    "observed_at": {"start": "2025-12-29T00:00:00Z", "end": "2025-12-30T00:00:00Z"},
    "available_at": "2025-12-31T00:00:00Z",
    "fields": {"capacity": 10, "supply": "high"}
  }]
}
