@forge/manifest 0.0.0-experimental-e3032d7 → 0.0.0-experimental-9489df9

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.
Files changed (61) hide show
  1. package/CHANGELOG.md +111 -1
  2. package/out/index.d.ts +1 -1
  3. package/out/index.d.ts.map +1 -1
  4. package/out/index.js +4 -6
  5. package/out/mapping/product-event-to-scope-mapping.json +50 -0
  6. package/out/processor/abstract-validation-processor.d.ts +1 -1
  7. package/out/processor/abstract-validation-processor.d.ts.map +1 -1
  8. package/out/processor/abstract-validation-processor.js +10 -5
  9. package/out/processor/processor-interface.d.ts +1 -1
  10. package/out/processor/processor-interface.d.ts.map +1 -1
  11. package/out/schema/manifest-schema.json +1005 -116
  12. package/out/schema/manifest.d.ts +496 -21
  13. package/out/scopes/index.d.ts +1 -1
  14. package/out/scopes/index.d.ts.map +1 -1
  15. package/out/scopes/index.js +1 -1
  16. package/out/types/module-types.d.ts +10 -1
  17. package/out/types/module-types.d.ts.map +1 -1
  18. package/out/types/module-types.js +9 -0
  19. package/out/validators/connect-authentication-validator.d.ts +1 -1
  20. package/out/validators/connect-authentication-validator.d.ts.map +1 -1
  21. package/out/validators/connect-authentication-validator.js +1 -1
  22. package/out/validators/connect-modules-validator.d.ts +1 -1
  23. package/out/validators/connect-modules-validator.d.ts.map +1 -1
  24. package/out/validators/connect-modules-validator.js +1 -1
  25. package/out/validators/connect-remote-validator.d.ts +1 -1
  26. package/out/validators/connect-remote-validator.d.ts.map +1 -1
  27. package/out/validators/connect-remote-validator.js +1 -1
  28. package/out/validators/display-conditions-validator.d.ts +1 -1
  29. package/out/validators/display-conditions-validator.d.ts.map +1 -1
  30. package/out/validators/display-conditions-validator.js +1 -1
  31. package/out/validators/entity-property-validator.d.ts +1 -1
  32. package/out/validators/entity-property-validator.d.ts.map +1 -1
  33. package/out/validators/entity-property-validator.js +1 -1
  34. package/out/validators/file-validator.d.ts +1 -1
  35. package/out/validators/file-validator.d.ts.map +1 -1
  36. package/out/validators/file-validator.js +1 -1
  37. package/out/validators/modules-validator.d.ts +1 -1
  38. package/out/validators/modules-validator.d.ts.map +1 -1
  39. package/out/validators/modules-validator.js +1 -1
  40. package/out/validators/modules-validators/confluence/validateKeyboardShortcuts.d.ts.map +1 -1
  41. package/out/validators/permissions-validator.d.ts +1 -1
  42. package/out/validators/permissions-validator.d.ts.map +1 -1
  43. package/out/validators/permissions-validator.js +1 -1
  44. package/out/validators/product-trigger-scopes-validator.d.ts +1 -1
  45. package/out/validators/product-trigger-scopes-validator.d.ts.map +1 -1
  46. package/out/validators/product-trigger-scopes-validator.js +4 -4
  47. package/out/validators/providers-validator.d.ts +1 -1
  48. package/out/validators/providers-validator.d.ts.map +1 -1
  49. package/out/validators/providers-validator.js +1 -1
  50. package/out/validators/resources-validator.d.ts +1 -1
  51. package/out/validators/resources-validator.d.ts.map +1 -1
  52. package/out/validators/resources-validator.js +1 -1
  53. package/out/validators/schema-validator.d.ts +1 -1
  54. package/out/validators/schema-validator.d.ts.map +1 -1
  55. package/out/validators/schema-validator.js +1 -1
  56. package/out/validators/validator-interface.d.ts +1 -1
  57. package/out/validators/validator-interface.d.ts.map +1 -1
  58. package/out/validators/yaml-validator.d.ts +1 -1
  59. package/out/validators/yaml-validator.d.ts.map +1 -1
  60. package/out/validators/yaml-validator.js +1 -1
  61. package/package.json +2 -1
@@ -157,12 +157,15 @@
157
157
  "additionalProperties": false,
