@camunda/zeebe-element-templates-json-schema 0.38.0 → 0.39.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.38.0",
3
+ "version": "0.39.0",
4
4
  "description": "JSON Schema for (Zeebe) Element Templates",
5
5
  "files": [
6
6
  "resources"
@@ -1807,6 +1807,49 @@
1807
1807
  }
1808
1808
  ]
1809
1809
  }
1810
+ },
1811
+ {
1812
+ "if": {
1813
+ "properties": {
1814
+ "type": {
1815
+ "const": "Hidden"
1816
+ },
1817
+ "binding": {
1818
+ "properties": {
1819
+ "type": {
1820
+ "not": {
1821
+ "const": "zeebe:userTask"
1822
+ }
1823
+ }
1824
+ },
1825
+ "required": [
1826
+ "type"
1827
+ ]
1828
+ }
1829
+ },
1830
+ "required": [
1831
+ "type",
1832
+ "binding"
1833
+ ],
1834
+ "not": {
1835
+ "anyOf": [
1836
+ {
1837
+ "required": [
1838
+ "value"
1839
+ ]
1840
+ },
1841
+ {
1842
+ "required": [
1843
+ "generatedValue"
1844
+ ]
1845
+ }
1846
+ ]
1847
+ }
1848
+ },
1849
+ "then": {
1850
+ "deprecated": true,
1851
+ "deprecationWarning": "Hidden property should specify either 'value' or 'generatedValue'"
1852
+ }
1810
1853
  }
1811
1854
  ],
1812
1855
  "properties": {