{
  "$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-mobile-agent-infrastructure-settings-schema.json",
  "title": "mobile-agent-infrastructure-settings",
  "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/mobile-agent-infrastructure-settings",
  "properties": {
    "dns_servers": {
      "items": {
        "properties": {
          "dns_suffix": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "internal_dns_match": {
            "items": {
              "properties": {
                "domain_list": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "name": {
                  "type": "string"
                },
                "primary": {
                  "properties": {
                    "dns_server": {
                      "type": "object"
                    },
                    "use_cloud_default": {
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "secondary": {
                  "properties": {
                    "dns_server": {
                      "type": "object"
                    },
                    "use_cloud_default": {
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          },
          "primary_public_dns": {
            "properties": {
              "dns_server": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "secondary_public_dns": {
            "properties": {
              "dns_server": {
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "enable_wins": {
      "properties": {
        "no": {
          "type": "object"
        },
        "yes": {
          "properties": {
            "wins_servers": {
              "items": {
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "primary": {
                    "type": "string"
                  },
                  "secondary": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "ip_pools": {
      "items": {
        "properties": {
          "ip_pool": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "ipv6": {
      "type": "boolean"
    },
    "name": {
      "type": "string"
    },
    "portal_hostname": {
      "properties": {
        "custom_domain": {
          "properties": {
            "cname": {
              "type": "string"
            },
            "hostname": {
              "type": "string"
            },
            "ssl_tls_service_profile": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "default_domain": {
          "properties": {
            "hostname": {
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "udp_queries": {
      "properties": {
        "retries": {
          "properties": {
            "attempts": {
              "description": "Maximum number of retries before trying next name server",
              "maximum": 30,
              "minimum": 1,
              "type": "number"
            },
            "interval": {
              "description": "Time in seconds for another request to be sent",
              "maximum": 30,
              "minimum": 1,
              "type": "number"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "name",
    "dns_servers",
    "ip_pools",
    "portal_hostname"
  ],
  "type": "object"
}