From 57173e257a6f5e8d9a2c8bdfdb53157d7cf0c635 Mon Sep 17 00:00:00 2001 From: t-earnie <214898047+t-earnie@users.noreply.github.com> Date: Thu, 20 Nov 2025 12:07:53 -0800 Subject: [PATCH 1/5] Create Cosmos DB Definition V2 schema.json --- .../definition/CosmosDB/2.0.0/schema.json | 356 ++++++++++++++++++ 1 file changed, 356 insertions(+) create mode 100644 fabric/item/CosmosDB/definition/CosmosDB/2.0.0/schema.json diff --git a/fabric/item/CosmosDB/definition/CosmosDB/2.0.0/schema.json b/fabric/item/CosmosDB/definition/CosmosDB/2.0.0/schema.json new file mode 100644 index 00000000..a0550905 --- /dev/null +++ b/fabric/item/CosmosDB/definition/CosmosDB/2.0.0/schema.json @@ -0,0 +1,356 @@ +{ + "$id": "https://developer.microsoft.com/json-schemas/fabric/item/CosmosDB/definition/CosmosDB/2.0.0/schema.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "CosmosDB Containers Schema", + "type": "object", + "properties": { + "type": "object", + "properties": { + "containers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "options": { + "type": "object", + "properties": { + "autoscaleSettings": { + "type": "object", + "properties": { + "maxThroughput": { + "type": "integer" + } + }, + "required": [ + "maxThroughput" + ] + } + }, + "required": [ + "autoscaleSettings" + ] + } + "resource":{ + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "computedProperties": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "query": { + "type": "string" + } + }, + "required": [ + "name", + "query" + ] + } + }, + "conflictResolutionPolicy": { + "type": "object", + "properties": { + "mode": { + "type": "string" + }, + "conflictResolutionPath": { + "type": "string" + }, + "conflictResolutionProcedure": { + "type": "string" + } + }, + "required": [ + "conflictResolutionPath", + "conflictResolutionProcedure" + ] + }, + "defaultTtl": { + "type": [ + "integer" + ] + }, + "fullTextPolicy": { + "type": "object", + "properties": { + "defaultLanguage": { + "type": "string" + }, + "fullTextPaths": { + "type": "array", + "items": { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "language": { + "type": "string" + } + }, + "required": [ + "path", + "language" + ] + } + } + }, + "required": [ + "defaultLanguage", + "fullTextPaths" + ] + }, + "geospatialConfig": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ] + }, + "indexingPolicy": { + "type": "object", + "properties": { + "indexingMode": { + "type": "string" + }, + "automatic": { + "type": "boolean" + }, + "includedPaths": { + "type": "array", + "items": { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "indexes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "kind": { + "type": "string" + }, + "dataType": { + "type": "string" + }, + "precision": { + "type": "integer" + } + }, + "required": [ + "kind", + "dataType", + "precision" + ] + } + } + }, + "required": [ + "path", + "indexes" + ] + } + }, + "excludedPaths": { + "type": "array", + "items": { + "type": "object", + "properties": { + "path": { + "type": "string" + } + }, + "required": [ + "path" + ] + } + }, + "vectorIndexes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "path", + "type" + ] + } + }, + "spatialIndexes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "types": { + "type": "array", + "items": { + "type": "string" + }, + "required": [ + "type" + ] + } + }, + "required": [ + "path", + "types" + ] + } + }, + "compositeIndexes": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "order": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "order", + "path" + ] + } + } + } + }, + "required": [ + "indexingMode", + "automatic", + "includedPaths", + "excludedPaths", + "vectorIndexes", + "spatialIndexes", + "compositeIndexes" + ] + }, + "partitionKey": { + "type": "object", + "properties": { + "paths": { + "type": "array", + "items": { + "type": "string" + } + }, + "kind": { + "type": "string" + }, + "version": { + "type": "integer" + } + }, + "required": [ + "paths", + "kind", + "version" + ] + }, + "uniqueKeyPolicy": { + "type": "object", + "properties": { + "uniqueKeys": { + "type": "array", + "items": { + "type": "object", + "properties": { + "paths": { + "type": "array", + "items": { + "type": "string" + }, + "required": [ + "type" + ] + } + }, + "required": [ + "paths" + ] + } + } + }, + "required": [ + "uniqueKeys" + ] + }, + "vectorEmbeddingPolicy": { + "type": [ + "object" + ], + "properties": { + "vectorEmbeddings": { + "type": "array", + "items": { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "dataType": { + "type": "string" + }, + "dimensions": { + "type": "integer" + }, + "distanceFunction": { + "type": "string" + } + }, + "required": [ + "path", + "dataType", + "dimensions", + "distanceFunction" + ] + } + } + }, + "required": [ + "vectorEmbeddings" + ] + } + }, + "required": [ + "id", + "partitionKey" + ] + } + }, + "required": [ + "options", + "resource" + ] + } + } + } + } +} From 5c9cf4f32747122e5b7f7c9d83d1bb71c2694fb7 Mon Sep 17 00:00:00 2001 From: Erika Doyle Navara Date: Wed, 26 Nov 2025 17:15:12 -0800 Subject: [PATCH 2/5] Link to public plugin reference --- teams/vDevPreview/MicrosoftTeams.schema.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/teams/vDevPreview/MicrosoftTeams.schema.json b/teams/vDevPreview/MicrosoftTeams.schema.json index 721ef7d4..99d36592 100644 --- a/teams/vDevPreview/MicrosoftTeams.schema.json +++ b/teams/vDevPreview/MicrosoftTeams.schema.json @@ -1651,7 +1651,7 @@ }, "description": { "type": "object", - "description": "An inlined Plugin Manifest object for simple plugins that do not require a separate file. It should conform to the Plugin Manifest schema https://spec-hub.azurewebsites.net/specifications/PluginManifest-2.3.html ." + "description": "An inlined Plugin Manifest object for simple plugins that do not require a separate file. It should conform to the Plugin Manifest schema https://learn.microsoft.com/microsoft-365-copilot/extensibility/api-plugin-manifest-2.3." } }, "additionalProperties": false @@ -1681,7 +1681,7 @@ }, "authorization": { "type": "object", - "description": "Authorization configuration for connecting to the local MCP server. The design mirrors that of Plugin Manifests https://spec-hub.azurewebsites.net/specifications/PluginManifest-2.3.html", + "description": "Authorization configuration for connecting to the local MCP server. The design mirrors that of Plugin Manifests https://learn.microsoft.com/microsoft-365-copilot/extensibility/api-plugin-manifest-2.3", "additionalProperties": false, "properties": { "type": { @@ -1736,7 +1736,7 @@ }, "authorization": { "type": "object", - "description": "Authorization configuration for connecting to the local MCP server. The design mirrors that of Plugin Manifests https://spec-hub.azurewebsites.net/specifications/PluginManifest-2.3.html", + "description": "Authorization configuration for connecting to the local MCP server. The design mirrors that of Plugin Manifests https://learn.microsoft.com/microsoft-365-copilot/extensibility/api-plugin-manifest-2.3", "properties": { "type": { "type": "string", From 5d828b46c53a6982cc2eb9e9fe01e7475e884864 Mon Sep 17 00:00:00 2001 From: Erika Doyle Navara Date: Mon, 1 Dec 2025 20:27:35 -0800 Subject: [PATCH 3/5] Correct secureHttpUrl to httpsUrl --- teams/vDevPreview/MicrosoftTeams.schema.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teams/vDevPreview/MicrosoftTeams.schema.json b/teams/vDevPreview/MicrosoftTeams.schema.json index 99d36592..67aaaa3b 100644 --- a/teams/vDevPreview/MicrosoftTeams.schema.json +++ b/teams/vDevPreview/MicrosoftTeams.schema.json @@ -1661,7 +1661,7 @@ "additionalProperties": false, "properties": { "mcpServerUrl": { - "$ref": "#/definitions/secureHttpUrl", + "$ref": "#/definitions/httpsUrl", "description": "The URL of the remote MCP Server." }, "mcpToolDescription": { @@ -2362,7 +2362,7 @@ "description": "Must be either scalar (a non-array value) or matrix (a 2-dimensional array)." }, "optional": { - "type": ["boolean", "null"], + "type": "boolean", "default": false, "description": "If true, the parameter is optional." }, From 8977da0b1ee2e30c810452368849ce88358a27f0 Mon Sep 17 00:00:00 2001 From: Erika Doyle Navara Date: Mon, 1 Dec 2025 20:29:54 -0800 Subject: [PATCH 4/5] Reinstate null value --- teams/vDevPreview/MicrosoftTeams.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teams/vDevPreview/MicrosoftTeams.schema.json b/teams/vDevPreview/MicrosoftTeams.schema.json index 67aaaa3b..02b39adb 100644 --- a/teams/vDevPreview/MicrosoftTeams.schema.json +++ b/teams/vDevPreview/MicrosoftTeams.schema.json @@ -2362,7 +2362,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." }, From ce83dc786a8afcc42791a76d327388b25d664079 Mon Sep 17 00:00:00 2001 From: Steve Danielson Date: Thu, 11 Dec 2025 11:28:33 -0500 Subject: [PATCH 5/5] Fix review.learn.microsoft.com doc links --- teams/v1.17/MicrosoftTeams.schema.json | 2 +- teams/v1.19/MicrosoftTeams.schema.json | 2 +- teams/v1.20/MicrosoftTeams.schema.json | 2 +- teams/v1.21/MicrosoftTeams.schema.json | 2 +- teams/v1.22/MicrosoftTeams.schema.json | 2 +- teams/v1.23/MicrosoftTeams.schema.json | 2 +- teams/v1.24/MicrosoftTeams.schema.json | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/teams/v1.17/MicrosoftTeams.schema.json b/teams/v1.17/MicrosoftTeams.schema.json index 16816bef..aabb6eff 100644 --- a/teams/v1.17/MicrosoftTeams.schema.json +++ b/teams/v1.17/MicrosoftTeams.schema.json @@ -1893,7 +1893,7 @@ "events": { "type": "array", "maxItems": 20, - "description": "Specifies the type of event. For supported types, please see: https://review.learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch?tabs=xmlmanifest#supported-events.", + "description": "Specifies the type of event. For supported types, please see: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch?tabs=xmlmanifest#supported-events.", "items": { "type": "object", "properties": { diff --git a/teams/v1.19/MicrosoftTeams.schema.json b/teams/v1.19/MicrosoftTeams.schema.json index a53c0ff4..ac8ed4a2 100644 --- a/teams/v1.19/MicrosoftTeams.schema.json +++ b/teams/v1.19/MicrosoftTeams.schema.json @@ -1913,7 +1913,7 @@ "events": { "type": "array", "maxItems": 20, - "description": "Specifies the type of event. For supported types, please see: https://review.learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch?tabs=xmlmanifest#supported-events.", + "description": "Specifies the type of event. For supported types, please see: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch?tabs=xmlmanifest#supported-events.", "items": { "type": "object", "properties": { diff --git a/teams/v1.20/MicrosoftTeams.schema.json b/teams/v1.20/MicrosoftTeams.schema.json index 0f1d5f17..d16b6da3 100644 --- a/teams/v1.20/MicrosoftTeams.schema.json +++ b/teams/v1.20/MicrosoftTeams.schema.json @@ -2120,7 +2120,7 @@ "events": { "type": "array", "maxItems": 20, - "description": "Specifies the type of event. For supported types, please see: https://review.learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch?tabs=xmlmanifest#supported-events.", + "description": "Specifies the type of event. For supported types, please see: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch?tabs=xmlmanifest#supported-events.", "items": { "type": "object", "properties": { diff --git a/teams/v1.21/MicrosoftTeams.schema.json b/teams/v1.21/MicrosoftTeams.schema.json index 697b09df..1a27a3cb 100644 --- a/teams/v1.21/MicrosoftTeams.schema.json +++ b/teams/v1.21/MicrosoftTeams.schema.json @@ -2151,7 +2151,7 @@ "events": { "type": "array", "maxItems": 20, - "description": "Specifies the type of event. For supported types, please see: https://review.learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch?tabs=xmlmanifest#supported-events.", + "description": "Specifies the type of event. For supported types, please see: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch?tabs=xmlmanifest#supported-events.", "items": { "type": "object", "properties": { diff --git a/teams/v1.22/MicrosoftTeams.schema.json b/teams/v1.22/MicrosoftTeams.schema.json index dc082c99..faa9bca9 100644 --- a/teams/v1.22/MicrosoftTeams.schema.json +++ b/teams/v1.22/MicrosoftTeams.schema.json @@ -2228,7 +2228,7 @@ "events": { "type": "array", "maxItems": 20, - "description": "Specifies the type of event. For supported types, please see: https://review.learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch?tabs=xmlmanifest#supported-events.", + "description": "Specifies the type of event. For supported types, please see: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch?tabs=xmlmanifest#supported-events.", "items": { "type": "object", "properties": { diff --git a/teams/v1.23/MicrosoftTeams.schema.json b/teams/v1.23/MicrosoftTeams.schema.json index aa89bf6f..ee9201ce 100644 --- a/teams/v1.23/MicrosoftTeams.schema.json +++ b/teams/v1.23/MicrosoftTeams.schema.json @@ -2441,7 +2441,7 @@ "events": { "type": "array", "maxItems": 20, - "description": "Specifies the type of event. For supported types, please see: https://review.learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch?tabs=xmlmanifest#supported-events.", + "description": "Specifies the type of event. For supported types, please see: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch?tabs=xmlmanifest#supported-events.", "items": { "type": "object", "properties": { diff --git a/teams/v1.24/MicrosoftTeams.schema.json b/teams/v1.24/MicrosoftTeams.schema.json index 0691243e..495f638a 100644 --- a/teams/v1.24/MicrosoftTeams.schema.json +++ b/teams/v1.24/MicrosoftTeams.schema.json @@ -2443,7 +2443,7 @@ "events": { "type": "array", "maxItems": 20, - "description": "Specifies the type of event. For supported types, please see: https://review.learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch?tabs=xmlmanifest#supported-events.", + "description": "Specifies the type of event. For supported types, please see: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/autolaunch?tabs=xmlmanifest#supported-events.", "items": { "type": "object", "properties": {