{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hacktron/json-schema/hacktron-rest-hfw-verdict-response-dto-schema.json",
  "title": "RestHfwVerdictResponseDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hacktron-rest-api-hfw-api-openapi.yml#/components/schemas/RestHfwVerdictResponseDto",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "ready",
        "pending",
        "scanning"
      ]
    },
    "ecosystem": {
      "type": "string",
      "enum": [
        "npm",
        "pypi"
      ]
    },
    "package": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "level": {
      "type": "string",
      "enum": [
        "clean",
        "suspicious",
        "malicious",
        "unknown"
      ]
    },
    "confidence": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "findings": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "source": {
      "type": "string"
    },
    "osv_id": {
      "type": "string"
    }
  },
  "required": [
    "status",
    "ecosystem",
    "package",
    "version",
    "level",
    "confidence",
    "summary",
    "findings"
  ]
}