|
84 | 84 | "maxLength": 10 |
85 | 85 | }, |
86 | 86 | "websiteUrl": { |
87 | | - "$ref": "#/definitions/httpsUrl", |
| 87 | + "$ref": "#/definitions/anyHttpUrl", |
88 | 88 | "description": "The url to the page that provides support information for the app." |
89 | 89 | }, |
90 | 90 | "privacyUrl": { |
91 | | - "$ref": "#/definitions/httpsUrl", |
| 91 | + "$ref": "#/definitions/anyHttpUrl", |
92 | 92 | "description": "The url to the page that provides privacy information for the app." |
93 | 93 | }, |
94 | 94 | "termsOfUseUrl": { |
95 | | - "$ref": "#/definitions/httpsUrl", |
| 95 | + "$ref": "#/definitions/anyHttpUrl", |
96 | 96 | "description": "The url to the page that provides the terms of use for the app." |
97 | 97 | }, |
98 | 98 | "contactInfo": { |
|
253 | 253 | "maxLength": 64 |
254 | 254 | }, |
255 | 255 | "configurationUrl": { |
256 | | - "$ref": "#/definitions/httpsUrl", |
| 256 | + "$ref": "#/definitions/anyHttpUrl", |
257 | 257 | "description": "The url to use when configuring the tab." |
258 | 258 | }, |
259 | 259 | "canUpdateConfiguration": { |
|
355 | 355 | "maxLength": 128 |
356 | 356 | }, |
357 | 357 | "contentUrl": { |
358 | | - "$ref": "#/definitions/httpsUrl", |
| 358 | + "$ref": "#/definitions/anyHttpUrl", |
359 | 359 | "description": "The url which points to the entity UI to be displayed in the Teams canvas." |
360 | 360 | }, |
361 | 361 | "contentBotId": { |
362 | 362 | "$ref": "#/definitions/guid", |
363 | 363 | "description": "The Microsoft App ID specified for the bot in the Bot Framework portal (https://dev.botframework.com/bots)" |
364 | 364 | }, |
365 | 365 | "websiteUrl": { |
366 | | - "$ref": "#/definitions/httpsUrl", |
| 366 | + "$ref": "#/definitions/anyHttpUrl", |
367 | 367 | "description": "The url to point at if a user opts to view in a browser." |
368 | 368 | }, |
369 | 369 | "searchUrl": { |
370 | | - "$ref": "#/definitions/httpsUrl", |
| 370 | + "$ref": "#/definitions/anyHttpUrl", |
371 | 371 | "description": "The url to direct a user's search queries." |
372 | 372 | }, |
373 | 373 | "scopes": { |
|
623 | 623 | "maxLength": 64 |
624 | 624 | }, |
625 | 625 | "configurationUrl": { |
626 | | - "$ref": "#/definitions/httpsUrl", |
| 626 | + "$ref": "#/definitions/anyHttpUrl", |
627 | 627 | "description": "The url to use for configuring the connector using the inline configuration experience." |
628 | 628 | }, |
629 | 629 | "scopes": { |
|
1110 | 1110 | "description": "Specify the app's Graph connector configuration. If this is present then webApplicationInfo.id must also be specified.", |
1111 | 1111 | "properties": { |
1112 | 1112 | "notificationUrl": { |
1113 | | - "$ref": "#/definitions/httpsUrl", |
| 1113 | + "$ref": "#/definitions/anyHttpUrl", |
1114 | 1114 | "description": "The url where Graph-connector notifications for the application should be sent." |
1115 | 1115 | } |
1116 | 1116 | }, |
|
1240 | 1240 | "default": false |
1241 | 1241 | }, |
1242 | 1242 | "publisherDocsUrl": { |
1243 | | - "$ref": "#/definitions/httpsUrl", |
| 1243 | + "$ref": "#/definitions/anyHttpUrl", |
1244 | 1244 | "description": "The url to the page that provides additional app information for the admins" |
1245 | 1245 | }, |
1246 | 1246 | "defaultInstallScope": { |
|
1594 | 1594 | "description": "Optional property within backgroundLoadConfiguration containing tab settings for background loading. Setting tabConfiguration indicates that the app supports background loading of tabs.", |
1595 | 1595 | "properties": { |
1596 | 1596 | "contentUrl": { |
1597 | | - "$ref": "#/definitions/httpsUrl", |
| 1597 | + "$ref": "#/definitions/anyHttpUrl", |
1598 | 1598 | "description": "Required URL for background loading. This can be the same contentUrl from the staticTabs section or an alternative endpoint used for background loading." |
1599 | 1599 | } |
1600 | 1600 | }, |
|
1789 | 1789 | "type": "string", |
1790 | 1790 | "maxLength": 2048 |
1791 | 1791 | }, |
1792 | | - "httpsUrl": { |
| 1792 | + "anyHttpUrl": { |
1793 | 1793 | "type": "string", |
1794 | 1794 | "maxLength": 2048, |
1795 | 1795 | "pattern": "^[Hh][Tt][Tt][Pp][Ss]?://" |
1796 | 1796 | }, |
| 1797 | + "secureHttpUrl": { |
| 1798 | + "type": "string", |
| 1799 | + "maxLength": 2048, |
| 1800 | + "pattern": "^[Hh][Tt][Tt][Pp][Ss]://" |
| 1801 | + }, |
1797 | 1802 | "semver": { |
1798 | 1803 | "type": "string", |
1799 | 1804 | "maxLength": 256, |
|
1829 | 1834 | "description": "Dialog height - either a number in pixels or default layout such as 'large', 'medium', or 'small'." |
1830 | 1835 | }, |
1831 | 1836 | "url": { |
1832 | | - "$ref": "#/definitions/httpsUrl", |
| 1837 | + "$ref": "#/definitions/anyHttpUrl", |
1833 | 1838 | "description": "Initial webview URL." |
1834 | 1839 | } |
1835 | 1840 | } |
|
1864 | 1869 | "$ref": "#/definitions/extensionAlternateVersionsArray" |
1865 | 1870 | }, |
1866 | 1871 | "audienceClaimUrl": { |
1867 | | - "$ref": "#/definitions/httpsUrl", |
| 1872 | + "$ref": "#/definitions/anyHttpUrl", |
1868 | 1873 | "description": "The url for your extension, used to validate Exchange user identity tokens." |
1869 | 1874 | }, |
1870 | 1875 | "appDeeplinks": { |
|
2124 | 2129 | "default": false |
2125 | 2130 | }, |
2126 | 2131 | "metadataUrl": { |
2127 | | - "$ref": "#/definitions/httpsUrl", |
| 2132 | + "$ref": "#/definitions/secureHttpUrl", |
2128 | 2133 | "description": "The full URL of a metadata json file with default locale." |
2129 | 2134 | }, |
2130 | 2135 | "enums": { |
|
2238 | 2243 | "maxLength": 128 |
2239 | 2244 | }, |
2240 | 2245 | "helpUrl": { |
2241 | | - "type": "string", |
2242 | | - "format": "uri", |
2243 | 2246 | "description": "URL that provides information about the function. (It is displayed in a task pane.)", |
2244 | | - "minLength": 1, |
2245 | | - "maxLength": 2048 |
| 2247 | + "$ref": "#/definitions/secureHttpUrl" |
2246 | 2248 | }, |
2247 | 2249 | "parameters": { |
2248 | 2250 | "type": "array", |
|
2441 | 2443 | "additionalProperties": false, |
2442 | 2444 | "properties": { |
2443 | 2445 | "shortcutsUrl": { |
2444 | | - "$ref": "#/definitions/httpsUrl", |
| 2446 | + "$ref": "#/definitions/secureHttpUrl", |
2445 | 2447 | "description": "The full URL of the JSON file that will contain the keyboard combination configuration on Office application and platform combinations that don't directly support the unified manifest." |
2446 | 2448 | }, |
2447 | 2449 | "localizationResourceUrl": { |
2448 | | - "$ref": "#/definitions/httpsUrl", |
| 2450 | + "$ref": "#/definitions/secureHttpUrl", |
2449 | 2451 | "description": "The full URL of a file that provides supplemental resource, such as localized strings, for the file specified in the shortcutsUrl attribute." |
2450 | 2452 | } |
2451 | 2453 | }, |
|
2892 | 2894 | ] |
2893 | 2895 | }, |
2894 | 2896 | "url": { |
2895 | | - "$ref": "#/definitions/httpsUrl", |
| 2897 | + "$ref": "#/definitions/anyHttpUrl", |
2896 | 2898 | "description": "Url to the icon." |
2897 | 2899 | }, |
2898 | 2900 | "scale": { |
|
2950 | 2952 | ] |
2951 | 2953 | }, |
2952 | 2954 | "url": { |
2953 | | - "$ref": "#/definitions/httpsUrl", |
| 2955 | + "$ref": "#/definitions/anyHttpUrl", |
2954 | 2956 | "description": "Absolute Url to the icon." |
2955 | 2957 | } |
2956 | 2958 | }, |
|
3332 | 3334 | "maxLength": 250 |
3333 | 3335 | }, |
3334 | 3336 | "learnMoreUrl": { |
3335 | | - "$ref": "#/definitions/httpsUrl", |
| 3337 | + "$ref": "#/definitions/anyHttpUrl", |
3336 | 3338 | "description": "A URL to a page that explains the add-in in detail." |
3337 | 3339 | } |
3338 | 3340 | }, |
|
3348 | 3350 | "type": "object", |
3349 | 3351 | "properties": { |
3350 | 3352 | "page": { |
3351 | | - "$ref": "#/definitions/httpsUrl", |
| 3353 | + "$ref": "#/definitions/anyHttpUrl", |
3352 | 3354 | "description": "URL of the .html page to be loaded in browser-based runtimes." |
3353 | 3355 | }, |
3354 | 3356 | "script": { |
3355 | | - "$ref": "#/definitions/httpsUrl", |
| 3357 | + "$ref": "#/definitions/anyHttpUrl", |
3356 | 3358 | "description": "URL of the .js script file to be loaded in UI-less runtimes." |
3357 | 3359 | } |
3358 | 3360 | }, |
|
3599 | 3601 | "description": "Icon size in pixels." |
3600 | 3602 | }, |
3601 | 3603 | "url": { |
3602 | | - "$ref": "#/definitions/httpsUrl", |
| 3604 | + "$ref": "#/definitions/anyHttpUrl", |
3603 | 3605 | "description": "URL for the icon." |
3604 | 3606 | } |
3605 | 3607 | }, |
|
0 commit comments