@microsoft/app-manifest 1.0.5 → 1.0.6-alpha.bca8bf68d3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/build/generated-types/index.d.ts +2 -0
  2. package/build/generated-types/index.js +38 -8
  3. package/build/generated-types/index.js.map +1 -1
  4. package/build/json-schemas/copilot/declarative-agent/v1.0/schema.json +327 -0
  5. package/build/json-schemas/copilot/declarative-agent/v1.2/schema.json +413 -0
  6. package/build/json-schemas/copilot/declarative-agent/v1.3/schema.json +610 -0
  7. package/build/json-schemas/copilot/declarative-agent/v1.4/schema.json +884 -0
  8. package/build/json-schemas/copilot/declarative-agent/v1.5/schema.json +904 -0
  9. package/build/json-schemas/copilot/declarative-agent/v1.6/schema.json +1102 -0
  10. package/build/json-schemas/copilot/plugin/v2.1/schema.json +684 -0
  11. package/build/json-schemas/copilot/plugin/v2.2/schema.json +716 -0
  12. package/build/json-schemas/copilot/plugin/v2.3/schema.json +772 -0
  13. package/build/json-schemas/copilot/plugin/v2.4/schema.json +853 -0
  14. package/build/json-schemas/teams/v1.0/MicrosoftTeams.schema.json +461 -0
  15. package/build/json-schemas/teams/v1.1/MicrosoftTeams.schema.json +458 -0
  16. package/build/json-schemas/teams/v1.10/MicrosoftTeams.Localization.schema.json +81 -0
  17. package/build/json-schemas/teams/v1.10/MicrosoftTeams.schema.json +963 -0
  18. package/build/json-schemas/teams/v1.11/MicrosoftTeams.Localization.schema.json +81 -0
  19. package/build/json-schemas/teams/v1.11/MicrosoftTeams.schema.json +958 -0
  20. package/build/json-schemas/teams/v1.12/MicrosoftTeams.Localization.schema.json +81 -0
  21. package/build/json-schemas/teams/v1.12/MicrosoftTeams.schema.json +993 -0
  22. package/build/json-schemas/teams/v1.13/MicrosoftTeams.Localization.schema.json +81 -0
  23. package/build/json-schemas/teams/v1.13/MicrosoftTeams.schema.json +993 -0
  24. package/build/json-schemas/teams/v1.14/MicrosoftTeams.Localization.schema.json +81 -0
  25. package/build/json-schemas/teams/v1.14/MicrosoftTeams.schema.json +1009 -0
  26. package/build/json-schemas/teams/v1.15/MicrosoftTeams.Localization.schema.json +81 -0
  27. package/build/json-schemas/teams/v1.15/MicrosoftTeams.schema.json +1014 -0
  28. package/build/json-schemas/teams/v1.16/MicrosoftTeams.Localization.schema.json +82 -0
  29. package/build/json-schemas/teams/v1.16/MicrosoftTeams.schema.json +1028 -0
  30. package/build/json-schemas/teams/v1.17/MicrosoftTeams.Localization.schema.json +166 -0
  31. package/build/json-schemas/teams/v1.17/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  32. package/build/json-schemas/teams/v1.17/MicrosoftTeams.schema.json +2135 -0
  33. package/build/json-schemas/teams/v1.19/MicrosoftTeams.Localization.schema.json +174 -0
  34. package/build/json-schemas/teams/v1.19/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  35. package/build/json-schemas/teams/v1.19/MicrosoftTeams.schema.json +2174 -0
  36. package/build/json-schemas/teams/v1.2/MicrosoftTeams.schema.json +458 -0
  37. package/build/json-schemas/teams/v1.20/MicrosoftTeams.Localization.schema.json +214 -0
  38. package/build/json-schemas/teams/v1.20/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  39. package/build/json-schemas/teams/v1.20/MicrosoftTeams.schema.json +2503 -0
  40. package/build/json-schemas/teams/v1.21/MicrosoftTeams.Localization.schema.json +224 -0
  41. package/build/json-schemas/teams/v1.21/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  42. package/build/json-schemas/teams/v1.21/MicrosoftTeams.schema.json +2534 -0
  43. package/build/json-schemas/teams/v1.22/MicrosoftTeams.Localization.schema.json +228 -0
  44. package/build/json-schemas/teams/v1.22/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  45. package/build/json-schemas/teams/v1.22/MicrosoftTeams.schema.json +2622 -0
  46. package/build/json-schemas/teams/v1.23/MicrosoftTeams.Localization.schema.json +316 -0
  47. package/build/json-schemas/teams/v1.23/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  48. package/build/json-schemas/teams/v1.23/MicrosoftTeams.schema.json +3056 -0
  49. package/build/json-schemas/teams/v1.24/MicrosoftTeams.Localization.schema.json +320 -0
  50. package/build/json-schemas/teams/v1.24/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  51. package/build/json-schemas/teams/v1.24/MicrosoftTeams.schema.json +3175 -0
  52. package/build/json-schemas/teams/v1.25/MicrosoftTeams.AgenticUser.schema.json +44 -0
  53. package/build/json-schemas/teams/v1.25/MicrosoftTeams.Localization.schema.json +328 -0
  54. package/build/json-schemas/teams/v1.25/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  55. package/build/json-schemas/teams/v1.25/MicrosoftTeams.schema.json +3313 -0
  56. package/build/json-schemas/teams/v1.26/MicrosoftTeams.schema.json +3408 -0
  57. package/build/json-schemas/teams/v1.3/MicrosoftTeams.schema.json +473 -0
  58. package/build/json-schemas/teams/v1.4/MicrosoftTeams.schema.json +543 -0
  59. package/build/json-schemas/teams/v1.5/MicrosoftTeams.Localization.schema.json +69 -0
  60. package/build/json-schemas/teams/v1.5/MicrosoftTeams.schema.json +713 -0
  61. package/build/json-schemas/teams/v1.6/MicrosoftTeams.Localization.schema.json +69 -0
  62. package/build/json-schemas/teams/v1.6/MicrosoftTeams.schema.json +725 -0
  63. package/build/json-schemas/teams/v1.7/MicrosoftTeams.Localization.schema.json +77 -0
  64. package/build/json-schemas/teams/v1.7/MicrosoftTeams.schema.json +759 -0
  65. package/build/json-schemas/teams/v1.8/MicrosoftTeams.Localization.schema.json +77 -0
  66. package/build/json-schemas/teams/v1.8/MicrosoftTeams.schema.json +799 -0
  67. package/build/json-schemas/teams/v1.9/MicrosoftTeams.Localization.schema.json +77 -0
  68. package/build/json-schemas/teams/v1.9/MicrosoftTeams.schema.json +885 -0
  69. package/build/json-schemas/teams/vDevPreview/MicrosoftTeams.AgenticUser.schema.json +44 -0
  70. package/build/json-schemas/teams/vDevPreview/MicrosoftTeams.Localization.schema.json +256 -0
  71. package/build/json-schemas/teams/vDevPreview/MicrosoftTeams.ResponseRenderingTemplate.schema.json +89 -0
  72. package/build/json-schemas/teams/vDevPreview/MicrosoftTeams.schema.json +4020 -0
  73. package/build/tsconfig.tsbuildinfo +1 -1
  74. package/package.json +3 -3
