{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "field_replay.stream_summary.v1",
  "type": "object",
  "required": ["schema", "sample_type", "from_agent_id", "to_agent_id", "offered", "received", "missing", "loss", "rtt_ms", "jitter_ms", "scheduler_lag_ms", "reorder_total", "reorder_depth_max", "duplicate_total", "reliability"],
  "properties": {
    "schema": {"const": "field_replay.stream_summary.v1"},
    "sample_type": {"type": "string"},
    "from_agent_id": {"type": "string"},
    "to_agent_id": {"type": "string"},
    "offered": {"type": "integer"},
    "received": {"type": "integer"},
    "missing": {"type": "integer"},
    "loss": {"type": "object"},
    "rtt_ms": {"type": "object"},
    "jitter_ms": {"type": "object"},
    "scheduler_lag_ms": {"type": "object"},
    "reorder_total": {"type": "integer"},
    "reorder_depth_max": {"type": "integer"},
    "duplicate_total": {"type": "integer"},
    "reliability": {"type": "object"}
  }
}
