@forge/manifest 0.0.0-experimental-7c72fec → 0.0.0-experimental-c3d0263

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80,6 +80,29 @@
80
80
  ]
81
81
  }
82
82
  }
83
+ },
84
+ "storage": {
85
+ "description": "Options related to hosted storage",
86
+ "type": "object",
87
+ "required": [
88
+ "classifications"
89
+ ],
90
+ "additionalProperties": false,
91
+ "properties": {
92
+ "classifications": {
93
+ "description": "Labels to classify the type of data stored",
94
+ "type": "array",
95
+ "items": {
96
+ "type": "string",
97
+ "enum": [
98
+ "ugc",
99
+ "pii",
100
+ "other"
101
+ ]
102
+ },
103
+ "minItems": 1
104
+ }
105
+ }
83
106
  }
84
107
  },
85
108
  "required": [
@@ -1278,6 +1301,54 @@
1278
1301
  "maxLength": 255,
1279
1302
  "pattern": "^[a-zA-Z0-9-_]+$"
1280
1303
  },
1304
+ "expression": {
1305
+ "type": "string"
1306
+ },
1307
+ "errorMessage": {
1308
+ "type": "string"
1309
+ },
1310
+ "view": {
1311
+ "type": "object",
1312
+ "properties": {
1313
+ "resource": {
1314
+ "type": "string",
1315
+ "minLength": 1,
1316
+ "maxLength": 23,
1317
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
1318
+ }
1319
+ },
1320
+ "required": [
1321
+ "resource"
1322
+ ]
1323
+ },
1324
+ "edit": {
1325
+ "type": "object",
1326
+ "properties": {
1327
+ "resource": {
1328
+ "type": "string",
1329
+ "minLength": 1,
1330
+ "maxLength": 23,
1331
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
1332
+ }
1333
+ },
1334
+ "required": [
1335
+ "resource"
1336
+ ]
1337
+ },
1338
+ "create": {
1339
+ "type": "object",
1340
+ "properties": {
1341
+ "resource": {
1342
+ "type": "string",
1343
+ "minLength": 1,
1344
+ "maxLength": 23,
1345
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
1346
+ }
1347
+ },
1348
+ "required": [
1349
+ "resource"
1350
+ ]
1351
+ },
1281
1352
  "key": {
1282
1353
  "$ref": "#/definitions/ModuleKeySchema"
1283
1354
  }
@@ -1413,6 +1484,39 @@
1413
1484
  "function"
1414
1485
  ]
1415
1486
  },
1487
+ "searchSuggestions": {
1488
+ "anyOf": [
1489
+ {
1490
+ "type": "object",
1491
+ "properties": {
1492
+ "function": {
1493
+ "type": "string",
1494
+ "minLength": 1,
1495
+ "maxLength": 255,
1496
+ "pattern": "^[a-zA-Z0-9-_]+$"
1497
+ }
1498
+ },
1499
+ "required": [
1500
+ "function"
1501
+ ]
1502
+ },
1503
+ {
1504
+ "type": "object",
1505
+ "properties": {
1506
+ "expression": {
1507
+ "type": "string"
1508
+ }
1509
+ },
1510
+ "required": [
1511
+ "expression"
1512
+ ]
1513
+ }
1514
+ ]
1515
+ },
1516
+ "displayConditions": {
1517
+ "type": "object",
1518
+ "properties": {}
1519
+ },
1416
1520
  "key": {
1417
1521
  "$ref": "#/definitions/ModuleKeySchema"
1418
1522
  }
@@ -1543,6 +1647,39 @@
1543
1647
  "function"
1544
1648
  ]
1545
1649
  },
1650
+ "searchSuggestions": {
1651
+ "anyOf": [
1652
+ {
1653
+ "type": "object",
1654
+ "properties": {
1655
+ "function": {
1656
+ "type": "string",
1657
+ "minLength": 1,
1658
+ "maxLength": 255,
1659
+ "pattern": "^[a-zA-Z0-9-_]+$"
1660
+ }
1661
+ },
1662
+ "required": [
1663
+ "function"
1664
+ ]
1665
+ },
1666
+ {
1667
+ "type": "object",
1668
+ "properties": {
1669
+ "expression": {
1670
+ "type": "string"
1671
+ }
1672
+ },
1673
+ "required": [
1674
+ "expression"
1675
+ ]
1676
+ }
1677
+ ]
1678
+ },
1679
+ "displayConditions": {
1680
+ "type": "object",
1681
+ "properties": {}
1682
+ },
1546
1683
  "key": {
1547
1684
  "$ref": "#/definitions/ModuleKeySchema"
1548
1685
  }
@@ -1667,6 +1804,35 @@
1667
1804
  "function"
1668
1805
  ]
1669
1806
  },
1807
+ "searchSuggestions": {
1808
+ "anyOf": [
1809
+ {
1810
+ "type": "object",
1811
+ "properties": {
1812
+ "function": {
1813
+ "type": "string",
1814
+ "minLength": 1,
1815
+ "maxLength": 255,
1816
+ "pattern": "^[a-zA-Z0-9-_]+$"
1817
+ }
1818
+ },
1819
+ "required": [
1820
+ "function"
1821
+ ]
1822
+ },
1823
+ {
1824
+ "type": "object",
1825
+ "properties": {
1826
+ "expression": {
1827
+ "type": "string"
1828
+ }
1829
+ },
1830
+ "required": [
1831
+ "expression"
1832
+ ]
1833
+ }
1834
+ ]
1835
+ },
1670
1836
  "icon": {
1671
1837
  "type": "string",
1672
1838
  "minLength": 1,
@@ -1733,6 +1899,10 @@
1733
1899
  }
1734
1900
  ]
1735
1901
  },
1902
+ "displayConditions": {
1903
+ "type": "object",
1904
+ "properties": {}
1905
+ },
1736
1906
  "key": {
1737
1907
  "$ref": "#/definitions/ModuleKeySchema"
1738
1908
  }
@@ -1848,6 +2018,35 @@
1848
2018
  "function"
1849
2019
  ]
1850
2020
  },
2021
+ "searchSuggestions": {
2022
+ "anyOf": [
2023
+ {
2024
+ "type": "object",
2025
+ "properties": {
2026
+ "function": {
2027
+ "type": "string",
2028
+ "minLength": 1,
2029
+ "maxLength": 255,
2030
+ "pattern": "^[a-zA-Z0-9-_]+$"
2031
+ }
2032
+ },
2033
+ "required": [
2034
+ "function"
2035
+ ]
2036
+ },
2037
+ {
2038
+ "type": "object",
2039
+ "properties": {
2040
+ "expression": {
2041
+ "type": "string"
2042
+ }
2043
+ },
2044
+ "required": [
2045
+ "expression"
2046
+ ]
2047
+ }
2048
+ ]
2049
+ },
1851
2050
  "icon": {
1852
2051
  "type": "string",
1853
2052
  "minLength": 1,
@@ -1914,6 +2113,10 @@
1914
2113
  }
1915
2114
  ]
1916
2115
  },
2116
+ "displayConditions": {
2117
+ "type": "object",
2118
+ "properties": {}
2119
+ },
1917
2120
  "key": {
1918
2121
  "$ref": "#/definitions/ModuleKeySchema"
1919
2122
  }
@@ -1948,6 +2151,10 @@
1948
2151
  "maxLength": 255,
1949
2152
  "pattern": "^[a-zA-Z0-9-_]+$"
1950
2153
  },
2154
+ "displayConditions": {
2155
+ "type": "object",
2156
+ "properties": {}
2157
+ },
1951
2158
  "key": {
1952
2159
  "$ref": "#/definitions/ModuleKeySchema"
1953
2160
  }
@@ -2003,6 +2210,10 @@
2003
2210
  "xlarge"
2004
2211
  ]
2005
2212
  },
2213
+ "displayConditions": {
2214
+ "type": "object",
2215
+ "properties": {}
2216
+ },
2006
2217
  "key": {
2007
2218
  "$ref": "#/definitions/ModuleKeySchema"
2008
2219
  }
@@ -2089,6 +2300,10 @@
2089
2300
  "minLength": 1,
2090
2301
  "maxLength": 255
2091
2302
  },
2303
+ "displayConditions": {
2304
+ "type": "object",
2305
+ "properties": {}
2306
+ },
2092
2307
  "key": {
2093
2308
  "$ref": "#/definitions/ModuleKeySchema"
2094
2309
  }
@@ -2183,6 +2398,10 @@
2183
2398
  "minLength": 1,
2184
2399
  "maxLength": 255
2185
2400
  },
2401
+ "displayConditions": {
2402
+ "type": "object",
2403
+ "properties": {}
2404
+ },
2186
2405
  "key": {
2187
2406
  "$ref": "#/definitions/ModuleKeySchema"
2188
2407
  }
@@ -2238,6 +2457,10 @@
2238
2457
  "maxLength": 255,
