@camunda/zeebe-element-templates-json-schema 0.24.0 → 0.25.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.24.0",
3
+ "version": "0.25.1",
4
4
  "description": "JSON Schema for (Zeebe) Element Templates",
5
5
  "files": [
6
6
  "resources"
@@ -25,5 +25,5 @@
25
25
  "camunda"
26
26
  ],
27
27
  "license": "MIT",
28
- "gitHead": "f5d5f22a7f4bf98714cdce1a99ac5d782310b99a"
28
+ "gitHead": "287f53f7cf6e3ce2d553672c92b9c96821397f3a"
29
29
  }
@@ -497,5 +497,19 @@
497
497
  "then"
498
498
  ],
499
499
  "errorMessage": "Property \"resultVariable\" cannot be a Feel expression"
500
+ },
501
+ {
502
+ "path": [
503
+ "definitions",
504
+ "template",
505
+ "allOf",
506
+ 1,
507
+ "allOf",
508
+ 7,
509
+ "then",
510
+ "properties",
511
+ "properties"
512
+ ],
513
+ "errorMessage": "\"formId\" and \"externalReference\" cannot be used together"
500
514
  }
501
515
  ]
@@ -1981,9 +1981,9 @@
1981
1981
  }
1982
1982
  },
1983
1983
  {
1984
- "not": {
1984
+ "properties": {
1985
1985
  "properties": {
1986
- "properties": {
1986
+ "not": {
1987
1987
  "contains": {
1988
1988
  "properties": {
1989
1989
  "binding": {
@@ -2005,15 +2005,12 @@
2005
2005
  ]
2006
2006
  }
2007
2007
  }
2008
- },
2009
- "required": [
2010
- "properties"
2011
- ]
2012
- }
2008
+ }
2009
+ },
2010
+ "required": [
2011
+ "properties"
2012
+ ]
2013
2013
  }
2014
- ],
2015
- "required": [
2016
- "properties"
2017
2014
  ]
2018
2015
  }
2019
2016
  },
@@ -2124,9 +2121,9 @@
2124
2121
  }
2125
2122
  },
