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

public preview additive changes #132

Open
wants to merge 5 commits into
base: preview/DevPreview
Choose a base branch
from
Open
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
4 changes: 4 additions & 0 deletions MicrosoftTeams.Localization.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
"type": "string",
"maxLength": 128
},
"^personalApp.pages\\[([0-9]|1[0-5])\\]\\.displayName$": {
"type": "string",
"maxLength": 128
},
"^bots\\[0\\]\\.commandLists\\[[0-2]\\]\\.commands\\[[0-9]\\]\\.title$": {
"type": "string",
"maxLength": 32
Expand Down
109 changes: 107 additions & 2 deletions MicrosoftTeams.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,15 @@
"$ref": "#/definitions/hexColor",
"description": "A color to use in conjunction with the icon. The value must be a valid HTML color code starting with '#', for example `#4464ee`."
},
"requirements": {
"additionalProperties": false,
"properties": {
"capabilities": {
"description": "The set of host capabilities required by the app. ",
"$ref": "#/definitions/clientApiSets"
}
}
},
"configurableTabs": {
"type": "array",
"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.",
Expand Down Expand Up @@ -324,6 +333,69 @@
]
}
},
"personalApp": {
"additionalProperties": false,
"properties": {
"isFullScreen": {
"type": "boolean",
"description": "A value indicating whether a personal app is rendered without a tab header-bar",
"default": false
},
"pages": {
"type": "array",
"description": "A set of pages included in the personal app.",
"maxItems": 16,
"uniqueItems": true,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"entityId": {
"type": "string",
"description": "A unique identifier for the entity which the page displays.",
"maxLength": 64
},
"contentType": {
"type": "string",
"description": "The type of page content.",
"enum": ["url", "bot"]
},
"displayName": {
"type": "string",
"description": "The display name of the tab.",
"maxLength": 128
},
"contentUrl": {
"$ref": "#/definitions/httpsUrl",
"description": "The url which points to the entity UI to be displayed in the Teams canvas."
},
"contentBotId": {
"$ref": "#/definitions/botId",
"description": "The Microsoft App ID specified for the bot in the Bot Framework portal (https://dev.botframework.com/bots)"
},
"websiteUrl": {
"$ref": "#/definitions/httpsUrl",
"description": "The url to point at if a user opts to view in a browser."
},
"requirements": {
"properties": {
"capabilities": {
"$ref": "#/definitions/clientApiSets",
"description": "The set of host capabilities required by this page."
}
}
}
},
"required": [
"entityId"
]
}
}
},
"required": [
"pages"
]
},
"bots": {
"type": "array",
"description": "The set of bots for this app. Currently only one bot per app is supported.",
Expand Down Expand Up @@ -523,7 +595,8 @@
"enum": [
"compose",
"commandBox",
"message"
"message",
"composeMail"
]
},
"description": "Context where the command would apply",
Expand Down Expand Up @@ -984,6 +1057,38 @@
"type": "string",
"pattern": "^((([0-9]*\\.)?[0-9]+)|[lL][aA][rR][gG][eE]|[mM][eE][dD][iI][uU][mM]|[sS][mM][aA][lL][lL])$",
"maxLength": 16
},
"clientApiSets": {
"type": "array",
"description": "Array of client API sets",
"maxItems": 14,
"uniqueItems": true,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "name of the API Set",
"enum": [
"calendar",
"location",
"mail",
"media",
"monetization",
"onlineMeeting",
"pages.config",
"pages.tabs",
"pages.backstack",
"pages.appButton",
"people",
"sharing",
"teamsCore",
"video"
]
}
}
}
}
}
}
}