@camunda/zeebe-element-templates-json-schema 0.37.0 → 0.38.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 +311 -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,50 @@
|
|
|
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
|
+
}
|
|
1766
1810
|
}
|
|
1767
1811
|
],
|
|
1768
1812
|
"properties": {
|
|
@@ -2177,6 +2221,95 @@
|
|
|
2177
2221
|
}
|
|
2178
2222
|
]
|
|
2179
2223
|
},
|
|
2224
|
+
{
|
|
2225
|
+
"allOf": [
|
|
2226
|
+
{
|
|
2227
|
+
"if": {
|
|
2228
|
+
"properties": {
|
|
2229
|
+
"type": {
|
|
2230
|
+
"const": "zeebe:executionListener"
|
|
2231
|
+
}
|
|
2232
|
+
},
|
|
2233
|
+
"required": [
|
|
2234
|
+
"type"
|
|
2235
|
+
]
|
|
2236
|
+
},
|
|
2237
|
+
"then": {
|
|
2238
|
+
"properties": {
|
|
2239
|
+
"eventType": {
|
|
2240
|
+
"enum": [
|
|
2241
|
+
"start",
|
|
2242
|
+
"end"
|
|
2243
|
+
]
|
|
2244
|
+
}
|
|
2245
|
+
},
|
|
2246
|
+
"required": [
|
|
2247
|
+
"eventType"
|
|
2248
|
+
]
|
|
2249
|
+
}
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
"if": {
|
|
2253
|
+
"properties": {
|
|
2254
|
+
"type": {
|
|
2255
|
+
"const": "zeebe:taskListener"
|
|
2256
|
+
}
|
|
2257
|
+
},
|
|
2258
|
+
"required": [
|
|
2259
|
+
"type"
|
|
2260
|
+
]
|
|
2261
|
+
},
|
|
2262
|
+
"then": {
|
|
2263
|
+
"properties": {
|
|
2264
|
+
"eventType": {
|
|
2265
|
+
"enum": [
|
|
2266
|
+
"creating",
|
|
2267
|
+
"assigning",
|
|
2268
|
+
"updating",
|
|
2269
|
+
"completing"
|
|
2270
|
+
]
|
|
2271
|
+
}
|
|
2272
|
+
},
|
|
2273
|
+
"required": [
|
|
2274
|
+
"eventType"
|
|
2275
|
+
]
|
|
2276
|
+
}
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
"if": {
|
|
2280
|
+
"properties": {
|
|
2281
|
+
"type": {
|
|
2282
|
+
"not": {
|
|
2283
|
+
"enum": [
|
|
2284
|
+
"zeebe:executionListener",
|
|
2285
|
+
"zeebe:taskListener"
|
|
2286
|
+
]
|
|
2287
|
+
}
|
|
2288
|
+
}
|
|
2289
|
+
},
|
|
2290
|
+
"required": [
|
|
2291
|
+
"type"
|
|
2292
|
+
]
|
|
2293
|
+
},
|
|
2294
|
+
"then": {
|
|
2295
|
+
"not": {
|
|
2296
|
+
"anyOf": [
|
|
2297
|
+
{
|
|
2298
|
+
"required": [
|
|
2299
|
+
"eventType"
|
|
2300
|
+
]
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
"required": [
|
|
2304
|
+
"retries"
|
|
2305
|
+
]
|
|
2306
|
+
}
|
|
2307
|
+
]
|
|
2308
|
+
}
|
|
2309
|
+
}
|
|
2310
|
+
}
|
|
2311
|
+
]
|
|
2312
|
+
},
|
|
2180
2313
|
{
|
|
2181
2314
|
"examples": [
|
|
2182
2315
|
{
|
|
@@ -2206,6 +2339,14 @@
|
|
|
2206
2339
|
{
|
|
2207
2340
|
"type": "zeebe:taskDefinition",
|
|
2208
2341
|
"property": "type"
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
"type": "zeebe:executionListener",
|
|
2345
|
+
"eventType": "start"
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
"type": "zeebe:taskListener",
|
|
2349
|
+
"eventType": "completing"
|
|
2209
2350
|
}
|
|
2210
2351
|
]
|
|
2211
2352
|
}
|
|
@@ -2235,6 +2376,8 @@
|
|
|
2235
2376
|
"zeebe:priorityDefinition",
|
|
2236
2377
|
"zeebe:adHoc",
|
|
2237
2378
|
"zeebe:taskSchedule",
|
|
2379
|
+
"zeebe:executionListener",
|
|
2380
|
+
"zeebe:taskListener",
|
|
2238
2381
|
"bpmn:Signal#property",
|
|
2239
2382
|
"bpmn:TimerEventDefinition#property",
|
|
2240
2383
|
"bpmn:ConditionalEventDefinition#property",
|
|
@@ -2265,6 +2408,16 @@
|
|
|
2265
2408
|
"$id": "#/properties/property/binding/linkName",
|
|
2266
2409
|
"type": "string",
|
|
2267
2410
|
"description": "The `linkName` of the element (zeebe:linkedResource)."
|
|
2411
|
+
},
|
|
2412
|
+
"eventType": {
|
|
2413
|
+
"$id": "#/properties/property/binding/eventType",
|
|
2414
|
+
"type": "string",
|
|
2415
|
+
"description": "The event type of a property binding (zeebe:executionListener, zeebe:taskListener)."
|
|
2416
|
+
},
|
|
2417
|
+
"retries": {
|
|
2418
|
+
"$id": "#/properties/property/binding/retries",
|
|
2419
|
+
"type": "string",
|
|
2420
|
+
"description": "The number of retries for a listener (zeebe:executionListener, zeebe:taskListener)."
|
|
2268
2421
|
}
|
|
2269
2422
|
}
|
|
2270
2423
|
},
|
|
@@ -4069,6 +4222,156 @@
|
|
|
4069
4222
|
"properties"
|
|
4070
4223
|
]
|
|
4071
4224
|
}
|
|
4225
|
+
},
|
|
4226
|
+
{
|
|
4227
|
+
"allOf": [
|
|
4228
|
+
{
|
|
4229
|
+
"if": {
|
|
4230
|
+
"properties": {
|
|
4231
|
+
"properties": {
|
|
4232
|
+
"contains": {
|
|
4233
|
+
"properties": {
|
|
4234
|
+
"binding": {
|
|
4235
|
+
"properties": {
|
|
4236
|
+
"type": {
|
|
4237
|
+
"const": "zeebe:taskListener"
|
|
4238
|
+
}
|
|
4239
|
+
},
|
|
4240
|
+
"required": [
|
|
4241
|
+
"type"
|
|
4242
|
+
]
|
|
4243
|
+
}
|
|
4244
|
+
},
|
|
4245
|
+
"required": [
|
|
4246
|
+
"binding"
|
|
4247
|
+
]
|
|
4248
|
+
}
|
|
4249
|
+
}
|
|
4250
|
+
},
|
|
4251
|
+
"required": [
|
|
4252
|
+
"properties"
|
|
4253
|
+
]
|
|
4254
|
+
},
|
|
4255
|
+
"then": {
|
|
4256
|
+
"anyOf": [
|
|
4257
|
+
{
|
|
4258
|
+
"required": [
|
|
4259
|
+
"elementType"
|
|
4260
|
+
],
|
|
4261
|
+
"properties": {
|
|
4262
|
+
"elementType": {
|
|
4263
|
+
"required": [
|
|
4264
|
+
"value"
|
|
4265
|
+
],
|
|
4266
|
+
"properties": {
|
|
4267
|
+
"value": {
|
|
4268
|
+
"const": "bpmn:UserTask"
|
|
4269
|
+
}
|
|
4270
|
+
}
|
|
4271
|
+
}
|
|
4272
|
+
}
|
|
4273
|
+
},
|
|
4274
|
+
{
|
|
4275
|
+
"required": [
|
|
4276
|
+
"appliesTo"
|
|
4277
|
+
],
|
|
4278
|
+
"properties": {
|
|
4279
|
+
"appliesTo": {
|
|
4280
|
+
"const": [
|
|
4281
|
+
"bpmn:UserTask"
|
|
4282
|
+
]
|
|
4283
|
+
}
|
|
4284
|
+
}
|
|
4285
|
+
}
|
|
4286
|
+
]
|
|
4287
|
+
}
|
|
4288
|
+
},
|
|
4289
|
+
{
|
|
4290
|
+
"if": {
|
|
4291
|
+
"properties": {
|
|
4292
|
+
"properties": {
|
|
4293
|
+
"contains": {
|
|
4294
|
+
"properties": {
|
|
4295
|
+
"binding": {
|
|
4296
|
+
"properties": {
|
|
4297
|
+
"type": {
|
|
4298
|
+
"const": "zeebe:executionListener"
|
|
4299
|
+
}
|
|
4300
|
+
},
|
|
4301
|
+
"required": [
|
|
4302
|
+
"type"
|
|
4303
|
+
]
|
|
4304
|
+
}
|
|
4305
|
+
},
|
|
4306
|
+
"required": [
|
|
4307
|
+
"binding"
|
|
4308
|
+
]
|
|
4309
|
+
}
|
|
4310
|
+
}
|
|
4311
|
+
},
|
|
4312
|
+
"required": [
|
|
4313
|
+
"properties"
|
|
4314
|
+
]
|
|
4315
|
+
},
|
|
4316
|
+
"then": {
|
|
4317
|
+
"required": [
|
|
4318
|
+
"entriesVisible"
|
|
4319
|
+
],
|
|
4320
|
+
"properties": {
|
|
4321
|
+
"entriesVisible": {
|
|
4322
|
+
"type": "object",
|
|
4323
|
+
"required": [
|
|
4324
|
+
"executionListeners"
|
|
4325
|
+
],
|
|
4326
|
+
"properties": {
|
|
4327
|
+
"executionListeners": {
|
|
4328
|
+
"const": false
|
|
4329
|
+
}
|
|
4330
|
+
}
|
|
4331
|
+
}
|
|
4332
|
+
}
|
|
4333
|
+
}
|
|
4334
|
+
},
|
|
4335
|
+
{
|
|
4336
|
+
"if": {
|
|
4337
|
+
"properties": {
|
|
4338
|
+
"properties": {
|
|
4339
|
+
"contains": {
|
|
4340
|
+
"properties": {
|
|
4341
|
+
"binding": {
|
|
4342
|
+
"properties": {
|
|
4343
|
+
"type": {
|
|
4344
|
+
"const": "zeebe:taskListener"
|
|
4345
|
+
}
|
|
4346
|
+
},
|
|
4347
|
+
"required": [
|
|
4348
|
+
"type"
|
|
4349
|
+
]
|
|
4350
|
+
}
|
|
4351
|
+
},
|
|
4352
|
+
"required": [
|
|
4353
|
+
"binding"
|
|
4354
|
+
]
|
|
4355
|
+
}
|
|
4356
|
+
}
|
|
4357
|
+
},
|
|
4358
|
+
"required": [
|
|
4359
|
+
"properties"
|
|
4360
|
+
]
|
|
4361
|
+
},
|
|
4362
|
+
"then": {
|
|
4363
|
+
"properties": {
|
|
4364
|
+
"entriesVisible": {
|
|
4365
|
+
"properties": {
|
|
4366
|
+
"taskListeners": {
|
|
4367
|
+
"const": false
|
|
4368
|
+
}
|
|
4369
|
+
}
|
|
4370
|
+
}
|
|
4371
|
+
}
|
|
4372
|
+
}
|
|
4373
|
+
}
|
|
4374
|
+
]
|
|
4072
4375
|
}
|
|
4073
4376
|
]
|
|
4074
4377
|
},
|
|
@@ -4585,6 +4888,14 @@
|
|
|
4585
4888
|
"outputs": {
|
|
4586
4889
|
"type": "boolean",
|
|
4587
4890
|
"default": false
|
|
4891
|
+
},
|
|
4892
|
+
"executionListeners": {
|
|
4893
|
+
"type": "boolean",
|
|
4894
|
+
"default": true
|
|
4895
|
+
},
|
|
4896
|
+
"taskListeners": {
|
|
4897
|
+
"type": "boolean",
|
|
4898
|
+
"default": false
|
|
4588
4899
|
}
|
|
4589
4900
|
},
|
|
4590
4901
|
"additionalProperties": false
|