@camunda/zeebe-element-templates-json-schema 0.37.0 → 0.39.0
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.
- package/package.json +1 -1
- package/resources/error-messages.json +1 -1
- package/resources/schema.json +354 -0
package/package.json
CHANGED
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
"properties",
|
|
331
331
|
"type"
|
|
332
332
|
],
|
|
333
|
-
"errorMessage": "invalid property.binding type ${0}; must be any of { property, zeebe:taskDefinition:type, zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader, bpmn:Message#property, bpmn:Message#zeebe:subscription#property, zeebe:taskDefinition, zeebe:calledElement, zeebe:linkedResource, zeebe:userTask, zeebe:formDefinition, zeebe:calledDecision, zeebe:script, zeebe:assignmentDefinition, zeebe:priorityDefinition, zeebe:adHoc, zeebe:taskSchedule, bpmn:Signal#property, bpmn:TimerEventDefinition#property }"
|
|
333
|
+
"errorMessage": "invalid property.binding type ${0}; must be any of { property, zeebe:taskDefinition:type, zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader, bpmn:Message#property, bpmn:Message#zeebe:subscription#property, zeebe:taskDefinition, zeebe:calledElement, zeebe:linkedResource, zeebe:userTask, zeebe:formDefinition, zeebe:calledDecision, zeebe:script, zeebe:assignmentDefinition, zeebe:priorityDefinition, zeebe:adHoc, zeebe:taskSchedule, zeebe:executionListener, zeebe:taskListener, bpmn:Signal#property, bpmn:TimerEventDefinition#property }"
|
|
334
334
|
},
|
|
335
335
|
{
|
|
336
336
|
"path": [
|
package/resources/schema.json
CHANGED
|
@@ -1763,6 +1763,93 @@
|
|
|
1763
1763
|
}
|
|
1764
1764
|
}
|
|
1765
1765
|
]
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"if": {
|
|
1769
|
+
"properties": {
|
|
1770
|
+
"binding": {
|
|
1771
|
+
"properties": {
|
|
1772
|
+
"type": {
|
|
1773
|
+
"enum": [
|
|
1774
|
+
"zeebe:executionListener",
|
|
1775
|
+
"zeebe:taskListener"
|
|
1776
|
+
]
|
|
1777
|
+
}
|
|
1778
|
+
},
|
|
1779
|
+
"required": [
|
|
1780
|
+
"type"
|
|
1781
|
+
]
|
|
1782
|
+
}
|
|
1783
|
+
},
|
|
1784
|
+
"required": [
|
|
1785
|
+
"binding"
|
|
1786
|
+
]
|
|
1787
|
+
},
|
|
1788
|
+
"then": {
|
|
1789
|
+
"required": [
|
|
1790
|
+
"type"
|
|
1791
|
+
],
|
|
1792
|
+
"properties": {
|
|
1793
|
+
"type": {
|
|
1794
|
+
"const": "Hidden"
|
|
1795
|
+
}
|
|
1796
|
+
},
|
|
1797
|
+
"anyOf": [
|
|
1798
|
+
{
|
|
1799
|
+
"required": [
|
|
1800
|
+
"value"
|
|
1801
|
+
]
|
|
1802
|
+
},
|
|
1803
|
+
{
|
|
1804
|
+
"required": [
|
|
1805
|
+
"generatedValue"
|
|
1806
|
+
]
|
|
1807
|
+
}
|
|
1808
|
+
]
|
|
1809
|
+
}
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
"if": {
|
|
1813
|
+
"properties": {
|
|
1814
|
+
"type": {
|
|
1815
|
+
"const": "Hidden"
|
|
1816
|
+
},
|
|
1817
|
+
"binding": {
|
|
1818
|
+
"properties": {
|
|
1819
|
+
"type": {
|
|
1820
|
+
"not": {
|
|
1821
|
+
"const": "zeebe:userTask"
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
},
|
|
1825
|
+
"required": [
|
|
1826
|
+
"type"
|
|
1827
|
+
]
|
|
1828
|
+
}
|
|
1829
|
+
},
|
|
1830
|
+
"required": [
|
|
1831
|
+
"type",
|
|
1832
|
+
"binding"
|
|
1833
|
+
],
|
|
1834
|
+
"not": {
|
|
1835
|
+
"anyOf": [
|
|
1836
|
+
{
|
|
1837
|
+
"required": [
|
|
1838
|
+
"value"
|
|
1839
|
+
]
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
"required": [
|
|
1843
|
+
"generatedValue"
|
|
1844
|
+
]
|
|
1845
|
+
}
|
|
1846
|
+
]
|
|
1847
|
+
}
|
|
1848
|
+
},
|
|
1849
|
+
"then": {
|
|
1850
|
+
"deprecated": true,
|
|
1851
|
+
"deprecationWarning": "Hidden property should specify either 'value' or 'generatedValue'"
|
|
1852
|
+
}
|
|
1766
1853
|
}
|
|
1767
1854
|
],
|
|
1768
1855
|
"properties": {
|
|
@@ -2177,6 +2264,95 @@
|
|
|
2177
2264
|
}
|
|
2178
2265
|
]
|
|
2179
2266
|
},
|
|
2267
|
+
{
|
|
2268
|
+
"allOf": [
|
|
2269
|
+
{
|
|
2270
|
+
"if": {
|
|
2271
|
+
"properties": {
|
|
2272
|
+
"type": {
|
|
2273
|
+
"const": "zeebe:executionListener"
|
|
2274
|
+
}
|
|
2275
|
+
},
|
|
2276
|
+
"required": [
|
|
2277
|
+
"type"
|
|
2278
|
+
]
|
|
2279
|
+
},
|
|
2280
|
+
"then": {
|
|
2281
|
+
"properties": {
|
|
2282
|
+
"eventType": {
|
|
2283
|
+
"enum": [
|
|
2284
|
+
"start",
|
|
2285
|
+
"end"
|
|
2286
|
+
]
|
|
2287
|
+
}
|
|
2288
|
+
},
|
|
2289
|
+
"required": [
|
|
2290
|
+
"eventType"
|
|
2291
|
+
]
|
|
2292
|
+
}
|
|
2293
|
+
},
|
|
2294
|
+
{
|
|
2295
|
+
"if": {
|
|
2296
|
+
"properties": {
|
|
2297
|
+
"type": {
|
|
2298
|
+
"const": "zeebe:taskListener"
|
|
2299
|
+
}
|
|
2300
|
+
},
|
|
2301
|
+
"required": [
|
|
2302
|
+
"type"
|
|
2303
|
+
]
|
|
2304
|
+
},
|
|
2305
|
+
"then": {
|
|
2306
|
+
"properties": {
|
|
2307
|
+
"eventType": {
|
|
2308
|
+
"enum": [
|
|
2309
|
+
"creating",
|
|
2310
|
+
"assigning",
|
|
2311
|
+
"updating",
|
|
2312
|
+
"completing"
|
|
2313
|
+
]
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
"required": [
|
|
2317
|
+
"eventType"
|
|
2318
|
+
]
|
|
2319
|
+
}
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
"if": {
|
|
2323
|
+
"properties": {
|
|
2324
|
+
"type": {
|
|
2325
|
+
"not": {
|
|
2326
|
+
"enum": [
|
|
2327
|
+
"zeebe:executionListener",
|
|
2328
|
+
"zeebe:taskListener"
|
|
2329
|
+
]
|
|
2330
|
+
}
|
|
2331
|
+
}
|
|
2332
|
+
},
|
|
2333
|
+
"required": [
|
|
2334
|
+
"type"
|
|
2335
|
+
]
|
|
2336
|
+
},
|
|
2337
|
+
"then": {
|
|
2338
|
+
"not": {
|
|
2339
|
+
"anyOf": [
|
|
2340
|
+
{
|
|
2341
|
+
"required": [
|
|
2342
|
+
"eventType"
|
|
2343
|
+
]
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
"required": [
|
|
2347
|
+
"retries"
|
|
2348
|
+
]
|
|
2349
|
+
}
|
|
2350
|
+
]
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2353
|
+
}
|
|
2354
|
+
]
|
|
2355
|
+
},
|
|
2180
2356
|
{
|
|
2181
2357
|
"examples": [
|
|
2182
2358
|
{
|
|
@@ -2206,6 +2382,14 @@
|
|
|
2206
2382
|
{
|
|
2207
2383
|
"type": "zeebe:taskDefinition",
|
|
2208
2384
|
"property": "type"
|
|
2385
|
+
},
|
|
2386
|
+
{
|
|
2387
|
+
"type": "zeebe:executionListener",
|
|
2388
|
+
"eventType": "start"
|
|
2389
|
+
},
|
|
2390
|
+
{
|
|
2391
|
+
"type": "zeebe:taskListener",
|
|
2392
|
+
"eventType": "completing"
|
|
2209
2393
|
}
|
|
2210
2394
|
]
|
|
2211
2395
|
}
|
|
@@ -2235,6 +2419,8 @@
|
|
|
2235
2419
|
"zeebe:priorityDefinition",
|
|
2236
2420
|
"zeebe:adHoc",
|
|
2237
2421
|
"zeebe:taskSchedule",
|
|
2422
|
+
"zeebe:executionListener",
|
|
2423
|
+
"zeebe:taskListener",
|
|
2238
2424
|
"bpmn:Signal#property",
|
|
2239
2425
|
"bpmn:TimerEventDefinition#property",
|
|
2240
2426
|
"bpmn:ConditionalEventDefinition#property",
|
|
@@ -2265,6 +2451,16 @@
|
|
|
2265
2451
|
"$id": "#/properties/property/binding/linkName",
|
|
2266
2452
|
"type": "string",
|
|
2267
2453
|
"description": "The `linkName` of the element (zeebe:linkedResource)."
|
|
2454
|
+
},
|
|
2455
|
+
"eventType": {
|
|
2456
|
+
"$id": "#/properties/property/binding/eventType",
|
|
2457
|
+
"type": "string",
|
|
2458
|
+
"description": "The event type of a property binding (zeebe:executionListener, zeebe:taskListener)."
|
|
2459
|
+
},
|
|
2460
|
+
"retries": {
|
|
2461
|
+
"$id": "#/properties/property/binding/retries",
|
|
2462
|
+
"type": "string",
|
|
2463
|
+
"description": "The number of retries for a listener (zeebe:executionListener, zeebe:taskListener)."
|
|
2268
2464
|
}
|
|
2269
2465
|
}
|
|
2270
2466
|
},
|
|
@@ -4069,6 +4265,156 @@
|
|
|
4069
4265
|
"properties"
|
|
4070
4266
|
]
|
|
4071
4267
|
}
|
|
4268
|
+
},
|
|
4269
|
+
{
|
|
4270
|
+
"allOf": [
|
|
4271
|
+
{
|
|
4272
|
+
"if": {
|
|
4273
|
+
"properties": {
|
|
4274
|
+
"properties": {
|
|
4275
|
+
"contains": {
|
|
4276
|
+
"properties": {
|
|
4277
|
+
"binding": {
|
|
4278
|
+
"properties": {
|
|
4279
|
+
"type": {
|
|
4280
|
+
"const": "zeebe:taskListener"
|
|
4281
|
+
}
|
|
4282
|
+
},
|
|
4283
|
+
"required": [
|
|
4284
|
+
"type"
|
|
4285
|
+
]
|
|
4286
|
+
}
|
|
4287
|
+
},
|
|
4288
|
+
"required": [
|
|
4289
|
+
"binding"
|
|
4290
|
+
]
|
|
4291
|
+
}
|
|
4292
|
+
}
|
|
4293
|
+
},
|
|
4294
|
+
"required": [
|
|
4295
|
+
"properties"
|
|
4296
|
+
]
|
|
4297
|
+
},
|
|
4298
|
+
"then": {
|
|
4299
|
+
"anyOf": [
|
|
4300
|
+
{
|
|
4301
|
+
"required": [
|
|
4302
|
+
"elementType"
|
|
4303
|
+
],
|
|
4304
|
+
"properties": {
|
|
4305
|
+
"elementType": {
|
|
4306
|
+
"required": [
|
|
4307
|
+
"value"
|
|
4308
|
+
],
|
|
4309
|
+
"properties": {
|
|
4310
|
+
"value": {
|
|
4311
|
+
"const": "bpmn:UserTask"
|
|
4312
|
+
}
|
|
4313
|
+
}
|
|
4314
|
+
}
|
|
4315
|
+
}
|
|
4316
|
+
},
|
|
4317
|
+
{
|
|
4318
|
+
"required": [
|
|
4319
|
+
"appliesTo"
|
|
4320
|
+
],
|
|
4321
|
+
"properties": {
|
|
4322
|
+
"appliesTo": {
|
|
4323
|
+
"const": [
|
|
4324
|
+
"bpmn:UserTask"
|
|
4325
|
+
]
|
|
4326
|
+
}
|
|
4327
|
+
}
|
|
4328
|
+
}
|
|
4329
|
+
]
|
|
4330
|
+
}
|
|
4331
|
+
},
|
|
4332
|
+
{
|
|
4333
|
+
"if": {
|
|
4334
|
+
"properties": {
|
|
4335
|
+
"properties": {
|
|
4336
|
+
"contains": {
|
|
4337
|
+
"properties": {
|
|
4338
|
+
"binding": {
|
|
4339
|
+
"properties": {
|
|
4340
|
+
"type": {
|
|
4341
|
+
"const": "zeebe:executionListener"
|
|
4342
|
+
}
|
|
4343
|
+
},
|
|
4344
|
+
"required": [
|
|
4345
|
+
"type"
|
|
4346
|
+
]
|
|
4347
|
+
}
|
|
4348
|
+
},
|
|
4349
|
+
"required": [
|
|
4350
|
+
"binding"
|
|
4351
|
+
]
|
|
4352
|
+
}
|
|
4353
|
+
}
|
|
4354
|
+
},
|
|
4355
|
+
"required": [
|
|
4356
|
+
"properties"
|
|
4357
|
+
]
|
|
4358
|
+
},
|
|
4359
|
+
"then": {
|
|
4360
|
+
"required": [
|
|
4361
|
+
"entriesVisible"
|
|
4362
|
+
],
|
|
4363
|
+
"properties": {
|
|
4364
|
+
"entriesVisible": {
|
|
4365
|
+
"type": "object",
|
|
4366
|
+
"required": [
|
|
4367
|
+
"executionListeners"
|
|
4368
|
+
],
|
|
4369
|
+
"properties": {
|
|
4370
|
+
"executionListeners": {
|
|
4371
|
+
"const": false
|
|
4372
|
+
}
|
|
4373
|
+
}
|
|
4374
|
+
}
|
|
4375
|
+
}
|
|
4376
|
+
}
|
|
4377
|
+
},
|
|
4378
|
+
{
|
|
4379
|
+
"if": {
|
|
4380
|
+
"properties": {
|
|
4381
|
+
"properties": {
|
|
4382
|
+
"contains": {
|
|
4383
|
+
"properties": {
|
|
4384
|
+
"binding": {
|
|
4385
|
+
"properties": {
|
|
4386
|
+
"type": {
|
|
4387
|
+
"const": "zeebe:taskListener"
|
|
4388
|
+
}
|
|
4389
|
+
},
|
|
4390
|
+
"required": [
|
|
4391
|
+
"type"
|
|
4392
|
+
]
|
|
4393
|
+
}
|
|
4394
|
+
},
|
|
4395
|
+
"required": [
|
|
4396
|
+
"binding"
|
|
4397
|
+
]
|
|
4398
|
+
}
|
|
4399
|
+
}
|
|
4400
|
+
},
|
|
4401
|
+
"required": [
|
|
4402
|
+
"properties"
|
|
4403
|
+
]
|
|
4404
|
+
},
|
|
4405
|
+
"then": {
|
|
4406
|
+
"properties": {
|
|
4407
|
+
"entriesVisible": {
|
|
4408
|
+
"properties": {
|
|
4409
|
+
"taskListeners": {
|
|
4410
|
+
"const": false
|
|
4411
|
+
}
|
|
4412
|
+
}
|
|
4413
|
+
}
|
|
4414
|
+
}
|
|
4415
|
+
}
|
|
4416
|
+
}
|
|
4417
|
+
]
|
|
4072
4418
|
}
|
|
4073
4419
|
]
|
|
4074
4420
|
},
|
|
@@ -4585,6 +4931,14 @@
|
|
|
4585
4931
|
"outputs": {
|
|
4586
4932
|
"type": "boolean",
|
|
4587
4933
|
"default": false
|
|
4934
|
+
},
|
|
4935
|
+
"executionListeners": {
|
|
4936
|
+
"type": "boolean",
|
|
4937
|
+
"default": true
|
|
4938
|
+
},
|
|
4939
|
+
"taskListeners": {
|
|
4940
|
+
"type": "boolean",
|
|
4941
|
+
"default": false
|
|
4588
4942
|
}
|
|
4589
4943
|
},
|
|
4590
4944
|
"additionalProperties": false
|