2239
2458
  "pattern": "^[a-zA-Z0-9-_]+$"
2240
2459
  },
2460
+ "displayConditions": {
2461
+ "type": "object",
2462
+ "properties": {}
2463
+ },
2241
2464
  "key": {
2242
2465
  "$ref": "#/definitions/ModuleKeySchema"
2243
2466
  }
@@ -2316,6 +2539,10 @@
2316
2539
  "xlarge"
2317
2540
  ]
2318
2541
  },
2542
+ "displayConditions": {
2543
+ "type": "object",
2544
+ "properties": {}
2545
+ },
2319
2546
  "key": {
2320
2547
  "$ref": "#/definitions/ModuleKeySchema"
2321
2548
  }
@@ -2349,6 +2576,10 @@
2349
2576
  "maxLength": 255,
2350
2577
  "pattern": "^[a-zA-Z0-9-_]+$"
2351
2578
  },
2579
+ "displayConditions": {
2580
+ "type": "object",
2581
+ "properties": {}
2582
+ },
2352
2583
  "key": {
2353
2584
  "$ref": "#/definitions/ModuleKeySchema"
2354
2585
  }
@@ -2404,6 +2635,10 @@
2404
2635
  "xlarge"
2405
2636
  ]
2406
2637
  },
2638
+ "displayConditions": {
2639
+ "type": "object",
2640
+ "properties": {}
2641
+ },
2407
2642
  "key": {
2408
2643
  "$ref": "#/definitions/ModuleKeySchema"
2409
2644
  }
@@ -2480,6 +2715,10 @@
2480
2715
  "function"
2481
2716
  ]
2482
2717
  },
2718
+ "displayConditions": {
2719
+ "type": "object",
2720
+ "properties": {}
2721
+ },
2483
2722
  "key": {
2484
2723
  "$ref": "#/definitions/ModuleKeySchema"
2485
2724
  }
@@ -2594,6 +2833,10 @@
2594
2833
  ]
2595
2834
  }
2596
2835
  },
2836
+ "displayConditions": {
2837
+ "type": "object",
2838
+ "properties": {}
2839
+ },
2597
2840
  "key": {
2598
2841
  "$ref": "#/definitions/ModuleKeySchema"
2599
2842
  }
@@ -2720,6 +2963,10 @@
2720
2963
  ]
2721
2964
  }
2722
2965
  },
2966
+ "displayConditions": {
2967
+ "type": "object",
2968
+ "properties": {}
2969
+ },
2723
2970
  "key": {
2724
2971
  "$ref": "#/definitions/ModuleKeySchema"
2725
2972
  }
@@ -2834,6 +3081,10 @@
2834
3081
  ]
2835
3082
  }
2836
3083
  },
3084
+ "displayConditions": {
3085
+ "type": "object",
3086
+ "properties": {}
3087
+ },
2837
3088
  "key": {
2838
3089
  "$ref": "#/definitions/ModuleKeySchema"
2839
3090
  }
@@ -2960,6 +3211,10 @@
2960
3211
  ]
2961
3212
  }
2962
3213
  },
3214
+ "displayConditions": {
3215
+ "type": "object",
3216
+ "properties": {}
3217
+ },
2963
3218
  "key": {
2964
3219
  "$ref": "#/definitions/ModuleKeySchema"
2965
3220
  }
@@ -3074,6 +3329,10 @@
3074
3329
  ]
3075
3330
  }
3076
3331
  },
3332
+ "displayConditions": {
3333
+ "type": "object",
3334
+ "properties": {}
3335
+ },
3077
3336
  "key": {
3078
3337
  "$ref": "#/definitions/ModuleKeySchema"
3079
3338
  }
@@ -3200,6 +3459,10 @@
3200
3459
  ]
3201
3460
  }
3202
3461
  },
3462
+ "displayConditions": {
3463
+ "type": "object",
3464
+ "properties": {}
3465
+ },
3203
3466
  "key": {
3204
3467
  "$ref": "#/definitions/ModuleKeySchema"
3205
3468
  }
@@ -3314,6 +3577,10 @@
3314
3577
  ]
3315
3578
  }
3316
3579
  },
3580
+ "displayConditions": {
3581
+ "type": "object",
3582
+ "properties": {}
3583
+ },
3317
3584
  "key": {
3318
3585
  "$ref": "#/definitions/ModuleKeySchema"
3319
3586
  }
@@ -3440,6 +3707,10 @@
3440
3707
  ]
3441
3708
  }
3442
3709
  },
3710
+ "displayConditions": {
3711
+ "type": "object",
3712
+ "properties": {}
3713
+ },
3443
3714
  "key": {
3444
3715
  "$ref": "#/definitions/ModuleKeySchema"
3445
3716
  }
@@ -3703,19 +3974,946 @@
3703
3974
  },
3704
3975
  "minItems": 1
3705
3976
  },
