@camunda/element-templates-json-schema 0.17.2 → 0.18.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 +40 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/element-templates-json-schema",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.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": "7408b8006fc97efef2f8e7ed29eea09f5b52f74d"
|
|
29
29
|
}
|
package/resources/schema.json
CHANGED
|
@@ -237,6 +237,46 @@
|
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"if": {
|
|
243
|
+
"oneOf": [
|
|
244
|
+
{
|
|
245
|
+
"properties": {
|
|
246
|
+
"type": {
|
|
247
|
+
"enum": [
|
|
248
|
+
"String",
|
|
249
|
+
"Text"
|
|
250
|
+
]
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"required": [
|
|
254
|
+
"type"
|
|
255
|
+
]
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"not": {
|
|
259
|
+
"required": [
|
|
260
|
+
"type"
|
|
261
|
+
]
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
]
|
|
265
|
+
},
|
|
266
|
+
"then": {
|
|
267
|
+
"properties": {
|
|
268
|
+
"placeholder": {
|
|
269
|
+
"type": "string"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"else": {
|
|
274
|
+
"not": {
|
|
275
|
+
"required": [
|
|
276
|
+
"placeholder"
|
|
277
|
+
]
|
|
278
|
+
}
|
|
279
|
+
}
|
|
240
280
|
}
|
|
241
281
|
],
|
|
242
282
|
"properties": {
|