From a0ad0026806a1d25b77ce56e85eb8bbf8fc94c8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eugenio=20Do=C3=B1aque?= Date: Tue, 23 Sep 2025 13:29:34 +0200 Subject: [PATCH] Add `reason` property to `TagLabel` This is to understand what score was used for selecting the entity --- .../src/main/resources/json/schema/type/tagLabel.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openmetadata-spec/src/main/resources/json/schema/type/tagLabel.json b/openmetadata-spec/src/main/resources/json/schema/type/tagLabel.json index 9e0a60829cb..b850342348b 100644 --- a/openmetadata-spec/src/main/resources/json/schema/type/tagLabel.json +++ b/openmetadata-spec/src/main/resources/json/schema/type/tagLabel.json @@ -53,6 +53,10 @@ "href": { "description": "Link to the tag resource.", "$ref": "basic.json#/definitions/href" + }, + "reason": { + "type": "string", + "description": "An explanation of why this tag was proposed, specially for autoclassification tags" } }, "required": ["tagFQN", "source", "labelType", "state"],