{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intruder/json-schema/intruder-paginated-fixed-occurrence-list-schema.json",
  "title": "PaginatedFixedOccurrenceList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/intruder-occurrences-api-openapi.yml#/components/schemas/PaginatedFixedOccurrenceList",
  "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/FixedOccurrence"
      }
    }
  },
  "$defs": {
    "ExploitLikelihoodEnum": {
      "type": "string",
      "enum": [
        "rare",
        "unlikely",
        "likely",
        "very_likely",
        "known",
        "unknown"
      ]
    },
    "FixedOccurrence": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "readOnly": true
        },
        "occurrence_id": {
          "type": "integer",
          "readOnly": true
        },
        "display_address": {
          "type": "string",
          "readOnly": true
        },
        "affected_host": {
          "type": "string"
        },
        "affected_port": {
          "type": "integer",
          "readOnly": true
        },
        "cvss_score": {
          "type": "number",
          "format": "float",
          "readOnly": true
        },
        "description": {
          "type": "string"
        },
        "due_date": {
          "type": "string",
          "format": "date",
          "readOnly": true
        },
        "exploit_likelihood": {
          "readOnly": true,
          "oneOf": [
            {
              "$ref": "#/$defs/ExploitLikelihoodEnum"
            },
            {
              "$ref": "#/$defs/NullEnum"
            }
          ]
        },
        "extra_info": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {
            "type": "string"
          }
        },
        "first_seen_at": {
          "type": "string",
          "format": "date-time"
        },
        "host_state": {
          "type": "string",
          "readOnly": true
        },
        "remediated_at": {
          "type": "string",
          "format": "date-time"
        },
        "remediation": {
          "type": "string"
        },
        "severity": {
          "type": "string",
          "readOnly": true
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "target_last_scanned_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "readOnly": true,
          "description": "Date and time this target was last scanned."
        },
        "title": {
          "type": "string"
        }
      },
      "required": [
        "affected_host",
        "affected_port",
        "cvss_score",
        "description",
        "display_address",
        "due_date",
        "exploit_likelihood",
        "extra_info",
        "first_seen_at",
        "host_state",
        "id",
        "occurrence_id",
        "remediated_at",
        "remediation",
        "severity",
        "tags",
        "target_last_scanned_at",
        "title"
      ]
    },
    "NullEnum": {
      "type": "null"
    }
  }
}