Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GA 1.20 #294

Merged
merged 3 commits into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
214 changes: 214 additions & 0 deletions teams/v1.20/MicrosoftTeams.Localization.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,214 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"format": "uri"
},
"name.short": {
"type": "string",
"maxLength": 30
},
"name.full": {
"type": "string",
"maxLength": 100
},
"description.short": {
"type": "string",
"maxLength": 80
},
"description.full": {
"type": "string",
"maxLength": 4000
},
"localizationKeys": {
"type": "object",
"patternProperties": {
"^\\[\\[[a-zA-Z_][a-zA-Z0-9_]*\\]\\]$": {
"type": "string"
}
}
}
},
"patternProperties": {
"^staticTabs\\[([0-9]|1[0-5])\\]\\.name$": {
"type": "string",
"maxLength": 128
},
"^bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.title$": {
"type": "string",
"maxLength": 32
},
"^bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.description$": {
"type": "string",
"maxLength": 128
},
"^composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.title$": {
"type": "string",
"maxLength": 32
},
"^composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.description$": {
"type": "string",
"maxLength": 128
},
"^composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.title$": {
"type": "string",
"maxLength": 32
},
"^composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.description$": {
"type": "string",
"maxLength": 128
},
"^composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.value$": {
"type": "string",
"maxLength": 512
},
"^composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.parameters\\[[0-4]\\]\\.choices\\[[0-9]\\]\\.title$": {
"type": "string",
"maxLength": 128
},
"^composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.samplePrompts\\[[0-4]\\]\\.text$": {
"type": "string",
"maxLength": 128
},
"^composeExtensions\\[0\\]\\.commands\\[[0-9]\\]\\.taskInfo\\.title$": {
"type": "string",
"maxLength": 64
},
"^activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.description$": {
"type": "string",
"maxLength": 128
},
"^activities.activityTypes\\[\\b([0-9]|[1-8][0-9]|9[0-9]|1[01][0-9]|12[0-7])\\b]\\.templateText$": {
"type": "string",
"maxLength": 128
},
"^meetingExtensionDefinition.scenes\\[[0-9]\\]\\.name$": {
"type": "string",
"maxLength": 128
},
"^extensions\\[[0]\\]\\.audienceClaimUrl$": {
"type": "string",
"maxLength": 2048
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.tabs\\[[1]?[0-9]\\]\\.label$": {
"type": "string",
"maxLength": 64
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.tabs\\[[1]?[0-9]\\]\\.customMobileRibbonGroups\\[[0-9]\\]\\.label$": {
"type": "string",
"maxLength": 32
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.tabs\\[[1]?[0-9]\\]\\.customMobileRibbonGroups\\[[0-9]\\]\\.controls\\[[1]?[0-9]\\]\\.icons\\[[0-8]\\]\\.url$": {
"type": "string",
"maxLength": 2048
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.tabs\\[[1]?[0-9]\\]\\.customMobileRibbonGroups\\[[0-9]\\]\\.controls\\[[1]?[0-9]\\]\\.label$": {
"type": "string",
"maxLength": 32
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.tabs\\[[1]?[0-9]\\]\\.groups\\[[0-9]\\]\\.icons\\[[0-2]\\]\\.url$": {
"type": "string",
"maxLength": 2048
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.tabs\\[[1]?[0-9]\\]\\.groups\\[[0-9]\\]\\.label$": {
"type": "string",
"maxLength": 64
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.tabs\\[[1]?[0-9]\\]\\.groups\\[[0-9]\\]\\.controls\\[[1]?[0-9]\\]\\.icons\\[[0-2]\\]\\.url$": {
"type": "string",
"maxLength": 2048
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.tabs\\[[1]?[0-9]\\]\\.groups\\[[0-9]\\]\\.controls\\[[1]?[0-9]\\]\\.label$": {
"type": "string",
"maxLength": 64
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.tabs\\[[1]?[0-9]\\]\\.groups\\[[0-9]\\]\\.controls\\[[1]?[0-9]\\]\\.supertip\\.title$": {
"type": "string",
"maxLength": 64
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.tabs\\[[1]?[0-9]\\]\\.groups\\[[0-9]\\]\\.controls\\[[1]?[0-9]\\]\\.supertip\\.description$": {
"type": "string",
"maxLength": 250
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.tabs\\[[1]?[0-9]\\]\\.groups\\[[0-9]\\]\\.controls\\[[1]?[0-9]\\]\\.items\\[[1]?[0-9]\\]\\.icons\\[[0-2]\\]\\.url$": {
"type": "string",
"maxLength": 2048
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.tabs\\[[1]?[0-9]\\]\\.groups\\[[0-9]\\]\\.controls\\[[1]?[0-9]\\]\\.items\\[[1]?[0-9]\\]\\.label$": {
"type": "string",
"maxLength": 64
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.tabs\\[[1]?[0-9]\\]\\.groups\\[[0-9]\\]\\.controls\\[[1]?[0-9]\\]\\.items\\[[1]?[0-9]\\]\\.supertip\\.title$": {
"type": "string",
"maxLength": 64
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.tabs\\[[1]?[0-9]\\]\\.groups\\[[0-9]\\]\\.controls\\[[1]?[0-9]\\]\\.items\\[[1]?[0-9]\\]\\.supertip\\.description$": {
"type": "string",
"maxLength": 250
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.fixedControls\\[[1]?[0-9]\\]\\.label$": {
"type": "string",
"maxLength": 64
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.fixedControls\\[[1]?[0-9]\\]\\.supertip\\.title$": {
"type": "string",
"maxLength": 64
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.fixedControls\\[[1]?[0-9]\\]\\.supertip\\.description$": {
"type": "string",
"maxLength": 128
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.spamPreProcessingDialog\\.title$": {
"type": "string",
"maxLength": 128
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.spamPreProcessingDialog\\.description$": {
"type": "string",
"maxLength": 250
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.spamPreProcessingDialog\\.spamFreeTextSectionTitle$": {
"type": "string",
"maxLength": 128
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.spamPreProcessingDialog\\.spamReportingOptions\\.title$": {
"type": "string",
"maxLength": 128
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.spamPreProcessingDialog\\.spamReportingOptions\\.options\\[[0-4]\\]$": {
"type": "string",
"maxLength": 128
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.spamPreProcessingDialog\\.spamMoreInfo\\.text$": {
"type": "string",
"maxLength": 128
},
"^extensions\\[[0]\\]\\.ribbons\\[[0-9]\\]\\.spamPreProcessingDialog\\.spamMoreInfo\\.url$": {
"type": "string",
"maxLength": 2048
},
"^extensions\\[[0]\\]\\.runtimes\\[[1]?[0-9]\\]\\.code\\.page$": {
"type": "string",
"maxLength": 2048
},
"^extensions\\[[0]\\]\\.runtimes\\[[1]?[0-9]\\]\\.code\\.script$": {
"type": "string",
"maxLength": 2048
},
"^extensions\\[[0]\\]\\.runtimes\\[[1]?[0-9]\\]\\.actions\\[[1]?[0-9]\\]\\.displayName$": {
"type": "string",
"maxLength": 64
},
"^extensions\\[[0]\\]\\.alternates\\[[0-9]\\]\\.alternateIcons\\.icon\\.url$": {
"type": "string",
"maxLength": 2048
},
"^extensions\\[[0]\\]\\.alternates\\[[0-9]\\]\\.alternateIcons\\.highResolutionIcon\\.url$": {
"type": "string",
"maxLength": 2048
}
},
"required": [ "name.short", "name.full", "description.short", "description.full" ]
}
89 changes: 89 additions & 0 deletions teams/v1.20/MicrosoftTeams.ResponseRenderingTemplate.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"$schema": "http://json-schema.org/draft-06/schema#",
"additionalProperties": false,
"type": "object",
"properties": {
"version": {
"type": "string",
"description": "The version of the schema this manifest is using.",
"const": "1.0"
},
"$schema": {
"type": "string",
"format": "uri"
},
"jsonPath": {
"type": "string",
"description": "The path to the results in the response JSON.",
"maxLength": 256
},
"responseLayout": {
"type": "string",
"description": "Specifies the layout of the attachments. Used for responses of type result. Supported types are list and grid.",
"enum": [
"list",
"grid"
]
},
"responseCardTemplate": {
"type": "object",
"properties": {},
"description": "The adaptive card template for each result in the response."
},
"previewCardTemplate": {
"type": "object",
"additionalProperties": false,
"description": "The preview card template for each result in the response.",
"properties": {
"title": {
"type": "string",
"description": "The title of the preview card.",
"maxLength": 256
},
"subtitle": {
"type": "string",
"description": "The subtitle of the preview card.",
"maxLength": 256
},
"text": {
"type": "string",
"description": "The text of the preview card.",
"maxLength": 256
},
"image": {
"type": "object",
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"description": "The url to the image. Must be https or a data url scheme. Redirect urls are not supported.",
"maxLength": 2048
},
"alt": {
"type": "string",
"description": "Accessible description of the image.",
"maxLength": 256
},
"$when": {
"type": "string",
"description": "An optional conditional expression used to determine if the image element will appear to the user.",
"maxLength": 256
}
},
"required": [
"url"
]
}
},
"required": [
"title"
]
}
},
"required": [
"version",
"responseLayout",
"responseCardTemplate",
"previewCardTemplate"
]
}
Loading