{
    "$schema": "http://json-schema.org/draft-06/schema#",
    "description": "ParaDrop host configuration - Wi-Fi interface section",
    "type": "object",
    "properties": {
        "device": {
            "type": "string",
            "description": "Physical device used by this interface, must match a device id in the wifi section."
        },
        "encryption": {
            "type": "string",
            "description": "Type of wireless network security to use, e.g. none, psk2, wpa2 (Enterprise)."
        },
        "mode": {
            "type": "string",
            "enum": [
                "airshark",
                "ap",
                "managed",
                "monitor"
            ],
            "description": "Operating mode for the interface."
        },
        "network": {
            "type": "string",
            "description": "Network name the interface should be attached to, typically lan for ap mode interfaces."
        },
        "ssid": {
            "type": "string",
            "description": "ESSID for ap and managed mode interfaces."
        }
    }
}