{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dependency-track/json-schema/dependency-track-analysis-request-schema.json",
  "title": "AnalysisRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dependency-track-analysis-api-openapi.yml#/components/schemas/AnalysisRequest",
  "type": "object",
  "properties": {
    "analysisDetails": {
      "type": "string",
      "pattern": "^[\\p{IsWhite_Space}\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\n\\r\\t]*$"
    },
    "analysisJustification": {
      "type": "string",
      "enum": [
        "CODE_NOT_PRESENT",
        "CODE_NOT_REACHABLE",
        "REQUIRES_CONFIGURATION",
        "REQUIRES_DEPENDENCY",
        "REQUIRES_ENVIRONMENT",
        "PROTECTED_BY_COMPILER",
        "PROTECTED_AT_RUNTIME",
        "PROTECTED_AT_PERIMETER",
        "PROTECTED_BY_MITIGATING_CONTROL",
        "NOT_SET"
      ]
    },
    "analysisResponse": {
      "type": "string",
      "enum": [
        "CAN_NOT_FIX",
        "WILL_NOT_FIX",
        "UPDATE",
        "ROLLBACK",
        "WORKAROUND_AVAILABLE",
        "NOT_SET"
      ]
    },
    "analysisState": {
      "type": "string",
      "enum": [
        "EXPLOITABLE",
        "IN_TRIAGE",
        "FALSE_POSITIVE",
        "NOT_AFFECTED",
        "RESOLVED",
        "NOT_SET"
      ]
    },
    "comment": {
      "type": "string",
      "pattern": "^[\\p{IsWhite_Space}\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\n\\r\\t]*$"
    },
    "component": {
      "type": "string",
      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
    },
    "isSuppressed": {
      "type": "boolean",
      "writeOnly": true
    },
    "project": {
      "type": "string",
      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
    },
    "suppressed": {
      "type": "boolean"
    },
    "vulnerability": {
      "type": "string",
      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
    }
  },
  "required": [
    "component",
    "vulnerability"
  ]
}