public static @Nullable String getSchemaUrlFromSchemaProperty(@NotNull VirtualFile file,
                                                                @NotNull Project project) {
    if (Registry.is("json.schema.object.v2")) {
      JsonSchemaObject schemaRootOrNull = JsonSchemaObjectStorage.getInstance(project).getComputedSchemaRootOrNull(file);
      if (schemaRootOrNull != null) {
        return schemaRootOrNull.getSchema();
      }
    }
    String value = JsonSchemaFileValuesIndex.getCachedValue(project, file, URL_CACHE_KEY);
    if (value != null) {
      return JsonSchemaFileValuesIndex.NULL.equals(value) ? null : value;
    }

    PsiFile psiFile = resolveFile(file, project);
    return psiFile == null ? null : getOrCompute(psiFile, JsonCachedValues::fetchSchemaUrl, SCHEMA_URL_KEY);
  }
public static @Nullable String getSchemaUrlFromSchemaProperty(@NotNull VirtualFile file,
                                                                @NotNull Project project)