{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "field_replay.selfcheck.v1",
  "type": "object",
  "required": ["schema", "udp_ceiling_mbps", "latency_floor_ms", "latency_onset_mbps", "grade", "verdict", "rtt_curve", "hostname", "platform"],
  "properties": {
    "schema": {"const": "field_replay.selfcheck.v1"},
    "udp_ceiling_mbps": {"type": "number"},
    "latency_floor_ms": {"type": "number"},
    "latency_onset_mbps": {"type": ["number", "null"], "description": "Mbps where latency departs the floor; null when no level did"},
    "grade": {"type": "string"},
    "verdict": {"type": "string"},
    "rtt_curve": {"type": "array", "items": {"type": "object"}},
    "hostname": {"type": "string"},
    "platform": {"type": "string"}
  }
}
