{
  "$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-action-plan-related-alerts-response-schema.json",
  "title": "ActionPlanRelatedAlertsResponse",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-action-plan-management-apis-api-openapi.yml#/components/schemas/ActionPlanRelatedAlertsResponse",
  "type": "object",
  "properties": {
    "lastRunTs": {
      "format": "int64",
      "type": "integer"
    },
    "id": {
      "type": "string"
    },
    "totalCount": {
      "format": "int64",
      "type": "integer"
    },
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ActionPlanRelatedAlerts"
      }
    },
    "nextPageToken": {
      "type": "string"
    }
  },
  "$defs": {
    "ActionPlanRelatedAlerts": {
      "type": "object",
      "properties": {
        "alertId": {
          "type": "string"
        },
        "alertTime": {
          "format": "int64",
          "type": "integer"
        },
        "alertStatus": {
          "type": "string"
        },
        "resource": {
          "$ref": "#/$defs/Resource"
        },
        "policy": {
          "$ref": "#/$defs/Policy"
        },
        "isAlertAccessible": {
          "type": "boolean"
        }
      }
    },
    "Policy": {
      "type": "object",
      "properties": {
        "policyType": {
          "type": "string"
        },
        "findingTypes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "policyId": {
          "type": "string"
        },
        "policyName": {
          "type": "string"
        },
        "policySeverity": {
          "type": "string"
        }
      }
    },
    "Resource": {
      "type": "object",
      "properties": {
        "accountId": {
          "type": "string"
        },
        "accountName": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "unifiedAssetId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "resourceDetailsAvailable": {
          "type": "boolean"
        }
      }
    }
  }
}