From 16960eeaa2a6a82ff6dee1e4c2aa121fde6ca584 Mon Sep 17 00:00:00 2001 From: Tianshu Chu Date: Mon, 30 Sep 2024 23:41:00 -0700 Subject: [PATCH] Update to v1.19 --- MicrosoftTeams.Localization.schema.json | 8 +++++ MicrosoftTeams.schema.json | 41 ++++++++++++++++++++++++- 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/MicrosoftTeams.Localization.schema.json b/MicrosoftTeams.Localization.schema.json index 5b79969..7029444 100644 --- a/MicrosoftTeams.Localization.schema.json +++ b/MicrosoftTeams.Localization.schema.json @@ -22,6 +22,14 @@ "description.full": { "type": "string", "maxLength": 4000 + }, + "localizationKeys": { + "type": "object", + "patternProperties": { + "^\\[\\[[a-zA-Z_][a-zA-Z0-9_]*\\]\\]$": { + "type": "string" + } + } } }, "patternProperties": { diff --git a/MicrosoftTeams.schema.json b/MicrosoftTeams.schema.json index 16816be..a53c0ff 100644 --- a/MicrosoftTeams.schema.json +++ b/MicrosoftTeams.schema.json @@ -10,7 +10,7 @@ "manifestVersion": { "type": "string", "description": "The version of the schema this manifest is using. This schema version supports extending Teams apps to other parts of the Microsoft 365 ecosystem. More info at https://aka.ms/extendteamsapps.", - "const": "1.17" + "const": "1.19" }, "version": { "type": "string", @@ -30,6 +30,10 @@ "description": "The language tag of the strings in this top level manifest file.", "default": "en-us" }, + "defaultLanguageFile": { + "$ref": "#/definitions/relativePath", + "description": "A relative file path to a the .json file containing strings in the default language." + }, "additionalLanguages": { "type": "array", "uniqueItems": true, @@ -1100,6 +1104,22 @@ "$ref": "#/definitions/dashboardCard" }, "additionalProperties": false + }, + "copilotAgents": { + "type": "object", + "properties": { + "declarativeAgents": { + "type": "array", + "description": "An array of declarative agent elements references. Currently, only one declarative agent per application is supported.", + "items": { + "$ref": "#/definitions/declarativeAgentRef" + }, + "minItems": 1, + "maxItems": 1 + } + }, + "additionalProperties": false, + "required": [ "declarativeAgents" ] } }, "required": [ @@ -2130,6 +2150,25 @@ } }, "additionalProperties": false + }, + "declarativeAgentRef": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "A unique identifier for this declarative agent element." + }, + "file": { + "$ref": "#/definitions/relativePath", + "description": "Relative file path to this declarative agent element file in the application package." + } + }, + "description": "A reference to a declarative agent element. The element's definition is in a separate file.", + "required": [ + "id", + "file" + ], + "additionalProperties": false } } } \ No newline at end of file