code: public static Result loadCamelComponentDetails(CamelCatalog camelCatalog, String camelComponentName, CamelComponentDetails details) {
          String json = camelCatalog.componentJSonSchema(camelComponentName);
          if (json == null) {
              return Results.fail("Could not find catalog entry for component name: " + camelComponentName);
          }
          List<Map<String, String>> data = JSonSchemaHelper.parseJsonSchema("component", json, false);
  
          for (Map<String, String> row : data) {
              String javaType = row.get("javaType");
              if (!Strings.isNullOrEmpty(javaType)) {
                  details.setComponentClassQName(javaType);
              }
              String groupId = row.get("groupId");
              if (!Strings.isNullOrEmpty(groupId)) {
                  details.setGroupId(groupId);
              }
              String artifactId = row.get("artifactId");
              if (!Strings.isNullOrEmpty(artifactId)) {
                  details.setArtifactId(artifactId);
              }
              String version = row.get("version");
              if (!Strings.isNullOrEmpty(version)) {
                  details.setVersion(version);
              }
          }
          if (Strings.isNullOrEmpty(details.getComponentClassQName())) {
              return Results.fail("Could not find fully qualified class name in catalog for component name: " + camelComponentName);
          }
          return null;
      }
docs: Populates the details for the given component, returning a Result if it fails.