Skip to content

Commit

Permalink
Adding publisher contact info and sample prompts to schema (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivaneeN authored Apr 4, 2024
1 parent 00a02e4 commit 6fcdca3
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions teams/vDevPreview/MicrosoftTeams.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -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'."
Expand Down

0 comments on commit 6fcdca3

Please sign in to comment.