@camunda/zeebe-element-templates-json-schema 0.12.0 → 0.14.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.12.0",
3
+ "version": "0.14.0",
4
4
  "description": "JSON Schema for (Zeebe) Element Templates",
5
5
  "files": [
6
6
  "resources"
@@ -24,6 +24,5 @@
24
24
  "element-templates",
25
25
  "camunda"
26
26
  ],
27
- "license": "MIT",
28
- "gitHead": "b39ac2ebe4f2600dc155d4bdbe1cd3a177408d5a"
27
+ "license": "MIT"
29
28
  }
@@ -343,10 +343,10 @@
343
343
  "zeebe:output",
344
344
  "zeebe:property",
345
345
  "zeebe:taskHeader",
346
- "zeebe:taskDefinition:retries",
347
346
  "zeebe:taskDefinition:type",
348
347
  "bpmn:Message#property",
349
- "bpmn:Message#zeebe:subscription#property"
348
+ "bpmn:Message#zeebe:subscription#property",
349
+ "zeebe:taskDefinition"
350
350
  ]
351
351
  }
352
352
  },
@@ -582,6 +582,46 @@
582
582
  ]
583
583
  }
584
584
  },
585
+ {
586
+ "if": {
587
+ "properties": {
588
+ "type": {
589
+ "const": "zeebe:taskDefinition"
590
+ }
591
+ },
592
+ "required": [
593
+ "type"
594
+ ]
595
+ },
596
+ "then": {
597
+ "properties": {
598
+ "property": {
599
+ "enum": [
600
+ "type",
601
+ "retries"
602
+ ]
603
+ }
604
+ },
605
+ "required": [
606
+ "property"
607
+ ]
608
+ }
609
+ },
610
+ {
611
+ "if": {
612
+ "properties": {
613
+ "type": {
614
+ "const": "zeebe:taskDefinition:type"
615
+ }
616
+ },
617
+ "required": [
618
+ "type"
619
+ ]
620
+ },
621
+ "then": {
622
+ "deprecated": true
623
+ }
624
+ },
585
625
  {
586
626
  "examples": [
587
627
  {
@@ -601,14 +641,16 @@
601
641
  "name": "property"
602
642
  },
603
643
  {
604
- "type": "zeebe:taskDefinition:retries"
644
+ "type": "zeebe:taskHeader",
645
+ "key": "key"
605
646
  },
606
647
  {
607
- "type": "zeebe:taskDefinition:type"
648
+ "type": "zeebe:taskDefinition",
649
+ "property": "retries"
608
650
  },
609
651
  {
610
- "type": "zeebe:taskHeader",
611
- "key": "key"
652
+ "type": "zeebe:taskDefinition",
653
+ "property": "type"
612
654
  }
613
655
  ]
614
656
  }
@@ -621,13 +663,13 @@
621
663
  "enum": [
622
664
  "property",
623
665
  "zeebe:taskDefinition:type",
624
- "zeebe:taskDefinition:retries",
625
666
  "zeebe:input",
626
667
  "zeebe:output",
627
668
  "zeebe:property",
628
669
  "zeebe:taskHeader",
629
670
  "bpmn:Message#property",
630
- "bpmn:Message#zeebe:subscription#property"
671
+ "bpmn:Message#zeebe:subscription#property",
672
+ "zeebe:taskDefinition"
631
673
  ]
632
674
  },
633
675
  "name": {
@@ -644,6 +686,11 @@
644
686
  "$id": "#/properties/property/binding/key",
645
687
  "type": "string",
646
688
  "description": "The key value of a property binding (zeebe:taskHeader)."
689
+ },
690
+ "property": {
691
+ "$id": "#/properties/property/binding/property",
692
+ "type": "string",
693
+ "description": "The name of the property defined in the binding."
647
694
  }
648
695
  }
649
696
  },
@@ -974,6 +1021,12 @@
974
1021
  "tooltip": {
975
1022
  "$id": "#/groups/group/tooltip",
976
1023
  "type": "string"
1024
+ },
1025
+ "openByDefault": {
1026
+ "$id": "#/groups/group/openByDefault",
1027
+ "type": "boolean",
1028
+ "description": "Specifies whether the Group should be opened when first viewed. Defaults to true.",
1029
+ "default": true
977
1030
  }
978
1031
  }
979
1032
  }