From cb98269dea47834f34bda8215c3c597fd53cccac Mon Sep 17 00:00:00 2001 From: DataOps7 <117924080+DataOps7@users.noreply.github.com> Date: Tue, 18 Mar 2025 13:20:10 +0200 Subject: [PATCH] Fixing wrong schema defaults for mutually exclusive fields (#19281) * hotfix(api): Updated create tag schema's mutually exclusive field * hotfix(api): Updated create tag schema's mutually exclusive field --------- Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> --- .../json/schema/api/classification/createClassification.json | 2 +- .../resources/json/schema/api/classification/createTag.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openmetadata-spec/src/main/resources/json/schema/api/classification/createClassification.json b/openmetadata-spec/src/main/resources/json/schema/api/classification/createClassification.json index 5316d485548..c8c6e905b7b 100644 --- a/openmetadata-spec/src/main/resources/json/schema/api/classification/createClassification.json +++ b/openmetadata-spec/src/main/resources/json/schema/api/classification/createClassification.json @@ -25,7 +25,7 @@ "mutuallyExclusive" : { "description" : "Tags under this classification are mutually exclusive. When mutually exclusive is `true` the tags from this classification are used to **classify** an entity. An entity can only be in one class - example, it can only be either `tier1` or `tier2` and not both. When mutually exclusive is `false`, the tags from this classification are used to **categorize** an entity. An entity can be in multiple categories simultaneously - example a customer can be `newCustomer` and `atRisk` simultaneously.", "type" : "boolean", - "default" : "false" + "default" : false }, "domain" : { "description": "Fully qualified name of the domain the Table belongs to.", diff --git a/openmetadata-spec/src/main/resources/json/schema/api/classification/createTag.json b/openmetadata-spec/src/main/resources/json/schema/api/classification/createTag.json index 3187b95bb0c..d6124631a93 100644 --- a/openmetadata-spec/src/main/resources/json/schema/api/classification/createTag.json +++ b/openmetadata-spec/src/main/resources/json/schema/api/classification/createTag.json @@ -43,7 +43,7 @@ "mutuallyExclusive" : { "description" : "Children tags under this group are mutually exclusive. When mutually exclusive is `true` the tags from this group are used to **classify** an entity. An entity can only be in one class - example, it can only be either `tier1` or `tier2` and not both. When mutually exclusive is `false`, the tags from this group are used to **categorize** an entity. An entity can be in multiple categories simultaneously - example a customer can be `newCustomer` and `atRisk` simultaneously.", "type" : "boolean", - "default" : "false" + "default" : false }, "domain" : { "description": "Fully qualified name of the domain the Table belongs to.",