{
	"$schema": "http://json-schema.org/draft-07/schema",
	"$id": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/schemas/networkWireGuardTunnels.json",
	"type": "array",
	"title": "WireGuard tunnels",
	"description": "List of WireGuard VPN tunnels.",
	"additionalItems": false,
	"items": {
		"$id": "#/items",
		"type": "object",
		"title": "WireGuard tunnel",
		"additionalProperties": false,
		"required": [
			"id",
			"name",
			"active",
			"enabled"
		],
		"properties": {
			"id": {
				"$id": "#/items/properties/id",
				"$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/schemas/definitions/common.json#/definitions/id"
			},
			"name": {
				"$id": "#/items/properties/name",
				"$ref": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/schemas/definitions/wireGuard.json#/definitions/name"
			},
			"active": {
				"$id": "#/items/properties/active",
				"type": "boolean",
				"title": "WireGuard Tunnel active",
				"example": true
			},
			"enabled": {
				"$id": "#/items/properties/enabled",
				"type": "boolean",
				"title": "WireGuard Tunnel enabled",
				"example": true
			}
		}
	}
}
