From ee6c6595cf872a5faccaba530f493192b464e2bb Mon Sep 17 00:00:00 2001 From: Deep Mistry Date: Mon, 29 Jan 2024 15:49:15 -0500 Subject: [PATCH] MMT-3494: Added support for raw metadata for tool --- src/types/tool.graphql | 2 ++ src/utils/umm/toolKeyMap.json | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/types/tool.graphql b/src/types/tool.graphql index 8138db642..f11a59151 100644 --- a/src/types/tool.graphql +++ b/src/types/tool.graphql @@ -63,6 +63,8 @@ type Tool { version: String "This field provides users with information on what changes were included in the most recent version." versionDescription: String + "Raw UMM Metadata of the Tool Record." + ummMetadata: JSON collections ( "Collections query parameters" diff --git a/src/utils/umm/toolKeyMap.json b/src/utils/umm/toolKeyMap.json index cae7efd9b..86beb3db8 100644 --- a/src/utils/umm/toolKeyMap.json +++ b/src/utils/umm/toolKeyMap.json @@ -36,6 +36,7 @@ "url": "umm.URL", "useConstraints": "umm.UseConstraints", "version": "umm.Version", - "versionDescription": "umm.VersionDescription" + "versionDescription": "umm.VersionDescription", + "ummMetadata": "umm" } }