@camunda/zeebe-element-templates-json-schema 0.39.1 → 0.40.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/schema.json +94 -1
package/package.json
CHANGED
package/resources/schema.json
CHANGED
|
@@ -1850,6 +1850,53 @@
|
|
|
1850
1850
|
"deprecated": true,
|
|
1851
1851
|
"deprecationWarning": "Hidden property should specify either 'value' or 'generatedValue'"
|
|
1852
1852
|
}
|
|
1853
|
+
},
|
|
1854
|
+
{
|
|
1855
|
+
"if": {
|
|
1856
|
+
"properties": {
|
|
1857
|
+
"editable": {
|
|
1858
|
+
"const": false
|
|
1859
|
+
},
|
|
1860
|
+
"feel": {
|
|
1861
|
+
"const": "optional"
|
|
1862
|
+
}
|
|
1863
|
+
},
|
|
1864
|
+
"required": [
|
|
1865
|
+
"editable",
|
|
1866
|
+
"feel"
|
|
1867
|
+
]
|
|
1868
|
+
},
|
|
1869
|
+
"then": {
|
|
1870
|
+
"deprecated": true,
|
|
1871
|
+
"deprecationWarning": "Using 'feel: optional' with 'editable: false' is invalid"
|
|
1872
|
+
}
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"if": {
|
|
1876
|
+
"properties": {
|
|
1877
|
+
"optional": {
|
|
1878
|
+
"const": true
|
|
1879
|
+
},
|
|
1880
|
+
"binding": {
|
|
1881
|
+
"properties": {
|
|
1882
|
+
"type": {
|
|
1883
|
+
"const": "zeebe:input"
|
|
1884
|
+
}
|
|
1885
|
+
},
|
|
1886
|
+
"required": [
|
|
1887
|
+
"type"
|
|
1888
|
+
]
|
|
1889
|
+
}
|
|
1890
|
+
},
|
|
1891
|
+
"required": [
|
|
1892
|
+
"optional",
|
|
1893
|
+
"binding"
|
|
1894
|
+
]
|
|
1895
|
+
},
|
|
1896
|
+
"then": {
|
|
1897
|
+
"deprecated": true,
|
|
1898
|
+
"deprecationWarning": "'optional' with 'zeebe:input' binding is deprecated; an empty input mapping (resolved to 'null') should be used for Camunda 8.8+"
|
|
1899
|
+
}
|
|
1853
1900
|
}
|
|
1854
1901
|
],
|
|
1855
1902
|
"properties": {
|
|
@@ -2318,6 +2365,20 @@
|
|
|
2318
2365
|
]
|
|
2319
2366
|
}
|
|
2320
2367
|
},
|
|
2368
|
+
{
|
|
2369
|
+
"if": {
|
|
2370
|
+
"required": [
|
|
2371
|
+
"headers"
|
|
2372
|
+
]
|
|
2373
|
+
},
|
|
2374
|
+
"then": {
|
|
2375
|
+
"properties": {
|
|
2376
|
+
"type": {
|
|
2377
|
+
"const": "zeebe:executionListener"
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
},
|
|
2321
2382
|
{
|
|
2322
2383
|
"if": {
|
|
2323
2384
|
"properties": {
|
|
@@ -2346,6 +2407,11 @@
|
|
|
2346
2407
|
"required": [
|
|
2347
2408
|
"retries"
|
|
2348
2409
|
]
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"required": [
|
|
2413
|
+
"headers"
|
|
2414
|
+
]
|
|
2349
2415
|
}
|
|
2350
2416
|
]
|
|
2351
2417
|
}
|
|
@@ -2385,7 +2451,13 @@
|
|
|
2385
2451
|
},
|
|
2386
2452
|
{
|
|
2387
2453
|
"type": "zeebe:executionListener",
|
|
2388
|
-
"eventType": "start"
|
|
2454
|
+
"eventType": "start",
|
|
2455
|
+
"headers": [
|
|
2456
|
+
{
|
|
2457
|
+
"key": "authToken",
|
|
2458
|
+
"value": "abc"
|
|
2459
|
+
}
|
|
2460
|
+
]
|
|
2389
2461
|
},
|
|
2390
2462
|
{
|
|
2391
2463
|
"type": "zeebe:taskListener",
|
|
@@ -2461,6 +2533,27 @@
|
|
|
2461
2533
|
"$id": "#/properties/property/binding/retries",
|
|
2462
2534
|
"type": "string",
|
|
2463
2535
|
"description": "The number of retries for a listener (zeebe:executionListener, zeebe:taskListener)."
|
|
2536
|
+
},
|
|
2537
|
+
"headers": {
|
|
2538
|
+
"$id": "#/properties/property/binding/headers",
|
|
2539
|
+
"type": "array",
|
|
2540
|
+
"description": "Headers for an execution listener (zeebe:executionListener).",
|
|
2541
|
+
"items": {
|
|
2542
|
+
"type": "object",
|
|
2543
|
+
"required": [
|
|
2544
|
+
"key",
|
|
2545
|
+
"value"
|
|
2546
|
+
],
|
|
2547
|
+
"properties": {
|
|
2548
|
+
"key": {
|
|
2549
|
+
"type": "string"
|
|
2550
|
+
},
|
|
2551
|
+
"value": {
|
|
2552
|
+
"type": "string"
|
|
2553
|
+
}
|
|
2554
|
+
},
|
|
2555
|
+
"additionalProperties": false
|
|
2556
|
+
}
|
|
2464
2557
|
}
|
|
2465
2558
|
}
|
|
2466
2559
|
},
|