@camunda/zeebe-element-templates-json-schema 0.40.0 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/zeebe-element-templates-json-schema",
3
- "version": "0.40.0",
3
+ "version": "0.41.0",
4
4
  "description": "JSON Schema for (Zeebe) Element Templates",
5
5
  "files": [
6
6
  "resources"
@@ -25,5 +25,6 @@
25
25
  "element-templates",
26
26
  "camunda"
27
27
  ],
28
- "license": "MIT"
28
+ "license": "MIT",
29
+ "gitHead": "ee258fe16f2c0108f37fe7b36e3732ec3bc84462"
29
30
  }
@@ -5061,6 +5061,104 @@
5061
5061
  }
5062
5062
  }
5063
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
+ },
5064
5162
  "entriesVisible": {
5065
5163
  "$id": "#/entriesVisible",
5066
5164
  "oneOf": [
@@ -0,0 +1,17 @@
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,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAJBlWElmTU0AKgAAA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