@camunda/zeebe-element-templates-json-schema 0.29.0 → 0.31.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/LICENSE +21 -21
- package/README.md +53 -53
- package/package.json +2 -2
- package/resources/error-messages.json +56 -1
- package/resources/schema.json +276 -4
- package/resources/test.json +17 -0
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 camunda Services GmbH
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 camunda Services GmbH
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
# @camunda/zeebe-element-templates-json-schema
|
|
2
|
-
|
|
3
|
-
[](https://github.com/camunda/element-templates-json-schema/actions?query=workflow%3ACI)
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
JSON Schema for (Zeebe) Element Templates. The schema is built on top of and validated by [`json-schema@draft-07`](https://json-schema.org/draft-07/json-schema-release-notes.html).
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
Set the `$schema` attribute to reference the [JSON Schema definition](./resources/schema.json).
|
|
13
|
-
|
|
14
|
-
```js
|
|
15
|
-
{
|
|
16
|
-
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
17
|
-
"name": "My Service Worker",
|
|
18
|
-
"id": "com.example.ServiceWorker",
|
|
19
|
-
"appliesTo": [ "bpmn:ServiceTask" ],
|
|
20
|
-
"properties": []
|
|
21
|
-
}
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
You can also use a specific version.
|
|
25
|
-
|
|
26
|
-
```js
|
|
27
|
-
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema@0.1.0/resources/schema.json"
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Build and Run
|
|
31
|
-
|
|
32
|
-
Prepare the project by installing all dependencies:
|
|
33
|
-
|
|
34
|
-
```sh
|
|
35
|
-
npm install
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Bundle [the source schema files](./src) together
|
|
39
|
-
|
|
40
|
-
```sh
|
|
41
|
-
npm run build
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
Execute the following command to run the generated schema against the tests
|
|
45
|
-
|
|
46
|
-
```sh
|
|
47
|
-
npm run test
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## License
|
|
51
|
-
|
|
52
|
-
MIT
|
|
53
|
-
|
|
1
|
+
# @camunda/zeebe-element-templates-json-schema
|
|
2
|
+
|
|
3
|
+
[](https://github.com/camunda/element-templates-json-schema/actions?query=workflow%3ACI)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
JSON Schema for (Zeebe) Element Templates. The schema is built on top of and validated by [`json-schema@draft-07`](https://json-schema.org/draft-07/json-schema-release-notes.html).
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
Set the `$schema` attribute to reference the [JSON Schema definition](./resources/schema.json).
|
|
13
|
+
|
|
14
|
+
```js
|
|
15
|
+
{
|
|
16
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
17
|
+
"name": "My Service Worker",
|
|
18
|
+
"id": "com.example.ServiceWorker",
|
|
19
|
+
"appliesTo": [ "bpmn:ServiceTask" ],
|
|
20
|
+
"properties": []
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
You can also use a specific version.
|
|
25
|
+
|
|
26
|
+
```js
|
|
27
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema@0.1.0/resources/schema.json"
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Build and Run
|
|
31
|
+
|
|
32
|
+
Prepare the project by installing all dependencies:
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
npm install
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Bundle [the source schema files](./src) together
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
npm run build
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Execute the following command to run the generated schema against the tests
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
npm run test
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## License
|
|
51
|
+
|
|
52
|
+
MIT
|
|
53
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/zeebe-element-templates-json-schema",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.0",
|
|
4
4
|
"description": "JSON Schema for (Zeebe) Element Templates",
|
|
5
5
|
"files": [
|
|
6
6
|
"resources"
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"camunda"
|
|
27
27
|
],
|
|
28
28
|
"license": "MIT",
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "51d8cc520d00fc9d9bc23e5224a7167cf002cbd3"
|
|
30
30
|
}
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
"properties",
|
|
331
331
|
"type"
|
|
332
332
|
],
|
|
333
|
-
"errorMessage": "invalid property.binding type ${0}; must be any of { property, zeebe:taskDefinition:type, zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader, bpmn:Message#property, bpmn:Message#zeebe:subscription#property, zeebe:taskDefinition, zeebe:calledElement, zeebe:linkedResource, zeebe:userTask, zeebe:formDefinition, zeebe:calledDecision, zeebe:script, zeebe:assignmentDefinition, zeebe:priorityDefinition, zeebe:adHoc }"
|
|
333
|
+
"errorMessage": "invalid property.binding type ${0}; must be any of { property, zeebe:taskDefinition:type, zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader, bpmn:Message#property, bpmn:Message#zeebe:subscription#property, zeebe:taskDefinition, zeebe:calledElement, zeebe:linkedResource, zeebe:userTask, zeebe:formDefinition, zeebe:calledDecision, zeebe:script, zeebe:assignmentDefinition, zeebe:priorityDefinition, zeebe:adHoc, zeebe:taskSchedule }"
|
|
334
334
|
},
|
|
335
335
|
{
|
|
336
336
|
"path": [
|
|
@@ -732,5 +732,60 @@
|
|
|
732
732
|
2
|
|
733
733
|
],
|
|
734
734
|
"errorMessage": "When using \"zeebe:adHoc\" with properties \"outputCollection\" and \"outputElement\", \"zeebe:taskDefinition\" with property=\"type\" must be set on the same element"
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"path": [
|
|
738
|
+
"definitions",
|
|
739
|
+
"template",
|
|
740
|
+
"allOf",
|
|
741
|
+
1,
|
|
742
|
+
"allOf",
|
|
743
|
+
9,
|
|
744
|
+
"allOf",
|
|
745
|
+
2,
|
|
746
|
+
"then",
|
|
747
|
+
"allOf",
|
|
748
|
+
0,
|
|
749
|
+
"properties",
|
|
750
|
+
"properties",
|
|
751
|
+
"items"
|
|
752
|
+
],
|
|
753
|
+
"errorMessage": "Property ${0/binding/name} must not be set when using a \"zeebe:taskDefinition\" implementation for a \"bpmn:AdHocSubProcess\""
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"path": [
|
|
757
|
+
"definitions",
|
|
758
|
+
"template",
|
|
759
|
+
"allOf",
|
|
760
|
+
1,
|
|
761
|
+
"allOf",
|
|
762
|
+
9,
|
|
763
|
+
"allOf",
|
|
764
|
+
2,
|
|
765
|
+
"then",
|
|
766
|
+
"allOf",
|
|
767
|
+
1,
|
|
768
|
+
"properties",
|
|
769
|
+
"properties",
|
|
770
|
+
"items"
|
|
771
|
+
],
|
|
772
|
+
"errorMessage": "Property ${0/binding/property} must not be set when using a \"zeebe:taskDefinition\" implementation for a \"bpmn:AdHocSubProcess\""
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"path": [
|
|
776
|
+
"definitions",
|
|
777
|
+
"properties",
|
|
778
|
+
"allOf",
|
|
779
|
+
1,
|
|
780
|
+
"items",
|
|
781
|
+
"allOf",
|
|
782
|
+
24,
|
|
783
|
+
"allOf",
|
|
784
|
+
1,
|
|
785
|
+
"then",
|
|
786
|
+
"properties",
|
|
787
|
+
"value"
|
|
788
|
+
],
|
|
789
|
+
"errorMessage": "Must be conforming to an ISO 8601 combined date and time representation"
|
|
735
790
|
}
|
|
736
791
|
]
|
package/resources/schema.json
CHANGED
|
@@ -469,7 +469,8 @@
|
|
|
469
469
|
"zeebe:script",
|
|
470
470
|
"zeebe:assignmentDefinition",
|
|
471
471
|
"zeebe:priorityDefinition",
|
|
472
|
-
"zeebe:adHoc"
|
|
472
|
+
"zeebe:adHoc",
|
|
473
|
+
"zeebe:taskSchedule"
|
|
473
474
|
]
|
|
474
475
|
}
|
|
475
476
|
},
|
|
@@ -681,7 +682,19 @@
|
|
|
681
682
|
"then": {
|
|
682
683
|
"properties": {
|
|
683
684
|
"value": {
|
|
684
|
-
"
|
|
685
|
+
"oneOf": [
|
|
686
|
+
{
|
|
687
|
+
"type": "string",
|
|
688
|
+
"pattern": "^="
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"type": "string",
|
|
692
|
+
"not": {
|
|
693
|
+
"pattern": "^="
|
|
694
|
+
},
|
|
695
|
+
"deprecated": true
|
|
696
|
+
}
|
|
697
|
+
]
|
|
685
698
|
}
|
|
686
699
|
}
|
|
687
700
|
}
|
|
@@ -1443,6 +1456,95 @@
|
|
|
1443
1456
|
}
|
|
1444
1457
|
}
|
|
1445
1458
|
]
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
"allOf": [
|
|
1462
|
+
{
|
|
1463
|
+
"if": {
|
|
1464
|
+
"properties": {
|
|
1465
|
+
"binding": {
|
|
1466
|
+
"properties": {
|
|
1467
|
+
"type": {
|
|
1468
|
+
"const": "zeebe:taskSchedule"
|
|
1469
|
+
},
|
|
1470
|
+
"property": {
|
|
1471
|
+
"enum": [
|
|
1472
|
+
"dueDate",
|
|
1473
|
+
"followUpDate"
|
|
1474
|
+
]
|
|
1475
|
+
}
|
|
1476
|
+
},
|
|
1477
|
+
"required": [
|
|
1478
|
+
"type",
|
|
1479
|
+
"property"
|
|
1480
|
+
]
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
"required": [
|
|
1484
|
+
"binding"
|
|
1485
|
+
]
|
|
1486
|
+
},
|
|
1487
|
+
"then": {
|
|
1488
|
+
"required": [
|
|
1489
|
+
"type"
|
|
1490
|
+
],
|
|
1491
|
+
"properties": {
|
|
1492
|
+
"type": {
|
|
1493
|
+
"enum": [
|
|
1494
|
+
"Hidden",
|
|
1495
|
+
"String",
|
|
1496
|
+
"Dropdown",
|
|
1497
|
+
"Text"
|
|
1498
|
+
]
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
"if": {
|
|
1505
|
+
"properties": {
|
|
1506
|
+
"binding": {
|
|
1507
|
+
"properties": {
|
|
1508
|
+
"type": {
|
|
1509
|
+
"const": "zeebe:taskSchedule"
|
|
1510
|
+
},
|
|
1511
|
+
"property": {
|
|
1512
|
+
"enum": [
|
|
1513
|
+
"dueDate",
|
|
1514
|
+
"followUpDate"
|
|
1515
|
+
]
|
|
1516
|
+
}
|
|
1517
|
+
},
|
|
1518
|
+
"required": [
|
|
1519
|
+
"type",
|
|
1520
|
+
"property"
|
|
1521
|
+
]
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
"required": [
|
|
1525
|
+
"binding",
|
|
1526
|
+
"value"
|
|
1527
|
+
],
|
|
1528
|
+
"not": {
|
|
1529
|
+
"required": [
|
|
1530
|
+
"feel"
|
|
1531
|
+
]
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1534
|
+
"then": {
|
|
1535
|
+
"properties": {
|
|
1536
|
+
"value": {
|
|
1537
|
+
"type": "string",
|
|
1538
|
+
"pattern": "^(?<date>\\d{4}-(?<month>0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]))T(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](Z|([+-](0[0-9]|1[0-3]):[0-5][0-9](\\[[^\\]]+\\])?))$",
|
|
1539
|
+
"description": "The value must be conforming to an ISO 8601 combined date and time representation."
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
"required": [
|
|
1543
|
+
"value"
|
|
1544
|
+
]
|
|
1545
|
+
}
|
|
1546
|
+
}
|
|
1547
|
+
]
|
|
1446
1548
|
}
|
|
1447
1549
|
],
|
|
1448
1550
|
"properties": {
|
|
@@ -1719,6 +1821,7 @@
|
|
|
1719
1821
|
"properties": {
|
|
1720
1822
|
"property": {
|
|
1721
1823
|
"enum": [
|
|
1824
|
+
"activeElementsCollection",
|
|
1722
1825
|
"outputCollection",
|
|
1723
1826
|
"outputElement"
|
|
1724
1827
|
]
|
|
@@ -1729,6 +1832,31 @@
|
|
|
1729
1832
|
]
|
|
1730
1833
|
}
|
|
1731
1834
|
},
|
|
1835
|
+
{
|
|
1836
|
+
"if": {
|
|
1837
|
+
"properties": {
|
|
1838
|
+
"type": {
|
|
1839
|
+
"const": "zeebe:taskSchedule"
|
|
1840
|
+
}
|
|
1841
|
+
},
|
|
1842
|
+
"required": [
|
|
1843
|
+
"type"
|
|
1844
|
+
]
|
|
1845
|
+
},
|
|
1846
|
+
"then": {
|
|
1847
|
+
"properties": {
|
|
1848
|
+
"property": {
|
|
1849
|
+
"enum": [
|
|
1850
|
+
"dueDate",
|
|
1851
|
+
"followUpDate"
|
|
1852
|
+
]
|
|
1853
|
+
}
|
|
1854
|
+
},
|
|
1855
|
+
"required": [
|
|
1856
|
+
"property"
|
|
1857
|
+
]
|
|
1858
|
+
}
|
|
1859
|
+
},
|
|
1732
1860
|
{
|
|
1733
1861
|
"examples": [
|
|
1734
1862
|
{
|
|
@@ -1785,7 +1913,8 @@
|
|
|
1785
1913
|
"zeebe:script",
|
|
1786
1914
|
"zeebe:assignmentDefinition",
|
|
1787
1915
|
"zeebe:priorityDefinition",
|
|
1788
|
-
"zeebe:adHoc"
|
|
1916
|
+
"zeebe:adHoc",
|
|
1917
|
+
"zeebe:taskSchedule"
|
|
1789
1918
|
]
|
|
1790
1919
|
},
|
|
1791
1920
|
"name": {
|
|
@@ -2333,7 +2462,8 @@
|
|
|
2333
2462
|
"enum": [
|
|
2334
2463
|
"zeebe:formDefinition",
|
|
2335
2464
|
"zeebe:assignmentDefinition",
|
|
2336
|
-
"zeebe:priorityDefinition"
|
|
2465
|
+
"zeebe:priorityDefinition",
|
|
2466
|
+
"zeebe:taskSchedule"
|
|
2337
2467
|
]
|
|
2338
2468
|
}
|
|
2339
2469
|
},
|
|
@@ -3118,6 +3248,148 @@
|
|
|
3118
3248
|
"properties"
|
|
3119
3249
|
]
|
|
3120
3250
|
}
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"$comment": "When zeebe:taskDefinition is used, bpmn:cancelRemainingInstances, bpmn:completionCondition, and zeebe:activeElementsCollection properties are not allowed",
|
|
3254
|
+
"if": {
|
|
3255
|
+
"allOf": [
|
|
3256
|
+
{
|
|
3257
|
+
"anyOf": [
|
|
3258
|
+
{
|
|
3259
|
+
"required": [
|
|
3260
|
+
"elementType"
|
|
3261
|
+
],
|
|
3262
|
+
"properties": {
|
|
3263
|
+
"elementType": {
|
|
3264
|
+
"required": [
|
|
3265
|
+
"value"
|
|
3266
|
+
],
|
|
3267
|
+
"properties": {
|
|
3268
|
+
"value": {
|
|
3269
|
+
"const": "bpmn:AdHocSubProcess"
|
|
3270
|
+
}
|
|
3271
|
+
}
|
|
3272
|
+
}
|
|
3273
|
+
}
|
|
3274
|
+
},
|
|
3275
|
+
{
|
|
3276
|
+
"required": [
|
|
3277
|
+
"appliesTo"
|
|
3278
|
+
],
|
|
3279
|
+
"properties": {
|
|
3280
|
+
"appliesTo": {
|
|
3281
|
+
"const": [
|
|
3282
|
+
"bpmn:AdHocSubProcess"
|
|
3283
|
+
]
|
|
3284
|
+
}
|
|
3285
|
+
}
|
|
3286
|
+
}
|
|
3287
|
+
]
|
|
3288
|
+
},
|
|
3289
|
+
{
|
|
3290
|
+
"properties": {
|
|
3291
|
+
"properties": {
|
|
3292
|
+
"contains": {
|
|
3293
|
+
"type": "object",
|
|
3294
|
+
"properties": {
|
|
3295
|
+
"binding": {
|
|
3296
|
+
"properties": {
|
|
3297
|
+
"type": {
|
|
3298
|
+
"const": "zeebe:taskDefinition"
|
|
3299
|
+
},
|
|
3300
|
+
"property": {
|
|
3301
|
+
"const": "type"
|
|
3302
|
+
}
|
|
3303
|
+
},
|
|
3304
|
+
"required": [
|
|
3305
|
+
"type",
|
|
3306
|
+
"property"
|
|
3307
|
+
]
|
|
3308
|
+
}
|
|
3309
|
+
},
|
|
3310
|
+
"required": [
|
|
3311
|
+
"binding"
|
|
3312
|
+
]
|
|
3313
|
+
}
|
|
3314
|
+
}
|
|
3315
|
+
},
|
|
3316
|
+
"required": [
|
|
3317
|
+
"properties"
|
|
3318
|
+
]
|
|
3319
|
+
}
|
|
3320
|
+
]
|
|
3321
|
+
},
|
|
3322
|
+
"then": {
|
|
3323
|
+
"allOf": [
|
|
3324
|
+
{
|
|
3325
|
+
"properties": {
|
|
3326
|
+
"properties": {
|
|
3327
|
+
"items": {
|
|
3328
|
+
"not": {
|
|
3329
|
+
"properties": {
|
|
3330
|
+
"binding": {
|
|
3331
|
+
"properties": {
|
|
3332
|
+
"type": {
|
|
3333
|
+
"const": "property"
|
|
3334
|
+
},
|
|
3335
|
+
"name": {
|
|
3336
|
+
"enum": [
|
|
3337
|
+
"cancelRemainingInstances",
|
|
3338
|
+
"completionCondition"
|
|
3339
|
+
]
|
|
3340
|
+
}
|
|
3341
|
+
},
|
|
3342
|
+
"required": [
|
|
3343
|
+
"type",
|
|
3344
|
+
"name"
|
|
3345
|
+
]
|
|
3346
|
+
}
|
|
3347
|
+
},
|
|
3348
|
+
"required": [
|
|
3349
|
+
"binding"
|
|
3350
|
+
]
|
|
3351
|
+
}
|
|
3352
|
+
}
|
|
3353
|
+
}
|
|
3354
|
+
},
|
|
3355
|
+
"required": [
|
|
3356
|
+
"properties"
|
|
3357
|
+
]
|
|
3358
|
+
},
|
|
3359
|
+
{
|
|
3360
|
+
"properties": {
|
|
3361
|
+
"properties": {
|
|
3362
|
+
"items": {
|
|
3363
|
+
"not": {
|
|
3364
|
+
"properties": {
|
|
3365
|
+
"binding": {
|
|
3366
|
+
"properties": {
|
|
3367
|
+
"type": {
|
|
3368
|
+
"const": "zeebe:adHoc"
|
|
3369
|
+
},
|
|
3370
|
+
"property": {
|
|
3371
|
+
"const": "activeElementsCollection"
|
|
3372
|
+
}
|
|
3373
|
+
},
|
|
3374
|
+
"required": [
|
|
3375
|
+
"type",
|
|
3376
|
+
"property"
|
|
3377
|
+
]
|
|
3378
|
+
}
|
|
3379
|
+
},
|
|
3380
|
+
"required": [
|
|
3381
|
+
"binding"
|
|
3382
|
+
]
|
|
3383
|
+
}
|
|
3384
|
+
}
|
|
3385
|
+
}
|
|
3386
|
+
},
|
|
3387
|
+
"required": [
|
|
3388
|
+
"properties"
|
|
3389
|
+
]
|
|
3390
|
+
}
|
|
3391
|
+
]
|
|
3392
|
+
}
|
|
3121
3393
|
}
|
|
3122
3394
|
]
|
|
3123
3395
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Ad hoc",
|
|
3
|
+
"id": "com.camunda.example.completionCondition",
|
|
4
|
+
"appliesTo": [
|
|
5
|
+
"bpmn:AdHocSubProcess"
|
|
6
|
+
],
|
|
7
|
+
"properties": [
|
|
8
|
+
{
|
|
9
|
+
"type": "String",
|
|
10
|
+
"feel": "required",
|
|
11
|
+
"binding": {
|
|
12
|
+
"type": "zeebe:taskDefinition",
|
|
13
|
+
"property": "type"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|