@camunda/zeebe-element-templates-json-schema 0.14.0 → 0.16.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/zeebe-element-templates-json-schema",
3
- "version": "0.14.0",
3
+ "version": "0.16.0",
4
4
  "description": "JSON Schema for (Zeebe) Element Templates",
5
5
  "files": [
6
6
  "resources"
@@ -24,5 +24,6 @@
24
24
  "element-templates",
25
25
  "camunda"
26
26
  ],
27
- "license": "MIT"
27
+ "license": "MIT",
28
+ "gitHead": "09f6e2abb2a9b8ada0399ec7d2a4fa3498a79001"
28
29
  }
@@ -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
  }
@@ -922,21 +933,63 @@
922
933
  "type"
923
934
  ]
924
935
  }
925
- }
936
+ },
937
+ "required": [
938
+ "binding"
939
+ ]
926
940
  }
927
941
  }
928
- }
942
+ },
943
+ "required": [
944
+ "properties"
945
+ ]
929
946
  },
930
947
  "then": {
948
+ "required": [
949
+ "elementType"
950
+ ],
931
951
  "properties": {
932
952
  "elementType": {
953
+ "required": [
954
+ "value"
955
+ ],
933
956
  "properties": {
934
- "eventDefinition": {
935
- "const": "bpmn:MessageEventDefinition"
957
+ "value": {
958
+ "enum": [
959
+ "bpmn:ReceiveTask",
960
+ "bpmn:SendTask",
961
+ "bpmn:StartEvent",
962
+ "bpmn:IntermediateCatchEvent",
963
+ "bpmn:IntermediateThrowEvent",
964
+ "bpmn:BoundaryEvent",
965
+ "bpmn:EndEvent"
966
+ ]
936
967
  }
937
968
  },
938
- "required": [
939
- "eventDefinition"
969
+ "allOf": [
970
+ {
971
+ "if": {
972
+ "properties": {
973
+ "value": {
974
+ "enum": [
975
+ "bpmn:StartEvent",
976
+ "bpmn:IntermediateCatchEvent",
977
+ "bpmn:IntermediateThrowEvent",
978
+ "bpmn:BoundaryEvent",
979
+ "bpmn:EndEvent"
980
+ ]
981
+ }
982
+ }
983
+ },
984
+ "then": {
985
+ "eventDefinition": {
986
+ "const": "bpmn:MessageEventDefinition"
987
+ },
988
+ "required": [
989
+ "eventDefinition"
990
+ ]
991
+ }
992
+ }
940
993
  ]
941
994
  }
942
995
  }
@@ -983,13 +1036,6 @@
983
1036
  },
984
1037
  {
985
1038
  "if": {
986
- "properties": {
987
- "eventDefinition": {
988
- "enum": [
989
- "bpmn:MessageEventDefinition"
990
- ]
991
- }
992
- },
993
1039
  "required": [
994
1040
  "eventDefinition"
995
1041
  ]