{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fortify/main/json-schema/fortify-notification-list-response-schema.json",
  "title": "NotificationListResponse",
  "description": "Paginated list of notifications",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fortify-notifications-api-openapi.yml#/components/schemas/NotificationListResponse",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Notification"
      }
    },
    "totalCount": {
      "type": "integer",
      "format": "int32"
    }
  },
  "$defs": {
    "Notification": {
      "type": "object",
      "description": "Represents a notification",
      "properties": {
        "notificationId": {
          "type": "integer",
          "format": "int32",
          "description": "Unique identifier"
        },
        "notificationType": {
          "type": "string",
          "description": "Type of notification"
        },
        "message": {
          "type": "string",
          "description": "Notification message"
        },
        "isRead": {
          "type": "boolean",
          "description": "Whether the notification has been read"
        },
        "createdDate": {
          "type": "string",
          "format": "date-time",
          "description": "Date when the notification was created"
        }
      }
    }
  }
}