From 8a21b96cb2b66fe8dc5502084dd6786a22cdfd16 Mon Sep 17 00:00:00 2001 From: VibbulanM_lumel Date: Wed, 15 Jul 2026 18:39:00 +0530 Subject: [PATCH 1/2] fix: required params added for powertable json --- .../PowerTable/Approvals/1.0.0/schema.json | 7 ++++- .../ColumnConfigs/1.0.0/schema.json | 6 +++- .../PowerTable/Forms/1.0.0/schema.json | 3 +- .../PowerTable/Source/1.0.0/schema.json | 30 +++++++++++++++---- 4 files changed, 38 insertions(+), 8 deletions(-) diff --git a/fabric/item/plan/definition/PowerTable/Approvals/1.0.0/schema.json b/fabric/item/plan/definition/PowerTable/Approvals/1.0.0/schema.json index 3f4711f1..28b48d25 100644 --- a/fabric/item/plan/definition/PowerTable/Approvals/1.0.0/schema.json +++ b/fabric/item/plan/definition/PowerTable/Approvals/1.0.0/schema.json @@ -6,7 +6,12 @@ "type": "object", "required": [ "$schema", - "ruleType" + "ruleType", + "persistFlag", + "approvalLevel", + "multiLevelEnabled", + "approvalLevels", + "approvalFilter" ], "properties": { "$schema": { diff --git a/fabric/item/plan/definition/PowerTable/ColumnConfigs/1.0.0/schema.json b/fabric/item/plan/definition/PowerTable/ColumnConfigs/1.0.0/schema.json index 1dfec671..3b59e094 100644 --- a/fabric/item/plan/definition/PowerTable/ColumnConfigs/1.0.0/schema.json +++ b/fabric/item/plan/definition/PowerTable/ColumnConfigs/1.0.0/schema.json @@ -16,7 +16,11 @@ "columnName", "columnType", "columnMeta", - "displayName" + "displayName", + "hideColumn", + "mandatory", + "allowEdit", + "visualColumnType" ], "properties": { "$schema": { diff --git a/fabric/item/plan/definition/PowerTable/Forms/1.0.0/schema.json b/fabric/item/plan/definition/PowerTable/Forms/1.0.0/schema.json index 1f12465d..44fcd85a 100644 --- a/fabric/item/plan/definition/PowerTable/Forms/1.0.0/schema.json +++ b/fabric/item/plan/definition/PowerTable/Forms/1.0.0/schema.json @@ -13,7 +13,8 @@ "required": [ "$schema", "title", - "layoutMeta" + "layoutMeta", + "config" ], "properties": { "$schema": { diff --git a/fabric/item/plan/definition/PowerTable/Source/1.0.0/schema.json b/fabric/item/plan/definition/PowerTable/Source/1.0.0/schema.json index 2a9b6047..6f6f2728 100644 --- a/fabric/item/plan/definition/PowerTable/Source/1.0.0/schema.json +++ b/fabric/item/plan/definition/PowerTable/Source/1.0.0/schema.json @@ -6,10 +6,20 @@ "type": "object", "required": [ "$schema", - "connection", "tableName", - "schema", - "database" + "schema" + ], + "anyOf": [ + { + "required": [ + "connectionId", "dbHost", "dbName" + ] + }, + { + "required": [ + "connectionVariable", "databaseVariable" + ] + } ], "properties": { "$schema": { @@ -17,10 +27,20 @@ "format": "uri", "const": "https://developer.microsoft.com/json-schemas/fabric/item/plan/definition/powerTable/source/1.0.0/schema.json" }, - "connection": { + "connectionId": { + "$ref": "https://developer.microsoft.com/json-schemas/fabric/common/connectionReference/1.0.0/schema.json#/definitions/ConnectionReferenceOrVar", + "format": "uuid" + }, + "dbHost": { + "$ref": "https://developer.microsoft.com/json-schemas/fabric/common/itemReference/1.0.0/schema.json#/definitions/ItemReferenceOrVar" + }, + "dbName": { + "$ref": "https://developer.microsoft.com/json-schemas/fabric/common/itemReference/1.0.0/schema.json#/definitions/ItemReferenceOrVar" + }, + "connectionIdVariable": { "$ref": "https://developer.microsoft.com/json-schemas/fabric/common/connectionReference/1.0.0/schema.json#/definitions/ConnectionReferenceOrVar" }, - "database": { + "databaseVariable": { "$ref": "https://developer.microsoft.com/json-schemas/fabric/common/itemReference/1.0.0/schema.json#/definitions/ItemReferenceOrVar" }, "schema": { From a4bd9e1ff55a231c67de2392e688feaca7b76946 Mon Sep 17 00:00:00 2001 From: VibbulanM_lumel Date: Thu, 16 Jul 2026 11:33:42 +0530 Subject: [PATCH 2/2] fix: required params added for powertable json --- .../PowerTable/Approvals/1.0.0/schema.json | 21 +++++++-- .../PowerTable/Automations/1.0.0/schema.json | 10 +++- .../ColumnConfigs/1.0.0/schema.json | 7 ++- .../PowerTable/Forms/1.0.0/schema.json | 46 +++++++------------ .../PowerTable/Source/1.0.0/schema.json | 7 ++- 5 files changed, 55 insertions(+), 36 deletions(-) diff --git a/fabric/item/plan/definition/PowerTable/Approvals/1.0.0/schema.json b/fabric/item/plan/definition/PowerTable/Approvals/1.0.0/schema.json index 28b48d25..d8196006 100644 --- a/fabric/item/plan/definition/PowerTable/Approvals/1.0.0/schema.json +++ b/fabric/item/plan/definition/PowerTable/Approvals/1.0.0/schema.json @@ -11,7 +11,8 @@ "approvalLevel", "multiLevelEnabled", "approvalLevels", - "approvalFilter" + "approvalFilter", + "recordGuid" ], "properties": { "$schema": { @@ -44,6 +45,10 @@ 1 ] }, + "recordGuid": { + "type": "string", + "format": "uuid" + }, "approvalLevels": { "type": "array", "description": "Configured approval levels.", @@ -66,7 +71,8 @@ "required": [ "name", "description", - "level" + "level", + "recordGuid" ], "properties": { "name": { @@ -78,6 +84,10 @@ "level": { "type": "integer", "minimum": 1 + }, + "recordGuid": { + "type": "string", + "format": "uuid" } }, "additionalProperties": false @@ -87,7 +97,8 @@ "required": [ "name", "filter", - "order" + "order", + "recordGuid" ], "properties": { "name": { @@ -103,6 +114,10 @@ "order": { "type": "integer", "minimum": 0 + }, + "recordGuid": { + "type": "string", + "format": "uuid" } }, "additionalProperties": false diff --git a/fabric/item/plan/definition/PowerTable/Automations/1.0.0/schema.json b/fabric/item/plan/definition/PowerTable/Automations/1.0.0/schema.json index ba26dbf5..3ef4e99f 100644 --- a/fabric/item/plan/definition/PowerTable/Automations/1.0.0/schema.json +++ b/fabric/item/plan/definition/PowerTable/Automations/1.0.0/schema.json @@ -6,7 +6,8 @@ "type": "object", "required": [ "$schema", - "automations" + "automations", + "recordGuid" ], "properties": { "$schema": { @@ -28,7 +29,8 @@ "required": [ "name", "triggerType", - "config" + "config", + "recordGuid" ], "properties": { "name": { @@ -41,6 +43,10 @@ }, "config": { "$ref": "#/definitions/AutomationConfig" + }, + "recordGuid": { + "type": "string", + "format": "uuid" } }, "additionalProperties": false diff --git a/fabric/item/plan/definition/PowerTable/ColumnConfigs/1.0.0/schema.json b/fabric/item/plan/definition/PowerTable/ColumnConfigs/1.0.0/schema.json index 3b59e094..cd2d893f 100644 --- a/fabric/item/plan/definition/PowerTable/ColumnConfigs/1.0.0/schema.json +++ b/fabric/item/plan/definition/PowerTable/ColumnConfigs/1.0.0/schema.json @@ -20,7 +20,8 @@ "hideColumn", "mandatory", "allowEdit", - "visualColumnType" + "visualColumnType", + "recordGuid" ], "properties": { "$schema": { @@ -77,6 +78,10 @@ }, "description": { "type": "string" + }, + "recordGuid": { + "type": "string", + "format": "uuid" } }, "additionalProperties": false diff --git a/fabric/item/plan/definition/PowerTable/Forms/1.0.0/schema.json b/fabric/item/plan/definition/PowerTable/Forms/1.0.0/schema.json index 44fcd85a..d1426545 100644 --- a/fabric/item/plan/definition/PowerTable/Forms/1.0.0/schema.json +++ b/fabric/item/plan/definition/PowerTable/Forms/1.0.0/schema.json @@ -14,7 +14,8 @@ "$schema", "title", "layoutMeta", - "config" + "config", + "recordGuid" ], "properties": { "$schema": { @@ -34,6 +35,10 @@ }, "config": { "$ref": "#/definitions/FormConfig" + }, + "recordGuid": { + "type": "string", + "format": "uuid" } }, "additionalProperties": false @@ -73,48 +78,31 @@ }, "additionalProperties": false }, - "FormElement": { + "formFields": { "type": "object", "required": [ - "type", - "name" + "recordGuid", + "required", + "columnConfigId" ], "properties": { - "type": { - "type": "string", - "description": "Element type.", - "enum": [ - "field", - "section", - "tab" - ] - }, - "name": { + "description": { "type": "string", "description": "Field/column name." }, - "mandatory": { + "required": { "type": "integer", "enum": [ 0, 1 ] }, - "allowEdit": { - "type": "integer", - "enum": [ - 0, - 1 - ] + "defaultValue": { + "type": "string" }, - "props": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "additionalProperties": true + "columnConfigId": { + "type": "string", + "format": "uuid" } }, "additionalProperties": false diff --git a/fabric/item/plan/definition/PowerTable/Source/1.0.0/schema.json b/fabric/item/plan/definition/PowerTable/Source/1.0.0/schema.json index 6f6f2728..c1165c50 100644 --- a/fabric/item/plan/definition/PowerTable/Source/1.0.0/schema.json +++ b/fabric/item/plan/definition/PowerTable/Source/1.0.0/schema.json @@ -7,7 +7,8 @@ "required": [ "$schema", "tableName", - "schema" + "schema", + "recordGuid" ], "anyOf": [ { @@ -48,6 +49,10 @@ }, "tableName": { "type": "string" + }, + "recordGuid": { + "type": "string", + "format": "uuid" } }, "additionalProperties": false