@camunda/zeebe-element-templates-json-schema 0.38.0 → 0.39.1

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.38.0",
3
+ "version": "0.39.1",
4
4
  "description": "JSON Schema for (Zeebe) Element Templates",
5
5
  "files": [
6
6
  "resources"
@@ -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
  ]
@@ -1807,6 +1807,49 @@
1807
1807
  }
1808
1808
  ]
1809
1809
  }
1810
+ },
1811
+ {
1812
+ "if": {
1813
+ "properties": {
1814
+ "type": {
1815
+ "const": "Hidden"
1816
+ },
1817
+ "binding": {
1818
+ "properties": {
1819
+ "type": {
1820
+ "not": {
1821
+ "const": "zeebe:userTask"
1822
+ }
1823
+ }
1824
+ },
1825
+ "required": [
1826
+ "type"
1827
+ ]
1828
+ }
1829
+ },
1830
+ "required": [
1831
+ "type",
1832
+ "binding"
1833
+ ],
1834
+ "not": {
1835
+ "anyOf": [
1836
+ {
1837
+ "required": [
1838
+ "value"
1839
+ ]
1840
+ },
1841
+ {
1842
+ "required": [
1843
+ "generatedValue"
1844
+ ]
1845
+ }
1846
+ ]
1847
+ }
1848
+ },
1849
+ "then": {
1850
+ "deprecated": true,
1851
+ "deprecationWarning": "Hidden property should specify either 'value' or 'generatedValue'"
1852
+ }
1810
1853
  }
1811
1854
  ],
1812
1855
  "properties": {
@@ -4160,68 +4203,117 @@
4160
4203
  ]
4161
4204
  },
4162
4205
  {
4163
- "if": {
4164
- "properties": {
4165
- "properties": {
4166
- "contains": {
4206
+ "allOf": [
4207
+ {
4208
+ "if": {
4209
+ "properties": {
4167
4210
  "properties": {
4168
- "binding": {
4211
+ "contains": {
4169
4212
  "properties": {
4170
- "type": {
4171
- "const": "zeebe:calledElement"
4213
+ "binding": {
4214
+ "properties": {
4215
+ "type": {
4216
+ "const": "zeebe:calledElement"
4217
+ },
4218
+ "property": {
4219
+ "const": "propagateAllChildVariables"
4220
+ }
4221
+ },
4222
+ "required": [
4223
+ "property",
4224
+ "type"
4225
+ ]
4172
4226
  },
4173
- "property": {
4174
- "const": "propagateAllChildVariables"
4227
+ "value": {
4228
+ "const": true
4175
4229
  }
4176
4230
  },
4177
4231
  "required": [
4178
- "property",
4179
- "type"
4232
+ "binding",
4233
+ "value"
4180
4234
  ]
4181
- },
4182
- "value": {
4183
- "const": true
4184
4235
  }
4185
- },
4186
- "required": [
4187
- "binding",
4188
- "value"
4189
- ]
4190
- }
4191
- }
4192
- },
4193
- "required": [
4194
- "properties"
4195
- ]
4196
- },
4197
- "then": {
4198
- "properties": {
4199
- "properties": {
4200
- "not": {
4201
- "contains": {
4202
- "properties": {
4203
- "binding": {
4236
+ }
4237
+ },
4238
+ "required": [
4239
+ "properties"
4240
+ ]
4241
+ },
4242
+ "then": {
4243
+ "properties": {
4244
+ "properties": {
4245
+ "not": {
4246
+ "contains": {
4204
4247
  "properties": {
4205
- "type": {
4206
- "const": "zeebe:output"
4248
+ "binding": {
4249
+ "properties": {
4250
+ "type": {
4251
+ "const": "zeebe:output"
4252
+ }
4253
+ },
4254
+ "required": [
4255
+ "type"
4256
+ ]
4207
4257
  }
4208
4258
  },
4209
4259
  "required": [
4210
- "type"
4260
+ "binding"
4211
4261
  ]
4212
4262
  }
4263
+ }
4264
+ }
4265
+ },
4266
+ "required": [
4267
+ "properties"
4268
+ ]
4269
+ }
4270
+ },
4271
+ {
4272
+ "if": {
4273
+ "properties": {
4274
+ "entriesVisible": {
4275
+ "type": "object",
4276
+ "properties": {
4277
+ "outputs": {
4278
+ "const": true
4279
+ }
4213
4280
  },
4214
4281
  "required": [
4215
- "binding"
4282
+ "outputs"
4216
4283
  ]
4217
4284
  }
4285
+ },
4286
+ "required": [
4287
+ "entriesVisible"
4288
+ ]
4289
+ },
4290
+ "then": {
4291
+ "properties": {
4292
+ "properties": {
4293
+ "not": {
4294
+ "contains": {
4295
+ "properties": {
4296
+ "binding": {
4297
+ "properties": {
4298
+ "type": {
4299
+ "const": "zeebe:output"
4300
+ }
4301
+ },
4302
+ "required": [
4303
+ "type"
4304
+ ]
4305
+ }
4306
+ },
4307
+ "required": [
4308
+ "binding"
4309
+ ]
4310
+ }
4311
+ }
4312
+ }
4218
4313
  }
4219
4314
  }
4220
- },
4221
- "required": [
4222
- "properties"
4223
- ]
4224
- }
4315
+ }
4316
+ ]
4225
4317
  },
4226
4318
  {
4227
4319
  "allOf": [