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

[in review] Update app schemas to v1.19 #179

Open
wants to merge 1 commit into
base: main
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
8 changes: 8 additions & 0 deletions MicrosoftTeams.Localization.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
"description.full": {
"type": "string",
"maxLength": 4000
},
"localizationKeys": {
"type": "object",
"patternProperties": {
"^\\[\\[[a-zA-Z_][a-zA-Z0-9_]*\\]\\]$": {
"type": "string"
}
}
}
},
"patternProperties": {
Expand Down
41 changes: 40 additions & 1 deletion MicrosoftTeams.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"manifestVersion": {
"type": "string",
"description": "The version of the schema this manifest is using. This schema version supports extending Teams apps to other parts of the Microsoft 365 ecosystem. More info at https://aka.ms/extendteamsapps.",
"const": "1.17"
"const": "1.19"
},
"version": {
"type": "string",
Expand All @@ -30,6 +30,10 @@
"description": "The language tag of the strings in this top level manifest file.",
"default": "en-us"
},
"defaultLanguageFile": {
"$ref": "#/definitions/relativePath",
"description": "A relative file path to a the .json file containing strings in the default language."
},
"additionalLanguages": {
"type": "array",
"uniqueItems": true,
Expand Down Expand Up @@ -1100,6 +1104,22 @@
"$ref": "#/definitions/dashboardCard"
},
"additionalProperties": false
},
"copilotAgents": {
"type": "object",
"properties": {
"declarativeAgents": {
"type": "array",
"description": "An array of declarative agent elements references. Currently, only one declarative agent per application is supported.",
"items": {
"$ref": "#/definitions/declarativeAgentRef"
},
"minItems": 1,
"maxItems": 1
}
},
"additionalProperties": false,
"required": [ "declarativeAgents" ]
}
},
"required": [
Expand Down Expand Up @@ -2130,6 +2150,25 @@
}
},
"additionalProperties": false
},
"declarativeAgentRef": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "A unique identifier for this declarative agent element."
},
"file": {
"$ref": "#/definitions/relativePath",
"description": "Relative file path to this declarative agent element file in the application package."
}
},
"description": "A reference to a declarative agent element. The element's definition is in a separate file.",
"required": [
"id",
"file"
],
"additionalProperties": false
}
}
}