{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fortify/main/json-schema/fortify-api-result-issue-schema.json",
  "title": "ApiResultIssue",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fortify-issues-api-openapi.yml#/components/schemas/ApiResultIssue",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/Issue"
    },
    "count": {
      "type": "integer",
      "format": "int32"
    },
    "responseCode": {
      "type": "integer",
      "format": "int32"
    }
  },
  "$defs": {
    "Issue": {
      "type": "object",
      "description": "Represents a vulnerability issue",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int64",
          "description": "Unique identifier"
        },
        "issueInstanceId": {
          "type": "string",
          "description": "Instance identifier"
        },
        "issueName": {
          "type": "string",
          "description": "Name of the issue"
        },
        "primaryLocation": {
          "type": "string",
          "description": "Primary source file location"
        },
        "lineNumber": {
          "type": "integer",
          "format": "int32",
          "description": "Line number of the issue"
        },
        "fullFileName": {
          "type": "string",
          "description": "Full file path"
        },
        "frilessSeverity": {
          "type": "number",
          "format": "float",
          "description": "Friless severity score"
        },
        "severity": {
          "type": "number",
          "format": "float",
          "description": "Numeric severity score"
        },
        "confidence": {
          "type": "number",
          "format": "float",
          "description": "Confidence score"
        },
        "kingdom": {
          "type": "string",
          "description": "Vulnerability kingdom"
        },
        "issueStatus": {
          "type": "string",
          "description": "Current issue status"
        },
        "removedDate": {
          "type": "string",
          "format": "date-time",
          "description": "Date when the issue was removed"
        },
        "foundDate": {
          "type": "string",
          "format": "date-time",
          "description": "Date when the issue was first found"
        },
        "hasAttachments": {
          "type": "boolean",
          "description": "Whether the issue has attachments"
        },
        "hasCorrelatedIssues": {
          "type": "boolean",
          "description": "Whether the issue has correlated issues"
        },
        "scanStatus": {
          "type": "string",
          "description": "Scan status"
        },
        "engineCategory": {
          "type": "string",
          "description": "Engine category"
        },
        "audienceSet": {
          "type": "boolean",
          "description": "Whether the audience is set"
        },
        "reviewed": {
          "type": "boolean",
          "description": "Whether the issue has been reviewed"
        },
        "issueState": {
          "type": "string",
          "description": "State of the issue"
        },
        "analyzer": {
          "type": "string",
          "description": "Analyzer that found the issue"
        },
        "primaryTag": {
          "type": "string",
          "description": "Primary tag value"
        },
        "folderGuid": {
          "type": "string",
          "description": "Folder GUID"
        },
        "projectVersionId": {
          "type": "integer",
          "format": "int64",
          "description": "Parent project version identifier"
        }
      }
    }
  }
}