@@ -0,0 +1,1009 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "type": "object",
4
+ "additionalProperties": false,
5
+ "properties": {
6
+ "$schema": {
7
+ "type": "string",
8
+ "format": "uri"
9
+ },
10
+ "manifestVersion": {
11
+ "type": "string",
12
+ "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.",
13
+ "const": "1.14"
14
+ },
15
+ "version": {
16
+ "type": "string",
17
+ "description": "The version of the app. Changes to your manifest should cause a version change. This version string must follow the semver standard (http://semver.org).",
18
+ "maxLength": 256
19
+ },
20
+ "id": {
21
+ "$ref": "#/definitions/guid",
22
+ "description": "A unique identifier for this app. This id must be a GUID."
23
+ },
24
+ "packageName": {
25
+ "type": "string",
26
+ "description": "A unique identifier for this app in reverse domain notation. E.g: com.example.myapp",
27
+ "maxLength": 64
28
+ },
29
+ "localizationInfo": {
30
+ "type": "object",
31
+ "additionalProperties": false,
32
+ "properties": {
33
+ "defaultLanguageTag": {
34
+ "$ref": "#/definitions/languageTag",
35
+ "description": "The language tag of the strings in this top level manifest file.",
36
+ "default": "en-us"
37
+ },
38
+ "additionalLanguages": {
39
+ "type": "array",
40
+ "uniqueItems": true,
41
+ "items": {
42
+ "type": "object",
43
+ "additionalProperties": false,
44
+ "properties": {
45
+ "languageTag": {
46
+ "$ref": "#/definitions/languageTag",
47
+ "description": "The language tag of the strings in the provided file."
48
+ },
49
+ "file": {
50
+ "$ref": "#/definitions/relativePath",
51
+ "description": "A relative file path to a the .json file containing the translated strings."
52
+ }
53
+ },
54
+ "required": [
55
+ "languageTag",
56
+ "file"
57
+ ]
58
+ }
59
+ }
60
+ },
61
+ "required": [
62
+ "defaultLanguageTag"
63
+ ]
64
+ },
65
+ "developer": {
66
+ "type": "object",
67
+ "additionalProperties": false,
68
+ "properties": {
69
+ "name": {
70
+ "type": "string",
71
+ "description": "The display name for the developer.",
72
+ "maxLength": 32
73
+ },
74
+ "mpnId": {
75
+ "type": "string",
76
+ "description": "The Microsoft Partner Network ID that identifies the partner organization building the app. This field is not required, and should only be used if you are already part of the Microsoft Partner Network. More info at https://aka.ms/partner",
77
+ "maxLength": 10
78
+ },
79
+ "websiteUrl": {
80
+ "$ref": "#/definitions/httpsUrl",
81
+ "description": "The url to the page that provides support information for the app."
82
+ },
83
+ "privacyUrl": {
84
+ "$ref": "#/definitions/httpsUrl",
85
+ "description": "The url to the page that provides privacy information for the app."
86
+ },
87
+ "termsOfUseUrl": {
88
+ "$ref": "#/definitions/httpsUrl",
89
+ "description": "The url to the page that provides the terms of use for the app."
90
+ }
91
+ },
92
+ "required": [
93
+ "name",
94
+ "websiteUrl",
95
+ "privacyUrl",
96
+ "termsOfUseUrl"
97
+ ]
98
+ },
99
+ "name": {
100
+ "type": "object",
101
+ "additionalProperties": false,
102
+ "properties": {
103
+ "short": {
104
+ "type": "string",
105
+ "description": "A short display name for the app.",
106
+ "maxLength": 30
107
+ },
108
+ "full": {
109
+ "type": "string",
110
+ "description": "The full name of the app, used if the full app name exceeds 30 characters.",
111
+ "maxLength": 100
112
+ }
113
+ },
114
+ "required": [
115
+ "short"
116
+ ]
117
+ },
118
+ "description": {
119
+ "type": "object",
120
+ "additionalProperties": false,
121
+ "properties": {
122
+ "short": {
123
+ "type": "string",
124
+ "description": "A short description of the app used when space is limited. Maximum length is 80 characters.",
125
+ "maxLength": 80
126
+ },
127
+ "full": {
128
+ "type": "string",
129
+ "description": "The full description of the app. Maximum length is 4000 characters.",
130
+ "maxLength": 4000
131
+ }
132
+ },
133
+ "required": [
134
+ "short",
135
+ "full"
136
+ ]
137
+ },
138
+ "icons": {
139
+ "type": "object",
140
+ "additionalProperties": false,
141
+ "properties": {
142
+ "outline": {
143
+ "$ref": "#/definitions/relativePath",
144
+ "description": "A relative file path to a transparent PNG outline icon. The border color needs to be white. Size 32x32."
145
+ },
146
+ "color": {
147
+ "$ref": "#/definitions/relativePath",
148
+ "description": "A relative file path to a full color PNG icon. Size 192x192."
149
+ }
150
+ },
151
+ "required": [
152
+ "outline",
153
+ "color"
154
+ ]
155
+ },
156
+ "accentColor": {
157
+ "$ref": "#/definitions/hexColor",
158
+ "description": "A color to use in conjunction with the icon. The value must be a valid HTML color code starting with '#', for example `#4464ee`."
159
+ },
160
+ "configurableTabs": {
161
+ "type": "array",
162
+ "description": "These are tabs users can optionally add to their channels and 1:1 or group chats and require extra configuration before they are added. Configurable tabs are not supported in the personal scope. Currently only one configurable tab per app is supported.",
163
+ "maxItems": 1,
164
+ "items": {
165
+ "type": "object",
166
+ "additionalProperties": false,
167
+ "properties": {
168
+ "configurationUrl": {
169
+ "$ref": "#/definitions/httpsUrl",
170
+ "description": "The url to use when configuring the tab."
171
+ },
172
+ "canUpdateConfiguration": {
173
+ "type": "boolean",
174
+ "description": "A value indicating whether an instance of the tab's configuration can be updated by the user after creation.",
175
+ "default": true
176
+ },
177
+ "scopes": {
178
+ "type": "array",
179
+ "description": "Specifies whether the tab offers an experience in the context of a channel in a team, in a 1:1 or group chat, or in an experience scoped to an individual user alone. These options are non-exclusive. Currently, configurable tabs are only supported in the teams and groupchats scopes.",
180
+ "maxItems": 2,
181
+ "items": {
182
+ "enum": [
183
+ "team",
184
+ "groupChat",
185
+ "groupchat"
186
+ ]
187
+ }
188
+ },
189
+ "meetingSurfaces": {
190
+ "type": "array",
191
+ "description": "The set of meetingSurfaceItem scopes that a tab belong to",
192
+ "maxItems": 2,
193
+ "items": {
194
+ "enum": [
195
+ "sidePanel",
196
+ "stage"
197
+ ]
198
+ }
199
+ },
200
+ "context": {
201
+ "type": "array",
202
+ "description": "The set of contextItem scopes that a tab belong to",
203
+ "maxItems": 8,
204
+ "items": {
205
+ "enum": [
206
+ "personalTab",
207
+ "channelTab",
208
+ "privateChatTab",
209
+ "meetingChatTab",
210
+ "meetingDetailsTab",
211
+ "meetingSidePanel",
212
+ "meetingStage",
213
+ "callingSidePanel"
214
+ ]
215
+ }
216
+ },
217
+ "sharePointPreviewImage": {
218
+ "$ref": "#/definitions/relativePath",
219
+ "description": "A relative file path to a tab preview image for use in SharePoint. Size 1024x768."
220
+ },
221
+ "supportedSharePointHosts": {
222
+ "type": "array",
223
+ "description": "Defines how your tab will be made available in SharePoint.",
224
+ "maxItems": 2,
225
+ "uniqueItems": true,
226
+ "items": {
227
+ "enum": [
228
+ "sharePointFullPage",
229
+ "sharePointWebPart"
230
+ ]
231
+ }
232
+ }
233
+ },
234
+ "required": [
235
+ "configurationUrl",
236
+ "scopes"
237
+ ]
238
+ }
239
+ },
240
+ "staticTabs": {
241
+ "type": "array",
242
+ "description": "A set of tabs that may be 'pinned' by default, without the user adding them manually. Static tabs declared in personal scope are always pinned to the app's personal experience. Static tabs do not currently support the 'teams' scope.",
243
+ "maxItems": 16,
244
+ "uniqueItems": true,
245
+ "items": {
246
+ "type": "object",
247
+ "additionalProperties": false,
248
+ "properties": {
249
+ "entityId": {
250
+ "type": "string",
251
+ "description": "A unique identifier for the entity which the tab displays.",
252
+ "maxLength": 64
253
+ },
254
+ "name": {
255
+ "type": "string",
256
+ "description": "The display name of the tab.",
257
+ "maxLength": 128
258
+ },
259
+ "contentUrl": {
260
+ "$ref": "#/definitions/httpsUrl",
261
+ "description": "The url which points to the entity UI to be displayed in the canvas."
262
+ },
263
+ "contentBotId": {
264
+ "$ref": "#/definitions/guid",
265
+ "description": "The Microsoft App ID specified for the bot in the Bot Framework portal (https://dev.botframework.com/bots)"
266
+ },
267
+ "websiteUrl": {
268
+ "$ref": "#/definitions/httpsUrl",
269
+ "description": "The url to point at if a user opts to view in a browser."
270
+ },
271
+ "searchUrl": {
272
+ "$ref": "#/definitions/httpsUrl",
273
+ "description": "The url to direct a user's search queries."
274
+ },
275
+ "scopes": {
276
+ "type": "array",
277
+ "description": "Specifies whether the tab offers an experience in the context of a channel in a team, or an experience scoped to an individual user alone. These options are non-exclusive. Currently static tabs are only supported in the 'personal' scope.",
278
+ "maxItems": 2,
279
+ "items": {
280
+ "enum": [
281
+ "team",
282
+ "personal"
283
+ ]
284
+ }
285
+ },
286
+ "context": {
287
+ "type": "array",
288
+ "description": "The set of contextItem scopes that a tab belong to",
289
+ "maxItems": 2,
290
+ "items": {
291
+ "enum": [
292
+ "personalTab",
293
+ "channelTab"
294
+ ]
295
+ }
296
+ }
297
+ },
298
+ "required": [
299
+ "entityId",
300
+ "scopes"
301
+ ]
302
+ }
303
+ },
304
+ "bots": {
305
+ "type": "array",
306
+ "description": "The set of bots for this app. Currently only one bot per app is supported.",
307
+ "maxItems": 1,
308
+ "items": {
309
+ "type": "object",
310
+ "additionalProperties": false,
311
+ "properties": {
312
+ "botId": {
313
+ "$ref": "#/definitions/guid",
314
+ "description": "The Microsoft App ID specified for the bot in the Bot Framework portal (https://dev.botframework.com/bots)"
315
+ },
316
+ "needsChannelSelector": {
317
+ "type": "boolean",
318
+ "description": "This value describes whether or not the bot utilizes a user hint to add the bot to a specific channel.",
319
+ "default": false
320
+ },
321
+ "isNotificationOnly": {
322
+ "type": "boolean",
323
+ "description": "A value indicating whether or not the bot is a one-way notification only bot, as opposed to a conversational bot.",
324
+ "default": false
325
+ },
326
+ "supportsFiles": {
327
+ "type": "boolean",
328
+ "description": "A value indicating whether the bot supports uploading/downloading of files.",
329
+ "default": false
330
+ },
331
+ "supportsCalling": {
332
+ "type": "boolean",
333
+ "description": "A value indicating whether the bot supports audio calling.",
334
+ "default": false
335
+ },
336
+ "supportsVideo": {
337
+ "type": "boolean",
338
+ "description": "A value indicating whether the bot supports video calling.",
339
+ "default": false
340
+ },
341
+ "scopes": {
342
+ "type": "array",
343
+ "description": "Specifies whether the bot offers an experience in the context of a channel in a team, in a 1:1 or group chat, or in an experience scoped to an individual user alone. These options are non-exclusive.",
344
+ "maxItems": 3,
345
+ "items": {
346
+ "enum": [
347
+ "team",
348
+ "personal",
349
+ "groupChat",
350
+ "groupchat"
351
+ ]
352
+ }
353
+ },
354
+ "commandLists": {
355
+ "type": "array",
356
+ "maxItems": 3,
357
+ "description": "The list of commands that the bot supplies, including their usage, description, and the scope for which the commands are valid. A separate command list should be used for each scope.",
358
+ "items": {
359
+ "type": "object",
360
+ "additionalProperties": false,
361
+ "properties": {
362
+ "scopes": {
363
+ "type": "array",
364
+ "description": "Specifies the scopes for which the command list is valid",
365
+ "maxItems": 3,
366
+ "items": {
367
+ "enum": [
368
+ "team",
369
+ "personal",
370
+ "groupChat",
371
+ "groupchat"
372
+ ]
373
+ }
374
+ },
375
+ "commands": {
376
+ "type": "array",
377
+ "maxItems": 10,
378
+ "items": {
379
+ "type": "object",
380
+ "additionalProperties": false,
381
+ "properties": {
382
+ "title": {
383
+ "type": "string",
384
+ "description": "The bot command name",
385
+ "maxLength": 32
386
+ },
387
+ "description": {
388
+ "type": "string",
389
+ "description": "A simple text description or an example of the command syntax and its arguments.",
390
+ "maxLength": 128
391
+ }
392
+ },
393
+ "required": [
394
+ "title",
395
+ "description"
396
+ ]
397
+ }
398
+ }
399
+ },
400
+ "required": [
401
+ "scopes",
402
+ "commands"
403
+ ]
404
+ }
405
+ }
406
+ },
407
+ "required": [
408
+ "botId",
409
+ "scopes"
410
+ ]
411
+ }
412
+ },
413
+ "connectors": {
414
+ "type": "array",
415
+ "description": "The set of Office365 connectors for this app. Currently only one connector per app is supported.",
416
+ "maxItems": 1,
417
+ "items": {
418
+ "type": "object",
419
+ "additionalProperties": false,
420
+ "properties": {
421
+ "connectorId": {
422
+ "type": "string",
423
+ "description": "A unique identifier for the connector which matches its ID in the Connectors Developer Portal.",
424
+ "maxLength": 64
425
+ },
426
+ "configurationUrl": {
427
+ "$ref": "#/definitions/httpsUrl",
428
+ "description": "The url to use for configuring the connector using the inline configuration experience."
429
+ },
430
+ "scopes": {
431
+ "type": "array",
432
+ "description": "Specifies whether the connector offers an experience in the context of a channel in a team, or an experience scoped to an individual user alone. Currently, only the team scope is supported.",
433
+ "maxItems": 1,
434
+ "items": {
435
+ "enum": [
436
+ "team"
437
+ ]
438
+ }
439
+ }
440
+ },
441
+ "required": [
442
+ "connectorId",
443
+ "scopes"
444
+ ]
445
+ }
446
+ },
447
+ "subscriptionOffer": {
448
+ "type": "object",
449
+ "description": "Subscription offer associated with this app.",
450
+ "properties": {
451
+ "offerId": {
452
+ "type": "string",
453
+ "description": "A unique identifier for the Commercial Marketplace Software as a Service Offer.",
454
+ "maxLength": 2048
455
+ }
456
+ },
457
+ "required": [ "offerId" ],
458
+ "additionalProperties": false
459
+ },
460
+ "composeExtensions": {
461
+ "type": "array",
462
+ "description": "The set of compose extensions for this app. Currently only one compose extension per app is supported.",
463
+ "maxItems": 1,
464
+ "items": {
465
+ "type": "object",
466
+ "additionalProperties": false,
467
+ "properties": {
468
+ "botId": {
469
+ "$ref": "#/definitions/guid",
470
+ "description": "The Microsoft App ID specified for the bot powering the compose extension in the Bot Framework portal (https://dev.botframework.com/bots)"
471
+ },
472
+ "canUpdateConfiguration": {
473
+ "type": "boolean",
474
+ "description": "A value indicating whether the configuration of a compose extension can be updated by the user.",
475
+ "default": false
476
+ },
477
+ "commands": {
478
+ "type": "array",
479
+ "maxItems": 10,
480
+ "items": {
481
+ "type": "object",
482
+ "additionalProperties": false,
483
+ "properties": {
484
+ "id": {
485
+ "type": "string",
486
+ "description": "Id of the command.",
487
+ "maxLength": 64
488
+ },
489
+ "type": {
490
+ "type": "string",
491
+ "enum": [
492
+ "query",
493
+ "action"
494
+ ],
495
+ "description": "Type of the command",
496
+ "default": "query"
497
+ },
498
+ "context": {
499
+ "type": "array",
500
+ "maxItems": 3,
501
+ "items": {
502
+ "enum": [
503
+ "compose",
504
+ "commandBox",
505
+ "message"
506
+ ]
507
+ },
508
+ "description": "Context where the command would apply",
509
+ "default": [
510
+ "compose",
511
+ "commandBox"
512
+ ]
513
+ },
514
+ "title": {
515
+ "type": "string",
516
+ "description": "Title of the command.",
517
+ "maxLength": 32
518
+ },
519
+ "description": {
520
+ "type": "string",
521
+ "description": "Description of the command.",
522
+ "maxLength": 128
523
+ },
524
+ "initialRun": {
525
+ "type": "boolean",
526
+ "description": "A boolean value that indicates if the command should be run once initially with no parameter.",
527
+ "default": false
528
+ },
529
+ "fetchTask": {
530
+ "type": "boolean",
531
+ "description": "A boolean value that indicates if it should fetch task module dynamically",
532
+ "default": false
533
+ },
534
+ "parameters": {
535
+ "type": "array",
536
+ "maxItems": 5,
537
+ "minItems": 1,
538
+ "items": {
539
+ "type": "object",
540
+ "additionalProperties": false,
541
+ "properties": {
542
+ "name": {
543
+ "type": "string",
544
+ "description": "Name of the parameter.",
545
+ "maxLength": 64
546
+ },
547
+ "inputType": {
548
+ "type": "string",
549
+ "enum": [
550
+ "text",
551
+ "textarea",
552
+ "number",
553
+ "date",
554
+ "time",
555
+ "toggle",
556
+ "choiceset"
557
+ ],
558
+ "description": "Type of the parameter",
559
+ "default": "text"
560
+ },
561
+ "title": {
562
+ "type": "string",
563
+ "description": "Title of the parameter.",
564
+ "maxLength": 32
565
+ },
566
+ "description": {
567
+ "type": "string",
568
+ "description": "Description of the parameter.",
569
+ "maxLength": 128
570
+ },
571
+ "value": {
572
+ "type": "string",
573
+ "description": "Initial value for the parameter",
574
+ "maxLength": 512
575
+ },
576
+ "choices": {
577
+ "type": "array",
578
+ "maxItems": 10,
579
+ "description": "The choice options for the parameter",
580
+ "items": {
581
+ "type": "object",
582
+ "properties": {
583
+ "title": {
584
+ "type": "string",
585
+ "description": "Title of the choice",
586
+ "maxLength": 128
587
+ },
588
+ "value": {
589
+ "type": "string",
590
+ "description": "Value of the choice",
591
+ "maxLength": 512
592
+ }
593
+ },
594
+ "additionalProperties": false,
595
+ "required": [
596
+ "title",
597
+ "value"
598
+ ]
599
+ }
600
+ }
601
+ },
602
+ "required": [
603
+ "name",
604
+ "title"
605
+ ]
606
+ }
607
+ },
608
+ "taskInfo": {
609
+ "type": "object",
610
+ "additionalProperties": false,
611
+ "properties": {
612
+ "title": {
613
+ "type": "string",
614
+ "description": "Initial dialog title",
615
+ "maxLength": 64
616
+ },
617
+ "width": {
618
+ "$ref": "#/definitions/taskInfoDimension",
619
+ "description": "Dialog width - either a number in pixels or default layout such as 'large', 'medium', or 'small'"
620
+ },
621
+ "height": {
622
+ "$ref": "#/definitions/taskInfoDimension",
623
+ "description": "Dialog height - either a number in pixels or default layout such as 'large', 'medium', or 'small'"
624
+ },
625
+ "url": {
626
+ "$ref": "#/definitions/httpsUrl",
627
+ "description": "Initial webview URL"
628
+ }
629
+ }
630
+ }
631
+ },
632
+ "required": [
633
+ "id",
634
+ "title"
635
+ ]
636
+ }
637
+ },
638
+ "messageHandlers": {
639
+ "type": "array",
640
+ "maxItems": 5,
641
+ "description": "A list of handlers that allow apps to be invoked when certain conditions are met",
642
+ "items": {
643
+ "type": "object",
644
+ "properties": {
645
+ "type": {
646
+ "type": "string",
647
+ "enum": [
648
+ "link"
649
+ ],
650
+ "description": "Type of the message handler"
651
+ },
652
+ "value": {
653
+ "type": "object",
654
+ "properties": {
655
+ "domains": {
656
+ "type": "array",
657
+ "description": "A list of domains that the link message handler can register for, and when they are matched the app will be invoked",
658
+ "items": {
659
+ "type": "string",
660
+ "maxLength": 2048
661
+ }
662
+ }
663
+ }
664
+ }
665
+ },
666
+ "required": [
667
+ "type",
668
+ "value"
669
+ ],
670
+ "additionalProperties": false
671
+ }
672
+ }
673
+ },
674
+ "required": [
675
+ "botId",
676
+ "commands"
677
+ ]
678
+ }
679
+ },
680
+ "permissions": {
681
+ "type": "array",
682
+ "description": "Specifies the permissions the app requests from users.",
683
+ "maxItems": 2,
684
+ "items": {
685
+ "enum": [
686
+ "identity",
687
+ "messageTeamMembers"
688
+ ]
689
+ }
690
+ },
691
+ "devicePermissions": {
692
+ "type": "array",
693
+ "description": "Specify the native features on a user's device that your app may request access to.",
694
+ "maxItems": 5,
695
+ "items": {
696
+ "enum": [
697
+ "geolocation",
698
+ "media",
699
+ "notifications",
700
+ "midi",
701
+ "openExternal"
702
+ ]
703
+ }
704
+ },
705
+ "validDomains": {
706
+ "type": "array",
707
+ "description": "A list of valid domains from which the tabs expect to load any content. Domain listings can include wildcards, for example `*.example.com`. If your tab configuration or content UI needs to navigate to any other domain besides the one use for tab configuration, that domain must be specified here.",
708
+ "maxItems": 16,
709
+ "items": {
710
+ "type": "string",
711
+ "maxLength": 2048
712
+ }
713
+ },
714
+ "webApplicationInfo": {
715
+ "type": "object",
716
+ "description": "Specify your AAD App ID and Graph information to help users seamlessly sign into your AAD app.",
717
+ "properties": {
718
+ "id": {
719
+ "$ref": "#/definitions/guid",
720
+ "description": "AAD application id of the app. This id must be a GUID."
721
+ },
722
+ "resource": {
723
+ "type": "string",
724
+ "description": "Resource url of app for acquiring auth token for SSO.",
725
+ "maxLength": 2048
726
+ }
727
+ },
728
+ "required": [
729
+ "id"
730
+ ],
731
+ "additionalProperties": false
732
+ },
733
+ "graphConnector": {
734
+ "type": "object",
735
+ "description": "Specify the app's Graph connector configuration. If this is present then webApplicationInfo.id must also be specified.",
736
+ "properties": {
737
+ "notificationUrl": {
738
+ "$ref": "#/definitions/httpsUrl",
739
+ "description": "The url where Graph-connector notifications for the application should be sent."
740
+ }
741
+ },
742
+ "required": [
743
+ "notificationUrl"
744
+ ],
745
+ "additionalProperties": false
746
+ },
747
+ "showLoadingIndicator": {
748
+ "type": "boolean",
749
+ "description": "A value indicating whether or not show loading indicator when app/tab is loading",
750
+ "default": false
751
+ },
752
+ "isFullScreen": {
753
+ "type": "boolean",
754
+ "description": "A value indicating whether a personal app is rendered without a tab header-bar",
755
+ "default": false
756
+ },
757
+ "activities": {
758
+ "type": "object",
759
+ "properties": {
760
+ "activityTypes": {
761
+ "type": "array",
762
+ "description": "Specify the types of activites that your app can post to a users activity feed",
763
+ "maxItems": 128,
764
+ "items": {
765
+ "type": "object",
766
+ "properties": {
767
+ "type": {
768
+ "type": "string",
769
+ "maxLength": 32
770
+ },
771
+ "description": {
772
+ "type": "string",
773
+ "maxLength": 128
774
+ },
775
+ "templateText": {
776
+ "type": "string",
777
+ "maxLength": 128
778
+ }
779
+ },
780
+ "required": [ "type", "description", "templateText" ],
781
+ "additionalProperties": false
782
+ }
783
+ }
784
+ },
785
+ "additionalProperties": false
786
+ },
787
+ "configurableProperties": {
788
+ "type": "array",
789
+ "description": "A list of tenant configured properties for an app",
790
+ "maxItems": 9,
791
+ "items": {
792
+ "enum": [
793
+ "name",
794
+ "shortDescription",
795
+ "longDescription",
796
+ "smallImageUrl",
797
+ "largeImageUrl",
798
+ "accentColor",
799
+ "developerUrl",
800
+ "privacyUrl",
801
+ "termsOfUseUrl"
802
+ ]
803
+ }
804
+ },
805
+ "supportedChannelTypes": {
806
+ "type": "array",
807
+ "description": "List of 'non-standard' channel types that the app supports. Note: Channels of standard type are supported by default if the app supports team scope.",
808
+ "maxItems": 2,
809
+ "items": {
810
+ "enum": [
811
+ "sharedChannels",
812
+ "privateChannels"
813
+ ]
814
+ }
815
+ },
816
+ "defaultBlockUntilAdminAction": {
817
+ "type": "boolean",
818
+ "description": "A value indicating whether an app is blocked by default until admin allows it",
819
+ "default": false
820
+ },
821
+ "publisherDocsUrl": {
822
+ "$ref": "#/definitions/httpsUrl",
823
+ "description": "The url to the page that provides additional app information for the admins"
824
+ },
825
+ "defaultInstallScope": {
826
+ "type": "string",
827
+ "enum": [
828
+ "personal",
829
+ "team",
830
+ "groupchat",
831
+ "groupChat",
832
+ "meetings"
833
+ ],
834
+ "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"
835
+ },
836
+ "defaultGroupCapability": {
837
+ "type": "object",
838
+ "properties": {
839
+ "team": {
840
+ "type": "string",
841
+ "enum": [
842
+ "tab",
843
+ "bot",
844
+ "connector"
845
+ ],
846
+ "description": "When the install scope selected is Team, this field specifies the default capability available"
847
+ },
848
+ "groupchat": {
849
+ "type": "string",
850
+ "enum": [
851
+ "tab",
852
+ "bot",
853
+ "connector"
854
+ ],
855
+ "description": "When the install scope selected is GroupChat, this field specifies the default capability available"
856
+ },
857
+ "meetings": {
858
+ "type": "string",
859
+ "enum": [
860
+ "tab",
861
+ "bot",
862
+ "connector"
863
+ ],
864
+ "description": "When the install scope selected is Meetings, this field specifies the default capability available"
865
+ }
866
+ },
867
+ "description": "When a group install scope is selected, this will define the default capability when the user installs the app",
868
+ "additionalProperties": false
869
+ },
870
+ "meetingExtensionDefinition": {
871
+ "type": "object",
872
+ "properties": {
873
+ "scenes": {
874
+ "description": "Meeting supported scenes.",
875
+ "items": {
876
+ "type": "object",
877
+ "additionalProperties": false,
878
+ "properties": {
879
+ "id": {
880
+ "$ref": "#/definitions/guid",
881
+ "description": "A unique identifier for this scene. This id must be a GUID."
882
+ },
883
+ "name": {
884
+ "type": "string",
885
+ "description": "Scene name.",
886
+ "maxLength": 128
887
+ },
888
+ "file": {
889
+ "$ref": "#/definitions/relativePath",
890
+ "description": "A relative file path to a scene metadata json file."
891
+ },
892
+ "preview": {
893
+ "$ref": "#/definitions/relativePath",
894
+ "description": "A relative file path to a scene PNG preview icon."
895
+ },
896
+ "maxAudience": {
897
+ "type": "integer",
898
+ "description": "Maximum audiences supported in scene.",
899
+ "maximum": 50
900
+ },
901
+ "seatsReservedForOrganizersOrPresenters": {
902
+ "type": "integer",
903
+ "description": "Number of seats reserved for organizers or presenters.",
904
+ "maximum": 50
905
+ }
906
+ },
907
+ "required": [ "id", "name", "file", "preview", "maxAudience", "seatsReservedForOrganizersOrPresenters" ]
908
+ },
909
+ "maxItems": 5,
910
+ "type": "array",
911
+ "uniqueItems": true
912
+ },
913
+ "supportsStreaming": {
914
+ "type": "boolean",
915
+ "description": "A boolean value indicating whether this app can stream the meeting's audio video content to an RTMP endpoint.",
916
+ "default": false
917
+ }
918
+ },
919
+ "description": "Specify meeting extension definition.",
920
+ "additionalProperties": false
921
+ },
922
+ "authorization": {
923
+ "type": "object",
924
+ "description": "Specify and consolidates authorization related information for the App.",
925
+ "additionalProperties": false,
926
+ "properties": {
927
+ "permissions": {
928
+ "type": "object",
929
+ "description": "List of permissions that the app needs to function.",
930
+ "additionalProperties": false,
931
+ "properties": {
932
+ "resourceSpecific": {
933
+ "description": "Permissions that guard data access on a resource instance level.",
934
+ "maxItems": 16,
935
+ "type": "array",
936
+ "uniqueItems": true,
937
+ "items": {
938
+ "type": "object",
939
+ "additionalProperties": false,
940
+ "properties": {
941
+ "name": {
942
+ "type": "string",
943
+ "description": "The name of the resource-specific permission.",
944
+ "maxLength": 128
945
+ },
946
+ "type": {
947
+ "type": "string",
948
+ "enum": [
949
+ "Application",
950
+ "Delegated"
951
+ ],
952
+ "description": "The type of the resource-specific permission."
953
+ }
954
+ },
955
+ "required": [
956
+ "name",
957
+ "type"
958
+ ]
959
+ }
960
+ }
961
+ }
962
+ }
963
+ }
964
+ }
965
+ },
966
+ "required": [
967
+ "manifestVersion",
968
+ "version",
969
+ "id",
970
+ "developer",
971
+ "name",
972
+ "description",
973
+ "icons",
974
+ "accentColor"
975
+ ],
976
+ "definitions": {
977
+ "relativePath": {
978
+ "type": "string",
979
+ "maxLength": 2048
980
+ },
981
+ "httpsUrl": {
982
+ "type": "string",
983
+ "maxLength": 2048,
984
+ "pattern": "^[Hh][Tt][Tt][Pp][Ss]?://"
985
+ },
986
+ "semver": {
987
+ "type": "string",
988
+ "maxLength": 256,
989
+ "pattern": "^([0-9]|[1-9]+[0-9]*)\\.([0-9]|[1-9]+[0-9]*)\\.([0-9]|[1-9]+[0-9]*)$"
990
+ },
991
+ "hexColor": {
992
+ "type": "string",
993
+ "pattern": "^#[0-9a-fA-F]{6}$"
994
+ },
995
+ "guid": {
996
+ "type": "string",
997
+ "pattern": "^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$"
998
+ },
999
+ "languageTag": {
1000
+ "type": "string",
1001
+ "pattern": "^[A-Za-z0-9]{1,8}(-[A-Za-z0-9]{1,8}){0,2}$"
1002
+ },
1003
+ "taskInfoDimension": {
1004
+ "type": "string",
1005
+ "pattern": "^((([0-9]*\\.)?[0-9]+)|[lL][aA][rR][gG][eE]|[mM][eE][dD][iI][uU][mM]|[sS][mM][aA][lL][lL])$",
1006
+ "maxLength": 16
1007
+ }
1008
+ }
1009
+ }