def METHOD_NAME(scan_results: Dict[str, Any]) -> List[Dict[str, Any]]:
    return [
        {
            "type": package.get("type"),
            "name": package.get("name"),
            "version": package.get("version"),
            "licenses": package.get("licenses") or [],
        }
        for package in scan_results.get("packages") or []
        if package.get("version") and package.get("name") and package.get("type")
    ]