@camunda/element-templates-json-schema-shared 0.6.0 → 0.7.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/defs/base.json +18 -0
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.7.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": "ba2fc757776278d7cc47dff43b3a6175232343b3"
20
20
  }
@@ -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",