{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "diagnose",
  "type": "object",
  "properties": {
    "target": {
      "type": "string",
      "description": "The target to investigate — an IP address (e.g. '8.8.8.8'), hostname (e.g. 'google.com'), or network/subnet (e.g. '10.0.0.0/24')."
    },
    "dimensions": {
      "description": "Limit investigation to specific dimensions. Omit to check all: connectivity, interfaces, routing, firewall, nat, arp_dhcp, dns, resources, logs, vpn",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "connectivity",
          "interfaces",
          "routing",
          "firewall",
          "nat",
          "arp_dhcp",
          "dns",
          "resources",
          "logs",
          "vpn"
        ],
        "description": "Diagnostic dimension to investigate."
      }
    },
    "symptom": {
      "description": "Free-text symptom description (e.g. 'client cannot reach internet', 'VPN tunnel keeps dropping', 'slow throughput').",
      "type": "string"
    }
  },
  "required": ["target"],
  "additionalProperties": false
}
