From 29a8c86a2fba994bd2d6f46653fbb44f041fdb21 Mon Sep 17 00:00:00 2001 From: Aleksandr Filatov Date: Wed, 27 Jan 2021 12:23:03 -0800 Subject: [PATCH] manifest v1.9 (#114) --- MicrosoftTeams.schema.json | 91 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 88 insertions(+), 3 deletions(-) diff --git a/MicrosoftTeams.schema.json b/MicrosoftTeams.schema.json index beca8ec..7f99aef 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.", - "const": "1.8" + "const": "1.9" }, "version": { "type": "string", @@ -185,18 +185,43 @@ ] } }, + "meetingSurfaces": { + "type": "array", + "description": "The set of meetingSurfaceItem scopes that a tab belong to", + "maxItems": 2, + "items": { + "enum": [ + "sidePanel", + "stage" + ] + } + }, "context": { "type": "array", "description": "The set of contextItem scopes that a tab belong to", - "maxItems": 6, + "maxItems": 8, "items": { "enum": [ + "personalTab", "channelTab", "privateChatTab", "meetingChatTab", "meetingDetailsTab", "meetingSidePanel", - "meetingStage" + "meetingStage", + "callingSidePanel" + ] + } + }, + "supportedPlatform": { + "type": "array", + "description": "The set of supportedPlatform scopes that a tab belong to", + "maxItems": 3, + "items": { + "enum": [ + "desktop", + "mobile", + "teamsMeetingDevices" ] } }, @@ -246,6 +271,10 @@ "$ref": "#/definitions/httpsUrl", "description": "The url which points to the entity UI to be displayed in the Teams canvas." }, + "contentBotId": { + "$ref": "#/definitions/botId", + "description": "The Microsoft App ID specified for the bot in the Bot Framework portal (https://dev.botframework.com/bots)" + }, "websiteUrl": { "$ref": "#/definitions/httpsUrl", "description": "The url to point at if a user opts to view in a browser." @@ -275,6 +304,18 @@ "channelTab" ] } + }, + "supportedPlatform": { + "type": "array", + "description": "The set of supportedPlatform scopes that a tab belong to", + "maxItems": 3, + "items": { + "enum": [ + "desktop", + "mobile", + "teamsMeetingDevices" + ] + } } }, "required": [ @@ -744,6 +785,50 @@ } }, "additionalProperties": false + }, + "defaultInstallScope": { + "type": "string", + "enum": [ + "personal", + "team", + "groupchat", + "meetings" + ], + "description": "The install scope defined for this app by default. This will be the option displayed on the button when a user tries to add the app" + }, + "defaultGroupCapability": { + "type": "object", + "properties": { + "team": { + "type": "string", + "enum": [ + "tab", + "bot", + "connector" + ], + "description": "When the install scope selected is Team, this field specifies the default capability available" + }, + "groupchat": { + "type": "string", + "enum": [ + "tab", + "bot", + "connector" + ], + "description": "When the install scope selected is GroupChat, this field specifies the default capability available" + }, + "meetings": { + "type": "string", + "enum": [ + "tab", + "bot", + "connector" + ], + "description": "When the install scope selected is Meetings, this field specifies the default capability available" + } + }, + "description": "When a group install scope is selected, this will define the default capability when the user installs the app", + "additionalProperties": false } }, "required": [