diff --git a/schemas/2017-12-01/Microsoft.BotService.json b/schemas/2017-12-01/Microsoft.BotService.json index 365f72eec0..bb9b803e2d 100644 --- a/schemas/2017-12-01/Microsoft.BotService.json +++ b/schemas/2017-12-01/Microsoft.BotService.json @@ -1516,4 +1516,4 @@ "description": "A site for the Webchat channel" } } -} \ No newline at end of file +} diff --git a/schemas/2018-07-12/Microsoft.BotService.json b/schemas/2018-07-12/Microsoft.BotService.json index 9a9c204205..c7d8e18277 100644 --- a/schemas/2018-07-12/Microsoft.BotService.json +++ b/schemas/2018-07-12/Microsoft.BotService.json @@ -1700,4 +1700,4 @@ "description": "A site for the Webchat channel" } } -} \ No newline at end of file +} diff --git a/schemas/2020-06-02/Microsoft.BotService.json b/schemas/2020-06-02/Microsoft.BotService.json index bd2c7c0fa9..df276eed10 100644 --- a/schemas/2020-06-02/Microsoft.BotService.json +++ b/schemas/2020-06-02/Microsoft.BotService.json @@ -1716,4 +1716,4 @@ "description": "A site for the Webchat channel" } } -} \ No newline at end of file +} diff --git a/schemas/2021-03-01/Microsoft.BotService.json b/schemas/2021-03-01/Microsoft.BotService.json new file mode 100644 index 0000000000..3f92ea071f --- /dev/null +++ b/schemas/2021-03-01/Microsoft.BotService.json @@ -0,0 +1,1724 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.BotService.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.BotService", + "description": "Microsoft BotService Resource Types", + "resourceDefinitions": { + "botServices": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-03-01" + ] + }, + "etag": { + "type": "string", + "description": "Entity Tag" + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "sdk", + "designer", + "bot", + "function", + "azurebot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required. Gets or sets the Kind of the resource." + }, + "location": { + "type": "string", + "description": "Specifies the location of the resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", + "minLength": 2, + "maxLength": 64 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Bot resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BotProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters to provide for the Bot." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/botServices_channels_childResource" + }, + { + "$ref": "#/definitions/botServices_connections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SKU of the cognitive services account." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains resource tags defined as key/value pairs." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.BotService/botServices" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.BotService/botServices" + }, + "botServices_channels": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-03-01" + ] + }, + "etag": { + "type": "string", + "description": "Entity Tag" + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "sdk", + "designer", + "bot", + "function", + "azurebot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required. Gets or sets the Kind of the resource." + }, + "location": { + "type": "string", + "description": "Specifies the location of the resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AlexaChannel", + "FacebookChannel", + "EmailChannel", + "KikChannel", + "TelegramChannel", + "SlackChannel", + "MsTeamsChannel", + "SkypeChannel", + "WebChatChannel", + "DirectLineChannel", + "SmsChannel", + "LineChannel", + "DirectLineSpeechChannel" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Channel resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Channel" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Channel definition" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SKU of the cognitive services account." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains resource tags defined as key/value pairs." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.BotService/botServices/channels" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.BotService/botServices/channels" + }, + "botServices_connections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-03-01" + ] + }, + "etag": { + "type": "string", + "description": "Entity Tag" + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "sdk", + "designer", + "bot", + "function", + "azurebot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required. Gets or sets the Kind of the resource." + }, + "location": { + "type": "string", + "description": "Specifies the location of the resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", + "minLength": 2, + "maxLength": 64 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Bot Service Connection Setting resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionSettingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for a Connection Setting Item" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SKU of the cognitive services account." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains resource tags defined as key/value pairs." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.BotService/botServices/connections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.BotService/botServices/connections" + } + }, + "definitions": { + "AlexaChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "AlexaChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AlexaChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters to provide for the Alexa channel." + } + }, + "required": [ + "channelName" + ], + "description": "Alexa channel definition" + }, + "AlexaChannelProperties": { + "type": "object", + "properties": { + "alexaSkillId": { + "type": "string", + "description": "The Alexa skill Id" + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this channel is enabled for the bot" + } + }, + "required": [ + "alexaSkillId", + "isEnabled" + ], + "description": "The parameters to provide for the Alexa channel." + }, + "BotProperties": { + "type": "object", + "properties": { + "cmekKeyVaultUrl": { + "type": "string", + "description": "The CMK Url" + }, + "description": { + "type": "string", + "description": "The description of the bot" + }, + "developerAppInsightKey": { + "type": "string", + "description": "The Application Insights key" + }, + "developerAppInsightsApiKey": { + "type": "string", + "description": "The Application Insights Api Key" + }, + "developerAppInsightsApplicationId": { + "type": "string", + "description": "The Application Insights App Id" + }, + "displayName": { + "type": "string", + "description": "The Name of the bot" + }, + "endpoint": { + "type": "string", + "description": "The bot's endpoint" + }, + "iconUrl": { + "type": "string", + "description": "The Icon Url of the bot" + }, + "isCmekEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether Cmek is enabled" + }, + "luisAppIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of LUIS App Ids" + }, + "luisKey": { + "type": "string", + "description": "The LUIS Key" + }, + "msaAppId": { + "type": "string", + "description": "Microsoft App Id for the bot" + } + }, + "required": [ + "displayName", + "endpoint", + "msaAppId" + ], + "description": "The parameters to provide for the Bot." + }, + "botServices_channels_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-03-01" + ] + }, + "etag": { + "type": "string", + "description": "Entity Tag" + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "sdk", + "designer", + "bot", + "function", + "azurebot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required. Gets or sets the Kind of the resource." + }, + "location": { + "type": "string", + "description": "Specifies the location of the resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AlexaChannel", + "FacebookChannel", + "EmailChannel", + "KikChannel", + "TelegramChannel", + "SlackChannel", + "MsTeamsChannel", + "SkypeChannel", + "WebChatChannel", + "DirectLineChannel", + "SmsChannel", + "LineChannel", + "DirectLineSpeechChannel" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Channel resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Channel" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Channel definition" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SKU of the cognitive services account." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains resource tags defined as key/value pairs." + }, + "type": { + "type": "string", + "enum": [ + "channels" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.BotService/botServices/channels" + }, + "botServices_connections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-03-01" + ] + }, + "etag": { + "type": "string", + "description": "Entity Tag" + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "sdk", + "designer", + "bot", + "function", + "azurebot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required. Gets or sets the Kind of the resource." + }, + "location": { + "type": "string", + "description": "Specifies the location of the resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9][\\sa-zA-Z0-9_.-]*$", + "minLength": 2, + "maxLength": 64 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Bot Service Connection Setting resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionSettingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for a Connection Setting Item" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SKU of the cognitive services account." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains resource tags defined as key/value pairs." + }, + "type": { + "type": "string", + "enum": [ + "connections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.BotService/botServices/connections" + }, + "Channel": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AlexaChannel" + }, + { + "$ref": "#/definitions/FacebookChannel" + }, + { + "$ref": "#/definitions/EmailChannel" + }, + { + "$ref": "#/definitions/MsTeamsChannel" + }, + { + "$ref": "#/definitions/SkypeChannel" + }, + { + "$ref": "#/definitions/KikChannel" + }, + { + "$ref": "#/definitions/WebChatChannel" + }, + { + "$ref": "#/definitions/DirectLineChannel" + }, + { + "$ref": "#/definitions/TelegramChannel" + }, + { + "$ref": "#/definitions/SmsChannel" + }, + { + "$ref": "#/definitions/SlackChannel" + }, + { + "$ref": "#/definitions/LineChannel" + }, + { + "$ref": "#/definitions/DirectLineSpeechChannel" + } + ], + "properties": {}, + "description": "Channel definition" + }, + "ConnectionSettingParameter": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "Key for the Connection Setting Parameter." + }, + "value": { + "type": "string", + "description": "Value associated with the Connection Setting Parameter." + } + }, + "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties" + }, + "ConnectionSettingProperties": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "Client Id associated with the Connection Setting." + }, + "clientSecret": { + "type": "string", + "description": "Client Secret associated with the Connection Setting" + }, + "parameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectionSettingParameter" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Service Provider Parameters associated with the Connection Setting" + }, + "scopes": { + "type": "string", + "description": "Scopes associated with the Connection Setting" + }, + "serviceProviderDisplayName": { + "type": "string", + "description": "Service Provider Display Name associated with the Connection Setting" + }, + "serviceProviderId": { + "type": "string", + "description": "Service Provider Id associated with the Connection Setting" + } + }, + "description": "Properties for a Connection Setting Item" + }, + "DirectLineChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "DirectLineChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DirectLineChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters to provide for the Direct Line channel." + } + }, + "required": [ + "channelName" + ], + "description": "Direct Line channel definition" + }, + "DirectLineChannelProperties": { + "type": "object", + "properties": { + "sites": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DirectLineSite" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Direct Line sites" + } + }, + "description": "The parameters to provide for the Direct Line channel." + }, + "DirectLineSite": { + "type": "object", + "properties": { + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is enabled for DirectLine channel." + }, + "isSecureSiteEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is enabled for authentication with Bot Framework." + }, + "isV1Enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is enabled for Bot Framework V1 protocol." + }, + "isV3Enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is enabled for Bot Framework V1 protocol." + }, + "siteName": { + "type": "string", + "description": "Site name" + }, + "trustedOrigins": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True." + } + }, + "required": [ + "isEnabled", + "isV1Enabled", + "isV3Enabled", + "siteName" + ], + "description": "A site for the Direct Line channel" + }, + "DirectLineSpeechChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "DirectLineSpeechChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DirectLineSpeechChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters to provide for the DirectLine Speech channel." + } + }, + "required": [ + "channelName" + ], + "description": "DirectLine Speech channel definition" + }, + "DirectLineSpeechChannelProperties": { + "type": "object", + "properties": { + "cognitiveServicesSubscriptionId": { + "type": "string", + "description": "The cognitive service subscription ID to use with this channel registration." + }, + "customSpeechModelId": { + "type": "string", + "description": "Custom voice deployment id (optional)." + }, + "customVoiceDeploymentId": { + "type": "string", + "description": "Custom speech model id (optional)." + }, + "isDefaultBotForCogSvcAccount": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Make this a default bot for chosen cognitive service account." + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this channel is enabled or not." + } + }, + "required": [ + "cognitiveServicesSubscriptionId" + ], + "description": "The parameters to provide for the DirectLine Speech channel." + }, + "EmailChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "EmailChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EmailChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters to provide for the Email channel." + } + }, + "required": [ + "channelName" + ], + "description": "Email channel definition" + }, + "EmailChannelProperties": { + "type": "object", + "properties": { + "emailAddress": { + "type": "string", + "description": "The email address" + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this channel is enabled for the bot" + }, + "password": { + "type": "string", + "description": "The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty." + } + }, + "required": [ + "emailAddress", + "isEnabled" + ], + "description": "The parameters to provide for the Email channel." + }, + "FacebookChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "FacebookChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/FacebookChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters to provide for the Facebook channel." + } + }, + "required": [ + "channelName" + ], + "description": "Facebook channel definition" + }, + "FacebookChannelProperties": { + "type": "object", + "properties": { + "appId": { + "type": "string", + "description": "Facebook application id" + }, + "appSecret": { + "type": "string", + "description": "Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty." + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this channel is enabled for the bot" + }, + "pages": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/FacebookPage" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Facebook pages" + } + }, + "required": [ + "appId", + "isEnabled" + ], + "description": "The parameters to provide for the Facebook channel." + }, + "FacebookPage": { + "type": "object", + "properties": { + "accessToken": { + "type": "string", + "description": "Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty." + }, + "id": { + "type": "string", + "description": "Page id" + } + }, + "required": [ + "id" + ], + "description": "A Facebook page for Facebook channel registration" + }, + "KikChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "KikChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KikChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters to provide for the Kik channel." + } + }, + "required": [ + "channelName" + ], + "description": "Kik channel definition" + }, + "KikChannelProperties": { + "type": "object", + "properties": { + "apiKey": { + "type": "string", + "description": "Kik API key. Value only returned through POST to the action Channel List API, otherwise empty." + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this channel is enabled for the bot" + }, + "isValidated": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this channel is validated for the bot" + }, + "userName": { + "type": "string", + "description": "The Kik user name" + } + }, + "required": [ + "isEnabled", + "userName" + ], + "description": "The parameters to provide for the Kik channel." + }, + "LineChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "LineChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LineChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters to provide for the Line channel." + } + }, + "required": [ + "channelName" + ], + "description": "Line channel definition" + }, + "LineChannelProperties": { + "type": "object", + "properties": { + "lineRegistrations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LineRegistration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of line channel registrations" + } + }, + "required": [ + "lineRegistrations" + ], + "description": "The parameters to provide for the Line channel." + }, + "LineRegistration": { + "type": "object", + "properties": { + "channelAccessToken": { + "type": "string", + "description": "Access token for the line channel registration" + }, + "channelSecret": { + "type": "string", + "description": "Secret for the line channel registration" + } + }, + "description": "The properties corresponding to a line channel registration" + }, + "MsTeamsChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "MsTeamsChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MsTeamsChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters to provide for the Microsoft Teams channel." + } + }, + "required": [ + "channelName" + ], + "description": "Microsoft Teams channel definition" + }, + "MsTeamsChannelProperties": { + "type": "object", + "properties": { + "callingWebHook": { + "type": "string", + "description": "Webhook for Microsoft Teams channel calls" + }, + "enableCalling": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable calling for Microsoft Teams channel" + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this channel is enabled for the bot" + } + }, + "required": [ + "isEnabled" + ], + "description": "The parameters to provide for the Microsoft Teams channel." + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "F0", + "S1" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The sku name." + } + }, + "required": [ + "name" + ], + "description": "The SKU of the cognitive services account." + }, + "SkypeChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "SkypeChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SkypeChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters to provide for the Microsoft Teams channel." + } + }, + "required": [ + "channelName" + ], + "description": "Skype channel definition" + }, + "SkypeChannelProperties": { + "type": "object", + "properties": { + "callingWebHook": { + "type": "string", + "description": "Calling web hook for Skype channel" + }, + "enableCalling": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable calling for Skype channel" + }, + "enableGroups": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable groups for Skype channel" + }, + "enableMediaCards": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable media cards for Skype channel" + }, + "enableMessaging": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable messaging for Skype channel" + }, + "enableScreenSharing": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable screen sharing for Skype channel" + }, + "enableVideo": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable video for Skype channel" + }, + "groupsMode": { + "type": "string", + "description": "Group mode for Skype channel" + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this channel is enabled for the bot" + } + }, + "required": [ + "isEnabled" + ], + "description": "The parameters to provide for the Microsoft Teams channel." + }, + "SlackChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "SlackChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SlackChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters to provide for the Slack channel." + } + }, + "required": [ + "channelName" + ], + "description": "Slack channel definition" + }, + "SlackChannelProperties": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "The Slack client id" + }, + "clientSecret": { + "type": "string", + "description": "The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty." + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this channel is enabled for the bot" + }, + "landingPageUrl": { + "type": "string", + "description": "The Slack landing page Url" + }, + "signingSecret": { + "type": "string", + "description": "The Slack signing secret." + }, + "verificationToken": { + "type": "string", + "description": "The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty." + } + }, + "required": [ + "isEnabled" + ], + "description": "The parameters to provide for the Slack channel." + }, + "SmsChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "SmsChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SmsChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters to provide for the Sms channel." + } + }, + "required": [ + "channelName" + ], + "description": "Sms channel definition" + }, + "SmsChannelProperties": { + "type": "object", + "properties": { + "accountSID": { + "type": "string", + "description": "The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty." + }, + "authToken": { + "type": "string", + "description": "The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty." + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this channel is enabled for the bot" + }, + "isValidated": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this channel is validated for the bot" + }, + "phone": { + "type": "string", + "description": "The Sms phone" + } + }, + "required": [ + "accountSID", + "isEnabled", + "phone" + ], + "description": "The parameters to provide for the Sms channel." + }, + "TelegramChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "TelegramChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TelegramChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters to provide for the Telegram channel." + } + }, + "required": [ + "channelName" + ], + "description": "Telegram channel definition" + }, + "TelegramChannelProperties": { + "type": "object", + "properties": { + "accessToken": { + "type": "string", + "description": "The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty." + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this channel is enabled for the bot" + }, + "isValidated": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this channel is validated for the bot" + } + }, + "required": [ + "isEnabled" + ], + "description": "The parameters to provide for the Telegram channel." + }, + "WebChatChannel": { + "type": "object", + "properties": { + "channelName": { + "type": "string", + "enum": [ + "WebChatChannel" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WebChatChannelProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters to provide for the Web Chat channel." + } + }, + "required": [ + "channelName" + ], + "description": "Web Chat channel definition" + }, + "WebChatChannelProperties": { + "type": "object", + "properties": { + "sites": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WebChatSite" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Web Chat sites" + } + }, + "description": "The parameters to provide for the Web Chat channel." + }, + "WebChatSite": { + "type": "object", + "properties": { + "enablePreview": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is enabled for preview versions of Webchat" + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether this site is enabled for DirectLine channel" + }, + "siteName": { + "type": "string", + "description": "Site name" + } + }, + "required": [ + "enablePreview", + "isEnabled", + "siteName" + ], + "description": "A site for the Webchat channel" + } + } +}