@camunda/element-templates-json-schema 0.17.0 → 0.17.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/resources/schema.json +8 -55
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/element-templates-json-schema",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"description": "JSON Schema for (Camunda) Element Templates",
|
|
5
5
|
"files": [
|
|
6
6
|
"resources"
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"camunda"
|
|
26
26
|
],
|
|
27
27
|
"license": "MIT",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "8546f9a24eeef869b6e7e61b53caaa060c52b0ea"
|
|
29
29
|
}
|
package/resources/schema.json
CHANGED
|
@@ -110,36 +110,16 @@
|
|
|
110
110
|
]
|
|
111
111
|
},
|
|
112
112
|
"conditionDependingOnId": {
|
|
113
|
-
"
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"const": {
|
|
121
|
-
"$data": "2/id"
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"required": [
|
|
128
|
-
"allMatch"
|
|
129
|
-
],
|
|
130
|
-
"allMatch": {
|
|
131
|
-
"contains": {
|
|
132
|
-
"properties": {
|
|
133
|
-
"property": {
|
|
134
|
-
"const": {
|
|
135
|
-
"$data": "2/id"
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
113
|
+
"required": [
|
|
114
|
+
"property"
|
|
115
|
+
],
|
|
116
|
+
"properties": {
|
|
117
|
+
"property": {
|
|
118
|
+
"const": {
|
|
119
|
+
"$data": "2/id"
|
|
140
120
|
}
|
|
141
121
|
}
|
|
142
|
-
|
|
122
|
+
}
|
|
143
123
|
}
|
|
144
124
|
},
|
|
145
125
|
"allOf": [
|
|
@@ -163,33 +143,6 @@
|
|
|
163
143
|
]
|
|
164
144
|
}
|
|
165
145
|
}
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"$comment": "property#condition should not depend on property#id",
|
|
169
|
-
"if": {
|
|
170
|
-
"required": [
|
|
171
|
-
"id",
|
|
172
|
-
"choices"
|
|
173
|
-
],
|
|
174
|
-
"properties": {
|
|
175
|
-
"choices": {
|
|
176
|
-
"contains": {
|
|
177
|
-
"properties": {
|
|
178
|
-
"condition": {
|
|
179
|
-
"$ref": "#/definitions/properties/allOf/0/items/allOf/1/definitions/conditionDependingOnId"
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
"then": {
|
|
187
|
-
"not": {
|
|
188
|
-
"required": [
|
|
189
|
-
"choices"
|
|
190
|
-
]
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
146
|
}
|
|
194
147
|
],
|
|
195
148
|
"properties": {
|