{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intruder/json-schema/intruder-paginated-issue-target-list-schema.json",
  "title": "PaginatedIssueTargetList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/intruder-issues-api-openapi.yml#/components/schemas/PaginatedIssueTargetList",
  "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/IssueTarget"
      }
    }
  },
  "$defs": {
    "IssueTarget": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "readOnly": true
        },
        "address": {
          "type": "string"
        },
        "display_address": {
          "type": "string",
          "readOnly": true,
          "description": "Human-readable address (e.g. cloud account name)."
        },
        "target_type": {
          "allOf": [
            {
              "$ref": "#/$defs/TargetTypeEnum"
            }
          ],
          "readOnly": true
        }
      },
      "required": [
        "address",
        "display_address",
        "id",
        "target_type"
      ]
    },
    "TargetTypeEnum": {
      "type": "string",
      "enum": [
        "external",
        "internal",
        "cloud",
        "container_image"
      ]
    }
  }
}