From 6fcdca3a69f629968aea555e58d590d9c578e620 Mon Sep 17 00:00:00 2001 From: ShivaneeN <152339714+ShivaneeN@users.noreply.github.com> Date: Thu, 4 Apr 2024 10:25:00 -0700 Subject: [PATCH] Adding publisher contact info and sample prompts to schema (#192) --- teams/vDevPreview/MicrosoftTeams.schema.json | 58 ++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/teams/vDevPreview/MicrosoftTeams.schema.json b/teams/vDevPreview/MicrosoftTeams.schema.json index 7769deb..d1d515c 100644 --- a/teams/vDevPreview/MicrosoftTeams.schema.json +++ b/teams/vDevPreview/MicrosoftTeams.schema.json @@ -90,6 +90,45 @@ "termsOfUseUrl": { "$ref": "#/definitions/httpsUrl", "description": "The url to the page that provides the terms of use for the app." + }, + "contactInfo": { + "type": "object", + "description": "App developer contact information.", + "properties": { + "defaultSupport": { + "type": "object", + "description": "Support configuration.", + "properties": { + "userEmailsForChatSupport": { + "type": "array", + "description": "User email for chat support contacts.", + "maxItems": 10, + "minItems": 1, + "items": { + "type": "string", + "maxLength": 80 + } + }, + "emailsForEmailSupport": { + "type": "array", + "description": "Email address for email support.", + "maxItems": 1, + "minItems": 1, + "items": { + "type": "string", + "maxLength": 80 + } + } + }, + "required": [ + "emailsForEmailSupport", + "userEmailsForChatSupport" + ] + } + }, + "required": [ + "defaultSupport" + ] } }, "required": [ @@ -629,6 +668,25 @@ "description": "Type of the command", "default": "query" }, + "samplePrompts": { + "type": "array", + "maxItems": 5, + "minItems": 1, + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "text": { + "type": "string", + "description": "This string will hold the sample prompt", + "maxLength": 128 + } + }, + "required": [ + "text" + ] + } + }, "apiResponseRenderingTemplateFile": { "$ref": "#/definitions/relativePath", "description": "A relative file path for api response rendering template file. The schema of the file can be referred to in this link:'https://developer.microsoft.com/json-schemas/teams/vDevPreview/MicrosoftTeams.ResponseRenderingTemplate.schema.json'."