3706
- "connect-jira:keyboardShortcuts": {
3977
+ "jiraServiceManagement:queuePage": {
3707
3978
  "type": "array",
3708
3979
  "items": {
3709
- "properties": {
3710
- "shortcut": {
3711
- "pattern": "[a-z]{1,3}",
3712
- "maxLength": 3,
3713
- "type": "string",
3714
- "fieldDescription": "\n\nThe shortcut sequence. The current limitations are\n\n <ul>\n <li>the sequence cannot shadow an existing product shortcut</li>\n <li>can only contain lowercase letters</li>\n <li>has to be shorter than 4 characters</li>\n </ul>\n\n"
3715
- },
3716
- "context": {
3717
- "enum": [
3718
- "global",
3980
+ "oneOf": [
3981
+ {
3982
+ "type": "object",
3983
+ "required": [
3984
+ "title",
3985
+ "function",
3986
+ "key"
3987
+ ],
3988
+ "properties": {
3989
+ "title": {
3990
+ "type": "string",
3991
+ "minLength": 1,
3992
+ "maxLength": 255
3993
+ },
3994
+ "icon": {
3995
+ "type": "string",
3996
+ "minLength": 1,
3997
+ "maxLength": 255
3998
+ },
3999
+ "layout": {
4000
+ "type": "string",
4001
+ "minLength": 1,
4002
+ "maxLength": 255,
4003
+ "enum": [
4004
+ "native",
4005
+ "basic"
4006
+ ]
4007
+ },
4008
+ "function": {
4009
+ "type": "string",
4010
+ "minLength": 1,
4011
+ "maxLength": 255,
4012
+ "pattern": "^[a-zA-Z0-9-_]+$"
4013
+ },
4014
+ "key": {
4015
+ "$ref": "#/definitions/ModuleKeySchema"
4016
+ }
4017
+ }
4018
+ },
4019
+ {
4020
+ "type": "object",
4021
+ "required": [
4022
+ "title",
4023
+ "resource",
4024
+ "key"
4025
+ ],
4026
+ "properties": {
4027
+ "title": {
4028
+ "type": "string",
4029
+ "minLength": 1,
4030
+ "maxLength": 255
4031
+ },
4032
+ "icon": {
4033
+ "type": "string",
4034
+ "minLength": 1,
4035
+ "maxLength": 255
4036
+ },
4037
+ "layout": {
4038
+ "type": "string",
4039
+ "minLength": 1,
4040
+ "maxLength": 255,
4041
+ "enum": [
4042
+ "native",
4043
+ "basic"
4044
+ ]
4045
+ },
4046
+ "resolver": {
4047
+ "additionalProperties": false,
4048
+ "type": "object",
4049
+ "properties": {
4050
+ "function": {
4051
+ "type": "string",
4052
+ "minLength": 1,
4053
+ "maxLength": 255,
4054
+ "pattern": "^[a-zA-Z0-9-_]+$"
4055
+ }
4056
+ },
4057
+ "required": [
4058
+ "function"
4059
+ ]
4060
+ },
4061
+ "resource": {
4062
+ "type": "string",
4063
+ "minLength": 1,
4064
+ "maxLength": 23,
4065
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4066
+ },
4067
+ "resourceUploadId": {
4068
+ "type": "string",
4069
+ "minLength": 1,
4070
+ "maxLength": 255
4071
+ },
4072
+ "key": {
4073
+ "$ref": "#/definitions/ModuleKeySchema"
4074
+ }
4075
+ }
4076
+ }
4077
+ ]
4078
+ },
4079
+ "minItems": 1
4080
+ },
4081
+ "jiraServiceManagement:portalRequestDetail": {
4082
+ "type": "array",
4083
+ "items": {
4084
+ "oneOf": [
4085
+ {
4086
+ "type": "object",
4087
+ "required": [
4088
+ "title",
4089
+ "function",
4090
+ "key"
4091
+ ],
4092
+ "properties": {
4093
+ "title": {
4094
+ "type": "string",
4095
+ "minLength": 1,
4096
+ "maxLength": 255
4097
+ },
4098
+ "icon": {
4099
+ "type": "string",
4100
+ "minLength": 1,
4101
+ "maxLength": 255
4102
+ },
4103
+ "layout": {
4104
+ "type": "string",
4105
+ "minLength": 1,
4106
+ "maxLength": 255,
4107
+ "enum": [
4108
+ "native",
4109
+ "basic"
4110
+ ]
4111
+ },
4112
+ "viewportSize": {
4113
+ "type": "string",
4114
+ "minLength": 1,
4115
+ "maxLength": 255,
4116
+ "enum": [
4117
+ "small",
4118
+ "medium",
4119
+ "large",
4120
+ "xlarge"
4121
+ ]
4122
+ },
4123
+ "function": {
4124
+ "type": "string",
4125
+ "minLength": 1,
4126
+ "maxLength": 255,
4127
+ "pattern": "^[a-zA-Z0-9-_]+$"
4128
+ },
4129
+ "key": {
4130
+ "$ref": "#/definitions/ModuleKeySchema"
4131
+ }
4132
+ }
4133
+ },
4134
+ {
4135
+ "type": "object",
4136
+ "required": [
4137
+ "title",
4138
+ "resource",
4139
+ "key"
4140
+ ],
4141
+ "properties": {
4142
+ "title": {
4143
+ "type": "string",
4144
+ "minLength": 1,
4145
+ "maxLength": 255
4146
+ },
4147
+ "icon": {
4148
+ "type": "string",
4149
+ "minLength": 1,
4150
+ "maxLength": 255
4151
+ },
4152
+ "layout": {
4153
+ "type": "string",
4154
+ "minLength": 1,
4155
+ "maxLength": 255,
4156
+ "enum": [
4157
+ "native",
4158
+ "basic"
4159
+ ]
4160
+ },
4161
+ "resolver": {
4162
+ "additionalProperties": false,
4163
+ "type": "object",
4164
+ "properties": {
4165
+ "function": {
4166
+ "type": "string",
4167
+ "minLength": 1,
4168
+ "maxLength": 255,
4169
+ "pattern": "^[a-zA-Z0-9-_]+$"
4170
+ }
4171
+ },
4172
+ "required": [
4173
+ "function"
4174
+ ]
4175
+ },
4176
+ "resource": {
4177
+ "type": "string",
4178
+ "minLength": 1,
4179
+ "maxLength": 23,
4180
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4181
+ },
4182
+ "resourceUploadId": {
4183
+ "type": "string",
4184
+ "minLength": 1,
4185
+ "maxLength": 255
4186
+ },
4187
+ "key": {
4188
+ "$ref": "#/definitions/ModuleKeySchema"
4189
+ }
4190
+ }
4191
+ }
4192
+ ]
4193
+ },
4194
+ "minItems": 1
4195
+ },
4196
+ "jiraServiceManagement:portalRequestDetailPanel": {
4197
+ "type": "array",
4198
+ "items": {
4199
+ "oneOf": [
4200
+ {
4201
+ "type": "object",
4202
+ "required": [
4203
+ "title",
4204
+ "function",
4205
+ "key"
4206
+ ],
4207
+ "properties": {
4208
+ "title": {
4209
+ "type": "string",
4210
+ "minLength": 1,
4211
+ "maxLength": 255
4212
+ },
4213
+ "icon": {
4214
+ "type": "string",
4215
+ "minLength": 1,
4216
+ "maxLength": 255
4217
+ },
4218
+ "layout": {
4219
+ "type": "string",
4220
+ "minLength": 1,
4221
+ "maxLength": 255,
4222
+ "enum": [
4223
+ "native",
4224
+ "basic"
4225
+ ]
4226
+ },
4227
+ "viewportSize": {
4228
+ "type": "string",
4229
+ "minLength": 1,
4230
+ "maxLength": 255,
4231
+ "enum": [
4232
+ "small",
4233
+ "medium",
4234
+ "large",
4235
+ "xlarge"
4236
+ ]
4237
+ },
4238
+ "function": {
4239
+ "type": "string",
4240
+ "minLength": 1,
4241
+ "maxLength": 255,
4242
+ "pattern": "^[a-zA-Z0-9-_]+$"
4243
+ },
4244
+ "key": {
4245
+ "$ref": "#/definitions/ModuleKeySchema"
4246
+ }
4247
+ }
4248
+ },
4249
+ {
4250
+ "type": "object",
4251
+ "required": [
4252
+ "title",
4253
+ "resource",
4254
+ "key"
4255
+ ],
4256
+ "properties": {
4257
+ "title": {
4258
+ "type": "string",
4259
+ "minLength": 1,
4260
+ "maxLength": 255
4261
+ },
4262
+ "icon": {
4263
+ "type": "string",
4264
+ "minLength": 1,
4265
+ "maxLength": 255
4266
+ },
4267
+ "layout": {
4268
+ "type": "string",
4269
+ "minLength": 1,
4270
+ "maxLength": 255,
4271
+ "enum": [
4272
+ "native",
4273
+ "basic"
4274
+ ]
4275
+ },
4276
+ "resolver": {
4277
+ "additionalProperties": false,
4278
+ "type": "object",
4279
+ "properties": {
4280
+ "function": {
4281
+ "type": "string",
4282
+ "minLength": 1,
4283
+ "maxLength": 255,
4284
+ "pattern": "^[a-zA-Z0-9-_]+$"
4285
+ }
4286
+ },
4287
+ "required": [
4288
+ "function"
4289
+ ]
4290
+ },
4291
+ "resource": {
4292
+ "type": "string",
4293
+ "minLength": 1,
4294
+ "maxLength": 23,
4295
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4296
+ },
4297
+ "resourceUploadId": {
4298
+ "type": "string",
4299
+ "minLength": 1,
4300
+ "maxLength": 255
4301
+ },
4302
+ "key": {
4303
+ "$ref": "#/definitions/ModuleKeySchema"
4304
+ }
4305
+ }
4306
+ }
4307
+ ]
4308
+ },
4309
+ "minItems": 1
4310
+ },
4311
+ "jiraServiceManagement:organizationPanel": {
4312
+ "type": "array",
4313
+ "items": {
4314
+ "oneOf": [
4315
+ {
4316
+ "type": "object",
4317
+ "required": [
4318
+ "title",
4319
+ "function",
4320
+ "key"
4321
+ ],
4322
+ "properties": {
4323
+ "title": {
4324
+ "type": "string",
4325
+ "minLength": 1,
4326
+ "maxLength": 255
4327
+ },
4328
+ "icon": {
4329
+ "type": "string",
4330
+ "minLength": 1,
4331
+ "maxLength": 255
4332
+ },
4333
+ "layout": {
4334
+ "type": "string",
4335
+ "minLength": 1,
4336
+ "maxLength": 255,
4337
+ "enum": [
4338
+ "native",
4339
+ "basic"
4340
+ ]
4341
+ },
4342
+ "function": {
4343
+ "type": "string",
4344
+ "minLength": 1,
4345
+ "maxLength": 255,
4346
+ "pattern": "^[a-zA-Z0-9-_]+$"
4347
+ },
4348
+ "key": {
4349
+ "$ref": "#/definitions/ModuleKeySchema"
4350
+ }
4351
+ }
4352
+ },
4353
+ {
4354
+ "type": "object",
4355
+ "required": [
4356
+ "title",
4357
+ "resource",
4358
+ "key"
4359
+ ],
4360
+ "properties": {
4361
+ "title": {
4362
+ "type": "string",
4363
+ "minLength": 1,
4364
+ "maxLength": 255
4365
+ },
4366
+ "icon": {
4367
+ "type": "string",
4368
+ "minLength": 1,
4369
+ "maxLength": 255
4370
+ },
4371
+ "layout": {
4372
+ "type": "string",
4373
+ "minLength": 1,
4374
+ "maxLength": 255,
4375
+ "enum": [
4376
+ "native",
4377
+ "basic"
4378
+ ]
4379
+ },
4380
+ "viewportSize": {
4381
+ "type": "string",
4382
+ "minLength": 1,
4383
+ "maxLength": 255,
4384
+ "enum": [
4385
+ "small",
4386
+ "medium",
4387
+ "large",
4388
+ "xlarge"
4389
+ ]
4390
+ },
4391
+ "resolver": {
4392
+ "additionalProperties": false,
4393
+ "type": "object",
4394
+ "properties": {
4395
+ "function": {
4396
+ "type": "string",
4397
+ "minLength": 1,
4398
+ "maxLength": 255,
4399
+ "pattern": "^[a-zA-Z0-9-_]+$"
4400
+ }
4401
+ },
4402
+ "required": [
4403
+ "function"
4404
+ ]
4405
+ },
4406
+ "resource": {
4407
+ "type": "string",
4408
+ "minLength": 1,
4409
+ "maxLength": 23,
4410
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4411
+ },
4412
+ "resourceUploadId": {
4413
+ "type": "string",
4414
+ "minLength": 1,
4415
+ "maxLength": 255
4416
+ },
4417
+ "key": {
4418
+ "$ref": "#/definitions/ModuleKeySchema"
4419
+ }
4420
+ }
4421
+ }
4422
+ ]
4423
+ },
4424
+ "minItems": 1
4425
+ },
4426
+ "jiraServiceManagement:portalFooter": {
4427
+ "type": "array",
4428
+ "items": {
4429
+ "oneOf": [
4430
+ {
4431
+ "type": "object",
4432
+ "required": [
4433
+ "function",
4434
+ "key"
4435
+ ],
4436
+ "properties": {
4437
+ "layout": {
4438
+ "type": "string",
4439
+ "minLength": 1,
4440
+ "maxLength": 255,
4441
+ "enum": [
4442
+ "native",
4443
+ "basic"
4444
+ ]
4445
+ },
4446
+ "pages": {
4447
+ "type": "array",
4448
+ "items": {
4449
+ "type": "string",
4450
+ "enum": [
4451
+ "help_center",
4452
+ "portal",
4453
+ "create_request",
4454
+ "view_request",
4455
+ "my_requests",
4456
+ "approvals",
4457
+ "profile"
4458
+ ]
4459
+ }
4460
+ },
4461
+ "viewportSize": {
4462
+ "type": "string",
4463
+ "minLength": 1,
4464
+ "maxLength": 255,
4465
+ "enum": [
4466
+ "xsmall",
4467
+ "small",
4468
+ "medium",
4469
+ "large",
4470
+ "xlarge"
4471
+ ]
4472
+ },
4473
+ "function": {
4474
+ "type": "string",
4475
+ "minLength": 1,
4476
+ "maxLength": 255,
4477
+ "pattern": "^[a-zA-Z0-9-_]+$"
4478
+ },
4479
+ "key": {
4480
+ "$ref": "#/definitions/ModuleKeySchema"
4481
+ }
4482
+ }
4483
+ },
4484
+ {
4485
+ "type": "object",
4486
+ "required": [
4487
+ "resource",
4488
+ "key"
4489
+ ],
4490
+ "properties": {
4491
+ "pages": {
4492
+ "type": "array",
4493
+ "items": {
4494
+ "type": "string",
4495
+ "enum": [
4496
+ "help_center",
4497
+ "portal",
4498
+ "create_request",
4499
+ "view_request",
4500
+ "my_requests",
4501
+ "approvals",
4502
+ "profile"
4503
+ ]
4504
+ }
4505
+ },
4506
+ "viewportSize": {
4507
+ "type": "string",
4508
+ "minLength": 1,
4509
+ "maxLength": 255,
4510
+ "enum": [
4511
+ "xsmall",
4512
+ "small",
4513
+ "medium",
4514
+ "large",
4515
+ "xlarge"
4516
+ ]
4517
+ },
4518
+ "resolver": {
4519
+ "additionalProperties": false,
4520
+ "type": "object",
4521
+ "properties": {
4522
+ "function": {
4523
+ "type": "string",
4524
+ "minLength": 1,
4525
+ "maxLength": 255,
4526
+ "pattern": "^[a-zA-Z0-9-_]+$"
4527
+ }
4528
+ },
4529
+ "required": [
4530
+ "function"
4531
+ ]
4532
+ },
4533
+ "resource": {
4534
+ "type": "string",
4535
+ "minLength": 1,
4536
+ "maxLength": 23,
4537
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4538
+ },
4539
+ "resourceUploadId": {
4540
+ "type": "string",
4541
+ "minLength": 1,
4542
+ "maxLength": 255
4543
+ },
4544
+ "key": {
4545
+ "$ref": "#/definitions/ModuleKeySchema"
4546
+ }
4547
+ }
4548
+ }
4549
+ ]
4550
+ },
4551
+ "minItems": 1
4552
+ },
4553
+ "jiraServiceManagement:portalHeader": {
4554
+ "type": "array",
4555
+ "items": {
4556
+ "oneOf": [
4557
+ {
4558
+ "type": "object",
4559
+ "required": [
4560
+ "function",
4561
+ "key"
4562
+ ],
4563
+ "properties": {
4564
+ "pages": {
4565
+ "type": "array",
4566
+ "items": {
4567
+ "type": "string",
4568
+ "enum": [
4569
+ "help_center",
4570
+ "portal",
4571
+ "create_request",
4572
+ "view_request",
4573
+ "my_requests",
4574
+ "approvals",
4575
+ "profile"
4576
+ ]
4577
+ }
4578
+ },
4579
+ "viewportSize": {
4580
+ "type": "string",
4581
+ "minLength": 1,
4582
+ "maxLength": 255,
4583
+ "enum": [
4584
+ "xsmall",
4585
+ "small",
4586
+ "medium",
4587
+ "large",
4588
+ "xlarge"
4589
+ ]
4590
+ },
4591
+ "function": {
4592
+ "type": "string",
4593
+ "minLength": 1,
4594
+ "maxLength": 255,
4595
+ "pattern": "^[a-zA-Z0-9-_]+$"
4596
+ },
4597
+ "key": {
4598
+ "$ref": "#/definitions/ModuleKeySchema"
4599
+ }
4600
+ }
4601
+ },
4602
+ {
4603
+ "type": "object",
4604
+ "required": [
4605
+ "resource",
4606
+ "key"
4607
+ ],
4608
+ "properties": {
4609
+ "pages": {
4610
+ "type": "array",
4611
+ "items": {
4612
+ "type": "string",
4613
+ "enum": [
4614
+ "help_center",
4615
+ "portal",
4616
+ "create_request",
4617
+ "view_request",
4618
+ "my_requests",
4619
+ "approvals",
4620
+ "profile"
4621
+ ]
4622
+ }
4623
+ },
4624
+ "viewportSize": {
4625
+ "type": "string",
4626
+ "minLength": 1,
4627
+ "maxLength": 255,
4628
+ "enum": [
4629
+ "xsmall",
4630
+ "small",
4631
+ "medium",
4632
+ "large",
4633
+ "xlarge"
4634
+ ]
4635
+ },
4636
+ "resolver": {
4637
+ "additionalProperties": false,
4638
+ "type": "object",
4639
+ "properties": {
4640
+ "function": {
4641
+ "type": "string",
4642
+ "minLength": 1,
4643
+ "maxLength": 255,
4644
+ "pattern": "^[a-zA-Z0-9-_]+$"
4645
+ }
4646
+ },
4647
+ "required": [
4648
+ "function"
4649
+ ]
4650
+ },
4651
+ "resource": {
4652
+ "type": "string",
4653
+ "minLength": 1,
4654
+ "maxLength": 23,
4655
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4656
+ },
4657
+ "resourceUploadId": {
4658
+ "type": "string",
4659
+ "minLength": 1,
4660
+ "maxLength": 255
4661
+ },
4662
+ "key": {
4663
+ "$ref": "#/definitions/ModuleKeySchema"
4664
+ }
4665
+ }
4666
+ }
4667
+ ]
4668
+ },
4669
+ "minItems": 1
4670
+ },
4671
+ "jiraServiceManagement:portalSubheader": {
4672
+ "type": "array",
4673
+ "items": {
4674
+ "oneOf": [
4675
+ {
4676
+ "type": "object",
4677
+ "required": [
4678
+ "function",
4679
+ "key"
4680
+ ],
4681
+ "properties": {
4682
+ "pages": {
4683
+ "type": "array",
4684
+ "items": {
4685
+ "type": "string",
4686
+ "enum": [
4687
+ "help_center",
4688
+ "portal",
4689
+ "create_request",
4690
+ "view_request",
4691
+ "my_requests",
4692
+ "approvals",
4693
+ "profile"
4694
+ ]
4695
+ }
4696
+ },
4697
+ "viewportSize": {
4698
+ "type": "string",
4699
+ "minLength": 1,
4700
+ "maxLength": 255,
4701
+ "enum": [
4702
+ "xsmall",
4703
+ "small",
4704
+ "medium",
4705
+ "large",
4706
+ "xlarge"
4707
+ ]
4708
+ },
4709
+ "function": {
4710
+ "type": "string",
4711
+ "minLength": 1,
4712
+ "maxLength": 255,
4713
+ "pattern": "^[a-zA-Z0-9-_]+$"
4714
+ },
4715
+ "key": {
4716
+ "$ref": "#/definitions/ModuleKeySchema"
4717
+ }
4718
+ }
4719
+ },
4720
+ {
4721
+ "type": "object",
4722
+ "required": [
4723
+ "resource",
4724
+ "key"
4725
+ ],
4726
+ "properties": {
4727
+ "pages": {
4728
+ "type": "array",
4729
+ "items": {
4730
+ "type": "string",
4731
+ "enum": [
4732
+ "help_center",
4733
+ "portal",
4734
+ "create_request",
4735
+ "view_request",
4736
+ "my_requests",
4737
+ "approvals",
4738
+ "profile"
4739
+ ]
4740
+ }
4741
+ },
4742
+ "viewportSize": {
4743
+ "type": "string",
4744
+ "minLength": 1,
4745
+ "maxLength": 255,
4746
+ "enum": [
4747
+ "xsmall",
4748
+ "small",
4749
+ "medium",
4750
+ "large",
4751
+ "xlarge"
4752
+ ]
4753
+ },
4754
+ "resolver": {
4755
+ "additionalProperties": false,
4756
+ "type": "object",
4757
+ "properties": {
4758
+ "function": {
4759
+ "type": "string",
4760
+ "minLength": 1,
4761
+ "maxLength": 255,
4762
+ "pattern": "^[a-zA-Z0-9-_]+$"
4763
+ }
4764
+ },
4765
+ "required": [
4766
+ "function"
4767
+ ]
4768
+ },
4769
+ "resource": {
4770
+ "type": "string",
4771
+ "minLength": 1,
4772
+ "maxLength": 23,
4773
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4774
+ },
4775
+ "resourceUploadId": {
4776
+ "type": "string",
4777
+ "minLength": 1,
4778
+ "maxLength": 255
4779
+ },
4780
+ "key": {
4781
+ "$ref": "#/definitions/ModuleKeySchema"
4782
+ }
4783
+ }
4784
+ }
4785
+ ]
4786
+ },
4787
+ "minItems": 1
4788
+ },
4789
+ "jiraServiceManagement:portalProfilePanel": {
4790
+ "type": "array",
4791
+ "items": {
4792
+ "oneOf": [
4793
+ {
4794
+ "type": "object",
4795
+ "required": [
4796
+ "title",
4797
+ "function",
4798
+ "key"
4799
+ ],
4800
+ "properties": {
4801
+ "title": {
4802
+ "type": "string",
4803
+ "minLength": 1,
4804
+ "maxLength": 255
4805
+ },
4806
+ "icon": {
4807
+ "type": "string",
4808
+ "minLength": 1,
4809
+ "maxLength": 255
4810
+ },
4811
+ "layout": {
4812
+ "type": "string",
4813
+ "minLength": 1,
4814
+ "maxLength": 255,
4815
+ "enum": [
4816
+ "native",
4817
+ "basic"
4818
+ ]
4819
+ },
4820
+ "function": {
4821
+ "type": "string",
4822
+ "minLength": 1,
4823
+ "maxLength": 255,
4824
+ "pattern": "^[a-zA-Z0-9-_]+$"
4825
+ },
4826
+ "key": {
4827
+ "$ref": "#/definitions/ModuleKeySchema"
4828
+ }
4829
+ }
4830
+ },
4831
+ {
4832
+ "type": "object",
4833
+ "required": [
4834
+ "title",
4835
+ "resource",
4836
+ "key"
4837
+ ],
4838
+ "properties": {
4839
+ "title": {
4840
+ "type": "string",
4841
+ "minLength": 1,
4842
+ "maxLength": 255
4843
+ },
4844
+ "icon": {
4845
+ "type": "string",
4846
+ "minLength": 1,
4847
+ "maxLength": 255
4848
+ },
4849
+ "layout": {
4850
+ "type": "string",
4851
+ "minLength": 1,
4852
+ "maxLength": 255,
4853
+ "enum": [
4854
+ "native",
4855
+ "basic"
4856
+ ]
4857
+ },
4858
+ "viewportSize": {
4859
+ "type": "string",
4860
+ "minLength": 1,
4861
+ "maxLength": 255,
4862
+ "enum": [
4863
+ "small",
4864
+ "medium",
4865
+ "large",
4866
+ "xlarge"
4867
+ ]
4868
+ },
4869
+ "resolver": {
4870
+ "additionalProperties": false,
4871
+ "type": "object",
4872
+ "properties": {
4873
+ "function": {
4874
+ "type": "string",
4875
+ "minLength": 1,
4876
+ "maxLength": 255,
4877
+ "pattern": "^[a-zA-Z0-9-_]+$"
4878
+ }
4879
+ },
4880
+ "required": [
4881
+ "function"
4882
+ ]
4883
+ },
4884
+ "resource": {
4885
+ "type": "string",
4886
+ "minLength": 1,
4887
+ "maxLength": 23,
4888
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4889
+ },
4890
+ "resourceUploadId": {
4891
+ "type": "string",
4892
+ "minLength": 1,
4893
+ "maxLength": 255
4894
+ },
4895
+ "key": {
4896
+ "$ref": "#/definitions/ModuleKeySchema"
4897
+ }
4898
+ }
4899
+ }
4900
+ ]
4901
+ },
4902
+ "minItems": 1
4903
+ },
4904
+ "connect-jira:keyboardShortcuts": {
4905
+ "type": "array",
4906
+ "items": {
4907
+ "properties": {
4908
+ "shortcut": {
4909
+ "pattern": "[a-z]{1,3}",
4910
+ "maxLength": 3,
4911
+ "type": "string",
4912
+ "fieldDescription": "\n\nThe shortcut sequence. The current limitations are\n\n <ul>\n <li>the sequence cannot shadow an existing product shortcut</li>\n <li>can only contain lowercase letters</li>\n <li>has to be shorter than 4 characters</li>\n </ul>\n\n"
4913
+ },
4914
+ "context": {
4915
+ "enum": [
4916
+ "global",
3719
4917
  "GLOBAL",
3720
4918
  "issue_navigation",
3721
4919
  "ISSUE_NAVIGATION",
@@ -3867,10 +5065,10 @@
3867
5065
  "type": "object",
3868
5066
  "anyOf": [
3869
5067
  {
3870
- "$ref": "#/definitions/compositeCondition"
5068
+ "$ref": "#/definitions/singleCondition"
3871
5069
  },
3872
5070
  {
3873
- "$ref": "#/definitions/singleCondition"
5071
+ "$ref": "#/definitions/compositeCondition"
3874
5072
  }
3875
5073
  ]
3876
5074
  },
@@ -3922,10 +5120,10 @@
3922
5120
  "type": "object",
3923
5121
  "anyOf": [
3924
5122
  {
3925
- "$ref": "#/definitions/singleCondition"
5123
+ "$ref": "#/definitions/compositeCondition"
3926
5124
  },
3927
5125
  {
3928
- "$ref": "#/definitions/compositeCondition"
5126
+ "$ref": "#/definitions/singleCondition"
3929
5127
  }
3930
5128
  ]
3931
5129
  },
@@ -4338,33 +5536,6 @@
4338
5536
  "items": {
4339
5537
  "type": "object",
4340
5538
  "anyOf": [
4341
- {
4342
- "properties": {
4343
- "condition": {
4344
- "maxLength": 100,
4345
- "type": "string",
4346
- "fieldDescription": "\n\nA string indicating the name of the condition\n\n"
4347
- },
4348
- "invert": {
4349
- "type": "boolean",
4350
- "fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
4351
- "defaultValue": "false"
4352
- },
4353
- "params": {
4354
- "additionalProperties": true,
4355
- "type": "object",
4356
- "fieldTitle": "Object",
4357
- "fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
4358
- }
4359
- },
4360
- "required": [
4361
- "condition"
4362
- ],
4363
- "shortClassName": "singleConditionBean",
4364
- "type": "object",
4365
- "title": "Single Condition",
4366
- "description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
4367
- },
4368
5539
  {
4369
5540
  "properties": {
4370
5541
  "conditions": {
@@ -4397,6 +5568,33 @@
4397
5568
  "type": "object",
4398
5569
  "title": "Composite Condition",
4399
5570
  "description": "\n\nComposite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions\n and a type attribute.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"conditions\": [\n {\n \"or\": [\n {\n \"condition\": \"can_attach_file_to_issue\",\n \"invert\": false\n },\n {\n \"condition\": \"is_issue_assigned_to_current_user\",\n \"invert\": false\n }\n ]\n },\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n ]\n }\n\n\n"
5571
+ },
5572
+ {
5573
+ "properties": {
5574
+ "condition": {
5575
+ "maxLength": 100,
5576
+ "type": "string",
5577
+ "fieldDescription": "\n\nA string indicating the name of the condition\n\n"
5578
+ },
5579
+ "invert": {
5580
+ "type": "boolean",
5581
+ "fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
5582
+ "defaultValue": "false"
5583
+ },
5584
+ "params": {
5585
+ "additionalProperties": true,
5586
+ "type": "object",
5587
+ "fieldTitle": "Object",
5588
+ "fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
5589
+ }
5590
+ },
5591
+ "required": [
5592
+ "condition"
5593
+ ],
5594
+ "shortClassName": "singleConditionBean",
5595
+ "type": "object",
5596
+ "title": "Single Condition",
5597
+ "description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
4400
5598
  }
4401
5599
  ]
4402
5600
  },
@@ -6121,10 +7319,10 @@
6121
7319
  "type": "object",
6122
7320
  "anyOf": [
6123
7321
  {
6124
- "$ref": "#/definitions/compositeCondition"
7322
+ "$ref": "#/definitions/singleCondition"
6125
7323
  },
6126
7324
  {
6127
- "$ref": "#/definitions/singleCondition"
7325
+ "$ref": "#/definitions/compositeCondition"
6128
7326
  }
6129
7327
  ]
6130
7328
  },
@@ -6247,10 +7445,10 @@
6247
7445
  "type": "object",
6248
7446
  "anyOf": [
6249
7447
  {
6250
- "$ref": "#/definitions/singleCondition"
7448
+ "$ref": "#/definitions/compositeCondition"
6251
7449
  },
6252
7450
  {
6253
- "$ref": "#/definitions/compositeCondition"
7451
+ "$ref": "#/definitions/singleCondition"
6254
7452
  }
6255
7453
  ]
6256
7454
  },
@@ -6545,6 +7743,22 @@
6545
7743
  "title": "Dialog Options",
6546
7744
  "description": "\n\nOptions for a modal dialog <a href=\"../web-item-target/\">web item target</a> or <a href=\"../dialog/\">common module</a>.\n\n <p>\n These options are a subset of those available via the <a href=\"../../jsapi/dialog/\">JavaScript API</a>.\n </p>\n\n <h2>Web Item Example</h2>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialog\",\n \"options\": {\n \"height\": \"100px\",\n \"width\": \"200px\"\n }\n }\n }\n\n\n\n\n <h2>Dialog Example</h2>\n\n\n\n\n\n {\n \"modules\": {\n \"dialogs\": [\n {\n \"url\": \"/my-dialog-content\",\n \"options\": {\n \"size\": \"fullscreen\",\n \"header\": {\n \"value\": \"Example Dialog\"\n }\n },\n \"key\": \"dialog-module-key\"\n }\n ]\n }\n }\n\n\n"
6547
7745
  },
7746
+ {
7747
+ "properties": {
7748
+ "key": {
7749
+ "maxLength": 100,
7750
+ "type": "string",
7751
+ "fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
7752
+ }
7753
+ },
7754
+ "required": [
7755
+ "key"
7756
+ ],
7757
+ "shortClassName": "dialogModuleOptions",
7758
+ "type": "object",
7759
+ "title": "Dialog Module Options",
7760
+ "description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
7761
+ },
6548
7762
  {
6549
7763
  "properties": {
6550
7764
  "offsetX": {
@@ -6591,22 +7805,6 @@
6591
7805
  "type": "object",
6592
7806
  "title": "Inline Dialog Options",
6593
7807
  "description": "\n\nOptions for an inline dialog target\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"inlinedialog\",\n \"options\": {\n \"onHover\": true,\n \"offsetX\": \"30px\",\n \"offsetY\": \"20px\"\n }\n }\n }\n\n\n"
6594
- },
6595
- {
6596
- "properties": {
6597
- "key": {
6598
- "maxLength": 100,
6599
- "type": "string",
6600
- "fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
6601
- }
6602
- },
6603
- "required": [
6604
- "key"
6605
- ],
6606
- "shortClassName": "dialogModuleOptions",
6607
- "type": "object",
6608
- "title": "Dialog Module Options",
6609
- "description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
6610
7808
  }
6611
7809
  ]
6612
7810
  },
@@ -6663,6 +7861,33 @@
6663
7861
  "items": {
6664
7862
  "type": "object",
6665
7863
  "anyOf": [
7864
+ {
7865
+ "properties": {
7866
+ "condition": {
7867
+ "maxLength": 100,
7868
+ "type": "string",
7869
+ "fieldDescription": "\n\nA string indicating the name of the condition\n\n"
7870
+ },
7871
+ "invert": {
7872
+ "type": "boolean",
7873
+ "fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
7874
+ "defaultValue": "false"
7875
+ },
7876
+ "params": {
7877
+ "additionalProperties": true,
7878
+ "type": "object",
7879
+ "fieldTitle": "Object",
7880
+ "fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
7881
+ }
7882
+ },
7883
+ "required": [
7884
+ "condition"
7885
+ ],
7886
+ "shortClassName": "singleConditionBean",
7887
+ "type": "object",
7888
+ "title": "Single Condition",
7889
+ "description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
7890
+ },
6666
7891
  {
6667
7892
  "properties": {
6668
7893
  "conditions": {
@@ -6670,10 +7895,10 @@
6670
7895
  "type": "object",
6671
7896
  "anyOf": [
6672
7897
  {
6673
- "$ref": "#/definitions/singleCondition"
7898
+ "$ref": "#"
6674
7899
  },
6675
7900
  {
6676
- "$ref": "#"
7901
+ "$ref": "#/definitions/singleCondition"
6677
7902
  }
6678
7903
  ]
6679
7904
  },
@@ -6695,33 +7920,6 @@
6695
7920
  "type": "object",
6696
7921
  "title": "Composite Condition",
6697
7922
  "description": "\n\nComposite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions\n and a type attribute.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"conditions\": [\n {\n \"or\": [\n {\n \"condition\": \"can_attach_file_to_issue\",\n \"invert\": false\n },\n {\n \"condition\": \"is_issue_assigned_to_current_user\",\n \"invert\": false\n }\n ]\n },\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n ]\n }\n\n\n"
6698
- },
6699
- {
6700
- "properties": {
6701
- "condition": {
6702
- "maxLength": 100,
6703
- "type": "string",
6704
- "fieldDescription": "\n\nA string indicating the name of the condition\n\n"
6705
- },
6706
- "invert": {
6707
- "type": "boolean",
6708
- "fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
6709
- "defaultValue": "false"
6710
- },
6711
- "params": {
6712
- "additionalProperties": true,
6713
- "type": "object",
6714
- "fieldTitle": "Object",
6715
- "fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
6716
- }
6717
- },
6718
- "required": [
6719
- "condition"
6720
- ],
6721
- "shortClassName": "singleConditionBean",
6722
- "type": "object",
6723
- "title": "Single Condition",
6724
- "description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
6725
7923
  }
6726
7924
  ]
6727
7925
  },
@@ -6775,10 +7973,10 @@
6775
7973
  "type": "object",
6776
7974
  "anyOf": [
6777
7975
  {
6778
- "$ref": "#/definitions/compositeCondition"
7976
+ "$ref": "#/definitions/singleCondition"
6779
7977
  },
6780
7978
  {
6781
- "$ref": "#/definitions/singleCondition"
7979
+ "$ref": "#/definitions/compositeCondition"
6782
7980
  }
6783
7981
  ]
6784
7982
  },
@@ -6960,10 +8158,10 @@
6960
8158
  "type": "object",
6961
8159
  "anyOf": [
6962
8160
  {
6963
- "$ref": "#/definitions/singleCondition"
8161
+ "$ref": "#"
6964
8162
  },
6965
8163
  {
6966
- "$ref": "#"
8164
+ "$ref": "#/definitions/singleCondition"
6967
8165
  }
6968
8166
  ]
6969
8167
  },
@@ -7258,38 +8456,6 @@
7258
8456
  "items": {
7259
8457
  "type": "object",
7260
8458
  "anyOf": [
7261
- {
7262
- "properties": {
7263
- "label": {
7264
- "$ref": "#/definitions/i18nProperty",
7265
- "fieldDescription": "\n\nText which will appear inside the button\n\n"
7266
- },
7267
- "type": {
7268
- "enum": [
7269
- "button",
7270
- "BUTTON"
7271
- ],
7272
- "type": "string",
7273
- "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
7274
- },
7275
- "key": {
7276
- "pattern": "^[a-zA-Z0-9-]+$",
7277
- "maxLength": 100,
7278
- "type": "string",
7279
- "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
7280
- }
7281
- },
7282
- "required": [
7283
- "label",
7284
- "type",
7285
- "key"
7286
- ],
7287
- "additionalProperties": true,
7288
- "shortClassName": "buttonControlBean",
7289
- "type": "object",
7290
- "title": "ButtonControl",
7291
- "description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
7292
- },
7293
8459
  {
7294
8460
  "properties": {
7295
8461
  "controls": {
@@ -7446,6 +8612,38 @@
7446
8612
  "type": "object",
7447
8613
  "title": "TextControl",
7448
8614
  "description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
8615
+ },
8616
+ {
8617
+ "properties": {
8618
+ "label": {
8619
+ "$ref": "#/definitions/i18nProperty",
8620
+ "fieldDescription": "\n\nText which will appear inside the button\n\n"
8621
+ },
8622
+ "type": {
8623
+ "enum": [
8624
+ "button",
8625
+ "BUTTON"
8626
+ ],
8627
+ "type": "string",
8628
+ "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
8629
+ },
8630
+ "key": {
8631
+ "pattern": "^[a-zA-Z0-9-]+$",
8632
+ "maxLength": 100,
8633
+ "type": "string",
8634
+ "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
8635
+ }
8636
+ },
8637
+ "required": [
8638
+ "label",
8639
+ "type",
8640
+ "key"
8641
+ ],
8642
+ "additionalProperties": true,
8643
+ "shortClassName": "buttonControlBean",
8644
+ "type": "object",
8645
+ "title": "ButtonControl",
8646
+ "description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
7449
8647
  }
7450
8648
  ]
7451
8649
  },
@@ -7740,27 +8938,54 @@
7740
8938
  "items": {
7741
8939
  "type": "object",
7742
8940
  "anyOf": [
8941
+ {
8942
+ "properties": {
8943
+ "label": {
8944
+ "$ref": "#/definitions/i18nProperty",
8945
+ "fieldDescription": "\n\nText which will appear inside the button\n\n"
8946
+ },
8947
+ "type": {
8948
+ "enum": [
8949
+ "button",
8950
+ "BUTTON"
8951
+ ],
8952
+ "type": "string",
8953
+ "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
8954
+ },
8955
+ "key": {
8956
+ "pattern": "^[a-zA-Z0-9-]+$",
8957
+ "maxLength": 100,
8958
+ "type": "string",
8959
+ "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
8960
+ }
8961
+ },
8962
+ "required": [
8963
+ "label",
8964
+ "type",
8965
+ "key"
8966
+ ],
8967
+ "additionalProperties": true,
8968
+ "shortClassName": "buttonControlBean",
8969
+ "type": "object",
8970
+ "title": "ButtonControl",
8971
+ "description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
8972
+ },
7743
8973
  {
7744
8974
  "properties": {
7745
8975
  "controls": {
7746
8976
  "items": {
7747
8977
  "properties": {
7748
- "macroParameterValue": {
7749
- "maxLength": 10000,
7750
- "type": "string",
7751
- "fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
7752
- },
7753
8978
  "label": {
7754
8979
  "$ref": "#/definitions/i18nProperty",
7755
8980
  "fieldDescription": "\n\nText which will appear inside the button\n\n"
7756
8981
  },
7757
8982
  "type": {
7758
8983
  "enum": [
7759
- "togglebutton",
7760
- "TOGGLEBUTTON"
8984
+ "button",
8985
+ "BUTTON"
7761
8986
  ],
7762
8987
  "type": "string",
7763
- "fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
8988
+ "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
7764
8989
  },
7765
8990
  "key": {
7766
8991
  "pattern": "^[a-zA-Z0-9-]+$",
@@ -7770,93 +8995,58 @@
7770
8995
  }
7771
8996
  },
7772
8997
  "required": [
7773
- "macroParameterValue",
7774
8998
  "label",
7775
8999
  "type",
7776
9000
  "key"
7777
9001
  ],
7778
9002
  "additionalProperties": true,
7779
- "shortClassName": "macroToggleButtonControlBean",
9003
+ "shortClassName": "buttonControlBean",
7780
9004
  "type": "object",
7781
- "title": "ToggleButtonControl",
7782
- "description": "\n\nDefines a toggle button which appears inside a ToggleGroup\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n }\n\n\n"
9005
+ "title": "ButtonControl",
9006
+ "description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
7783
9007
  },
7784
9008
  "type": "array",
7785
- "fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
7786
- },
7787
- "macroParameter": {
7788
- "pattern": "[-_a-z0-9\\.]+",
7789
- "maxLength": 100,
7790
- "type": "string",
7791
- "fieldDescription": "\n\nThe macro parameter identifier used to store the toggle state.\n It must only contain lowercase alphanumeric characters, dashes, underscores, dots and must not contain any spaces.\n\n"
9009
+ "fieldDescription": "\n\nControls which will appear in the control group\n\n"
7792
9010
  },
7793
9011
  "type": {
7794
9012
  "enum": [
7795
- "togglegroup",
7796
- "TOGGLEGROUP"
9013
+ "group",
9014
+ "GROUP"
7797
9015
  ],
7798
9016
  "type": "string",
7799
- "fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
9017
+ "fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
7800
9018
  }
7801
9019
  },
7802
9020
  "required": [
7803
9021
  "controls",
7804
- "macroParameter",
7805
9022
  "type"
7806
9023
  ],
7807
- "shortClassName": "macroToggleGroupBean",
7808
- "type": "object",
7809
- "title": "ToggleGroup",
7810
- "description": "\n\nDefines a ToggleGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"togglegroup\",\n \"macroParameter\": \"toggleGroupMacroParameter\",\n \"controls\": [\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n },\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 1\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-toggle-button-1\"\n }\n ]\n }\n ]\n\n\n"
7811
- },
7812
- {
7813
- "properties": {
7814
- "macroParameter": {
7815
- "maxLength": 100,
7816
- "type": "string",
7817
- "fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
7818
- },
7819
- "type": {
7820
- "enum": [
7821
- "text",
7822
- "TEXT"
7823
- ],
7824
- "type": "string",
7825
- "fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
7826
- },
7827
- "key": {
7828
- "pattern": "^[a-zA-Z0-9-]+$",
7829
- "maxLength": 100,
7830
- "type": "string",
7831
- "fieldDescription": "\n\nA key to identify this module.\n\n This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be\n globally unique.\n\n Keys must only contain alphanumeric characters and dashes.\n\n The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on\n key and module key. For example, an add-on which looks like:\n\n {\n \"key\": \"my-addon\",\n \"modules\": {\n \"configurePage\": {\n \"key\": \"configure-me\",\n }\n }\n }\n\n Will have a configuration page module with a URL of `/plugins/servlet/ac/my-addon/configure-me`.\n\n"
7832
- }
7833
- },
7834
- "required": [
7835
- "macroParameter",
7836
- "type",
7837
- "key"
7838
- ],
7839
- "shortClassName": "textControlBean",
9024
+ "shortClassName": "controlGroupBean",
7840
9025
  "type": "object",
7841
- "title": "TextControl",
7842
- "description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
9026
+ "title": "ControlGroup",
9027
+ "description": "\n\nDefines a ControlGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"group\",\n \"controls\": [\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n },\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-control-1\"\n }\n ]\n }\n ]\n\n\n"
7843
9028
  },
7844
9029
  {
7845
9030
  "properties": {
7846
9031
  "controls": {
7847
9032
  "items": {
7848
9033
  "properties": {
9034
+ "macroParameterValue": {
9035
+ "maxLength": 10000,
9036
+ "type": "string",
9037
+ "fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
9038
+ },
7849
9039
  "label": {
7850
9040
  "$ref": "#/definitions/i18nProperty",
7851
9041
  "fieldDescription": "\n\nText which will appear inside the button\n\n"
7852
9042
  },
7853
9043
  "type": {
7854
9044
  "enum": [
7855
- "button",
7856
- "BUTTON"
9045
+ "togglebutton",
9046
+ "TOGGLEBUTTON"
7857
9047
  ],
7858
9048
  "type": "string",
7859
- "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
9049
+ "fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
7860
9050
  },
7861
9051
  "key": {
7862
9052
  "pattern": "^[a-zA-Z0-9-]+$",
@@ -7866,68 +9056,76 @@
7866
9056
  }
7867
9057
  },
7868
9058
  "required": [
9059
+ "macroParameterValue",
7869
9060
  "label",
7870
9061
  "type",
7871
9062
  "key"
7872
9063
  ],
7873
9064
  "additionalProperties": true,
7874
- "shortClassName": "buttonControlBean",
9065
+ "shortClassName": "macroToggleButtonControlBean",
7875
9066
  "type": "object",
7876
- "title": "ButtonControl",
7877
- "description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
9067
+ "title": "ToggleButtonControl",
9068
+ "description": "\n\nDefines a toggle button which appears inside a ToggleGroup\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n }\n\n\n"
7878
9069
  },
7879
9070
  "type": "array",
7880
- "fieldDescription": "\n\nControls which will appear in the control group\n\n"
9071
+ "fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
9072
+ },
9073
+ "macroParameter": {
9074
+ "pattern": "[-_a-z0-9\\.]+",
9075
+ "maxLength": 100,
9076
+ "type": "string",
9077
+ "fieldDescription": "\n\nThe macro parameter identifier used to store the toggle state.\n It must only contain lowercase alphanumeric characters, dashes, underscores, dots and must not contain any spaces.\n\n"
7881
9078
  },
7882
9079
  "type": {
7883
9080
  "enum": [
7884
- "group",
7885
- "GROUP"
9081
+ "togglegroup",
9082
+ "TOGGLEGROUP"
7886
9083
  ],
7887
9084
  "type": "string",
7888
- "fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
9085
+ "fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
7889
9086
  }
7890
9087
  },
7891
9088
  "required": [
7892
9089
  "controls",
9090
+ "macroParameter",
7893
9091
  "type"
7894
9092
  ],
7895
- "shortClassName": "controlGroupBean",
9093
+ "shortClassName": "macroToggleGroupBean",
7896
9094
  "type": "object",
7897
- "title": "ControlGroup",
7898
- "description": "\n\nDefines a ControlGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"group\",\n \"controls\": [\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n },\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-control-1\"\n }\n ]\n }\n ]\n\n\n"
9095
+ "title": "ToggleGroup",
9096
+ "description": "\n\nDefines a ToggleGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"togglegroup\",\n \"macroParameter\": \"toggleGroupMacroParameter\",\n \"controls\": [\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n },\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 1\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-toggle-button-1\"\n }\n ]\n }\n ]\n\n\n"
7899
9097
  },
7900
9098
  {
7901
9099
  "properties": {
7902
- "label": {
7903
- "$ref": "#/definitions/i18nProperty",
7904
- "fieldDescription": "\n\nText which will appear inside the button\n\n"
9100
+ "macroParameter": {
9101
+ "maxLength": 100,
9102
+ "type": "string",
9103
+ "fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
7905
9104
  },
7906
9105
  "type": {
7907
9106
  "enum": [
7908
- "button",
7909
- "BUTTON"
9107
+ "text",
9108
+ "TEXT"
7910
9109
  ],
7911
9110
  "type": "string",
7912
- "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
9111
+ "fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
7913
9112
  },
7914
9113
  "key": {
7915
9114
  "pattern": "^[a-zA-Z0-9-]+$",
7916
9115
  "maxLength": 100,
7917
9116
  "type": "string",
7918
- "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
9117
+ "fieldDescription": "\n\nA key to identify this module.\n\n This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be\n globally unique.\n\n Keys must only contain alphanumeric characters and dashes.\n\n The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on\n key and module key. For example, an add-on which looks like:\n\n {\n \"key\": \"my-addon\",\n \"modules\": {\n \"configurePage\": {\n \"key\": \"configure-me\",\n }\n }\n }\n\n Will have a configuration page module with a URL of `/plugins/servlet/ac/my-addon/configure-me`.\n\n"
7919
9118
  }
7920
9119
  },
7921
9120
  "required": [
7922
- "label",
9121
+ "macroParameter",
7923
9122
  "type",
7924
9123
  "key"
7925
9124
  ],
7926
- "additionalProperties": true,
7927
- "shortClassName": "buttonControlBean",
9125
+ "shortClassName": "textControlBean",
7928
9126
  "type": "object",
7929
- "title": "ButtonControl",
7930
- "description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
9127
+ "title": "TextControl",
9128
+ "description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
7931
9129
  }
7932
9130
  ]
7933
9131
  },
@@ -8165,19 +9363,50 @@
8165
9363
  "anyOf": [
8166
9364
  {
8167
9365
  "properties": {
8168
- "key": {
8169
- "maxLength": 100,
9366
+ "offsetX": {
9367
+ "maxLength": 10,
8170
9368
  "type": "string",
8171
- "fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
9369
+ "fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
9370
+ },
9371
+ "offsetY": {
9372
+ "maxLength": 10,
9373
+ "type": "string",
9374
+ "fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
9375
+ },
9376
+ "width": {
9377
+ "maxLength": 10,
9378
+ "type": "string",
9379
+ "fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
9380
+ },
9381
+ "onTop": {
9382
+ "type": "boolean",
9383
+ "fieldDescription": "\n\nDetermines if the dialog should be shown above the trigger or not. If this option is true but there is insufficient room above the trigger the inline-dialog will be flipped to display below it\n\n"
9384
+ },
9385
+ "showDelay": {
9386
+ "type": "integer",
9387
+ "fieldDescription": "\n\nDetermines how long in milliseconds after a show trigger is fired (such as a trigger click) until the dialog is shown\n\n"
9388
+ },
9389
+ "closeOthers": {
9390
+ "type": "boolean",
9391
+ "fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
9392
+ },
9393
+ "persistent": {
9394
+ "type": "boolean",
9395
+ "fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
9396
+ },
9397
+ "onHover": {
9398
+ "type": "boolean",
9399
+ "fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
9400
+ },
9401
+ "isRelativeToMouse": {
9402
+ "type": "boolean",
9403
+ "fieldDescription": "\n\nDetermines if the dialog should be shown relative to where the mouse is at the time of the event trigger (normally a click) if set to false the dialog will show aligned to the left of the trigger with the arrow showing at the center\n\n"
8172
9404
  }
8173
9405
  },
8174
- "required": [
8175
- "key"
8176
- ],
8177
- "shortClassName": "dialogModuleOptions",
9406
+ "shortClassName": "inlineDialogOptions",
8178
9407
  "type": "object",
8179
- "title": "Dialog Module Options",
8180
- "description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
9408
+ "title": "Inline Dialog Options",
9409
+ "description": "\n\nOptions for an inline dialog target\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"inlinedialog\",\n \"options\": {\n \"onHover\": true,\n \"offsetX\": \"30px\",\n \"offsetY\": \"20px\"\n }\n }\n }\n\n\n"
8181
9410
  },
8182
9411
  {
8183
9412
  "properties": {
@@ -8226,50 +9455,19 @@
8226
9455
  },
8227
9456
  {
8228
9457
  "properties": {
8229
- "offsetX": {
8230
- "maxLength": 10,
8231
- "type": "string",
8232
- "fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
8233
- },
8234
- "offsetY": {
8235
- "maxLength": 10,
8236
- "type": "string",
8237
- "fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
8238
- },
8239
- "width": {
8240
- "maxLength": 10,
9458
+ "key": {
9459
+ "maxLength": 100,
8241
9460
  "type": "string",
8242
- "fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
8243
- },
8244
- "onTop": {
8245
- "type": "boolean",
8246
- "fieldDescription": "\n\nDetermines if the dialog should be shown above the trigger or not. If this option is true but there is insufficient room above the trigger the inline-dialog will be flipped to display below it\n\n"
8247
- },
8248
- "showDelay": {
8249
- "type": "integer",
8250
- "fieldDescription": "\n\nDetermines how long in milliseconds after a show trigger is fired (such as a trigger click) until the dialog is shown\n\n"
8251
- },
8252
- "closeOthers": {
8253
- "type": "boolean",
8254
- "fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
8255
- },
8256
- "persistent": {
8257
- "type": "boolean",
8258
- "fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
8259
- },
8260
- "onHover": {
8261
- "type": "boolean",
8262
- "fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
8263
- },
8264
- "isRelativeToMouse": {
8265
- "type": "boolean",
8266
- "fieldDescription": "\n\nDetermines if the dialog should be shown relative to where the mouse is at the time of the event trigger (normally a click) if set to false the dialog will show aligned to the left of the trigger with the arrow showing at the center\n\n"
9461
+ "fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
8267
9462
  }
8268
9463
  },
8269
- "shortClassName": "inlineDialogOptions",
9464
+ "required": [
9465
+ "key"
9466
+ ],
9467
+ "shortClassName": "dialogModuleOptions",
8270
9468
  "type": "object",
8271
- "title": "Inline Dialog Options",
8272
- "description": "\n\nOptions for an inline dialog target\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"inlinedialog\",\n \"options\": {\n \"onHover\": true,\n \"offsetX\": \"30px\",\n \"offsetY\": \"20px\"\n }\n }\n }\n\n\n"
9469
+ "title": "Dialog Module Options",
9470
+ "description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
8273
9471
  }
8274
9472
  ]
8275
9473
  },
@@ -8684,6 +9882,41 @@
8684
9882
  },
8685
9883
  "baseUrl": {
8686
9884
  "type": "string"
9885
+ },
9886
+ "operations": {
9887
+ "description": "The type of operations done in the remote",
9888
+ "type": "array",
9889
+ "items": {
9890
+ "type": "string",
9891
+ "enum": [
9892
+ "storage",
9893
+ "other"
9894
+ ]
9895
+ },
9896
+ "minItems": 1
9897
+ },
9898
+ "storage": {
9899
+ "description": "Options related to remote storage",
9900
+ "type": "object",
9901
+ "required": [
9902
+ "classifications"
9903
+ ],
9904
+ "additionalProperties": false,
9905
+ "properties": {
9906
+ "classifications": {
9907
+ "description": "Labels to classify the type of data stored",
9908
+ "type": "array",
9909
+ "items": {
9910
+ "type": "string",
9911
+ "enum": [
9912
+ "ugc",
9913
+ "pii",
9914
+ "other"
9915
+ ]
9916
+ },
9917
+ "minItems": 1
9918
+ }
9919
+ }
8687
9920
  }
8688
9921
  }
8689
9922
  }
@@ -9567,10 +10800,10 @@
9567
10800
  "type": "object",
9568
10801
  "anyOf": [
9569
10802
  {
9570
- "$ref": "#/definitions/singleCondition"
10803
+ "$ref": "#"
9571
10804
  },
9572
10805
  {
9573
- "$ref": "#"
10806
+ "$ref": "#/definitions/singleCondition"
9574
10807
  }
9575
10808
  ]
9576
10809
  },