{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/repowise-dev/json-schema/repowise-dev-dead-code-finding-response-schema.json",
  "title": "DeadCodeFindingResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/repowise-dev-dead-code-api-openapi.yml#/components/schemas/DeadCodeFindingResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "kind": {
      "type": "string",
      "title": "Kind"
    },
    "file_path": {
      "type": "string",
      "title": "File Path"
    },
    "symbol_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Symbol Name"
    },
    "symbol_kind": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Symbol Kind"
    },
    "confidence": {
      "type": "number",
      "title": "Confidence"
    },
    "reason": {
      "type": "string",
      "title": "Reason"
    },
    "lines": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lines"
    },
    "start_line": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Line"
    },
    "end_line": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Line"
    },
    "safe_to_delete": {
      "type": "boolean",
      "title": "Safe To Delete"
    },
    "risk_factors": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Risk Factors"
    },
    "evidence": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Evidence"
    },
    "primary_owner": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Primary Owner"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Note"
    },
    "last_commit_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Commit At"
    },
    "commit_count_90d": {
      "type": "integer",
      "title": "Commit Count 90D"
    },
    "verification": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Verification"
    },
    "preview": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Preview"
    }
  },
  "type": "object",
  "required": [
    "id",
    "kind",
    "file_path",
    "symbol_name",
    "symbol_kind",
    "confidence",
    "reason",
    "lines",
    "start_line",
    "end_line",
    "safe_to_delete",
    "risk_factors",
    "evidence",
    "primary_owner",
    "status",
    "note",
    "last_commit_at",
    "commit_count_90d"
  ]
}