{
  "$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-notif-list-api-req-body-schema.json",
  "title": "NotifListApiReqBody",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-notifications-api-openapi.yml#/components/schemas/NotifListApiReqBody",
  "type": "object",
  "properties": {
    "filters": {
      "description": "List of output channels that the notification is sent on",
      "type": "array",
      "items": {
        "$ref": "#/$defs/NotifFilter"
      }
    },
    "sortByList": {
      "description": "List of output channels that the notification is sent on",
      "type": "array",
      "items": {
        "$ref": "#/$defs/SortBy"
      }
    },
    "page": {
      "type": "object",
      "description": "Page number",
      "properties": {
        "num": {
          "type": "integer",
          "description": "Page number"
        },
        "size": {
          "type": "integer",
          "description": "Page size"
        }
      }
    }
  },
  "$defs": {
    "NotifFilter": {
      "type": "object",
      "properties": {
        "field": {
          "description": "Filter field",
          "type": "string"
        },
        "values": {
          "description": "Filter field values",
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "readState",
              "notifType",
              "category",
              "subCategory",
              "inApp"
            ]
          }
        }
      }
    },
    "SortBy": {
      "type": "object",
      "properties": {
        "field": {
          "description": "Sort field",
          "type": "string",
          "enum": [
            "createdTime",
            "impactedTenantCount"
          ]
        },
        "sortBy": {
          "description": "Ascending or Descending",
          "type": "string",
          "enum": [
            "DESC",
            "ASC"
          ]
        }
      }
    }
  }
}