@camunda/zeebe-element-templates-json-schema 0.39.0 → 0.39.2
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 +3 -2
- package/resources/error-messages.json +18 -0
- package/resources/schema.json +111 -42
- package/resources/test.json +17 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/zeebe-element-templates-json-schema",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.2",
|
|
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": "a7775f39969687e26cbbff1b13ef87c0b97dc87d"
|
|
29
30
|
}
|
|
@@ -860,10 +860,28 @@
|
|
|
860
860
|
1,
|
|
861
861
|
"allOf",
|
|
862
862
|
12,
|
|
863
|
+
"allOf",
|
|
864
|
+
0,
|
|
863
865
|
"then",
|
|
864
866
|
"properties",
|
|
865
867
|
"properties"
|
|
866
868
|
],
|
|
867
869
|
"errorMessage": "Binding with `type`=`zeebe:output` cannot be used when `propagateAllChildVariables` is set to `true`"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"path": [
|
|
873
|
+
"definitions",
|
|
874
|
+
"template",
|
|
875
|
+
"allOf",
|
|
876
|
+
1,
|
|
877
|
+
"allOf",
|
|
878
|
+
12,
|
|
879
|
+
"allOf",
|
|
880
|
+
1,
|
|
881
|
+
"then",
|
|
882
|
+
"properties",
|
|
883
|
+
"properties"
|
|
884
|
+
],
|
|
885
|
+
"errorMessage": "Binding with `type`=`zeebe:output` must not be used when `entriesVisible.outputs` is set to `true`"
|
|
868
886
|
}
|
|
869
887
|
]
|
package/resources/schema.json
CHANGED
|
@@ -1850,6 +1850,26 @@
|
|
|
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
|
+
}
|
|
1853
1873
|
}
|
|
1854
1874
|
],
|
|
1855
1875
|
"properties": {
|
|
@@ -4203,68 +4223,117 @@
|
|
|
4203
4223
|
]
|
|
4204
4224
|
},
|
|
4205
4225
|
{
|
|
4206
|
-
"
|
|
4207
|
-
|
|
4208
|
-
"
|
|
4209
|
-
"
|
|
4226
|
+
"allOf": [
|
|
4227
|
+
{
|
|
4228
|
+
"if": {
|
|
4229
|
+
"properties": {
|
|
4210
4230
|
"properties": {
|
|
4211
|
-
"
|
|
4231
|
+
"contains": {
|
|
4212
4232
|
"properties": {
|
|
4213
|
-
"
|
|
4214
|
-
"
|
|
4233
|
+
"binding": {
|
|
4234
|
+
"properties": {
|
|
4235
|
+
"type": {
|
|
4236
|
+
"const": "zeebe:calledElement"
|
|
4237
|
+
},
|
|
4238
|
+
"property": {
|
|
4239
|
+
"const": "propagateAllChildVariables"
|
|
4240
|
+
}
|
|
4241
|
+
},
|
|
4242
|
+
"required": [
|
|
4243
|
+
"property",
|
|
4244
|
+
"type"
|
|
4245
|
+
]
|
|
4215
4246
|
},
|
|
4216
|
-
"
|
|
4217
|
-
"const":
|
|
4247
|
+
"value": {
|
|
4248
|
+
"const": true
|
|
4218
4249
|
}
|
|
4219
4250
|
},
|
|
4220
4251
|
"required": [
|
|
4221
|
-
"
|
|
4222
|
-
"
|
|
4252
|
+
"binding",
|
|
4253
|
+
"value"
|
|
4223
4254
|
]
|
|
4224
|
-
},
|
|
4225
|
-
"value": {
|
|
4226
|
-
"const": true
|
|
4227
4255
|
}
|
|
4228
|
-
}
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
},
|
|
4240
|
-
"then": {
|
|
4241
|
-
"properties": {
|
|
4242
|
-
"properties": {
|
|
4243
|
-
"not": {
|
|
4244
|
-
"contains": {
|
|
4245
|
-
"properties": {
|
|
4246
|
-
"binding": {
|
|
4256
|
+
}
|
|
4257
|
+
},
|
|
4258
|
+
"required": [
|
|
4259
|
+
"properties"
|
|
4260
|
+
]
|
|
4261
|
+
},
|
|
4262
|
+
"then": {
|
|
4263
|
+
"properties": {
|
|
4264
|
+
"properties": {
|
|
4265
|
+
"not": {
|
|
4266
|
+
"contains": {
|
|
4247
4267
|
"properties": {
|
|
4248
|
-
"
|
|
4249
|
-
"
|
|
4268
|
+
"binding": {
|
|
4269
|
+
"properties": {
|
|
4270
|
+
"type": {
|
|
4271
|
+
"const": "zeebe:output"
|
|
4272
|
+
}
|
|
4273
|
+
},
|
|
4274
|
+
"required": [
|
|
4275
|
+
"type"
|
|
4276
|
+
]
|
|
4250
4277
|
}
|
|
4251
4278
|
},
|
|
4252
4279
|
"required": [
|
|
4253
|
-
"
|
|
4280
|
+
"binding"
|
|
4254
4281
|
]
|
|
4255
4282
|
}
|
|
4283
|
+
}
|
|
4284
|
+
}
|
|
4285
|
+
},
|
|
4286
|
+
"required": [
|
|
4287
|
+
"properties"
|
|
4288
|
+
]
|
|
4289
|
+
}
|
|
4290
|
+
},
|
|
4291
|
+
{
|
|
4292
|
+
"if": {
|
|
4293
|
+
"properties": {
|
|
4294
|
+
"entriesVisible": {
|
|
4295
|
+
"type": "object",
|
|
4296
|
+
"properties": {
|
|
4297
|
+
"outputs": {
|
|
4298
|
+
"const": true
|
|
4299
|
+
}
|
|
4256
4300
|
},
|
|
4257
4301
|
"required": [
|
|
4258
|
-
"
|
|
4302
|
+
"outputs"
|
|
4259
4303
|
]
|
|
4260
4304
|
}
|
|
4305
|
+
},
|
|
4306
|
+
"required": [
|
|
4307
|
+
"entriesVisible"
|
|
4308
|
+
]
|
|
4309
|
+
},
|
|
4310
|
+
"then": {
|
|
4311
|
+
"properties": {
|
|
4312
|
+
"properties": {
|
|
4313
|
+
"not": {
|
|
4314
|
+
"contains": {
|
|
4315
|
+
"properties": {
|
|
4316
|
+
"binding": {
|
|
4317
|
+
"properties": {
|
|
4318
|
+
"type": {
|
|
4319
|
+
"const": "zeebe:output"
|
|
4320
|
+
}
|
|
4321
|
+
},
|
|
4322
|
+
"required": [
|
|
4323
|
+
"type"
|
|
4324
|
+
]
|
|
4325
|
+
}
|
|
4326
|
+
},
|
|
4327
|
+
"required": [
|
|
4328
|
+
"binding"
|
|
4329
|
+
]
|
|
4330
|
+
}
|
|
4331
|
+
}
|
|
4332
|
+
}
|
|
4261
4333
|
}
|
|
4262
4334
|
}
|
|
4263
|
-
}
|
|
4264
|
-
|
|
4265
|
-
"properties"
|
|
4266
|
-
]
|
|
4267
|
-
}
|
|
4335
|
+
}
|
|
4336
|
+
]
|
|
4268
4337
|
},
|
|
4269
4338
|
{
|
|
4270
4339
|
"allOf": [
|
|
@@ -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,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAJBlWElmTU0AKgAAAAgABgEGAAMAAAABAAIAAAESAAMAAAABAAEAAAEaAAUAAAABAAAAVgEbAAUAAAABAAAAXgEoAAMAAAABAAIAAIdpAAQAAAABAAAAZgAAAAAAAABIAAAAAQAAAEgAAAABAAOgAQADAAAAAQABAACgAgAEAAAAAQAAABSgAwAEAAAAAQAAABQAAAAACYcg2gAAAAlwSFlzAAALEwAACxMBAJqcGAAAAm1pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDYuMC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPgogICAgICAgICA8dGlmZjpQaG90b21ldHJpY0ludGVycHJldGF0aW9uPjI8L3RpZmY6UGhvdG9tZXRyaWNJbnRlcnByZXRhdGlvbj4KICAgICAgICAgPHRpZmY6WFJlc29sdXRpb24+NzI8L3RpZmY6WFJlc29sdXRpb24+CiAgICAgICAgIDx0aWZmOllSZXNvbHV0aW9uPjcyPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICAgICA8dGlmZjpDb21wcmVzc2lvbj4xPC90aWZmOkNvbXByZXNzaW9uPgogICAgICAgICA8dGlmZjpSZXNvbHV0aW9uVW5pdD4yPC90aWZmOlJlc29sdXRpb25Vbml0PgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KsVruIwAAANlJREFUOBHtlM0NhiAMhoui83hnCcdiHCfw5jqScDMh+vn2Sw0xUj14tAla+vMALcFsu9CLUr3IYtQHvK7ouq6E8UTsXRAuQVX9Sw3dGKOm3AIBmKaJIc45FcZO3MMr2Y/I5nEccU95QIeIjyenj7rDlBKFEMh7z8h5ngk2a8tpBgtcnQOJaETbtjQMA4f0fU/LslBd10VocSnsQjobYzzWbJpGbUwRCIJ0tOu6Awib2A9jphSPLDGoiAByXfznv7pDBAMmZRbwGZLPb4ECzZM0/XtttOo88/0AKcyM+XZC2/gAAAAASUVORK5CYII="
|
|
16
|
+
}
|
|
17
|
+
}
|