{
    "json_plugin_version": 2,
    "Device.{BBF_VENDOR_PREFIX}WiFi.": {
        "type": "object",
        "protocols": [
            "cwmp",
            "usp"
        ],
        "access": false,
        "array": false,
        "{BBF_VENDOR_PREFIX}RadioNumberOfEntries": {
            "type": "unsignedInt",
            "protocols": [
                "cwmp",
                "usp"
            ],
            "read": true,
            "write": false,
            "mapping": [
                {
                    "type": "ubus",
                    "ubus": {
                        "object": "wifi",
                        "method": "status",
                        "args": {},
                        "key": "radios.@Count"
                    }
                }
            ]
        },
        "Device.{BBF_VENDOR_PREFIX}WiFi.Radio.{i}.": {
            "type": "object",
            "protocols": [
                "cwmp",
                "usp"
            ],
            "access": false,
            "array": true,
            "mapping": [
                {
                    "type": "ubus",
                    "ubus": {
                        "object": "wifi",
                        "method": "status",
                        "args": {},
                        "key": "radios"
                    }
                }
            ],
            "Noise": {
                "type": "int",
                "read": true,
                "write": true,
                "protocols": [
                    "cwmp",
                    "usp"
                ],
                "mapping": [
                    {
                        "data": "@Parent",
                        "type": "json",
                        "key": "noise"
                    }
                ]
            },
            "Band": {
                "type": "string",
                "read": true,
                "write": true,
                "protocols": [
                    "cwmp",
                    "usp"
                ],
                "mapping": [
                    {
                        "data": "@Parent",
                        "type": "json",
                        "key": "band"
                    }
                ]
            },
            "Device.{BBF_VENDOR_PREFIX}WiFi.Radio.{i}.Stats.": {
                "type": "object",
                "protocols": [
                    "cwmp",
                    "usp"
                ],
                "access": false,
                "array": false,
                "BytesSent": {
                    "type": "unsignedInt",
                    "read": true,
                    "write": true,
                    "protocols": [
                        "cwmp",
                        "usp"
                    ],
                    "mapping": [
                        {
                            "data": "@Parent",
                            "type": "json",
                            "key": "stats.tx_bytes"
                        }
                    ]
                },
                "PacketsReceived": {
                    "type": "unsignedInt",
                    "read": true,
                    "write": true,
                    "protocols": [
                        "cwmp",
                        "usp"
                    ],
                    "mapping": [
                        {
                            "data": "@Parent",
                            "type": "json",
                            "key": "stats.rx_packets"
                        }
                    ]
                }
            }
        }
    }
}