@camunda/zeebe-element-templates-json-schema 0.39.2 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/zeebe-element-templates-json-schema",
3
- "version": "0.39.2",
3
+ "version": "0.40.0",
4
4
  "description": "JSON Schema for (Zeebe) Element Templates",
5
5
  "files": [
6
6
  "resources"
@@ -25,6 +25,5 @@
25
25
  "element-templates",
26
26
  "camunda"
27
27
  ],
28
- "license": "MIT",
29
- "gitHead": "a7775f39969687e26cbbff1b13ef87c0b97dc87d"
28
+ "license": "MIT"
30
29
  }
@@ -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
  },
@@ -1,17 +0,0 @@
1
- {
2
- "$schema": "./schema.json",
3
- "name": "abc",
4
- "id": "502175ce-da98-405c-af9f-c88883dddfa6",
5
- "version": 1732785081726,
6
- "description": "",
7
- "appliesTo": [
8
- "bpmn:Task"
9
- ],
10
- "engines": {
11
- "camunda": "*"
12
- },
13
- "properties": [],
14
- "icon": {
15
- "contents": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAJBlWElmTU0AKgAAAAgABgEGAAMAAAABAAIAAAESAAMAAAABAAEAAAEaAAUAAAABAAAAVgEbAAUAAAABAAAAXgEoAAMAAAABAAIAAIdpAAQAAAABAAAAZgAAAAAA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