{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-integrations-api-panorama-connector-schema.json",
  "title": "Integrations_API_PanoramaConnector",
  "description": "Palo Alto Networks Panorama connector configuration.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thousandeyes-panorama-connectors-api-openapi.yml#/components/schemas/Integrations_API_PanoramaConnector",
  "required": [
    "authentication",
    "name",
    "target",
    "type"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique ID of the Panorama connector.",
      "readOnly": true
    },
    "type": {
      "type": "string",
      "description": "Connector type.",
      "enum": [
        "panorama"
      ]
    },
    "name": {
      "type": "string",
      "description": "Name of the Panorama connector."
    },
    "target": {
      "type": "string",
      "description": "URL of the Panorama instance."
    },
    "lastModifiedDate": {
      "type": "integer",
      "description": "Time when the connector was last modified, in milliseconds since the Unix epoch.",
      "format": "int64",
      "readOnly": true
    },
    "authentication": {
      "$ref": "#/$defs/Integrations_API_PanoramaConnectorAuth"
    },
    "_links": {
      "$ref": "#/$defs/Integrations_API_SelfLinks"
    }
  },
  "$defs": {
    "Integrations_API_Link": {
      "type": "object",
      "description": "A hyperlink from the containing resource to a URI.",
      "required": [
        "href"
      ],
      "properties": {
        "href": {
          "type": "string",
          "description": "Its value is either a URI [RFC3986] or a URI template [RFC6570]."
        },
        "templated": {
          "type": "boolean",
          "description": "Should be true when the link object's \"href\" property is a URI template."
        },
        "type": {
          "type": "string",
          "description": "Used as a hint to indicate the media type expected when dereferencing the target resource."
        },
        "deprecation": {
          "type": "string",
          "description": "Its presence indicates that the link is to be deprecated at a future date. Its value is a URL that should provide further information about the deprecation."
        },
        "name": {
          "type": "string",
          "description": "Its value may be used as a secondary key for selecting link objects that share the same relation type."
        },
        "profile": {
          "type": "string",
          "description": "A URI that hints about the profile of the target resource."
        },
        "title": {
          "type": "string",
          "description": "Intended for labelling the link with a human-readable identifier"
        },
        "hreflang": {
          "type": "string",
          "description": "Indicates the language of the target resource"
        }
      }
    },
    "Integrations_API_PanoramaConnectorAuth": {
      "type": "object",
      "description": "Authentication configuration for the Panorama connector.",
      "oneOf": [
        {
          "$ref": "#/$defs/Integrations_API_PanoramaTokenAuthentication"
        },
        {
          "$ref": "#/$defs/Integrations_API_PanoramaKeyGenAuthentication"
        }
      ]
    },
    "Integrations_API_PanoramaKeyGenAuthentication": {
      "required": [
        "keyTtl",
        "password",
        "type",
        "username"
      ],
      "type": "object",
      "description": "Authentication using credentials to generate a Panorama API key.",
      "properties": {
        "username": {
          "type": "string",
          "description": "Username used to generate the Panorama API key."
        },
        "password": {
          "type": "string",
          "description": "Password used to generate the Panorama API key.",
          "format": "password",
          "writeOnly": true
        },
        "keyTtl": {
          "type": "integer",
          "description": "Time to live for the generated Panorama API key, in minutes.",
          "format": "int64",
          "minimum": 30
        },
        "type": {
          "type": "string",
          "enum": [
            "pan-key-gen"
          ]
        }
      }
    },
    "Integrations_API_PanoramaTokenAuthentication": {
      "required": [
        "token",
        "type"
      ],
      "type": "object",
      "description": "Authentication using an existing Panorama API key.",
      "properties": {
        "token": {
          "type": "string",
          "description": "Panorama API key used for authentication.",
          "writeOnly": true
        },
        "type": {
          "type": "string",
          "description": "Authentication type.",
          "enum": [
            "other-token"
          ]
        }
      }
    },
    "Integrations_API_SelfLinks": {
      "type": "object",
      "description": "A links object containing the self link.",
      "readOnly": true,
      "properties": {
        "self": {
          "$ref": "#/$defs/Integrations_API_Link"
        }
      }
    }
  }
}