@camunda/zeebe-element-templates-json-schema 0.15.0 → 0.16.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 +2 -2
- package/resources/schema.json +88 -3
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.16.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": "
|
|
28
|
+
"gitHead": "40e64e1d1346f276595b38bce187abb6f4114eb4"
|
|
29
29
|
}
|
package/resources/schema.json
CHANGED
|
@@ -261,6 +261,17 @@
|
|
|
261
261
|
"required": [
|
|
262
262
|
"oneOf"
|
|
263
263
|
]
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"properties": {
|
|
267
|
+
"isActive": {
|
|
268
|
+
"type": "boolean",
|
|
269
|
+
"description": "For `true`, activates the property when given property is active"
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"required": [
|
|
273
|
+
"isActive"
|
|
274
|
+
]
|
|
264
275
|
}
|
|
265
276
|
]
|
|
266
277
|
}
|
|
@@ -912,11 +923,86 @@
|
|
|
912
923
|
"binding": {
|
|
913
924
|
"properties": {
|
|
914
925
|
"type": {
|
|
926
|
+
"const": "bpmn:Message#property"
|
|
927
|
+
}
|
|
928
|
+
},
|
|
929
|
+
"required": [
|
|
930
|
+
"type"
|
|
931
|
+
]
|
|
932
|
+
}
|
|
933
|
+
},
|
|
934
|
+
"required": [
|
|
935
|
+
"binding"
|
|
936
|
+
]
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
},
|
|
940
|
+
"required": [
|
|
941
|
+
"properties"
|
|
942
|
+
]
|
|
943
|
+
},
|
|
944
|
+
"then": {
|
|
945
|
+
"required": [
|
|
946
|
+
"elementType"
|
|
947
|
+
],
|
|
948
|
+
"properties": {
|
|
949
|
+
"elementType": {
|
|
950
|
+
"required": [
|
|
951
|
+
"value"
|
|
952
|
+
],
|
|
953
|
+
"properties": {
|
|
954
|
+
"value": {
|
|
955
|
+
"enum": [
|
|
956
|
+
"bpmn:ReceiveTask",
|
|
957
|
+
"bpmn:SendTask",
|
|
958
|
+
"bpmn:StartEvent",
|
|
959
|
+
"bpmn:IntermediateCatchEvent",
|
|
960
|
+
"bpmn:IntermediateThrowEvent",
|
|
961
|
+
"bpmn:BoundaryEvent",
|
|
962
|
+
"bpmn:EndEvent"
|
|
963
|
+
]
|
|
964
|
+
}
|
|
965
|
+
},
|
|
966
|
+
"allOf": [
|
|
967
|
+
{
|
|
968
|
+
"if": {
|
|
969
|
+
"properties": {
|
|
970
|
+
"value": {
|
|
915
971
|
"enum": [
|
|
916
|
-
"bpmn:
|
|
917
|
-
"bpmn:
|
|
972
|
+
"bpmn:StartEvent",
|
|
973
|
+
"bpmn:IntermediateCatchEvent",
|
|
974
|
+
"bpmn:IntermediateThrowEvent",
|
|
975
|
+
"bpmn:BoundaryEvent",
|
|
976
|
+
"bpmn:EndEvent"
|
|
918
977
|
]
|
|
919
978
|
}
|
|
979
|
+
}
|
|
980
|
+
},
|
|
981
|
+
"then": {
|
|
982
|
+
"eventDefinition": {
|
|
983
|
+
"const": "bpmn:MessageEventDefinition"
|
|
984
|
+
},
|
|
985
|
+
"required": [
|
|
986
|
+
"eventDefinition"
|
|
987
|
+
]
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
]
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"if": {
|
|
997
|
+
"properties": {
|
|
998
|
+
"properties": {
|
|
999
|
+
"contains": {
|
|
1000
|
+
"properties": {
|
|
1001
|
+
"binding": {
|
|
1002
|
+
"properties": {
|
|
1003
|
+
"type": {
|
|
1004
|
+
"const": "bpmn:Message#zeebe:subscription#property"
|
|
1005
|
+
}
|
|
920
1006
|
},
|
|
921
1007
|
"required": [
|
|
922
1008
|
"type"
|
|
@@ -946,7 +1032,6 @@
|
|
|
946
1032
|
"value": {
|
|
947
1033
|
"enum": [
|
|
948
1034
|
"bpmn:ReceiveTask",
|
|
949
|
-
"bpmn:SendTask",
|
|
950
1035
|
"bpmn:StartEvent",
|
|
951
1036
|
"bpmn:IntermediateCatchEvent",
|
|
952
1037
|
"bpmn:IntermediateThrowEvent",
|