{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/eagle-eye-networks/main/json-schema/eagle-eye-networks-api-tunnel-response-schema.json",
  "title": "ApiTunnelResponse",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eagle-eye-networks-devices-openapi.yml#/components/schemas/ApiTunnelResponse",
  "type": "object",
  "properties": {
    "httpUrl": {
      "description": "Unencrypted tunnel URL, if HTTPS is not enabled.",
      "type": [
        "string",
        "null"
      ]
    },
    "httpsUrl": {
      "description": "Encrypted tunnel URL when enabled at the account level.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "oneOf": [
    {
      "required": [
        "httpUrl"
      ],
      "properties": {
        "httpsUrl": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            null
          ]
        }
      }
    },
    {
      "required": [
        "httpsUrl"
      ],
      "properties": {
        "httpUrl": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            null
          ]
        }
      }
    }
  ]
}