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

Charlesji/manifest1.12 #138

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
7 changes: 1 addition & 6 deletions MicrosoftTeams.Localization.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@
"^meetingExtensionDefinition.scenes\\[[0-9]\\]\\.name$": {
"type": "string",
"maxLength": 128
},
"^meetingExtensionDefinition.filters\\[([0-9]|1[0-5])\\]\\.name$": {
"type": "string",
"maxLength": 128
}
}
}

}
82 changes: 73 additions & 9 deletions 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.",
"const": "1.11"
"const": "1.12"
},
"version": {
"type": "string",
Expand Down Expand Up @@ -720,14 +720,6 @@
"type": "string",
"description": "Resource url of app for acquiring auth token for SSO.",
"maxLength": 2048
},
"applicationPermissions": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 128
}
}
},
"required": [
Expand Down Expand Up @@ -937,6 +929,78 @@
},
"description": "Specify meeting extension definition.",
"additionalProperties": false
},
"authorization": {
"type": "object",
"description": "Specify and consolidates authorization related information for the App.",
"additionalProperties": false,
"properties": {
"permissions": {
"type": "object",
"description": "Specify Permissions which App lists for accessing Resource.",
"additionalProperties": false,
"properties": {
"orgWide": {
"description": "App's organization wide classic permissions provided by user.",
"maxItems": 16,
"type": "array",
"uniqueItems": true,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "The Permission name of app's permission node.",
"maxLength": 128
},
"type": {
"type": "string",
"enum": [
"Application",
"Delegated"
],
"description": "The Permission type of app's permission node."
}
},
"required": [
"name",
"type"
]
}
},
"resourceSpecific": {
"description": "App's resource specific permissions provided by user.",
"maxItems": 16,
"type": "array",
"uniqueItems": true,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "The Permission name of app's permission node.",
"maxLength": 128
},
"type": {
"type": "string",
"enum": [
"Application",
"Delegated"
],
"description": "The Permission type of app's permission node."
}
},
"required": [
"name",
"type"
]
}
}
}
}
}
}
},
"required": [
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ extensions:

# Microsoft Teams App Schema

This repository is where the [JSON Schema](http://json-schema.org/) for the [Microsoft Teams application manifest](https://docs.microsoft.com/en-us/microsoftteams/platform/resources/schema/manifest-schema) resides. The first line in a Teams app manifest.json file is a reference to this file so that it can be validated, e.g.: `"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.11/MicrosoftTeams.schema.json",`.
This repository is where the [JSON Schema](http://json-schema.org/) for the [Microsoft Teams application manifest](https://docs.microsoft.com/en-us/microsoftteams/platform/resources/schema/manifest-schema) resides. The first line in a Teams app manifest.json file is a reference to this file so that it can be validated, e.g.: `"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.schema.json",`.

If you are localizing your Microsoft Teams app, then you should also use the localization schema in your strings file to ensure a proper format, e.g.: `"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.11/MicrosoftTeams.Localization.schema.json",`.
If you are localizing your Microsoft Teams app, then you should also use the localization schema in your strings file to ensure a proper format, e.g.: `"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.12/MicrosoftTeams.Localization.schema.json",`.

Unless you are writing an app that reads/writes Microsoft Teams manifest.json files, you don't need to care about this.

Expand Down