@camunda/element-templates-json-schema-shared 0.6.0 → 0.8.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/element-templates-json-schema-shared",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "description": "Shared schema definitions used within element-templates-json-schema",
5
5
  "files": [
6
6
  "src"
@@ -16,5 +16,5 @@
16
16
  "camunda"
17
17
  ],
18
18
  "license": "MIT",
19
- "gitHead": "9e7328bdb70118c0f71cc21563b2c00d6946d242"
19
+ "gitHead": "b39ac2ebe4f2600dc155d4bdbe1cd3a177408d5a"
20
20
  }
@@ -78,6 +78,9 @@
78
78
  "$id": "#/properties/property/choices/item/value",
79
79
  "type": "string",
80
80
  "description": "The value of a choice."
81
+ },
82
+ "condition": {
83
+ "$ref": "condition.json"
81
84
  }
82
85
  },
83
86
  "required": [
@@ -31,6 +31,24 @@
31
31
  "type": "boolean",
32
32
  "description": "Indicates whether the element template is a default template."
33
33
  },
34
+ "deprecated": {
35
+ "$id": "#/deprecated",
36
+ "type": ["boolean", "object"],
37
+ "description": "Indicates whether the element template is deprecated.",
38
+ "properties": {
39
+ "message": {
40
+ "$id": "#/deprecated/message",
41
+ "type": "string",
42
+ "description": "Optional message to describe migration path."
43
+ },
44
+ "documentationRef": {
45
+ "$id": "#/deprecated/documentationRef",
46
+ "type": "string",
47
+ "pattern": "^(https|http)://.*",
48
+ "description": "Optional link to migration documentation."
49
+ }
50
+ }
51
+ },
34
52
  "appliesTo": {
35
53
  "$id": "#/appliesTo",
36
54
  "type": "array",