# Path: netjsonconfig/channels.py

# 
# Path: netjsonconfig/countries.py



from .channels import channels_2and5, channels_2ghz, channels_5ghz
from .countries import countries
                },
                {"$ref": "#/definitions/base_wireless_settings"},
                {"$ref": "#/definitions/mesh_id_wireless_property"},
                {"$ref": "#/definitions/encryption_wireless_property_mesh"},
            ],
        },
        "base_radio_settings": {
            "type": "object",
            "additionalProperties": True,
            "required": ["protocol", "name", "channel", "channel_width"],
            "properties": {
                "name": {"type": "string", "propertyOrder": 1, "minLength": 3},
                "protocol": {"type": "string", "propertyOrder": 2},
                "phy": {"type": "string", "propertyOrder": 3},
                "channel": {"type": "integer", "propertyOrder": 4},
                "channel_width": {
                    "type": "integer",
                    "title": "channel width (mhz)",
                    "propertyOrder": 5,
                },
                "tx_power": {
                    "type": "integer",
                    "title": "transmit power (dbm)",
                    "propertyOrder": 6,
                },
                "country": {
                    "type": "string",
                    "maxLength": 2,
                    "default": "00",
                    "enum": list(countries.values()),

# Path: netjsonconfig/channels.py

# 
# Path: netjsonconfig/countries.py



# Path: netjsonconfig/schema.py
from .channels import channels_2and5, channels_2ghz, channels_5ghz
from .countries import countries

                },
                {"$ref": "#/definitions/base_wireless_settings"},
                {"$ref": "#/definitions/mesh_id_wireless_property"},
                {"$ref": "#/definitions/encryption_wireless_property_mesh"},
            ],
        },
        "base_radio_settings": {
            "type": "object",
            "additionalProperties": True,
            "required": ["protocol", "name", "channel", "channel_width"],
            "properties": {
                "name": {"type": "string", "propertyOrder": 1, "minLength": 3},
                "protocol": {"type": "string", "propertyOrder": 2},
                "phy": {"type": "string", "propertyOrder": 3},
                "channel": {"type": "integer", "propertyOrder": 4},
                "channel_width": {
                    "type": "integer",
                    "title": "channel width (mhz)",
                    "propertyOrder": 5,
                },
                "tx_power": {
                    "type": "integer",
                    "title": "transmit power (dbm)",
                    "propertyOrder": 6,
                },
                "country": {
                    "type": "string",
                    "maxLength": 2,
                    "default": "00",
                    "enum": list(countries.values()),

                    "options": {"enum_titles": list(countries.keys())},