{
  "_comment": "Network topology for a segment of a mobile operator's network. Represents the physical and logical connectivity that becomes the GNN's adjacency matrix.",
  "_scenario": "Urban macro site cluster in NYC East region with backhaul transport and edge core",

  "nodes": [
    {
      "node_id": "gNB-NYC-E-047",
      "node_type": "gnodeb",
      "vendor": "ericsson",
      "model": "AIR 6449 B78",
      "site_id": "NYC-EAST-047",
      "location": {"lat": 40.7489, "lon": -73.9680},
      "sectors": 3,
      "technology": ["5G-NR"],
      "bands": ["n78"],
      "capacity_prb": 273,
      "connected_ues_typical": 2400,
      "domain": "RAN",
      "tier": "macro"
    },
    {
      "node_id": "gNB-NYC-E-048",
      "node_type": "gnodeb",
      "vendor": "ericsson",
      "model": "AIR 6449 B78",
      "site_id": "NYC-EAST-048",
      "location": {"lat": 40.7512, "lon": -73.9715},
      "sectors": 3,
      "technology": ["5G-NR"],
      "bands": ["n78"],
      "capacity_prb": 273,
      "connected_ues_typical": 1800,
      "domain": "RAN",
      "tier": "macro"
    },
    {
      "node_id": "gNB-NYC-E-049",
      "node_type": "gnodeb",
      "vendor": "ericsson",
      "model": "AIR 6449 B78",
      "site_id": "NYC-EAST-049",
      "location": {"lat": 40.7465, "lon": -73.9652},
      "sectors": 3,
      "technology": ["5G-NR"],
      "bands": ["n78"],
      "capacity_prb": 273,
      "connected_ues_typical": 2100,
      "domain": "RAN",
      "tier": "macro"
    },
    {
      "node_id": "eNB-NYC-E-047",
      "node_type": "enodeb",
      "vendor": "ericsson",
      "model": "Baseband 6630",
      "site_id": "NYC-EAST-047",
      "location": {"lat": 40.7489, "lon": -73.9680},
      "sectors": 3,
      "technology": ["LTE"],
      "bands": ["B2", "B66"],
      "capacity_prb": 100,
      "connected_ues_typical": 3200,
      "domain": "RAN",
      "tier": "macro"
    },
    {
      "node_id": "CSG-NYC-E-01",
      "node_type": "cell_site_gateway",
      "vendor": "cisco",
      "model": "ASR-920-12CZ-A",
      "site_id": "NYC-EAST-047",
      "location": {"lat": 40.7489, "lon": -73.9680},
      "interfaces": 12,
      "domain": "transport",
      "tier": "access"
    },
    {
      "node_id": "CSG-NYC-E-02",
      "node_type": "cell_site_gateway",
      "vendor": "cisco",
      "model": "ASR-920-12CZ-A",
      "site_id": "NYC-EAST-048",
      "location": {"lat": 40.7512, "lon": -73.9715},
      "interfaces": 12,
      "domain": "transport",
      "tier": "access"
    },
    {
      "node_id": "CSG-NYC-E-03",
      "node_type": "cell_site_gateway",
      "vendor": "cisco",
      "model": "ASR-920-12CZ-A",
      "site_id": "NYC-EAST-049",
      "location": {"lat": 40.7465, "lon": -73.9652},
      "interfaces": 12,
      "domain": "transport",
      "tier": "access"
    },
    {
      "node_id": "AGG-NYC-E-01",
      "node_type": "aggregation_router",
      "vendor": "cisco",
      "model": "NCS-5501",
      "site_id": "NYC-EAST-HUB-01",
      "location": {"lat": 40.7500, "lon": -73.9700},
      "interfaces": 48,
      "domain": "transport",
      "tier": "aggregation",
      "_comment": "THIS IS THE ROOT CAUSE ELEMENT - faulty SFP on Gi0/0/0/3"
    },
    {
      "node_id": "AGG-NYC-E-02",
      "node_type": "aggregation_router",
      "vendor": "cisco",
      "model": "NCS-5501",
      "site_id": "NYC-EAST-HUB-01",
      "location": {"lat": 40.7500, "lon": -73.9700},
      "interfaces": 48,
      "domain": "transport",
      "tier": "aggregation"
    },
    {
      "node_id": "CORE-RTR-NYC-01",
      "node_type": "core_router",
      "vendor": "juniper",
      "model": "MX304",
      "site_id": "NYC-DC-01",
      "location": {"lat": 40.7580, "lon": -73.9855},
      "interfaces": 96,
      "domain": "transport",
      "tier": "core"
    },
    {
      "node_id": "UPF-NYC-01",
      "node_type": "upf",
      "vendor": "nokia",
      "model": "MobilityGateway",
      "site_id": "NYC-DC-01",
      "location": {"lat": 40.7580, "lon": -73.9855},
      "vcpu": 32,
      "memory_gb": 64,
      "domain": "core",
      "tier": "edge_core"
    },
    {
      "node_id": "AMF-NYC-01",
      "node_type": "amf",
      "vendor": "nokia",
      "model": "CBIS",
      "site_id": "NYC-DC-01",
      "location": {"lat": 40.7580, "lon": -73.9855},
      "vcpu": 16,
      "memory_gb": 32,
      "domain": "core",
      "tier": "edge_core"
    }
  ],

  "edges": [
    {
      "edge_id": "E001",
      "source": "gNB-NYC-E-047",
      "target": "CSG-NYC-E-01",
      "edge_type": "fronthaul",
      "medium": "fiber",
      "bandwidth_gbps": 25,
      "distance_km": 0.01,
      "redundancy": "none",
      "protocol": "eCPRI"
    },
    {
      "edge_id": "E002",
      "source": "eNB-NYC-E-047",
      "target": "CSG-NYC-E-01",
      "edge_type": "backhaul",
      "medium": "fiber",
      "bandwidth_gbps": 10,
      "distance_km": 0.01,
      "redundancy": "none",
      "protocol": "S1"
    },
    {
      "edge_id": "E003",
      "source": "gNB-NYC-E-048",
      "target": "CSG-NYC-E-02",
      "edge_type": "fronthaul",
      "medium": "fiber",
      "bandwidth_gbps": 25,
      "distance_km": 0.01,
      "redundancy": "none",
      "protocol": "eCPRI"
    },
    {
      "edge_id": "E004",
      "source": "gNB-NYC-E-049",
      "target": "CSG-NYC-E-03",
      "edge_type": "fronthaul",
      "medium": "fiber",
      "bandwidth_gbps": 25,
      "distance_km": 0.01,
      "redundancy": "none",
      "protocol": "eCPRI"
    },
    {
      "edge_id": "E005",
      "source": "CSG-NYC-E-01",
      "target": "AGG-NYC-E-01",
      "edge_type": "backhaul",
      "medium": "fiber",
      "bandwidth_gbps": 10,
      "distance_km": 2.3,
      "redundancy": "none",
      "protocol": "MPLS",
      "interface_local": "Gi0/0/0",
      "interface_remote": "Gi0/0/0/3",
      "_comment": "This is the AFFECTED LINK - SFP on remote side (AGG) is faulty"
    },
    {
      "edge_id": "E006",
      "source": "CSG-NYC-E-02",
      "target": "AGG-NYC-E-01",
      "edge_type": "backhaul",
      "medium": "fiber",
      "bandwidth_gbps": 10,
      "distance_km": 1.8,
      "redundancy": "none",
      "protocol": "MPLS",
      "interface_local": "Gi0/0/0",
      "interface_remote": "Gi0/0/0/4"
    },
    {
      "edge_id": "E007",
      "source": "CSG-NYC-E-03",
      "target": "AGG-NYC-E-02",
      "edge_type": "backhaul",
      "medium": "fiber",
      "bandwidth_gbps": 10,
      "distance_km": 3.1,
      "redundancy": "none",
      "protocol": "MPLS",
      "interface_local": "Gi0/0/0",
      "interface_remote": "Gi0/0/0/2"
    },
    {
      "edge_id": "E008",
      "source": "AGG-NYC-E-01",
      "target": "AGG-NYC-E-02",
      "edge_type": "inter_agg",
      "medium": "fiber",
      "bandwidth_gbps": 100,
      "distance_km": 0.01,
      "redundancy": "lag",
      "protocol": "MPLS"
    },
    {
      "edge_id": "E009",
      "source": "AGG-NYC-E-01",
      "target": "CORE-RTR-NYC-01",
      "edge_type": "transport_core",
      "medium": "fiber",
      "bandwidth_gbps": 100,
      "distance_km": 5.2,
      "redundancy": "ecmp",
      "protocol": "MPLS/SR"
    },
    {
      "edge_id": "E010",
      "source": "AGG-NYC-E-02",
      "target": "CORE-RTR-NYC-01",
      "edge_type": "transport_core",
      "medium": "fiber",
      "bandwidth_gbps": 100,
      "distance_km": 5.4,
      "redundancy": "ecmp",
      "protocol": "MPLS/SR"
    },
    {
      "edge_id": "E011",
      "source": "CORE-RTR-NYC-01",
      "target": "UPF-NYC-01",
      "edge_type": "n3_interface",
      "medium": "fiber",
      "bandwidth_gbps": 100,
      "distance_km": 0.01,
      "redundancy": "bond",
      "protocol": "GTP-U"
    },
    {
      "edge_id": "E012",
      "source": "CORE-RTR-NYC-01",
      "target": "AMF-NYC-01",
      "edge_type": "n2_interface",
      "medium": "fiber",
      "bandwidth_gbps": 10,
      "distance_km": 0.01,
      "redundancy": "bond",
      "protocol": "NGAP"
    },
    {
      "edge_id": "E013",
      "source": "gNB-NYC-E-047",
      "target": "gNB-NYC-E-048",
      "edge_type": "xn_interface",
      "medium": "logical",
      "bandwidth_gbps": 1,
      "distance_km": 0.4,
      "redundancy": "none",
      "protocol": "XnAP",
      "_comment": "Inter-gNB handover interface"
    },
    {
      "edge_id": "E014",
      "source": "gNB-NYC-E-047",
      "target": "gNB-NYC-E-049",
      "edge_type": "xn_interface",
      "medium": "logical",
      "bandwidth_gbps": 1,
      "distance_km": 0.35,
      "redundancy": "none",
      "protocol": "XnAP"
    }
  ],

  "metadata": {
    "total_nodes": 12,
    "total_edges": 14,
    "node_types": ["gnodeb", "enodeb", "cell_site_gateway", "aggregation_router", "core_router", "upf", "amf"],
    "edge_types": ["fronthaul", "backhaul", "inter_agg", "transport_core", "n3_interface", "n2_interface", "xn_interface"],
    "domains": ["RAN", "transport", "core"],
    "graph_type": "heterogeneous_undirected"
  }
}
