{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mend/main/json-schema/mend-dwrresponse-pageable-v3-list-project-violation-dtov3-schema.json",
  "title": "DWRResponsePageableV3ListProjectViolationDTOV3",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mend-projects-api-openapi.yml#/components/schemas/DWRResponsePageableV3ListProjectViolationDTOV3",
  "type": "object",
  "properties": {
    "additionalData": {
      "title": "Provides insights into endpoint-supported pagination information.",
      "type": "object",
      "description": "+ **totalItems**: The total count of data points returned in an API response.\n"
    },
    "supportToken": {
      "title": "Support Token",
      "type": "string"
    },
    "response": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ProjectViolationDTOV3"
      }
    }
  },
  "$defs": {
    "ProjectViolationDTOV3": {
      "required": [
        "engine",
        "findingType"
      ],
      "type": "object",
      "properties": {
        "uuid": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "projectUuid": {
          "type": "string"
        },
        "projectName": {
          "type": "string"
        },
        "engine": {
          "type": "string",
          "description": "Type of engine the violation relates to",
          "enum": [
            "UNIFIED",
            "SCA",
            "SAST",
            "IAC",
            "IMG",
            "AI",
            "DAST"
          ]
        },
        "findingType": {
          "type": "string",
          "description": "Type of finding",
          "enum": [
            "SECURITY",
            "LEGAL",
            "LIBRARY"
          ]
        },
        "originUuid": {
          "type": "string"
        },
        "originName": {
          "type": "string"
        },
        "risk": {
          "type": "string",
          "description": "Risk of the violation. Can be one of: LOW, MEDIUM, HIGH, CRITICAL",
          "enum": [
            "LOW",
            "MEDIUM",
            "HIGH",
            "CRITICAL"
          ]
        },
        "sla": {
          "type": "string"
        },
        "workflowData": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/WorkflowData"
          }
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "refId": {
          "type": "string"
        },
        "violationType": {
          "type": "string"
        },
        "isProjectActive": {
          "type": "boolean"
        }
      }
    },
    "WorkflowData": {
      "type": "object",
      "properties": {
        "workflowUuid": {
          "type": "string"
        },
        "workflowName": {
          "type": "string"
        },
        "entityUuid": {
          "type": "string"
        }
      }
    }
  }
}