From 4ba05c24018b668e79040e4c1822915b24f94139 Mon Sep 17 00:00:00 2001 From: Siddhant <86899184+Siddhanttimeline@users.noreply.github.com> Date: Thu, 30 May 2024 14:11:41 +0530 Subject: [PATCH] Bug fix: Added DataProduct support for Glossary and GlossaryTerm. (#16473) Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com> --- .../main/resources/json/schema/entity/data/glossary.json | 6 +++++- .../resources/json/schema/entity/data/glossaryTerm.json | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/openmetadata-spec/src/main/resources/json/schema/entity/data/glossary.json b/openmetadata-spec/src/main/resources/json/schema/entity/data/glossary.json index c2d8789fd62..3bd0ebcc6e7 100644 --- a/openmetadata-spec/src/main/resources/json/schema/entity/data/glossary.json +++ b/openmetadata-spec/src/main/resources/json/schema/entity/data/glossary.json @@ -97,6 +97,10 @@ "description": "Domain the Glossary belongs to.", "$ref": "../../type/entityReference.json" }, + "dataProducts" : { + "description": "List of data products this entity is part of.", + "$ref" : "../../type/entityReferenceList.json" + }, "votes" : { "$ref": "../../type/votes.json" }, @@ -107,4 +111,4 @@ }, "required": ["id", "name", "description"], "additionalProperties": false -} +} \ No newline at end of file diff --git a/openmetadata-spec/src/main/resources/json/schema/entity/data/glossaryTerm.json b/openmetadata-spec/src/main/resources/json/schema/entity/data/glossaryTerm.json index 8b45e1e296a..29d4058f91f 100644 --- a/openmetadata-spec/src/main/resources/json/schema/entity/data/glossaryTerm.json +++ b/openmetadata-spec/src/main/resources/json/schema/entity/data/glossaryTerm.json @@ -151,6 +151,10 @@ "description": "Domain the Glossary Term belongs to. When not set, the Glossary TErm inherits the domain from the Glossary it belongs to.", "$ref": "../../type/entityReference.json" }, + "dataProducts" : { + "description": "List of data products this entity is part of.", + "$ref" : "../../type/entityReferenceList.json" + }, "votes" : { "$ref": "../../type/votes.json" },