Skip to content

Commit

Permalink
manifest v1.9 (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
greybax authored Jan 27, 2021
1 parent 145ce88 commit 29a8c86
Showing 1 changed file with 88 additions and 3 deletions.
91 changes: 88 additions & 3 deletions MicrosoftTeams.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
]
}
},
Expand Down Expand Up @@ -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."
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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": [
Expand Down

0 comments on commit 29a8c86

Please sign in to comment.