158
158
  "properties": {
159
159
  "events": {
160
- "$ref": "#/definitions/Array",
161
- "title": "events",
162
- "type": "array",
163
- "items": {
164
- "type": "string"
165
- }
160
+ "oneOf": [
161
+ {
162
+ "$ref": "#/definitions/ProductEvents"
163
+ },
164
+ {
165
+ "$ref": "#/definitions/FilteredProductEvents"
166
+ }
167
+ ],
168
+ "title": "events"
166
169
  },
167
170
  "function": {
168
171
  "$ref": "#/definitions/ExtensionKey",
@@ -521,6 +524,26 @@
521
524
  "displayConditions": {
522
525
  "type": "object"
523
526
  },
527
+ "keyboardShortcut": {
528
+ "type": "object",
529
+ "additionalProperties": false,
530
+ "properties": {
531
+ "accelerator": {
532
+ "type": "string",
533
+ "minLength": 1,
534
+ "maxLength": 255,
535
+ "description": "Keyboard key(s)/combination(s) used to trigger this module."
536
+ },
537
+ "description": {
538
+ "type": "string",
539
+ "minLength": 1,
540
+ "maxLength": 1000
541
+ }
542
+ },
543
+ "required": [
544
+ "accelerator"
545
+ ]
546
+ },
524
547
  "key": {
525
548
  "$ref": "#/definitions/ModuleKeySchema"
526
549
  }
@@ -578,6 +601,26 @@
578
601
  "displayConditions": {
579
602
  "type": "object"
580
603
  },
604
+ "keyboardShortcut": {
605
+ "type": "object",
606
+ "additionalProperties": false,
607
+ "properties": {
608
+ "accelerator": {
609
+ "type": "string",
610
+ "minLength": 1,
611
+ "maxLength": 255,
612
+ "description": "Keyboard key(s)/combination(s) used to trigger this module."
613
+ },
614
+ "description": {
615
+ "type": "string",
616
+ "minLength": 1,
617
+ "maxLength": 1000
618
+ }
619
+ },
620
+ "required": [
621
+ "accelerator"
622
+ ]
623
+ },
581
624
  "key": {
582
625
  "$ref": "#/definitions/ModuleKeySchema"
583
626
  }
@@ -613,6 +656,26 @@
613
656
  "displayConditions": {
614
657
  "type": "object"
615
658
  },
659
+ "keyboardShortcut": {
660
+ "type": "object",
661
+ "additionalProperties": false,
662
+ "properties": {
663
+ "accelerator": {
664
+ "type": "string",
665
+ "minLength": 1,
666
+ "maxLength": 255,
667
+ "description": "Keyboard key(s)/combination(s) used to trigger this module."
668
+ },
669
+ "description": {
670
+ "type": "string",
671
+ "minLength": 1,
672
+ "maxLength": 1000
673
+ }
674
+ },
675
+ "required": [
676
+ "accelerator"
677
+ ]
678
+ },
616
679
  "key": {
617
680
  "$ref": "#/definitions/ModuleKeySchema"
618
681
  }
@@ -671,6 +734,26 @@
671
734
  "displayConditions": {
672
735
  "type": "object"
673
736
  },
737
+ "keyboardShortcut": {
738
+ "type": "object",
739
+ "additionalProperties": false,
740
+ "properties": {
741
+ "accelerator": {
742
+ "type": "string",
743
+ "minLength": 1,
744
+ "maxLength": 255,
745
+ "description": "Keyboard key(s)/combination(s) used to trigger this module."
746
+ },
747
+ "description": {
748
+ "type": "string",
749
+ "minLength": 1,
750
+ "maxLength": 1000
751
+ }
752
+ },
753
+ "required": [
754
+ "accelerator"
755
+ ]
756
+ },
674
757
  "key": {
675
758
  "$ref": "#/definitions/ModuleKeySchema"
676
759
  }
@@ -737,6 +820,26 @@
737
820
  "displayConditions": {
738
821
  "type": "object"
739
822
  },
823
+ "keyboardShortcut": {
824
+ "type": "object",
825
+ "additionalProperties": false,
826
+ "properties": {
827
+ "accelerator": {
828
+ "type": "string",
829
+ "minLength": 1,
830
+ "maxLength": 255,
831
+ "description": "Keyboard key(s)/combination(s) used to trigger this module."
832
+ },
833
+ "description": {
834
+ "type": "string",
835
+ "minLength": 1,
836
+ "maxLength": 1000
837
+ }
838
+ },
839
+ "required": [
840
+ "accelerator"
841
+ ]
842
+ },
740
843
  "key": {
741
844
  "$ref": "#/definitions/ModuleKeySchema"
742
845
  }
@@ -825,6 +928,26 @@
825
928
  "displayConditions": {
826
929
  "type": "object"
827
930
  },
931
+ "keyboardShortcut": {
932
+ "type": "object",
933
+ "additionalProperties": false,
934
+ "properties": {
935
+ "accelerator": {
936
+ "type": "string",
937
+ "minLength": 1,
938
+ "maxLength": 255,
939
+ "description": "Keyboard key(s)/combination(s) used to trigger this module."
940
+ },
941
+ "description": {
942
+ "type": "string",
943
+ "minLength": 1,
944
+ "maxLength": 1000
945
+ }
946
+ },
947
+ "required": [
948
+ "accelerator"
949
+ ]
950
+ },
828
951
  "key": {
829
952
  "$ref": "#/definitions/ModuleKeySchema"
830
953
  }
@@ -860,6 +983,26 @@
860
983
  "displayConditions": {
861
984
  "type": "object"
862
985
  },
986
+ "keyboardShortcut": {
987
+ "type": "object",
988
+ "additionalProperties": false,
989
+ "properties": {
990
+ "accelerator": {
991
+ "type": "string",
992
+ "minLength": 1,
993
+ "maxLength": 255,
994
+ "description": "Keyboard key(s)/combination(s) used to trigger this module."
995
+ },
996
+ "description": {
997
+ "type": "string",
998
+ "minLength": 1,
999
+ "maxLength": 1000
1000
+ }
1001
+ },
1002
+ "required": [
1003
+ "accelerator"
1004
+ ]
1005
+ },
863
1006
  "key": {
864
1007
  "$ref": "#/definitions/ModuleKeySchema"
865
1008
  }
@@ -918,6 +1061,26 @@
918
1061
  "displayConditions": {
919
1062
  "type": "object"
920
1063
  },
1064
+ "keyboardShortcut": {
1065
+ "type": "object",
1066
+ "additionalProperties": false,
1067
+ "properties": {
1068
+ "accelerator": {
1069
+ "type": "string",
1070
+ "minLength": 1,
1071
+ "maxLength": 255,
1072
+ "description": "Keyboard key(s)/combination(s) used to trigger this module."
1073
+ },
1074
+ "description": {
1075
+ "type": "string",
1076
+ "minLength": 1,
1077
+ "maxLength": 1000
1078
+ }
1079
+ },
1080
+ "required": [
1081
+ "accelerator"
1082
+ ]
1083
+ },
921
1084
  "key": {
922
1085
  "$ref": "#/definitions/ModuleKeySchema"
923
1086
  }
@@ -964,6 +1127,26 @@
964
1127
  "displayConditions": {
965
1128
  "type": "object"
966
1129
  },
1130
+ "keyboardShortcut": {
1131
+ "type": "object",
1132
+ "additionalProperties": false,
1133
+ "properties": {
1134
+ "accelerator": {
1135
+ "type": "string",
1136
+ "minLength": 1,
1137
+ "maxLength": 255,
1138
+ "description": "Keyboard key(s)/combination(s) used to trigger this module."
1139
+ },
1140
+ "description": {
1141
+ "type": "string",
1142
+ "minLength": 1,
1143
+ "maxLength": 1000
1144
+ }
1145
+ },
1146
+ "required": [
1147
+ "accelerator"
1148
+ ]
1149
+ },
967
1150
  "key": {
968
1151
  "$ref": "#/definitions/ModuleKeySchema"
969
1152
  }
@@ -1023,6 +1206,26 @@
1023
1206
  "displayConditions": {
1024
1207
  "type": "object"
1025
1208
  },
1209
+ "keyboardShortcut": {
1210
+ "type": "object",
1211
+ "additionalProperties": false,
1212
+ "properties": {
1213
+ "accelerator": {
1214
+ "type": "string",
1215
+ "minLength": 1,
1216
+ "maxLength": 255,
1217
+ "description": "Keyboard key(s)/combination(s) used to trigger this module."
1218
+ },
1219
+ "description": {
1220
+ "type": "string",
1221
+ "minLength": 1,
1222
+ "maxLength": 1000
1223
+ }
1224
+ },
1225
+ "required": [
1226
+ "accelerator"
1227
+ ]
1228
+ },
1026
1229
  "key": {
1027
1230
  "$ref": "#/definitions/ModuleKeySchema"
1028
1231
  }
@@ -1065,6 +1268,26 @@
1065
1268
  "displayConditions": {
1066
1269
  "type": "object"
1067
1270
  },
1271
+ "keyboardShortcut": {
1272
+ "type": "object",
1273
+ "additionalProperties": false,
1274
+ "properties": {
1275
+ "accelerator": {
1276
+ "type": "string",
1277
+ "minLength": 1,
1278
+ "maxLength": 255,
1279
+ "description": "Keyboard key(s)/combination(s) used to trigger this module."
1280
+ },
1281
+ "description": {
1282
+ "type": "string",
1283
+ "minLength": 1,
1284
+ "maxLength": 1000
1285
+ }
1286
+ },
1287
+ "required": [
1288
+ "accelerator"
1289
+ ]
1290
+ },
1068
1291
  "key": {
1069
1292
  "$ref": "#/definitions/ModuleKeySchema"
1070
1293
  }
@@ -1118,6 +1341,26 @@
1118
1341
  "displayConditions": {
1119
1342
  "type": "object"
1120
1343
  },
1344
+ "keyboardShortcut": {
1345
+ "type": "object",
1346
+ "additionalProperties": false,
1347
+ "properties": {
1348
+ "accelerator": {
1349
+ "type": "string",
1350
+ "minLength": 1,
1351
+ "maxLength": 255,
1352
+ "description": "Keyboard key(s)/combination(s) used to trigger this module."
1353
+ },
1354
+ "description": {
1355
+ "type": "string",
1356
+ "minLength": 1,
1357
+ "maxLength": 1000
1358
+ }
1359
+ },
1360
+ "required": [
1361
+ "accelerator"
1362
+ ]
1363
+ },
1121
1364
  "key": {
1122
1365
  "$ref": "#/definitions/ModuleKeySchema"
1123
1366
  }
@@ -1307,6 +1550,26 @@
1307
1550
  "displayConditions": {
1308
1551
  "type": "object"
1309
1552
  },
1553
+ "keyboardShortcut": {
1554
+ "type": "object",
1555
+ "additionalProperties": false,
1556
+ "properties": {
1557
+ "accelerator": {
1558
+ "type": "string",
1559
+ "minLength": 1,
1560
+ "maxLength": 255,
1561
+ "description": "Keyboard key(s)/combination(s) used to trigger this module."
1562
+ },
1563
+ "description": {
1564
+ "type": "string",
1565
+ "minLength": 1,
1566
+ "maxLength": 1000
1567
+ }
1568
+ },
1569
+ "required": [
1570
+ "accelerator"
1571
+ ]
1572
+ },
1310
1573
  "key": {
1311
1574
  "$ref": "#/definitions/ModuleKeySchema"
1312
1575
  }
@@ -1367,6 +1630,26 @@
1367
1630
  "displayConditions": {
1368
1631
  "type": "object"
1369
1632
  },
1633
+ "keyboardShortcut": {
1634
+ "type": "object",
1635
+ "additionalProperties": false,
1636
+ "properties": {
1637
+ "accelerator": {
1638
+ "type": "string",
1639
+ "minLength": 1,
1640
+ "maxLength": 255,
1641
+ "description": "Keyboard key(s)/combination(s) used to trigger this module."
1642
+ },
1643
+ "description": {
1644
+ "type": "string",
1645
+ "minLength": 1,
1646
+ "maxLength": 1000
1647
+ }
1648
+ },
1649
+ "required": [
1650
+ "accelerator"
1651
+ ]
1652
+ },
1370
1653
  "key": {
1371
1654
  "$ref": "#/definitions/ModuleKeySchema"
1372
1655
  }
@@ -1620,6 +1903,21 @@
1620
1903
  }
1621
1904
  ]
