chromium/chromeos/components/test/data/onc/valid_wireguard.onc

{
  "GUID": "guid",
  "Type": "VPN",
  "Name": "MyWireGuard",
  "VPN": {
    "Type": "WireGuard",
    "Host": "wireguard",
    "WireGuard": {
      "IPAddresses": [ "1.2.3.4", "fd00::1" ],
      "Peers": [
        {
          "AllowedIPs": "0.0.0.0/0",
          "Endpoint": "2.2.2.2:54321",
          "PersistentKeepalive": "",
          "PublicKey": "placeholder_peer_public_key"
        }
      ],
      "PrivateKey": "placeholder_private_key",
      "SaveCrendentials": true
    }
  },
  "StaticIPConfig": {
      "Type": "IPv4",
      "NameServers": [ "8.8.8.8", "8.8.4.4" ]
  }
}