{
	"$schema": "http://json-schema.org/draft-07/schema",
	"$id": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/schemas/networkWifiList.json",
	"type": "array",
	"title": "WiFi network list",
	"description": "List of available WiFi networks.",
	"example": [
		{
			"inUse": true,
			"bssid": "04:F0:21:24:1E:53",
			"ssid": "WIFI MAGDA",
			"mode": "infrastructure",
			"channel": 36,
			"rate": "405 Mbit/s",
			"signal": 60,
			"security": "WPA2-Personal",
			"interface": "wlp4s0"
		}
	],
	"additionalItems": false,
	"items": {
		"$id": "#/items",
		"type": "object",
		"title": "WiFi network",
		"description": "Information about WiFI network.",
		"example": {
			"inUse": true,
			"bssid": "04:F0:21:24:1E:53",
			"ssid": "WIFI MAGDA",
			"mode": "infrastructure",
			"channel": 36,
			"rate": "405 Mbit/s",
			"signal": 60,
			"security": "WPA2-Personal",
			"interface": "wlp4s0"
		},
		"required": [
			"inUse",
			"bssid",
			"ssid",
			"mode",
			"channel",
			"rate",
			"signal",
			"security"
		],
		"additionalProperties": false,
		"properties": {
			"inUse": {
				"$id": "#/items/properties/inUse",
				"type": "boolean",
				"title": "Is in use?",
				"example": true
			},
			"bssid": {
				"$id": "#/items/properties/bssid",
				"type": "string",
				"title": "BSSID",
				"description": "Basic Services Set Identifier",
				"example": "04:F0:21:24:1E:53"
			},
			"ssid": {
				"$id": "#/items/properties/ssid",
				"type": "string",
				"title": "SSID",
				"description": "Service Set Identifier",
				"example": "WIFI MAGDA"
			},
			"mode": {
				"$id": "#/items/properties/mode",
				"type": "string",
				"title": "Network mode",
				"enum": [
					"adhoc",
					"infrastructure",
					"mesh"
				],
				"example": "infrastructure"
			},
			"channel": {
				"$id": "#/items/properties/channel",
				"type": "integer",
				"title": "Network channel",
				"example": 36
			},
			"rate": {
				"$id": "#/items/properties/rate",
				"type": "string",
				"title": "Speed rate",
				"example": "405 Mbit/s"
			},
			"signal": {
				"$id": "#/items/properties/signal",
				"type": "integer",
				"title": "Signal strength",
				"example": 60
			},
			"security": {
				"$id": "#/items/properties/security",
				"type": "string",
				"enum": [
					"OWE",
					"Open",
					"WEP",
					"WPA2-Enterprise",
					"WPA2-Personal",
					"WPA2/WPA3-Enterprise",
					"WPA2/WPA3-Personal",
					"WPA3-Enterprise",
					"WPA3-Enterprise-192bit",
					"WPA3-Personal",
					"WPA-Enterprise",
					"WPA-Personal",
					"WPA/WPA2-Enterprise",
					"WPA/WPA2-Personal"
				],
				"title": "Network security",
				"example": "WPA2-Personal"
			},
			"interface": {
				"$id": "#/items/properties/interface",
				"type": "string",
				"title": "Network interface",
				"example": "wlp4s0"
			}
		}
	}
}
