{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/main/json-schema/palo-alto-networks-tunnel-profiles-schema.json",
  "title": "tunnel-profiles",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-mobileagent-api-openapi.yml#/components/schemas/tunnel-profiles",
  "properties": {
    "authentication_override": {
      "properties": {
        "accept_cookie": {
          "properties": {
            "cookie_encrypt_decrypt_cert": {
              "type": "string"
            },
            "cookie_lifetime": {
              "properties": {
                "lifetime_in_days": {
                  "maximum": 365,
                  "minimum": 1,
                  "type": "number"
                },
                "lifetime_in_hours": {
                  "maximum": 72,
                  "minimum": 1,
                  "type": "number"
                },
                "lifetime_in_minutes": {
                  "maximum": 59,
                  "minimum": 1,
                  "type": "number"
                }
              },
              "type": "object"
            },
            "generate_cookie": {
              "type": "boolean"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "name": {
      "maxLength": 31,
      "minLength": 1,
      "type": "string"
    },
    "no_direct_access_to_local_network": {
      "type": "boolean"
    },
    "os": {
      "items": {
        "enum": [
          "Android",
          "Chrome",
          "IoT",
          "Linux",
          "Mac",
          "Windows",
          "WindowsUWP",
          "iOS"
        ],
        "type": "string"
      },
      "type": "array"
    },
    "retrieve_framed_ip_address": {
      "type": "boolean"
    },
    "source_address": {
      "properties": {
        "ip_address": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "region": {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "source_user": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "split_tunneling": {
      "properties": {
        "access_route": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "exclude_access_route": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "exclude_applications": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "exclude_domains": {
          "properties": {
            "list": {
              "items": {
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "ports": {
                    "items": {
                      "maximum": 65535,
                      "minimum": 1,
                      "type": "number"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "include_applications": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "include_domains": {
          "properties": {
            "list": {
              "items": {
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "ports": {
                    "items": {
                      "maximum": 65535,
                      "minimum": 1,
                      "type": "number"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "type": "array"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "name"
  ],
  "type": "object"
}