From b7fed489f991d58798512462c0c9dc266ee900c4 Mon Sep 17 00:00:00 2001 From: Zoe Li Date: Wed, 27 Aug 2025 12:09:19 +0800 Subject: [PATCH 1/9] Add schema file for ml artifacts --- .../mlExperiment/definition/1.0.0/schema.json | 29 +++++++++++++++++++ .../item/mlModel/definition/1.0.0/schema.json | 29 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 fabric/item/mlExperiment/definition/1.0.0/schema.json create mode 100644 fabric/item/mlModel/definition/1.0.0/schema.json diff --git a/fabric/item/mlExperiment/definition/1.0.0/schema.json b/fabric/item/mlExperiment/definition/1.0.0/schema.json new file mode 100644 index 00000000..cc6e92d2 --- /dev/null +++ b/fabric/item/mlExperiment/definition/1.0.0/schema.json @@ -0,0 +1,29 @@ +{ + "$id": "https://developer.microsoft.com/json-schemas/fabric/item/mlExperiment/definition/1.0.0/schema.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Dependencies", + "type": "object", + "properties": { + "dependencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "ArtifactType": { + "type": "string", + "description": "Type of the artifact, e.g., 'SynapseNotebook'." + }, + "ArtifactObjectId": { + "type": "string", + "format": "uuid", + "description": "Unique identifier of the artifact." + } + }, + "required": ["ArtifactType", "ArtifactObjectId"], + "additionalProperties": false + } + } + }, + "required": ["dependencies"], + "additionalProperties": false +} diff --git a/fabric/item/mlModel/definition/1.0.0/schema.json b/fabric/item/mlModel/definition/1.0.0/schema.json new file mode 100644 index 00000000..9f9664b7 --- /dev/null +++ b/fabric/item/mlModel/definition/1.0.0/schema.json @@ -0,0 +1,29 @@ +{ + "$id": "https://developer.microsoft.com/json-schemas/fabric/item/mlModel/definition/1.0.0/schema.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Dependencies", + "type": "object", + "properties": { + "dependencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "ArtifactType": { + "type": "string", + "description": "Type of the artifact, e.g., 'SynapseNotebook'." + }, + "ArtifactObjectId": { + "type": "string", + "format": "uuid", + "description": "Unique identifier of the artifact." + } + }, + "required": ["ArtifactType", "ArtifactObjectId"], + "additionalProperties": false + } + } + }, + "required": ["dependencies"], + "additionalProperties": false +} From 9b5e15c515bc9d7be8e688944ce93557251bd58e Mon Sep 17 00:00:00 2001 From: Daniel Olumuyiwa <79334116+oolumuyiwa@users.noreply.github.com> Date: Fri, 5 Sep 2025 08:26:11 -0700 Subject: [PATCH 2/9] PP September --- teams/vDevPreview/MicrosoftTeams.schema.json | 38 +++++++++++++++----- 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/teams/vDevPreview/MicrosoftTeams.schema.json b/teams/vDevPreview/MicrosoftTeams.schema.json index df95ca41..359d47c2 100644 --- a/teams/vDevPreview/MicrosoftTeams.schema.json +++ b/teams/vDevPreview/MicrosoftTeams.schema.json @@ -1778,7 +1778,7 @@ "type": "array", "description": "Specifies the set of actions supported by this runtime. An action is either running a JavaScript function or opening a view such as a task pane.", "minItems": 1, - "maxItems": 20, + "maxItems": 150, "items": { "$ref": "#/definitions/extensionRuntimesActionsItem" }, @@ -1890,12 +1890,13 @@ "type": "boolean", "description": "Allows a custom function to accept Excel data types as parameters and return values.", "default": false + }, + "metadataUrl": { + "$ref": "#/definitions/httpsUrl", + "description": "The full URL of a metadata json file with default locale." } }, - "required": [ - "functions", - "namespace" - ] + "additionalProperties": false }, "extensionCustomFunctionsNamespace": { "type": "object", @@ -2045,7 +2046,7 @@ "description": "Must be either scalar (a non-array value) or matrix (a 2-dimensional array)." }, "optional": { - "type": "boolean", + "type": ["boolean", "null"], "default": false, "description": "If true, the parameter is optional." }, @@ -2106,10 +2107,29 @@ }, "minItems": 1, "maxItems": 20000 + }, + "keyMappingFiles": { + "description": "Specifies the full URLs for shortcuts mapping and localization resource files that don't directly support the unified manifest.", + "$ref": "#/definitions/keyboardShortcutsMappingFiles" } }, "required": [ "shortcuts" ] }, + "keyboardShortcutsMappingFiles": { + "type": "object", + "additionalProperties": false, + "properties": { + "shortcutsUrl": { + "$ref": "#/definitions/httpsUrl", + "description": "The full URL of the JSON file that will contain the keyboard combination configuration on Office application and platform combinations that don't directly support the unified manifest." + }, + "localizationResourceUrl": { + "$ref": "#/definitions/httpsUrl", + "description": "The full URL of a file that provides supplemental resource, such as localized strings, for the file specified in the shortcutsUrl attribute." + } + }, + "required": [ "shortcutsUrl" ] + }, "extensionShortcut": { "type": "object", "properties": { @@ -2400,7 +2420,7 @@ "type": "array", "description": "Configures the items for a menu control.", "minItems": 1, - "maxItems": 20, + "maxItems": 30, "items": { "$ref": "#/definitions/extensionCommonCustomControlMenuItem" } @@ -2879,8 +2899,8 @@ "fileName": { "type": "string", "pattern": "^(?!.*[\\r\\n\\f\\b\\v\\u0007\\t])[\\S]*\\.xll$", - "minLength": 1, - "maxLength": 64 + "minLength": 4, + "maxLength": 254 } } }, From 777294446efc1915d11a82e51a25d475d986e676 Mon Sep 17 00:00:00 2001 From: Daniel Olumuyiwa <79334116+oolumuyiwa@users.noreply.github.com> Date: Fri, 5 Sep 2025 08:27:31 -0700 Subject: [PATCH 3/9] PP September --- teams/vDevPreview/MicrosoftTeams.Localization.schema.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/teams/vDevPreview/MicrosoftTeams.Localization.schema.json b/teams/vDevPreview/MicrosoftTeams.Localization.schema.json index 5f29f9cb..a8541837 100644 --- a/teams/vDevPreview/MicrosoftTeams.Localization.schema.json +++ b/teams/vDevPreview/MicrosoftTeams.Localization.schema.json @@ -181,6 +181,10 @@ "type": "string", "maxLength": 2048 }, + "^extensions\\[[0-9]\\]\\.runtimes\\[[1]?[0-9]\\]\\.customFunctions\\.metadataUrl$": { + "type": "string", + "maxLength": 2048 + }, "^extensions\\[[0-9]\\]\\.runtimes\\[[1]?[0-9]\\]\\.customFunctions\\.functions\\[[0-9]\\]\\.name$": { "type": "string", "maxLength": 64 From 48c953c1762f2dd35e422702646cef012e1a676c Mon Sep 17 00:00:00 2001 From: can Date: Wed, 10 Sep 2025 17:27:11 -0700 Subject: [PATCH 4/9] update graph def --- .../definition/graphDefinition/1.0.0/schema.json | 12 ++++++------ .../definition/graphType/1.0.0/schema.json | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/fabric/item/graphInstance/definition/graphDefinition/1.0.0/schema.json b/fabric/item/graphInstance/definition/graphDefinition/1.0.0/schema.json index ff3f03e1..80c8042b 100644 --- a/fabric/item/graphInstance/definition/graphDefinition/1.0.0/schema.json +++ b/fabric/item/graphInstance/definition/graphDefinition/1.0.0/schema.json @@ -22,12 +22,6 @@ "dataSourceName": { "type": "string" }, - "nodeIdMapping": { - "type": "array", - "items": { - "type": "string" - } - }, "propertyMappings": { "type": "array", "items": { @@ -76,6 +70,12 @@ "type": "string" } }, + "edgeIdMapping": { + "type": "array", + "items": { + "type": "string" + } + }, "propertyMappings": { "type": "array", "items": { diff --git a/fabric/item/graphInstance/definition/graphType/1.0.0/schema.json b/fabric/item/graphInstance/definition/graphType/1.0.0/schema.json index b10fc56d..bb8b38cf 100644 --- a/fabric/item/graphInstance/definition/graphType/1.0.0/schema.json +++ b/fabric/item/graphInstance/definition/graphType/1.0.0/schema.json @@ -38,7 +38,7 @@ }, "type": { "type": "string", - "enum": ["STRING", "INT", "FLOAT", "DATETIME", "BOOLEAN"] + "enum": ["STRING", "INT", "FLOAT", "ZONED DATETIME", "BOOLEAN"] } }, "required": ["name", "type"] @@ -90,7 +90,7 @@ }, "type": { "type": "string", - "enum": ["STRING", "INT", "FLOAT", "DATETIME", "BOOLEAN"] + "enum": ["STRING", "INT", "FLOAT", "ZONED DATETIME", "BOOLEAN"] } }, "required": ["name", "type"] From 6275046f55e3172e1d466e70e4ec8666745a8d19 Mon Sep 17 00:00:00 2001 From: can Date: Wed, 10 Sep 2025 17:31:47 -0700 Subject: [PATCH 5/9] rename --- .../definition/dataSources/1.0.0/schema.json | 2 +- .../definition/graphDefinition/1.0.0/schema.json | 2 +- .../definition/graphType/1.0.0/schema.json | 2 +- .../definition/stylingConfiguration/1.0.0/schema.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename fabric/item/{graphInstance => graphModel}/definition/dataSources/1.0.0/schema.json (94%) rename fabric/item/{graphInstance => graphModel}/definition/graphDefinition/1.0.0/schema.json (97%) rename fabric/item/{graphInstance => graphModel}/definition/graphType/1.0.0/schema.json (97%) rename fabric/item/{graphInstance => graphModel}/definition/stylingConfiguration/1.0.0/schema.json (95%) diff --git a/fabric/item/graphInstance/definition/dataSources/1.0.0/schema.json b/fabric/item/graphModel/definition/dataSources/1.0.0/schema.json similarity index 94% rename from fabric/item/graphInstance/definition/dataSources/1.0.0/schema.json rename to fabric/item/graphModel/definition/dataSources/1.0.0/schema.json index 011b3ec4..108251b3 100644 --- a/fabric/item/graphInstance/definition/dataSources/1.0.0/schema.json +++ b/fabric/item/graphModel/definition/dataSources/1.0.0/schema.json @@ -1,5 +1,5 @@ { - "$id": "https://developer.microsoft.com/json-schemas/fabric/item/graphInstance/definition/dataSources/1.0.0/schema.json", + "$id": "https://developer.microsoft.com/json-schemas/fabric/item/graphModel/definition/dataSources/1.0.0/schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "DataSources", "type": "object", diff --git a/fabric/item/graphInstance/definition/graphDefinition/1.0.0/schema.json b/fabric/item/graphModel/definition/graphDefinition/1.0.0/schema.json similarity index 97% rename from fabric/item/graphInstance/definition/graphDefinition/1.0.0/schema.json rename to fabric/item/graphModel/definition/graphDefinition/1.0.0/schema.json index 80c8042b..4cca7e5d 100644 --- a/fabric/item/graphInstance/definition/graphDefinition/1.0.0/schema.json +++ b/fabric/item/graphModel/definition/graphDefinition/1.0.0/schema.json @@ -1,5 +1,5 @@ { - "$id": "https://developer.microsoft.com/json-schemas/fabric/item/graphInstance/definition/graphDefinition/1.0.0/schema.json", + "$id": "https://developer.microsoft.com/json-schemas/fabric/item/graphModel/definition/graphDefinition/1.0.0/schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "GraphDefinition", "type": "object", diff --git a/fabric/item/graphInstance/definition/graphType/1.0.0/schema.json b/fabric/item/graphModel/definition/graphType/1.0.0/schema.json similarity index 97% rename from fabric/item/graphInstance/definition/graphType/1.0.0/schema.json rename to fabric/item/graphModel/definition/graphType/1.0.0/schema.json index bb8b38cf..4752b52c 100644 --- a/fabric/item/graphInstance/definition/graphType/1.0.0/schema.json +++ b/fabric/item/graphModel/definition/graphType/1.0.0/schema.json @@ -1,5 +1,5 @@ { - "$id": "https://developer.microsoft.com/json-schemas/fabric/item/graphInstance/definition/graphType/1.0.0/schema.json", + "$id": "https://developer.microsoft.com/json-schemas/fabric/item/graphModel/definition/graphType/1.0.0/schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "GraphType", "type": "object", diff --git a/fabric/item/graphInstance/definition/stylingConfiguration/1.0.0/schema.json b/fabric/item/graphModel/definition/stylingConfiguration/1.0.0/schema.json similarity index 95% rename from fabric/item/graphInstance/definition/stylingConfiguration/1.0.0/schema.json rename to fabric/item/graphModel/definition/stylingConfiguration/1.0.0/schema.json index e012414f..46969d12 100644 --- a/fabric/item/graphInstance/definition/stylingConfiguration/1.0.0/schema.json +++ b/fabric/item/graphModel/definition/stylingConfiguration/1.0.0/schema.json @@ -1,5 +1,5 @@ { - "$id": "https://developer.microsoft.com/json-schemas/fabric/item/graphInstance/definition/stylingConfiguration/1.0.0/schema.json", + "$id": "https://developer.microsoft.com/json-schemas/fabric/item/graphModel/definition/stylingConfiguration/1.0.0/schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "StylingConfiguration", "type": "object", From 1f1630dfc3c8ab0850d8273870961c54909ede94 Mon Sep 17 00:00:00 2001 From: "Peter Ombwa (from Dev Box)" Date: Fri, 12 Sep 2025 15:13:41 -0700 Subject: [PATCH 6/9] fix: Increase conversation_starters limit to 12. --- copilot/declarative-agent/v1.6/schema.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/copilot/declarative-agent/v1.6/schema.json b/copilot/declarative-agent/v1.6/schema.json index 3c48bf68..1a50253c 100644 --- a/copilot/declarative-agent/v1.6/schema.json +++ b/copilot/declarative-agent/v1.6/schema.json @@ -61,8 +61,8 @@ }, "conversation_starters": { "type": "array", - "description": "Optional. A list of examples of questions that the declarative agent can answer. There MUST NOT be more than six objects in the array.", - "maxItems": 6, + "description": "Optional. A list of examples of questions that the declarative agent can answer. There MUST NOT be more than twelve objects in the array.", + "maxItems": 12, "minItems": 1, "items": { "$ref": "#/$defs/conversation-starter" @@ -235,7 +235,7 @@ "embedded_resource_snapshot_id": { "type": "string", "description": "A JSON string identifier provisioned by a an external file container storage service that can be used to locate the embedded knowledge files.", - "pattern": "^(?!\\[\\[)(.*?)(? Date: Wed, 17 Sep 2025 12:20:37 -0700 Subject: [PATCH 7/9] Add JSON schema for Operations Agent definition This JSON schema defines the structure for an Operations Agent, including its configuration, playbook, and required properties. --- .../definition/1.0.0/schema.json | 151 ++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 fabric/item/operationsAgents/definition/1.0.0/schema.json diff --git a/fabric/item/operationsAgents/definition/1.0.0/schema.json b/fabric/item/operationsAgents/definition/1.0.0/schema.json new file mode 100644 index 00000000..61b61dc7 --- /dev/null +++ b/fabric/item/operationsAgents/definition/1.0.0/schema.json @@ -0,0 +1,151 @@ +{ + "$id": "https://developer.microsoft.com/json-schemas/fabric/item/operationsAgents/definition/1.0.0/schema.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Operations Agent", + "description": "Artifact definition of Operations Agent.", + "type": "object", + "properties": { + "configuration": { + "type": "object", + "title": "Operations Agent Configuration", + "description": "User specified configuration containing goals, instructions, data sources, and actions of the agent.", + "properties": { + "goals": { + "type": "string", + "description": "Business goals for the agent to accomplish." + }, + "instructions": { + "type": "string", + "description": "Explicit instructions or procedures for the agent to follow." + }, + "dataSources": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/dataSource" + } + }, + "actions": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/action" + } + } + }, + "required": [ + "goals", + "instructions", + "dataSources", + "actions" + ] + }, + "playbook": { + "type": "object" + }, + "shouldRun": { + "type": "boolean", + "description": "Whether the agent should be running." + } + }, + "required": [ + "configuration", + "playbook" + ], + "additionalProperties": false, + "definitions": { + "dataSource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "type": { + "type": "string", + "enum": [ + "KustoDatabase" + ] + }, + "workspaceId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "id", + "type", + "workspaceId" + ] + }, + "action": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "kind": { + "type": "string", + "enum": [ + "PowerAutomateAction" + ] + }, + "workspaceId": { + "type": "string", + "format": "uuid" + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/parameter" + } + }, + "connection": { + "$ref": "#/definitions/connection" + } + }, + "required": [ + "id", + "kind", + "connection" + ] + }, + "parameter": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "required": [ + "name" + ], + "additionalProperties": false + }, + "connection": { + "type": "object", + "properties": { + "flowActionUid": { + "type": "string", + "format": "uuid" + }, + "activatorWorkspaceId": { + "type": "string", + "format": "uuid" + }, + "activatorArtifactId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "flowActionUid", + "activatorWorkspaceId", + "activatorArtifactId" + ], + "additionalProperties": false + } + } +} From 13517b0db33999386f59184344ead7e93f3b0e79 Mon Sep 17 00:00:00 2001 From: jameskanmsft Date: Wed, 17 Sep 2025 12:51:09 -0700 Subject: [PATCH 8/9] Add 'shouldRun' to required fields in schema --- fabric/item/operationsAgents/definition/1.0.0/schema.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fabric/item/operationsAgents/definition/1.0.0/schema.json b/fabric/item/operationsAgents/definition/1.0.0/schema.json index 61b61dc7..3dda9a1b 100644 --- a/fabric/item/operationsAgents/definition/1.0.0/schema.json +++ b/fabric/item/operationsAgents/definition/1.0.0/schema.json @@ -48,7 +48,8 @@ }, "required": [ "configuration", - "playbook" + "playbook", + "shouldRun" ], "additionalProperties": false, "definitions": { From b2002296faf0d2f9cb0576283e8782588c533fc1 Mon Sep 17 00:00:00 2001 From: jameskanmsft Date: Fri, 19 Sep 2025 09:55:06 -0700 Subject: [PATCH 9/9] Update schema.json to modify recipient type --- fabric/item/operationsAgents/definition/1.0.0/schema.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fabric/item/operationsAgents/definition/1.0.0/schema.json b/fabric/item/operationsAgents/definition/1.0.0/schema.json index 3dda9a1b..0530241b 100644 --- a/fabric/item/operationsAgents/definition/1.0.0/schema.json +++ b/fabric/item/operationsAgents/definition/1.0.0/schema.json @@ -29,6 +29,9 @@ "additionalProperties": { "$ref": "#/definitions/action" } + }, + "recipient": { + "type": "string" } }, "required": [