@camunda/zeebe-element-templates-json-schema 0.35.0 → 0.36.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 +3 -2
- package/resources/schema.json +180 -3
- package/resources/test.json +17 -0
- package/resources/deprecated-warnings.json +0 -17
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.36.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": "336b49f596986af7ea4021df960b1fced01020e0"
|
|
29
30
|
}
|
package/resources/schema.json
CHANGED
|
@@ -1671,6 +1671,101 @@
|
|
|
1671
1671
|
}
|
|
1672
1672
|
}
|
|
1673
1673
|
}
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"allOf": [
|
|
1677
|
+
{
|
|
1678
|
+
"if": {
|
|
1679
|
+
"properties": {
|
|
1680
|
+
"binding": {
|
|
1681
|
+
"properties": {
|
|
1682
|
+
"type": {
|
|
1683
|
+
"const": "bpmn:ConditionalEventDefinition#property"
|
|
1684
|
+
},
|
|
1685
|
+
"name": {
|
|
1686
|
+
"const": "condition"
|
|
1687
|
+
}
|
|
1688
|
+
},
|
|
1689
|
+
"required": [
|
|
1690
|
+
"type",
|
|
1691
|
+
"name"
|
|
1692
|
+
]
|
|
1693
|
+
}
|
|
1694
|
+
},
|
|
1695
|
+
"required": [
|
|
1696
|
+
"binding"
|
|
1697
|
+
]
|
|
1698
|
+
},
|
|
1699
|
+
"then": {
|
|
1700
|
+
"allOf": [
|
|
1701
|
+
{
|
|
1702
|
+
"required": [
|
|
1703
|
+
"type"
|
|
1704
|
+
],
|
|
1705
|
+
"properties": {
|
|
1706
|
+
"type": {
|
|
1707
|
+
"enum": [
|
|
1708
|
+
"Hidden",
|
|
1709
|
+
"String",
|
|
1710
|
+
"Text"
|
|
1711
|
+
]
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
"required": [
|
|
1717
|
+
"feel"
|
|
1718
|
+
],
|
|
1719
|
+
"properties": {
|
|
1720
|
+
"feel": {
|
|
1721
|
+
"const": "required"
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
}
|
|
1725
|
+
]
|
|
1726
|
+
}
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
"if": {
|
|
1730
|
+
"properties": {
|
|
1731
|
+
"binding": {
|
|
1732
|
+
"properties": {
|
|
1733
|
+
"type": {
|
|
1734
|
+
"const": "bpmn:ConditionalEventDefinition#zeebe:conditionalFilter#property"
|
|
1735
|
+
},
|
|
1736
|
+
"name": {
|
|
1737
|
+
"enum": [
|
|
1738
|
+
"variableNames",
|
|
1739
|
+
"variableEvents"
|
|
1740
|
+
]
|
|
1741
|
+
}
|
|
1742
|
+
},
|
|
1743
|
+
"required": [
|
|
1744
|
+
"type",
|
|
1745
|
+
"name"
|
|
1746
|
+
]
|
|
1747
|
+
}
|
|
1748
|
+
},
|
|
1749
|
+
"required": [
|
|
1750
|
+
"binding"
|
|
1751
|
+
]
|
|
1752
|
+
},
|
|
1753
|
+
"then": {
|
|
1754
|
+
"required": [
|
|
1755
|
+
"type"
|
|
1756
|
+
],
|
|
1757
|
+
"properties": {
|
|
1758
|
+
"type": {
|
|
1759
|
+
"enum": [
|
|
1760
|
+
"Hidden",
|
|
1761
|
+
"String",
|
|
1762
|
+
"Text"
|
|
1763
|
+
]
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
]
|
|
1674
1769
|
}
|
|
1675
1770
|
],
|
|
1676
1771
|
"properties": {
|
|
@@ -1693,7 +1788,9 @@
|
|
|
1693
1788
|
"bpmn:Message#property",
|
|
1694
1789
|
"bpmn:Message#zeebe:subscription#property",
|
|
1695
1790
|
"bpmn:Signal#property",
|
|
1696
|
-
"bpmn:TimerEventDefinition#property"
|
|
1791
|
+
"bpmn:TimerEventDefinition#property",
|
|
1792
|
+
"bpmn:ConditionalEventDefinition#property",
|
|
1793
|
+
"bpmn:ConditionalEventDefinition#zeebe:conditionalFilter#property"
|
|
1697
1794
|
]
|
|
1698
1795
|
}
|
|
1699
1796
|
},
|
|
@@ -2035,6 +2132,57 @@
|
|
|
2035
2132
|
]
|
|
2036
2133
|
}
|
|
2037
2134
|
},
|
|
2135
|
+
{
|
|
2136
|
+
"allOf": [
|
|
2137
|
+
{
|
|
2138
|
+
"if": {
|
|
2139
|
+
"properties": {
|
|
2140
|
+
"type": {
|
|
2141
|
+
"const": "bpmn:ConditionalEventDefinition#property"
|
|
2142
|
+
}
|
|
2143
|
+
},
|
|
2144
|
+
"required": [
|
|
2145
|
+
"type"
|
|
2146
|
+
]
|
|
2147
|
+
},
|
|
2148
|
+
"then": {
|
|
2149
|
+
"properties": {
|
|
2150
|
+
"name": {
|
|
2151
|
+
"const": "condition"
|
|
2152
|
+
}
|
|
2153
|
+
},
|
|
2154
|
+
"required": [
|
|
2155
|
+
"name"
|
|
2156
|
+
]
|
|
2157
|
+
}
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
"if": {
|
|
2161
|
+
"properties": {
|
|
2162
|
+
"type": {
|
|
2163
|
+
"const": "bpmn:ConditionalEventDefinition#zeebe:conditionalFilter#property"
|
|
2164
|
+
}
|
|
2165
|
+
},
|
|
2166
|
+
"required": [
|
|
2167
|
+
"type"
|
|
2168
|
+
]
|
|
2169
|
+
},
|
|
2170
|
+
"then": {
|
|
2171
|
+
"properties": {
|
|
2172
|
+
"name": {
|
|
2173
|
+
"enum": [
|
|
2174
|
+
"variableNames",
|
|
2175
|
+
"variableEvents"
|
|
2176
|
+
]
|
|
2177
|
+
}
|
|
2178
|
+
},
|
|
2179
|
+
"required": [
|
|
2180
|
+
"name"
|
|
2181
|
+
]
|
|
2182
|
+
}
|
|
2183
|
+
}
|
|
2184
|
+
]
|
|
2185
|
+
},
|
|
2038
2186
|
{
|
|
2039
2187
|
"examples": [
|
|
2040
2188
|
{
|
|
@@ -2094,7 +2242,9 @@
|
|
|
2094
2242
|
"zeebe:adHoc",
|
|
2095
2243
|
"zeebe:taskSchedule",
|
|
2096
2244
|
"bpmn:Signal#property",
|
|
2097
|
-
"bpmn:TimerEventDefinition#property"
|
|
2245
|
+
"bpmn:TimerEventDefinition#property",
|
|
2246
|
+
"bpmn:ConditionalEventDefinition#property",
|
|
2247
|
+
"bpmn:ConditionalEventDefinition#zeebe:conditionalFilter#property"
|
|
2098
2248
|
]
|
|
2099
2249
|
},
|
|
2100
2250
|
"name": {
|
|
@@ -4268,7 +4418,8 @@
|
|
|
4268
4418
|
"enum": [
|
|
4269
4419
|
"bpmn:MessageEventDefinition",
|
|
4270
4420
|
"bpmn:SignalEventDefinition",
|
|
4271
|
-
"bpmn:TimerEventDefinition"
|
|
4421
|
+
"bpmn:TimerEventDefinition",
|
|
4422
|
+
"bpmn:ConditionalEventDefinition"
|
|
4272
4423
|
]
|
|
4273
4424
|
}
|
|
4274
4425
|
}
|
|
@@ -4321,6 +4472,32 @@
|
|
|
4321
4472
|
"value"
|
|
4322
4473
|
]
|
|
4323
4474
|
}
|
|
4475
|
+
},
|
|
4476
|
+
{
|
|
4477
|
+
"if": {
|
|
4478
|
+
"properties": {
|
|
4479
|
+
"eventDefinition": {
|
|
4480
|
+
"const": "bpmn:ConditionalEventDefinition"
|
|
4481
|
+
}
|
|
4482
|
+
},
|
|
4483
|
+
"required": [
|
|
4484
|
+
"eventDefinition"
|
|
4485
|
+
]
|
|
4486
|
+
},
|
|
4487
|
+
"then": {
|
|
4488
|
+
"properties": {
|
|
4489
|
+
"value": {
|
|
4490
|
+
"enum": [
|
|
4491
|
+
"bpmn:StartEvent",
|
|
4492
|
+
"bpmn:IntermediateCatchEvent",
|
|
4493
|
+
"bpmn:BoundaryEvent"
|
|
4494
|
+
]
|
|
4495
|
+
}
|
|
4496
|
+
},
|
|
4497
|
+
"required": [
|
|
4498
|
+
"value"
|
|
4499
|
+
]
|
|
4500
|
+
}
|
|
4324
4501
|
}
|
|
4325
4502
|
]
|
|
4326
4503
|
}
|
|
@@ -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,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAJBlWElmTU0AKgAAAAgABgEGAAMAAAABAAIAAAESAAMAAAABAAEAAAEaAAUAAAABAAAAVgEbAAUAAAABAAAAXgEoAAMAAAABAAIAAIdpAAQAAAABAAAAZgAAAAAAAABIAAAAAQAAAEgAAAABAAOgAQADAAAAAQABAACgAgAEAAAAAQAAABSgAwAEAAAAAQAAABQAAAAACYcg2gAAAAlwSFlzAAALEwAACxMBAJqcGAAAAm1pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDYuMC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy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