@camunda/zeebe-element-templates-json-schema 0.39.2 → 0.41.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 +2 -2
- package/resources/schema.json +172 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/zeebe-element-templates-json-schema",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.0",
|
|
4
4
|
"description": "JSON Schema for (Zeebe) Element Templates",
|
|
5
5
|
"files": [
|
|
6
6
|
"resources"
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"camunda"
|
|
27
27
|
],
|
|
28
28
|
"license": "MIT",
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "ee258fe16f2c0108f37fe7b36e3732ec3bc84462"
|
|
30
30
|
}
|
package/resources/schema.json
CHANGED
|
@@ -1870,6 +1870,33 @@
|
|
|
1870
1870
|
"deprecated": true,
|
|
1871
1871
|
"deprecationWarning": "Using 'feel: optional' with 'editable: false' is invalid"
|
|
1872
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
|
+
}
|
|
1873
1900
|
}
|
|
1874
1901
|
],
|
|
1875
1902
|
"properties": {
|
|
@@ -2338,6 +2365,20 @@
|
|
|
2338
2365
|
]
|
|
2339
2366
|
}
|
|
2340
2367
|
},
|
|
2368
|
+
{
|
|
2369
|
+
"if": {
|
|
2370
|
+
"required": [
|
|
2371
|
+
"headers"
|
|
2372
|
+
]
|
|
2373
|
+
},
|
|
2374
|
+
"then": {
|
|
2375
|
+
"properties": {
|
|
2376
|
+
"type": {
|
|
2377
|
+
"const": "zeebe:executionListener"
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
},
|
|
2341
2382
|
{
|
|
2342
2383
|
"if": {
|
|
2343
2384
|
"properties": {
|
|
@@ -2366,6 +2407,11 @@
|
|
|
2366
2407
|
"required": [
|
|
2367
2408
|
"retries"
|
|
2368
2409
|
]
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"required": [
|
|
2413
|
+
"headers"
|
|
2414
|
+
]
|
|
2369
2415
|
}
|
|
2370
2416
|
]
|
|
2371
2417
|
}
|
|
@@ -2405,7 +2451,13 @@
|
|
|
2405
2451
|
},
|
|
2406
2452
|
{
|
|
2407
2453
|
"type": "zeebe:executionListener",
|
|
2408
|
-
"eventType": "start"
|
|
2454
|
+
"eventType": "start",
|
|
2455
|
+
"headers": [
|
|
2456
|
+
{
|
|
2457
|
+
"key": "authToken",
|
|
2458
|
+
"value": "abc"
|
|
2459
|
+
}
|
|
2460
|
+
]
|
|
2409
2461
|
},
|
|
2410
2462
|
{
|
|
2411
2463
|
"type": "zeebe:taskListener",
|
|
@@ -2481,6 +2533,27 @@
|
|
|
2481
2533
|
"$id": "#/properties/property/binding/retries",
|
|
2482
2534
|
"type": "string",
|
|
2483
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
|
+
}
|
|
2484
2557
|
}
|
|
2485
2558
|
}
|
|
2486
2559
|
},
|
|
@@ -4988,6 +5061,104 @@
|
|
|
4988
5061
|
}
|
|
4989
5062
|
}
|
|
4990
5063
|
},
|
|
5064
|
+
"steps": {
|
|
5065
|
+
"$id": "#/steps",
|
|
5066
|
+
"type": "array",
|
|
5067
|
+
"description": "Hierarchical menu exposed by this template. Each step is either a category (has nested steps) or a leaf (references a preset via presetId).",
|
|
5068
|
+
"items": {
|
|
5069
|
+
"$ref": "#/definitions/template/properties/steps/definitions/step"
|
|
5070
|
+
},
|
|
5071
|
+
"definitions": {
|
|
5072
|
+
"step": {
|
|
5073
|
+
"$id": "#/steps/step",
|
|
5074
|
+
"type": "object",
|
|
5075
|
+
"required": [
|
|
5076
|
+
"name"
|
|
5077
|
+
],
|
|
5078
|
+
"properties": {
|
|
5079
|
+
"name": {
|
|
5080
|
+
"$id": "#/steps/step/name",
|
|
5081
|
+
"type": "string",
|
|
5082
|
+
"description": "Step name. Shown in the popup menu. Required."
|
|
5083
|
+
},
|
|
5084
|
+
"description": {
|
|
5085
|
+
"$id": "#/steps/step/description",
|
|
5086
|
+
"type": "string",
|
|
5087
|
+
"description": "Optional description shown alongside the step name."
|
|
5088
|
+
},
|
|
5089
|
+
"keywords": {
|
|
5090
|
+
"$id": "#/steps/step/keywords",
|
|
5091
|
+
"type": "array",
|
|
5092
|
+
"items": {
|
|
5093
|
+
"type": "string"
|
|
5094
|
+
},
|
|
5095
|
+
"description": "Keywords used to match the step in search."
|
|
5096
|
+
},
|
|
5097
|
+
"steps": {
|
|
5098
|
+
"$id": "#/steps/step/steps",
|
|
5099
|
+
"type": "array",
|
|
5100
|
+
"description": "Child steps. Present on category steps.",
|
|
5101
|
+
"items": {
|
|
5102
|
+
"$ref": "#/definitions/template/properties/steps/definitions/step"
|
|
5103
|
+
}
|
|
5104
|
+
},
|
|
5105
|
+
"presetId": {
|
|
5106
|
+
"$id": "#/steps/step/presetId",
|
|
5107
|
+
"type": "string",
|
|
5108
|
+
"description": "Reference to a preset id defined in the template's presets array. Present on leaf steps."
|
|
5109
|
+
}
|
|
5110
|
+
},
|
|
5111
|
+
"oneOf": [
|
|
5112
|
+
{
|
|
5113
|
+
"required": [
|
|
5114
|
+
"steps"
|
|
5115
|
+
],
|
|
5116
|
+
"not": {
|
|
5117
|
+
"required": [
|
|
5118
|
+
"presetId"
|
|
5119
|
+
]
|
|
5120
|
+
}
|
|
5121
|
+
},
|
|
5122
|
+
{
|
|
5123
|
+
"required": [
|
|
5124
|
+
"presetId"
|
|
5125
|
+
],
|
|
5126
|
+
"not": {
|
|
5127
|
+
"required": [
|
|
5128
|
+
"steps"
|
|
5129
|
+
]
|
|
5130
|
+
}
|
|
5131
|
+
}
|
|
5132
|
+
]
|
|
5133
|
+
}
|
|
5134
|
+
}
|
|
5135
|
+
},
|
|
5136
|
+
"presets": {
|
|
5137
|
+
"$id": "#/presets",
|
|
5138
|
+
"type": "array",
|
|
5139
|
+
"description": "Predefined property value-mappings for the template. Referenced by leaf steps via presetId.",
|
|
5140
|
+
"items": {
|
|
5141
|
+
"$id": "#/presets/preset",
|
|
5142
|
+
"type": "object",
|
|
5143
|
+
"required": [
|
|
5144
|
+
"id",
|
|
5145
|
+
"properties"
|
|
5146
|
+
],
|
|
5147
|
+
"properties": {
|
|
5148
|
+
"id": {
|
|
5149
|
+
"$id": "#/presets/preset/id",
|
|
5150
|
+
"type": "string",
|
|
5151
|
+
"description": "Unique identifier for the preset. Referenced by a step's presetId. Required."
|
|
5152
|
+
},
|
|
5153
|
+
"properties": {
|
|
5154
|
+
"$id": "#/presets/preset/properties",
|
|
5155
|
+
"type": "object",
|
|
5156
|
+
"description": "Map of template property names to values applied on top of template defaults. Required.",
|
|
5157
|
+
"additionalProperties": true
|
|
5158
|
+
}
|
|
5159
|
+
}
|
|
5160
|
+
}
|
|
5161
|
+
},
|
|
4991
5162
|
"entriesVisible": {
|
|
4992
5163
|
"$id": "#/entriesVisible",
|
|
4993
5164
|
"oneOf": [
|