@camunda/element-templates-json-schema-shared 0.10.0 → 0.10.1
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 +2 -2
- package/src/defs/condition.json +8 -53
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/element-templates-json-schema-shared",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
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": "
|
|
19
|
+
"gitHead": "8546f9a24eeef869b6e7e61b53caaa060c52b0ea"
|
|
20
20
|
}
|
package/src/defs/condition.json
CHANGED
|
@@ -63,36 +63,16 @@
|
|
|
63
63
|
]
|
|
64
64
|
},
|
|
65
65
|
"conditionDependingOnId": {
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"const": {
|
|
74
|
-
"$data": "2/id"
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"required": [
|
|
81
|
-
"allMatch"
|
|
82
|
-
],
|
|
83
|
-
"allMatch": {
|
|
84
|
-
"contains": {
|
|
85
|
-
"properties": {
|
|
86
|
-
"property": {
|
|
87
|
-
"const": {
|
|
88
|
-
"$data": "2/id"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
66
|
+
"required": [
|
|
67
|
+
"property"
|
|
68
|
+
],
|
|
69
|
+
"properties": {
|
|
70
|
+
"property": {
|
|
71
|
+
"const": {
|
|
72
|
+
"$data": "2/id"
|
|
93
73
|
}
|
|
94
74
|
}
|
|
95
|
-
|
|
75
|
+
}
|
|
96
76
|
}
|
|
97
77
|
},
|
|
98
78
|
"allOf": [
|
|
@@ -114,31 +94,6 @@
|
|
|
114
94
|
"required": [ "condition" ]
|
|
115
95
|
}
|
|
116
96
|
}
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"$comment": "property#condition should not depend on property#id",
|
|
120
|
-
"if": {
|
|
121
|
-
"required": [
|
|
122
|
-
"id",
|
|
123
|
-
"choices"
|
|
124
|
-
],
|
|
125
|
-
"properties": {
|
|
126
|
-
"choices": {
|
|
127
|
-
"contains": {
|
|
128
|
-
"properties": {
|
|
129
|
-
"condition": {
|
|
130
|
-
"$ref": "#/definitions/conditionDependingOnId"
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"then": {
|
|
138
|
-
"not": {
|
|
139
|
-
"required": [ "choices" ]
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
97
|
}
|
|
143
98
|
],
|
|
144
99
|
"properties": {
|