diff --git a/tools/build/asc_compile_exporter/collected_manifest_repository.cpp b/tools/build/asc_compile_exporter/collected_manifest_repository.cpp
index 7adad06f1..586ebdd3c 100644
--- /opt/cloud/slavespace/usr1/096471637100f3de0fcfc01072822a80/ut/tools/build/asc_compile_exporter/collected_manifest_repository.cpp
+++ /opt/cloud/slavespace/usr1/096471637100f3de0fcfc01072822a80/ut/tools/build/asc_compile_exporter/collected_manifest_repository.cpp
@@ -69,13 +69,17 @@
     size_t fileCount_{0U};
 };
 
-bool ValidateAndExtractResourcePath(const std::string& text, const std::string& manifestPath, std::string& resourcePath)
+bool ValidateAndExtractResourcePath(std::string& text, const std::string& manifestPath, std::string& resourcePath)
 {
-    const Json manifest = Json::parse(text, nullptr, false);
+    Json manifest = Json::parse(text, nullptr, false);
     if (manifest.is_discarded()) {
         ASCENDLOGE("Manifest is not valid JSON: %s", manifestPath.c_str());
         return false;
     }
+    if (manifest.contains("schema_version")) {
+        ASCENDLOGE("Manifest must not contain schema_version: %s", manifestPath.c_str());
+        return false;
+    }
 
     if (!ValidateResourceManifest(manifest, manifestPath)) {
         return false;
@@ -87,6 +91,8 @@
         return false;
     }
     resourcePath = resourcePathValue->get<std::string>();
+    manifest["schema_version"] = "1.0";
+    text = manifest.dump();
     return true;
 }
 