2126
2123
  {
2127
- "not": {
2124
+ "properties": {
2128
2125
  "properties": {
2129
- "properties": {
2126
+ "not": {
2130
2127
  "contains": {
2131
2128
  "properties": {
2132
2129
  "binding": {
@@ -2148,16 +2145,303 @@
2148
2145
  ]
2149
2146
  }
2150
2147
  }
2148
+ }
2149
+ },
2150
+ "required": [
2151
+ "properties"
2152
+ ]
2153
+ }
2154
+ ]
2155
+ }
2156
+ },
2157
+ {
2158
+ "if": {
2159
+ "properties": {
2160
+ "properties": {
2161
+ "contains": {
2162
+ "properties": {
2163
+ "binding": {
2164
+ "properties": {
2165
+ "property": {
2166
+ "const": "formId"
2167
+ },
2168
+ "type": {
2169
+ "const": "zeebe:formDefinition"
2170
+ }
2171
+ },
2172
+ "required": [
2173
+ "property",
2174
+ "type"
2175
+ ]
2176
+ }
2151
2177
  },
2152
2178
  "required": [
2153
- "properties"
2179
+ "binding"
2154
2180
  ]
2155
2181
  }
2156
2182
  }
2157
- ],
2183
+ },
2158
2184
  "required": [
2159
2185
  "properties"
2160
2186
  ]
2187
+ },
2188
+ "then": {
2189
+ "properties": {
2190
+ "properties": {
2191
+ "not": {
2192
+ "contains": {
2193
+ "properties": {
2194
+ "binding": {
2195
+ "properties": {
2196
+ "type": {
2197
+ "const": "zeebe:formDefinition"
2198
+ },
2199
+ "property": {
2200
+ "const": "externalReference"
2201
+ }
2202
+ },
2203
+ "required": [
2204
+ "property",
2205
+ "type"
2206
+ ]
2207
+ }
2208
+ },
2209
+ "required": [
2210
+ "binding"
2211
+ ]
2212
+ }
2213
+ }
2214
+ }
2215
+ },
2216
+ "required": [
2217
+ "properties"
2218
+ ]
2219
+ }
2220
+ }
2221
+ ]
2222
+ },
2223
+ {
2224
+ "allOf": [
2225
+ {
2226
+ "if": {
2227
+ "anyOf": [
2228
+ {
2229
+ "required": [
2230
+ "elementType"
2231
+ ],
2232
+ "properties": {
2233
+ "elementType": {
2234
+ "required": [
2235
+ "value"
2236
+ ],
2237
+ "properties": {
2238
+ "value": {
2239
+ "const": "bpmn:AdHocSubProcess"
2240
+ }
2241
+ }
2242
+ }
2243
+ }
2244
+ },
2245
+ {
2246
+ "required": [
2247
+ "appliesTo"
2248
+ ],
2249
+ "properties": {
2250
+ "appliesTo": {
2251
+ "const": [
2252
+ "bpmn:AdHocSubProcess"
2253
+ ]
2254
+ }
2255
+ }
2256
+ }
2257
+ ]
2258
+ },
2259
+ "then": {
2260
+ "properties": {
2261
+ "properties": {
2262
+ "items": {
2263
+ "if": {
2264
+ "properties": {
2265
+ "binding": {
2266
+ "properties": {
2267
+ "type": {
2268
+ "const": "property"
2269
+ },
2270
+ "name": {
2271
+ "const": "completionCondition"
2272
+ }
2273
+ },
2274
+ "required": [
2275
+ "type",
2276
+ "name"
2277
+ ]
2278
+ }
2279
+ },
2280
+ "required": [
2281
+ "binding"
2282
+ ]
2283
+ },
2284
+ "then": {
2285
+ "properties": {
2286
+ "feel": {
2287
+ "const": "required"
2288
+ }
2289
+ },
2290
+ "required": [
2291
+ "feel"
2292
+ ]
2293
+ }
2294
+ }
2295
+ }
2296
+ }
2297
+ }
2298
+ },
2299
+ {
2300
+ "if": {
2301
+ "anyOf": [
2302
+ {
2303
+ "required": [
2304
+ "elementType"
2305
+ ],
2306
+ "properties": {
2307
+ "elementType": {
2308
+ "required": [
2309
+ "value"
2310
+ ],
2311
+ "properties": {
2312
+ "value": {
2313
+ "const": "bpmn:SequenceFlow"
2314
+ }
2315
+ }
2316
+ }
2317
+ }
2318
+ },
2319
+ {
2320
+ "required": [
2321
+ "appliesTo"
2322
+ ],
2323
+ "properties": {
2324
+ "appliesTo": {
2325
+ "const": [
2326
+ "bpmn:SequenceFlow"
2327
+ ]
2328
+ }
2329
+ }
2330
+ }
2331
+ ]
2332
+ },
2333
+ "then": {
2334
+ "properties": {
2335
+ "properties": {
2336
+ "items": {
2337
+ "if": {
2338
+ "properties": {
2339
+ "binding": {
2340
+ "properties": {
2341
+ "type": {
2342
+ "const": "property"
2343
+ },
2344
+ "name": {
2345
+ "const": "conditionExpression"
2346
+ }
2347
+ },
2348
+ "required": [
2349
+ "type",
2350
+ "name"
2351
+ ]
2352
+ }
2353
+ },
2354
+ "required": [
2355
+ "binding"
2356
+ ]
2357
+ },
2358
+ "then": {
2359
+ "properties": {
2360
+ "feel": {
2361
+ "const": "required"
2362
+ }
2363
+ },
2364
+ "required": [
2365
+ "feel"
2366
+ ]
2367
+ }
2368
+ }
2369
+ }
2370
+ }
2371
+ }
2372
+ },
2373
+ {
2374
+ "if": {
2375
+ "anyOf": [
2376
+ {
2377
+ "required": [
2378
+ "elementType"
2379
+ ],
2380
+ "properties": {
2381
+ "elementType": {
2382
+ "required": [
2383
+ "value"
2384
+ ],
2385
+ "properties": {
2386
+ "value": {
2387
+ "const": "bpmn:ComplexGateway"
2388
+ }
2389
+ }
2390
+ }
2391
+ }
2392
+ },
2393
+ {
2394
+ "required": [
2395
+ "appliesTo"
2396
+ ],
2397
+ "properties": {
2398
+ "appliesTo": {
2399
+ "const": [
2400
+ "bpmn:ComplexGateway"
2401
+ ]
2402
+ }
2403
+ }
2404
+ }
2405
+ ]
2406
+ },
2407
+ "then": {
2408
+ "properties": {
2409
+ "properties": {
2410
+ "items": {
2411
+ "if": {
2412
+ "properties": {
2413
+ "binding": {
2414
+ "properties": {
2415
+ "type": {
2416
+ "const": "property"
2417
+ },
2418
+ "name": {
2419
+ "const": "activationCondition"
2420
+ }
2421
+ },
2422
+ "required": [
2423
+ "type",
2424
+ "name"
2425
+ ]
2426
+ }
2427
+ },
2428
+ "required": [
2429
+ "binding"
2430
+ ]
2431
+ },
2432
+ "then": {
2433
+ "properties": {
2434
+ "feel": {
2435
+ "const": "required"
2436
+ }
2437
+ },
2438
+ "required": [
2439
+ "feel"
2440
+ ]
2441
+ }
2442
+ }
2443
+ }
2444
+ }
2161
2445
  }
2162
2446
  }
2163
2447
  ]