{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "field_replay.network_profile.v1",
  "type": "object",
  "required": ["schema", "profile_id", "measurement", "endpoints", "summary", "directions", "quality"],
  "properties": {
    "schema": {"const": "field_replay.network_profile.v1"},
    "profile_id": {"type": "string"},
    "scenario_name": {"type": "string"},
    "created_at_unix_ns": {"type": "integer"},
    "measurement": {"type": "object"},
    "endpoints": {"type": "array", "items": {"type": "object"}},
    "summary": {"type": "object"},
    "directions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["id", "from_agent_id", "to_agent_id", "loss", "jitter", "reorder", "duplicate", "outage", "timeline", "events"]
      }
    },
    "quality": {"type": "object"}
  }
}
