{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intruder/json-schema/intruder-paginated-issue-list-schema.json",
  "title": "PaginatedIssueList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/intruder-issues-api-openapi.yml#/components/schemas/PaginatedIssueList",
  "type": "object",
  "required": [
    "count",
    "results"
  ],
  "properties": {
    "count": {
      "type": "integer"
    },
    "next": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "previous": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Issue"
      }
    }
  },
  "$defs": {
    "ExploitLikelihoodEnum": {
      "type": "string",
      "enum": [
        "rare",
        "unlikely",
        "likely",
        "very_likely",
        "known",
        "unknown"
      ]
    },
    "Issue": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "readOnly": true
        },
        "severity": {
          "type": "string",
          "readOnly": true
        },
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string",
          "readOnly": true
        },
        "remediation": {
          "type": "string",
          "readOnly": true
        },
        "snoozed": {
          "type": "boolean"
        },
        "snooze_reason": {
          "oneOf": [
            {
              "$ref": "#/$defs/IssueSnoozeReasonEnum"
            },
            {
              "type": "null"
            }
          ]
        },
        "snooze_until": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "occurrences": {
          "type": "string",
          "format": "uri",
          "readOnly": true
        },
        "exploit_likelihood": {
          "readOnly": true,
          "oneOf": [
            {
              "$ref": "#/$defs/ExploitLikelihoodEnum"
            },
            {
              "$ref": "#/$defs/NullEnum"
            }
          ]
        },
        "cvss_score": {
          "type": "number",
          "format": "float",
          "readOnly": true
        },
        "vulnerability_category": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "Category of the underlying vulnerability, e.g. `Attack Surface Reduction`."
        },
        "first_seen_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "readOnly": true,
          "description": "Date and time this issue was first found, i.e. the earliest `first_seen_at` across its occurrences. If the issue is fixed and later found again, this reflects when it was found again."
        }
      },
      "required": [
        "cvss_score",
        "description",
        "exploit_likelihood",
        "first_seen_at",
        "id",
        "occurrences",
        "remediation",
        "severity",
        "snooze_reason",
        "title",
        "vulnerability_category"
      ]
    },
    "IssueSnoozeReasonEnum": {
      "type": "string",
      "enum": [
        "ACCEPT_RISK",
        "FALSE_POSITIVE",
        "MITIGATING_CONTROLS"
      ],
      "description": "* `ACCEPT_RISK` - Risk accepted for the issue and all of its occurrences\n* `FALSE_POSITIVE` - False positive - issue and all occurrences have been verified as not exploitable\n* `MITIGATING_CONTROLS` - Mitigating controls are in place"
    },
    "NullEnum": {
      "type": "null"
    }
  }
}