1622
1905
  },
1906
+ "resolver": {
1907
+ "additionalProperties": false,
1908
+ "type": "object",
1909
+ "properties": {
1910
+ "function": {
1911
+ "type": "string",
1912
+ "minLength": 1,
1913
+ "maxLength": 255,
1914
+ "pattern": "^[a-zA-Z0-9-_]+$"
1915
+ }
1916
+ },
1917
+ "required": [
1918
+ "function"
1919
+ ]
1920
+ },
1623
1921
  "view": {
1624
1922
  "type": "object",
1625
1923
  "properties": {
@@ -2265,6 +2563,7 @@
2265
2563
  "layout": {
2266
2564
  "enum": [
2267
2565
  "basic",
2566
+ "blank",
2268
2567
  "native"
2269
2568
  ],
2270
2569
  "type": "string"
@@ -2479,6 +2778,7 @@
2479
2778
  "layout": {
2480
2779
  "enum": [
2481
2780
  "basic",
2781
+ "blank",
2482
2782
  "native"
2483
2783
  ],
2484
2784
  "type": "string"
@@ -2613,7 +2913,7 @@
2613
2913
  "title": {
2614
2914
  "type": "string",
2615
2915
  "minLength": 1,
2616
- "maxLength": 255
2916
+ "maxLength": 254
2617
2917
  },
2618
2918
  "resolver": {
2619
2919
  "additionalProperties": false,
@@ -3261,6 +3561,13 @@
3261
3561
  "maxLength": 255,
3262
3562
  "pattern": "^[a-zA-Z0-9-_]+$"
3263
3563
  },
3564
+ "layout": {
3565
+ "enum": [
3566
+ "basic",
3567
+ "native"
3568
+ ],
3569
+ "type": "string"
3570
+ },
3264
3571
  "title": {
3265
3572
  "type": "string",
3266
3573
  "minLength": 1,
@@ -3271,13 +3578,6 @@
3271
3578
  "minLength": 1,
3272
3579
  "maxLength": 255
3273
3580
  },
3274
- "layout": {
3275
- "enum": [
3276
- "basic",
3277
- "native"
3278
- ],
3279
- "type": "string"
3280
- },
3281
3581
  "pages": {
3282
3582
  "type": "array",
3283
3583
  "items": {
@@ -3391,6 +3691,14 @@
3391
3691
  "function"
3392
3692
  ]
3393
3693
  },
3694
+ "layout": {
3695
+ "enum": [
3696
+ "basic",
3697
+ "blank",
3698
+ "native"
3699
+ ],
3700
+ "type": "string"
3701
+ },
3394
3702
  "title": {
3395
3703
  "type": "string",
3396
3704
  "minLength": 1,
@@ -3401,13 +3709,6 @@
3401
3709
  "minLength": 1,
3402
3710
  "maxLength": 255
3403
3711
  },
3404
- "layout": {
3405
- "enum": [
3406
- "basic",
3407
- "native"
3408
- ],
3409
- "type": "string"
3410
- },
3411
3712
  "pages": {
3412
3713
  "type": "array",
3413
3714
  "items": {
@@ -3509,6 +3810,13 @@
3509
3810
  "maxLength": 255,
3510
3811
  "pattern": "^[a-zA-Z0-9-_]+$"
3511
3812
  },
3813
+ "layout": {
3814
+ "enum": [
3815
+ "basic",
3816
+ "native"
3817
+ ],
3818
+ "type": "string"
3819
+ },
3512
3820
  "title": {
3513
3821
  "type": "string",
3514
3822
  "minLength": 1,
@@ -3519,13 +3827,6 @@
3519
3827
  "minLength": 1,
3520
3828
  "maxLength": 255
3521
3829
  },
3522
- "layout": {
3523
- "enum": [
3524
- "basic",
3525
- "native"
3526
- ],
3527
- "type": "string"
3528
- },
3529
3830
  "pages": {
3530
3831
  "type": "array",
3531
3832
  "items": {
@@ -3639,6 +3940,14 @@
3639
3940
  "function"
3640
3941
  ]
3641
3942
  },
3943
+ "layout": {
3944
+ "enum": [
3945
+ "basic",
3946
+ "blank",
3947
+ "native"
3948
+ ],
3949
+ "type": "string"
3950
+ },
3642
3951
  "title": {
3643
3952
  "type": "string",
3644
3953
  "minLength": 1,
@@ -3649,13 +3958,6 @@
3649
3958
  "minLength": 1,
3650
3959
  "maxLength": 255
3651
3960
  },
3652
- "layout": {
3653
- "enum": [
3654
- "basic",
3655
- "native"
3656
- ],
3657
- "type": "string"
3658
- },
3659
3961
  "pages": {
3660
3962
  "type": "array",
3661
3963
  "items": {
@@ -3757,6 +4059,13 @@
3757
4059
  "maxLength": 255,
3758
4060
  "pattern": "^[a-zA-Z0-9-_]+$"
3759
4061
  },
4062
+ "layout": {
4063
+ "enum": [
4064
+ "basic",
4065
+ "native"
4066
+ ],
4067
+ "type": "string"
4068
+ },
3760
4069
  "title": {
3761
4070
  "type": "string",
3762
4071
  "minLength": 1,
@@ -3767,13 +4076,6 @@
3767
4076
  "minLength": 1,
3768
4077
  "maxLength": 255
3769
4078
  },
3770
- "layout": {
3771
- "enum": [
3772
- "basic",
3773
- "native"
3774
- ],
3775
- "type": "string"
3776
- },
3777
4079
  "pages": {
3778
4080
  "type": "array",
3779
4081
  "items": {
@@ -3887,6 +4189,14 @@
3887
4189
  "function"
3888
4190
  ]
3889
4191
  },
4192
+ "layout": {
4193
+ "enum": [
4194
+ "basic",
4195
+ "blank",
4196
+ "native"
4197
+ ],
4198
+ "type": "string"
4199
+ },
3890
4200
  "title": {
3891
4201
  "type": "string",
3892
4202
  "minLength": 1,
@@ -3897,13 +4207,6 @@
3897
4207
  "minLength": 1,
3898
4208
  "maxLength": 255
3899
4209
  },
3900
- "layout": {
3901
- "enum": [
3902
- "basic",
3903
- "native"
3904
- ],
3905
- "type": "string"
3906
- },
3907
4210
  "pages": {
3908
4211
  "type": "array",
3909
4212
  "items": {
@@ -4005,6 +4308,13 @@
4005
4308
  "maxLength": 255,
4006
4309
  "pattern": "^[a-zA-Z0-9-_]+$"
4007
4310
  },
4311
+ "layout": {
4312
+ "enum": [
4313
+ "basic",
4314
+ "native"
4315
+ ],
4316
+ "type": "string"
4317
+ },
4008
4318
  "title": {
4009
4319
  "type": "string",
4010
4320
  "minLength": 1,
@@ -4015,13 +4325,6 @@
4015
4325
  "minLength": 1,
4016
4326
  "maxLength": 255
4017
4327
  },
4018
- "layout": {
4019
- "enum": [
4020
- "basic",
4021
- "native"
4022
- ],
4023
- "type": "string"
4024
- },
4025
4328
  "pages": {
4026
4329
  "type": "array",
4027
4330
  "items": {
@@ -4135,6 +4438,14 @@
4135
4438
  "function"
4136
4439
  ]
4137
4440
  },
4441
+ "layout": {
4442
+ "enum": [
4443
+ "basic",
4444
+ "blank",
4445
+ "native"
4446
+ ],
4447
+ "type": "string"
4448
+ },
4138
4449
  "title": {
4139
4450
  "type": "string",
4140
4451
  "minLength": 1,
@@ -4145,13 +4456,6 @@
4145
4456
  "minLength": 1,
4146
4457
  "maxLength": 255
4147
4458
  },
4148
- "layout": {
4149
- "enum": [
4150
- "basic",
4151
- "native"
4152
- ],
4153
- "type": "string"
4154
- },
4155
4459
  "pages": {
4156
4460
  "type": "array",
4157
4461
  "items": {
@@ -4258,6 +4562,63 @@
4258
4562
  "expression": {
4259
4563
  "type": "string"
4260
4564
  },
4565
+ "resolver": {
4566
+ "additionalProperties": false,
4567
+ "type": "object",
4568
+ "properties": {
4569
+ "function": {
4570
+ "type": "string",
4571
+ "minLength": 1,
4572
+ "maxLength": 255,
4573
+ "pattern": "^[a-zA-Z0-9-_]+$"
4574
+ }
4575
+ },
4576
+ "required": [
4577
+ "function"
4578
+ ]
4579
+ },
4580
+ "view": {
4581
+ "type": "object",
4582
+ "properties": {
4583
+ "resource": {
4584
+ "type": "string",
4585
+ "minLength": 1,
4586
+ "maxLength": 23,
4587
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4588
+ }
4589
+ },
4590
+ "required": [
4591
+ "resource"
4592
+ ]
4593
+ },
4594
+ "edit": {
4595
+ "type": "object",
4596
+ "properties": {
4597
+ "resource": {
4598
+ "type": "string",
4599
+ "minLength": 1,
4600
+ "maxLength": 23,
4601
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4602
+ }
4603
+ },
4604
+ "required": [
4605
+ "resource"
4606
+ ]
4607
+ },
4608
+ "create": {
4609
+ "type": "object",
4610
+ "properties": {
4611
+ "resource": {
4612
+ "type": "string",
4613
+ "minLength": 1,
4614
+ "maxLength": 23,
4615
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4616
+ }
4617
+ },
4618
+ "required": [
4619
+ "resource"
4620
+ ]
4621
+ },
4261
4622
  "key": {
4262
4623
  "$ref": "#/definitions/ModuleKeySchema"
4263
4624
  }
@@ -4276,37 +4637,120 @@
4276
4637
  "items": {
4277
4638
  "type": "object",
4278
4639
  "properties": {
4279
- "resource": {
4280
- "type": "string",
4640
+ "resource": {
4641
+ "type": "string",
4642
+ "minLength": 1,
4643
+ "maxLength": 23,
4644
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
4645
+ },
4646
+ "resolver": {
4647
+ "additionalProperties": false,
4648
+ "type": "object",
4649
+ "properties": {
4650
+ "function": {
4651
+ "type": "string",
4652
+ "minLength": 1,
4653
+ "maxLength": 255,
4654
+ "pattern": "^[a-zA-Z0-9-_]+$"
4655
+ }
4656
+ },
4657
+ "required": [
4658
+ "function"
4659
+ ]
4660
+ },
4661
+ "displayConditions": {
4662
+ "type": "object",
4663
+ "properties": {}
4664
+ },
4665
+ "key": {
4666
+ "$ref": "#/definitions/ModuleKeySchema"
4667
+ }
4668
+ },
4669
+ "required": [
4670
+ "resource",
4671
+ "key"
4672
+ ]
4673
+ },
4674
+ "minItems": 1
4675
+ },
4676
+ "jira:globalPermission": {
4677
+ "type": "array",
4678
+ "items": {
4679
+ "type": "object",
4680
+ "properties": {
4681
+ "name": {
4682
+ "minLength": 1,
4683
+ "maxLength": 255,
4684
+ "pattern": "^[a-zA-Z0-9-_ ]+$",
4685
+ "type": "string"
4686
+ },
4687
+ "description": {
4688
+ "type": "string"
4689
+ },
4690
+ "anonymousAllowed": {
4691
+ "type": "boolean",
4692
+ "enum": [
4693
+ false
4694
+ ]
4695
+ },
4696
+ "defaultGrants": {
4697
+ "type": "array",
4698
+ "items": {
4699
+ "enum": [
4700
+ "all",
4701
+ "jira-administrators",
4702
+ "none"
4703
+ ],
4704
+ "type": "string"
4705
+ }
4706
+ },
4707
+ "key": {
4708
+ "$ref": "#/definitions/ModuleKeySchema"
4709
+ }
4710
+ },
4711
+ "required": [
4712
+ "anonymousAllowed",
4713
+ "description",
4714
+ "name",
4715
+ "key"
4716
+ ]
4717
+ },
4718
+ "minItems": 1
4719
+ },
4720
+ "jira:projectPermission": {
4721
+ "type": "array",
4722
+ "items": {
4723
+ "type": "object",
4724
+ "properties": {
4725
+ "name": {
4281
4726
  "minLength": 1,
4282
- "maxLength": 23,
4283
- "pattern": "^[a-zA-Z0-9_\\-]+$"
4727
+ "maxLength": 255,
4728
+ "pattern": "^[a-zA-Z0-9-_ ]+$",
4729
+ "type": "string"
4284
4730
  },
4285
- "resolver": {
4286
- "additionalProperties": false,
4287
- "type": "object",
4288
- "properties": {
4289
- "function": {
4290
- "type": "string",
4291
- "minLength": 1,
4292
- "maxLength": 255,
4293
- "pattern": "^[a-zA-Z0-9-_]+$"
4294
- }
4295
- },
4296
- "required": [
4297
- "function"
4298
- ]
4731
+ "description": {
4732
+ "type": "string"
4299
4733
  },
4300
- "displayConditions": {
4301
- "type": "object",
4302
- "properties": {}
4734
+ "category": {
4735
+ "default": "other",
4736
+ "enum": [
4737
+ "attachments",
4738
+ "comments",
4739
+ "issues",
4740
+ "other",
4741
+ "projects",
4742
+ "time_tracking",
4743
+ "voters_and_watchers"
4744
+ ],
4745
+ "type": "string"
4303
4746
  },
4304
4747
  "key": {
4305
4748
  "$ref": "#/definitions/ModuleKeySchema"
4306
4749
  }
4307
4750
  },
4308
4751
  "required": [
4309
- "resource",
4752
+ "description",
4753
+ "name",
4310
4754
  "key"
4311
4755
  ]
4312
4756
  },
@@ -4333,6 +4777,21 @@
4333
4777
  "maxLength": 255,
4334
4778
  "pattern": "^[a-zA-Z0-9-_]+$"
4335
4779
  },
4780
+ "resolver": {
4781
+ "additionalProperties": false,
4782
+ "type": "object",
4783
+ "properties": {
4784
+ "function": {
4785
+ "type": "string",
4786
+ "minLength": 1,
4787
+ "maxLength": 255,
4788
+ "pattern": "^[a-zA-Z0-9-_]+$"
4789
+ }
4790
+ },
4791
+ "required": [
4792
+ "function"
4793
+ ]
4794
+ },
4336
4795
  "view": {
4337
4796
  "type": "object",
4338
4797
  "properties": {
@@ -5728,28 +6187,260 @@
5728
6187
  "maxLength": 255,
5729
6188
  "pattern": "^[a-zA-Z0-9-_]+$"
5730
6189
  },
5731
- "displayConditions": {
5732
- "type": "object",
5733
- "properties": {}
5734
- },
6190
+ "displayConditions": {
6191
+ "type": "object",
6192
+ "properties": {}
6193
+ },
6194
+ "key": {
6195
+ "$ref": "#/definitions/ModuleKeySchema"
6196
+ }
6197
+ },
6198
+ "required": [
6199
+ "title",
6200
+ "function",
6201
+ "key"
6202
+ ]
6203
+ },
6204
+ {
6205
+ "type": "object",
6206
+ "properties": {
6207
+ "title": {
6208
+ "type": "string",
6209
+ "minLength": 1,
6210
+ "maxLength": 255
6211
+ },
6212
+ "resolver": {
6213
+ "additionalProperties": false,
6214
+ "type": "object",
6215
+ "properties": {
6216
+ "function": {
6217
+ "type": "string",
6218
+ "minLength": 1,
6219
+ "maxLength": 255,
6220
+ "pattern": "^[a-zA-Z0-9-_]+$"
6221
+ }
6222
+ },
6223
+ "required": [
6224
+ "function"
6225
+ ]
6226
+ },
6227
+ "resource": {
6228
+ "type": "string",
6229
+ "minLength": 1,
6230
+ "maxLength": 23,
6231
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
6232
+ },
6233
+ "resourceUploadId": {
6234
+ "type": "string",
6235
+ "minLength": 1,
6236
+ "maxLength": 255
6237
+ },
6238
+ "viewportSize": {
6239
+ "type": "string",
6240
+ "minLength": 1,
6241
+ "maxLength": 255,
6242
+ "enum": [
6243
+ "small",
6244
+ "medium",
6245
+ "large",
6246
+ "xlarge"
6247
+ ]
6248
+ },
6249
+ "displayConditions": {
6250
+ "type": "object",
6251
+ "properties": {}
6252
+ },
6253
+ "key": {
6254
+ "$ref": "#/definitions/ModuleKeySchema"
6255
+ }
6256
+ },
6257
+ "required": [
6258
+ "title",
6259
+ "resource",
6260
+ "key"
6261
+ ]
6262
+ }
6263
+ ]
6264
+ },
6265
+ "minItems": 1
6266
+ },
6267
+ "jiraServiceManagement:portalRequestViewAction": {
6268
+ "type": "array",
6269
+ "items": {
6270
+ "oneOf": [
6271
+ {
6272
+ "type": "object",
6273
+ "properties": {
6274
+ "title": {
6275
+ "type": "string",
6276
+ "minLength": 1,
6277
+ "maxLength": 255
6278
+ },
6279
+ "function": {
6280
+ "type": "string",
6281
+ "minLength": 1,
6282
+ "maxLength": 255,
6283
+ "pattern": "^[a-zA-Z0-9-_]+$"
6284
+ },
6285
+ "key": {
6286
+ "$ref": "#/definitions/ModuleKeySchema"
6287
+ }
6288
+ },
6289
+ "required": [
6290
+ "title",
6291
+ "function",
6292
+ "key"
6293
+ ]
6294
+ },
6295
+ {
6296
+ "type": "object",
6297
+ "properties": {
6298
+ "title": {
6299
+ "type": "string",
6300
+ "minLength": 1,
6301
+ "maxLength": 255
6302
+ },
6303
+ "resolver": {
6304
+ "additionalProperties": false,
6305
+ "type": "object",
6306
+ "properties": {
6307
+ "function": {
6308
+ "type": "string",
6309
+ "minLength": 1,
6310
+ "maxLength": 255,
6311
+ "pattern": "^[a-zA-Z0-9-_]+$"
6312
+ }
6313
+ },
6314
+ "required": [
6315
+ "function"
6316
+ ]
6317
+ },
6318
+ "resource": {
6319
+ "type": "string",
6320
+ "minLength": 1,
6321
+ "maxLength": 23,
6322
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
6323
+ },
6324
+ "resourceUploadId": {
6325
+ "type": "string",
6326
+ "minLength": 1,
6327
+ "maxLength": 255
6328
+ },
6329
+ "viewportSize": {
6330
+ "type": "string",
6331
+ "minLength": 1,
6332
+ "maxLength": 255,
6333
+ "enum": [
6334
+ "small",
6335
+ "medium",
6336
+ "large",
6337
+ "xlarge"
6338
+ ]
6339
+ },
6340
+ "key": {
6341
+ "$ref": "#/definitions/ModuleKeySchema"
6342
+ }
6343
+ },
6344
+ "required": [
6345
+ "title",
6346
+ "resource",
6347
+ "key"
6348
+ ]
6349
+ }
6350
+ ]
6351
+ },
6352
+ "minItems": 1
6353
+ },
6354
+ "jiraServiceManagement:portalRequestCreatePropertyPanel": {
6355
+ "type": "array",
6356
+ "items": {
6357
+ "oneOf": [
6358
+ {
6359
+ "type": "object",
6360
+ "required": [
6361
+ "function",
6362
+ "key"
6363
+ ],
6364
+ "properties": {
6365
+ "title": {
6366
+ "type": "string",
6367
+ "minLength": 1,
6368
+ "maxLength": 255
6369
+ },
6370
+ "icon": {
6371
+ "type": "string",
6372
+ "minLength": 1,
6373
+ "maxLength": 255
6374
+ },
6375
+ "layout": {
6376
+ "type": "string",
6377
+ "minLength": 1,
6378
+ "maxLength": 255,
6379
+ "enum": [
6380
+ "native",
6381
+ "basic"
6382
+ ]
6383
+ },
6384
+ "viewportSize": {
6385
+ "type": "string",
6386
+ "minLength": 1,
6387
+ "maxLength": 255,
6388
+ "enum": [
6389
+ "small",
6390
+ "medium",
6391
+ "large",
6392
+ "xlarge"
6393
+ ]
6394
+ },
6395
+ "function": {
6396
+ "type": "string",
6397
+ "minLength": 1,
6398
+ "maxLength": 255,
6399
+ "pattern": "^[a-zA-Z0-9-_]+$"
6400
+ },
5735
6401
  "key": {
5736
6402
  "$ref": "#/definitions/ModuleKeySchema"
5737
6403
  }
5738
- },
5739
- "required": [
5740
- "title",
5741
- "function",
5742
- "key"
5743
- ]
6404
+ }
5744
6405
  },
5745
6406
  {
5746
6407
  "type": "object",
6408
+ "required": [
6409
+ "resource",
6410
+ "key"
6411
+ ],
5747
6412
  "properties": {
6413
+ "viewportSize": {
6414
+ "type": "string",
6415
+ "minLength": 1,
6416
+ "maxLength": 255,
6417
+ "enum": [
6418
+ "xsmall",
6419
+ "small",
6420
+ "medium",
6421
+ "large",
6422
+ "xlarge"
6423
+ ]
6424
+ },
5748
6425
  "title": {
5749
6426
  "type": "string",
5750
6427
  "minLength": 1,
5751
6428
  "maxLength": 255
5752
6429
  },
6430
+ "icon": {
6431
+ "type": "string",
6432
+ "minLength": 1,
6433
+ "maxLength": 255
6434
+ },
6435
+ "layout": {
6436
+ "type": "string",
6437
+ "minLength": 1,
6438
+ "maxLength": 255,
6439
+ "enum": [
6440
+ "native",
6441
+ "basic"
6442
+ ]
6443
+ },
5753
6444
  "resolver": {
5754
6445
  "additionalProperties": false,
5755
6446
  "type": "object",
@@ -5776,30 +6467,10 @@
5776
6467
  "minLength": 1,
5777
6468
  "maxLength": 255
5778
6469
  },
5779
- "viewportSize": {
5780
- "type": "string",
5781
- "minLength": 1,
5782
- "maxLength": 255,
5783
- "enum": [
5784
- "small",
5785
- "medium",
5786
- "large",
5787
- "xlarge"
5788
- ]
5789
- },
5790
- "displayConditions": {
5791
- "type": "object",
5792
- "properties": {}
5793
- },
5794
6470
  "key": {
5795
6471
  "$ref": "#/definitions/ModuleKeySchema"
5796
6472
  }
5797
- },
5798
- "required": [
5799
- "title",
5800
- "resource",
5801
- "key"
5802
- ]
6473
+ }
5803
6474
  }
5804
6475
  ]
5805
6476
  },
@@ -10508,6 +11179,185 @@
10508
11179
  ]
10509
11180
  },
10510
11181
  "minItems": 1
11182
+ },
11183
+ "automation:action": {
11184
+ "type": "array",
11185
+ "items": {
11186
+ "type": "object",
11187
+ "properties": {
11188
+ "function": {
11189
+ "type": "string",
11190
+ "minLength": 1,
11191
+ "maxLength": 255,
11192
+ "pattern": "^[a-zA-Z0-9-_]+$"
11193
+ },
11194
+ "config": {
11195
+ "type": "object",
11196
+ "properties": {
11197
+ "function": {
11198
+ "type": "string",
11199
+ "minLength": 1,
11200
+ "maxLength": 255,
11201
+ "pattern": "^[a-zA-Z0-9-_]+$"
11202
+ }
11203
+ }
11204
+ },
11205
+ "key": {
11206
+ "$ref": "#/definitions/ModuleKeySchema"
11207
+ }
11208
+ },
11209
+ "required": [
11210
+ "function",
11211
+ "config",
11212
+ "key"
11213
+ ]
11214
+ },
11215
+ "minItems": 1
11216
+ },
11217
+ "automation:trigger": {
11218
+ "type": "array",
11219
+ "items": {
11220
+ "type": "object",
11221
+ "properties": {
11222
+ "title": {
11223
+ "type": "string",
11224
+ "minLength": 1,
11225
+ "maxLength": 255
11226
+ },
11227
+ "function": {
11228
+ "type": "string",
11229
+ "minLength": 1,
11230
+ "maxLength": 255,
11231
+ "pattern": "^[a-zA-Z0-9-_]+$"
11232
+ },
11233
+ "key": {
11234
+ "$ref": "#/definitions/ModuleKeySchema"
11235
+ }
11236
+ },
11237
+ "required": [
11238
+ "title",
11239
+ "function",
11240
+ "key"
11241
+ ],
11242
+ "additionalProperties": true
11243
+ },
11244
+ "minItems": 1
11245
+ },
11246
+ "automation:condition": {
11247
+ "type": "array",
11248
+ "items": {
11249
+ "type": "object",
11250
+ "properties": {
11251
+ "function": {
11252
+ "type": "string",
11253
+ "minLength": 1,
11254
+ "maxLength": 255,
11255
+ "pattern": "^[a-zA-Z0-9-_]+$"
11256
+ },
11257
+ "config": {
11258
+ "type": "object",
11259
+ "properties": {
11260
+ "function": {
11261
+ "type": "string",
11262
+ "minLength": 1,
11263
+ "maxLength": 255,
11264
+ "pattern": "^[a-zA-Z0-9-_]+$"
11265
+ }
11266
+ }
11267
+ },
11268
+ "key": {
11269
+ "$ref": "#/definitions/ModuleKeySchema"
11270
+ }
11271
+ },
11272
+ "required": [
11273
+ "function",
11274
+ "config",
11275
+ "key"
11276
+ ],
11277
+ "additionalProperties": true
11278
+ },
11279
+ "minItems": 1
11280
+ },
11281
+ "automation:branch": {
11282
+ "type": "array",
11283
+ "items": {
11284
+ "type": "object",
11285
+ "properties": {
11286
+ "function": {
11287
+ "type": "string",
11288
+ "minLength": 1,
11289
+ "maxLength": 255,
11290
+ "pattern": "^[a-zA-Z0-9-_]+$"
11291
+ },
11292
+ "config": {
11293
+ "type": "object",
11294
+ "properties": {
11295
+ "function": {
11296
+ "type": "string",
11297
+ "minLength": 1,
11298
+ "maxLength": 255,
11299
+ "pattern": "^[a-zA-Z0-9-_]+$"
11300
+ }
11301
+ }
11302
+ },
11303
+ "key": {
11304
+ "$ref": "#/definitions/ModuleKeySchema"
11305
+ }
11306
+ },
11307
+ "required": [
11308
+ "function",
11309
+ "config",
11310
+ "key"
11311
+ ],
11312
+ "additionalProperties": true
11313
+ },
11314
+ "minItems": 1
11315
+ },
11316
+ "automation:attributeResolver": {
11317
+ "type": "array",
11318
+ "items": {
11319
+ "type": "object",
11320
+ "properties": {
11321
+ "function": {
11322
+ "type": "string",
11323
+ "minLength": 1,
11324
+ "maxLength": 255,
11325
+ "pattern": "^[a-zA-Z0-9-_]+$"
11326
+ },
11327
+ "key": {
11328
+ "$ref": "#/definitions/ModuleKeySchema"
11329
+ }
11330
+ },
11331
+ "required": [
11332
+ "function",
11333
+ "key"
11334
+ ],
11335
+ "additionalProperties": true
11336
+ },
11337
+ "minItems": 1
11338
+ },
11339
+ "automation:template": {
11340
+ "type": "array",
11341
+ "items": {
11342
+ "type": "object",
11343
+ "properties": {
11344
+ "function": {
11345
+ "type": "string",
11346
+ "minLength": 1,
11347
+ "maxLength": 255,
11348
+ "pattern": "^[a-zA-Z0-9-_]+$"
11349
+ },
11350
+ "key": {
11351
+ "$ref": "#/definitions/ModuleKeySchema"
11352
+ }
11353
+ },
11354
+ "required": [
11355
+ "function",
11356
+ "key"
11357
+ ],
11358
+ "additionalProperties": true
11359
+ },
11360
+ "minItems": 1
10511
11361
  }
10512
11362
  },
10513
11363
  "title": "ModuleSchema",
@@ -11629,6 +12479,45 @@
11629
12479
  },
11630
12480
  "additionalProperties": false
11631
12481
  },
12482
+ "ProductEvents": {
12483
+ "$ref": "#/definitions/Array",
12484
+ "title": "ProductEvents",
12485
+ "type": "array",
12486
+ "items": {
12487
+ "type": "string"
12488
+ }
12489
+ },
12490
+ "FilteredProductEvents": {
12491
+ "title": "FilteredProductEvents",
12492
+ "type": "array",
12493
+ "items": {
12494
+ "type": "object",
12495
+ "properties": {
12496
+ "eventType": {
12497
+ "title": "eventType",
12498
+ "type": "string"
12499
+ },
12500
+ "filter": {
12501
+ "title": "filter",
12502
+ "type": "object",
12503
+ "properties": {
12504
+ "ignoreSelf": {
12505
+ "title": "ignoreSelf",
12506
+ "description": "The app will ignore events generated by itself",
12507
+ "type": "boolean"
12508
+ }
12509
+ },
12510
+ "required": [
12511
+ "ignoreSelf"
12512
+ ]
12513
+ }
12514
+ },
12515
+ "required": [
12516
+ "eventType",
12517
+ "filter"
12518
+ ]
12519
+ }
12520
+ },
11632
12521
  "DisplayConditions": {
11633
12522
  "additionalProperties": false,
11634
12523
  "properties": {