@camunda/element-templates-json-schema 0.10.0-alpha.0 → 0.10.0-alpha.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 +5 -3
- package/resources/error-messages.json +352 -0
- package/resources/schema.json +15 -73
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/element-templates-json-schema",
|
|
3
|
-
"version": "0.10.0-alpha.
|
|
3
|
+
"version": "0.10.0-alpha.1",
|
|
4
4
|
"description": "JSON Schema for (Camunda) Element Templates",
|
|
5
5
|
"files": [
|
|
6
6
|
"resources"
|
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
"test": "mocha -r esm --reporter=spec --recursive test/spec",
|
|
10
10
|
"dev": "npm run test -- --watch",
|
|
11
11
|
"all": "run-s build test",
|
|
12
|
-
"build": "
|
|
12
|
+
"build": "run-s build:error-messages build:schema",
|
|
13
|
+
"build:error-messages": "node ../../tasks/generate-error-messages.js --input=./src/error-messages.json --output=./resources/error-messages.json",
|
|
14
|
+
"build:schema": "node ../../tasks/generate-schema.js --input=./src/schema.json --output=./resources/schema.json",
|
|
13
15
|
"prepare": "run-s build"
|
|
14
16
|
},
|
|
15
17
|
"repository": {
|
|
@@ -23,5 +25,5 @@
|
|
|
23
25
|
"camunda"
|
|
24
26
|
],
|
|
25
27
|
"license": "MIT",
|
|
26
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "978d4f0535684456d2a5878658aa12744d237df7"
|
|
27
29
|
}
|
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"path": [
|
|
4
|
+
"definitions",
|
|
5
|
+
"properties",
|
|
6
|
+
"allOf",
|
|
7
|
+
0,
|
|
8
|
+
"items",
|
|
9
|
+
"allOf",
|
|
10
|
+
0,
|
|
11
|
+
"then"
|
|
12
|
+
],
|
|
13
|
+
"errorMessage": "must provide choices=[] with \"Dropdown\" type"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"path": [
|
|
17
|
+
"definitions",
|
|
18
|
+
"properties",
|
|
19
|
+
"allOf",
|
|
20
|
+
0,
|
|
21
|
+
"items",
|
|
22
|
+
"properties",
|
|
23
|
+
"choices",
|
|
24
|
+
"items"
|
|
25
|
+
],
|
|
26
|
+
"errorMessage": {
|
|
27
|
+
"required": "{ name, value } must be specified for \"Dropdown\" choices"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"path": [
|
|
32
|
+
"definitions",
|
|
33
|
+
"properties",
|
|
34
|
+
"allOf",
|
|
35
|
+
1,
|
|
36
|
+
"items",
|
|
37
|
+
"properties",
|
|
38
|
+
"binding",
|
|
39
|
+
"allOf",
|
|
40
|
+
0,
|
|
41
|
+
"then"
|
|
42
|
+
],
|
|
43
|
+
"errorMessage": "property.binding ${0/type} requires name"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"path": [
|
|
47
|
+
"definitions",
|
|
48
|
+
"template",
|
|
49
|
+
"allOf",
|
|
50
|
+
0,
|
|
51
|
+
"properties",
|
|
52
|
+
"appliesTo",
|
|
53
|
+
"items"
|
|
54
|
+
],
|
|
55
|
+
"errorMessage": {
|
|
56
|
+
"pattern": "invalid item for \"appliesTo\", should contain namespaced property, example: \"bpmn:Task\""
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": [
|
|
61
|
+
"definitions",
|
|
62
|
+
"template",
|
|
63
|
+
"allOf",
|
|
64
|
+
0,
|
|
65
|
+
"properties",
|
|
66
|
+
"elementType"
|
|
67
|
+
],
|
|
68
|
+
"errorMessage": {
|
|
69
|
+
"required": {
|
|
70
|
+
"value": "missing elementType value"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"path": [
|
|
76
|
+
"definitions",
|
|
77
|
+
"template",
|
|
78
|
+
"allOf",
|
|
79
|
+
0,
|
|
80
|
+
"properties",
|
|
81
|
+
"elementType",
|
|
82
|
+
"properties",
|
|
83
|
+
"value"
|
|
84
|
+
],
|
|
85
|
+
"errorMessage": {
|
|
86
|
+
"pattern": "invalid item for \"elementType\", should contain namespaced property, example: \"bpmn:Task\""
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"path": [
|
|
91
|
+
"definitions",
|
|
92
|
+
"template",
|
|
93
|
+
"allOf",
|
|
94
|
+
"0",
|
|
95
|
+
"properties",
|
|
96
|
+
"groups",
|
|
97
|
+
"items"
|
|
98
|
+
],
|
|
99
|
+
"errorMessage": {
|
|
100
|
+
"required": {
|
|
101
|
+
"id": "missing id for group \"${0#}\"",
|
|
102
|
+
"label": "missing label for group \"${0#}\""
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"path": [
|
|
108
|
+
"definitions",
|
|
109
|
+
"template",
|
|
110
|
+
"allOf",
|
|
111
|
+
0,
|
|
112
|
+
"properties",
|
|
113
|
+
"documentationRef"
|
|
114
|
+
],
|
|
115
|
+
"errorMessage": {
|
|
116
|
+
"pattern": "Malformed documentation URL, must match \"^(https|http)://.*\""
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"path": [
|
|
121
|
+
"definitions",
|
|
122
|
+
"template",
|
|
123
|
+
"allOf",
|
|
124
|
+
0
|
|
125
|
+
],
|
|
126
|
+
"errorMessage": {
|
|
127
|
+
"required": {
|
|
128
|
+
"name": "missing template name",
|
|
129
|
+
"id": "missing template id",
|
|
130
|
+
"appliesTo": "missing appliesTo=[]",
|
|
131
|
+
"properties": "missing properties=[]"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"path": [
|
|
137
|
+
"definitions",
|
|
138
|
+
"properties",
|
|
139
|
+
"allOf",
|
|
140
|
+
0,
|
|
141
|
+
"items",
|
|
142
|
+
"properties",
|
|
143
|
+
"condition"
|
|
144
|
+
],
|
|
145
|
+
"errorMessage": {
|
|
146
|
+
"required": {
|
|
147
|
+
"property": "missing property name for condition"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"path": [
|
|
153
|
+
"definitions",
|
|
154
|
+
"properties",
|
|
155
|
+
"allOf",
|
|
156
|
+
1,
|
|
157
|
+
"items"
|
|
158
|
+
],
|
|
159
|
+
"errorMessage": {
|
|
160
|
+
"required": "missing binding for property \"${0#}\""
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"path": [
|
|
165
|
+
"definitions",
|
|
166
|
+
"properties",
|
|
167
|
+
"allOf",
|
|
168
|
+
1,
|
|
169
|
+
"items",
|
|
170
|
+
"allOf",
|
|
171
|
+
0,
|
|
172
|
+
"then",
|
|
173
|
+
"properties",
|
|
174
|
+
"type"
|
|
175
|
+
],
|
|
176
|
+
"errorMessage": "invalid property type ${0} for binding type \"property\"; must be any of { String, Text, Hidden, Dropdown, Boolean }"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"path": [
|
|
180
|
+
"definitions",
|
|
181
|
+
"properties",
|
|
182
|
+
"allOf",
|
|
183
|
+
1,
|
|
184
|
+
"items",
|
|
185
|
+
"allOf",
|
|
186
|
+
1,
|
|
187
|
+
"then",
|
|
188
|
+
"properties",
|
|
189
|
+
"type"
|
|
190
|
+
],
|
|
191
|
+
"errorMessage": "invalid property type ${1/type} for binding type \"camunda:executionListener\"; must be \"Hidden\""
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"path": [
|
|
195
|
+
"definitions",
|
|
196
|
+
"properties",
|
|
197
|
+
"allOf",
|
|
198
|
+
1,
|
|
199
|
+
"items",
|
|
200
|
+
"allOf",
|
|
201
|
+
2,
|
|
202
|
+
"then",
|
|
203
|
+
"properties",
|
|
204
|
+
"type"
|
|
205
|
+
],
|
|
206
|
+
"errorMessage": "invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Hidden, Dropdown }"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"path": [
|
|
210
|
+
"definitions",
|
|
211
|
+
"properties",
|
|
212
|
+
"allOf",
|
|
213
|
+
1,
|
|
214
|
+
"items",
|
|
215
|
+
"allOf",
|
|
216
|
+
3,
|
|
217
|
+
"then",
|
|
218
|
+
"properties",
|
|
219
|
+
"type"
|
|
220
|
+
],
|
|
221
|
+
"errorMessage": "invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown }"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"path": [
|
|
225
|
+
"definitions",
|
|
226
|
+
"properties",
|
|
227
|
+
"allOf",
|
|
228
|
+
1,
|
|
229
|
+
"items",
|
|
230
|
+
"properties",
|
|
231
|
+
"binding",
|
|
232
|
+
"allOf",
|
|
233
|
+
0,
|
|
234
|
+
"then"
|
|
235
|
+
],
|
|
236
|
+
"errorMessage": "property.binding ${0/type} requires name"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"path": [
|
|
240
|
+
"definitions",
|
|
241
|
+
"properties",
|
|
242
|
+
"allOf",
|
|
243
|
+
1,
|
|
244
|
+
"items",
|
|
245
|
+
"properties",
|
|
246
|
+
"binding",
|
|
247
|
+
"allOf",
|
|
248
|
+
1,
|
|
249
|
+
"then"
|
|
250
|
+
],
|
|
251
|
+
"errorMessage": "property.binding ${0/type} requires source"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"path": [
|
|
255
|
+
"definitions",
|
|
256
|
+
"properties",
|
|
257
|
+
"allOf",
|
|
258
|
+
1,
|
|
259
|
+
"items",
|
|
260
|
+
"properties",
|
|
261
|
+
"binding",
|
|
262
|
+
"allOf",
|
|
263
|
+
2,
|
|
264
|
+
"then"
|
|
265
|
+
],
|
|
266
|
+
"errorMessage": "property.binding ${0/type} requires variables, target, or both"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"path": [
|
|
270
|
+
"definitions",
|
|
271
|
+
"properties",
|
|
272
|
+
"allOf",
|
|
273
|
+
1,
|
|
274
|
+
"items",
|
|
275
|
+
"properties",
|
|
276
|
+
"binding",
|
|
277
|
+
"allOf",
|
|
278
|
+
3,
|
|
279
|
+
"then"
|
|
280
|
+
],
|
|
281
|
+
"errorMessage": "property.binding ${0/type} requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"path": [
|
|
285
|
+
"definitions",
|
|
286
|
+
"properties",
|
|
287
|
+
"allOf",
|
|
288
|
+
1,
|
|
289
|
+
"items",
|
|
290
|
+
"properties",
|
|
291
|
+
"binding",
|
|
292
|
+
"allOf",
|
|
293
|
+
4,
|
|
294
|
+
"then"
|
|
295
|
+
],
|
|
296
|
+
"errorMessage": "property.binding ${0/type} requires errorRef"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"path": [
|
|
300
|
+
"definitions",
|
|
301
|
+
"properties",
|
|
302
|
+
"allOf",
|
|
303
|
+
1,
|
|
304
|
+
"items",
|
|
305
|
+
"properties",
|
|
306
|
+
"binding",
|
|
307
|
+
"properties",
|
|
308
|
+
"type"
|
|
309
|
+
],
|
|
310
|
+
"errorMessage": "invalid property.binding type ${0}; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"path": [
|
|
314
|
+
"definitions",
|
|
315
|
+
"template",
|
|
316
|
+
"properties",
|
|
317
|
+
"scopes",
|
|
318
|
+
"items",
|
|
319
|
+
"properties",
|
|
320
|
+
"type"
|
|
321
|
+
],
|
|
322
|
+
"errorMessage": "invalid scope type ${0}; must be any of { camunda:Connector, bpmn:Error }"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"path": [
|
|
326
|
+
"definitions",
|
|
327
|
+
"template",
|
|
328
|
+
"properties",
|
|
329
|
+
"scopes",
|
|
330
|
+
"items"
|
|
331
|
+
],
|
|
332
|
+
"errorMessage": {
|
|
333
|
+
"required": {
|
|
334
|
+
"type": "invalid scope, missing type",
|
|
335
|
+
"properties": "invalid scope ${0/type}, missing properties=[]"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"path": [
|
|
341
|
+
"definitions",
|
|
342
|
+
"template",
|
|
343
|
+
"properties",
|
|
344
|
+
"scopes",
|
|
345
|
+
"items",
|
|
346
|
+
"allOf",
|
|
347
|
+
0,
|
|
348
|
+
"then"
|
|
349
|
+
],
|
|
350
|
+
"errorMessage": "invalid scope ${0/type}, missing id"
|
|
351
|
+
}
|
|
352
|
+
]
|
package/resources/schema.json
CHANGED
|
@@ -42,8 +42,7 @@
|
|
|
42
42
|
"then": {
|
|
43
43
|
"required": [
|
|
44
44
|
"choices"
|
|
45
|
-
]
|
|
46
|
-
"errorMessage": "must provide choices=[] with \"Dropdown\" type"
|
|
45
|
+
]
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
48
|
],
|
|
@@ -104,8 +103,7 @@
|
|
|
104
103
|
"required": [
|
|
105
104
|
"value",
|
|
106
105
|
"name"
|
|
107
|
-
]
|
|
108
|
-
"errorMessage": "{ name, value } must be specified for \"Dropdown\" choices"
|
|
106
|
+
]
|
|
109
107
|
}
|
|
110
108
|
},
|
|
111
109
|
"constraints": {
|
|
@@ -196,11 +194,6 @@
|
|
|
196
194
|
"required": [
|
|
197
195
|
"property"
|
|
198
196
|
],
|
|
199
|
-
"errorMessage": {
|
|
200
|
-
"required": {
|
|
201
|
-
"property": "missing property name for condition"
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
197
|
"properties": {
|
|
205
198
|
"type": {
|
|
206
199
|
"$id": "#/condition/type",
|
|
@@ -260,11 +253,6 @@
|
|
|
260
253
|
"required": [
|
|
261
254
|
"binding"
|
|
262
255
|
],
|
|
263
|
-
"errorMessage": {
|
|
264
|
-
"required": {
|
|
265
|
-
"binding": "missing binding for property \"${0#}\""
|
|
266
|
-
}
|
|
267
|
-
},
|
|
268
256
|
"allOf": [
|
|
269
257
|
{
|
|
270
258
|
"if": {
|
|
@@ -293,8 +281,7 @@
|
|
|
293
281
|
"Hidden",
|
|
294
282
|
"Dropdown",
|
|
295
283
|
"Boolean"
|
|
296
|
-
]
|
|
297
|
-
"errorMessage": "invalid property type ${0} for binding type \"property\"; must be any of { String, Text, Hidden, Dropdown, Boolean }"
|
|
284
|
+
]
|
|
298
285
|
}
|
|
299
286
|
}
|
|
300
287
|
}
|
|
@@ -322,8 +309,7 @@
|
|
|
322
309
|
"type": {
|
|
323
310
|
"enum": [
|
|
324
311
|
"Hidden"
|
|
325
|
-
]
|
|
326
|
-
"errorMessage": "invalid property type ${1/type} for binding type \"camunda:executionListener\"; must be \"Hidden\""
|
|
312
|
+
]
|
|
327
313
|
}
|
|
328
314
|
}
|
|
329
315
|
}
|
|
@@ -360,8 +346,7 @@
|
|
|
360
346
|
"String",
|
|
361
347
|
"Hidden",
|
|
362
348
|
"Dropdown"
|
|
363
|
-
]
|
|
364
|
-
"errorMessage": "invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Hidden, Dropdown }"
|
|
349
|
+
]
|
|
365
350
|
}
|
|
366
351
|
}
|
|
367
352
|
}
|
|
@@ -395,8 +380,7 @@
|
|
|
395
380
|
"Text",
|
|
396
381
|
"Hidden",
|
|
397
382
|
"Dropdown"
|
|
398
|
-
]
|
|
399
|
-
"errorMessage": "invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown }"
|
|
383
|
+
]
|
|
400
384
|
}
|
|
401
385
|
}
|
|
402
386
|
}
|
|
@@ -430,8 +414,7 @@
|
|
|
430
414
|
"then": {
|
|
431
415
|
"required": [
|
|
432
416
|
"name"
|
|
433
|
-
]
|
|
434
|
-
"errorMessage": "property.binding ${0/type} requires name"
|
|
417
|
+
]
|
|
435
418
|
}
|
|
436
419
|
},
|
|
437
420
|
{
|
|
@@ -448,8 +431,7 @@
|
|
|
448
431
|
"then": {
|
|
449
432
|
"required": [
|
|
450
433
|
"source"
|
|
451
|
-
]
|
|
452
|
-
"errorMessage": "property.binding ${0/type} requires source"
|
|
434
|
+
]
|
|
453
435
|
}
|
|
454
436
|
},
|
|
455
437
|
{
|
|
@@ -475,8 +457,7 @@
|
|
|
475
457
|
"target"
|
|
476
458
|
]
|
|
477
459
|
}
|
|
478
|
-
]
|
|
479
|
-
"errorMessage": "property.binding ${0/type} requires variables, target, or both"
|
|
460
|
+
]
|
|
480
461
|
}
|
|
481
462
|
},
|
|
482
463
|
{
|
|
@@ -571,8 +552,7 @@
|
|
|
571
552
|
]
|
|
572
553
|
}
|
|
573
554
|
}
|
|
574
|
-
]
|
|
575
|
-
"errorMessage": "property.binding ${0/type} requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"
|
|
555
|
+
]
|
|
576
556
|
}
|
|
577
557
|
},
|
|
578
558
|
{
|
|
@@ -593,8 +573,7 @@
|
|
|
593
573
|
"errorRef"
|
|
594
574
|
]
|
|
595
575
|
}
|
|
596
|
-
]
|
|
597
|
-
"errorMessage": "property.binding ${0/type} requires errorRef"
|
|
576
|
+
]
|
|
598
577
|
}
|
|
599
578
|
},
|
|
600
579
|
{
|
|
@@ -661,7 +640,6 @@
|
|
|
661
640
|
"camunda:field",
|
|
662
641
|
"camunda:errorEventDefinition"
|
|
663
642
|
],
|
|
664
|
-
"errorMessage": "invalid property.binding type ${0}; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }",
|
|
665
643
|
"description": "The type of a property binding."
|
|
666
644
|
},
|
|
667
645
|
"name": {
|
|
@@ -760,9 +738,6 @@
|
|
|
760
738
|
"$id": "#/appliesTo/items",
|
|
761
739
|
"type": "string",
|
|
762
740
|
"pattern": "^[\\w\\d]+:[\\w\\d]+$",
|
|
763
|
-
"errorMessage": {
|
|
764
|
-
"pattern": "invalid item for \"appliesTo\", should contain namespaced property, example: \"bpmn:Task\""
|
|
765
|
-
},
|
|
766
741
|
"allOf": [
|
|
767
742
|
{
|
|
768
743
|
"examples": [
|
|
@@ -785,19 +760,11 @@
|
|
|
785
760
|
"required": [
|
|
786
761
|
"value"
|
|
787
762
|
],
|
|
788
|
-
"errorMessage": {
|
|
789
|
-
"required": {
|
|
790
|
-
"value": "missing elementType value"
|
|
791
|
-
}
|
|
792
|
-
},
|
|
793
763
|
"properties": {
|
|
794
764
|
"value": {
|
|
795
765
|
"$id": "#/elementType/value",
|
|
796
766
|
"type": "string",
|
|
797
767
|
"pattern": "^[\\w\\d]+:[\\w\\d]+$",
|
|
798
|
-
"errorMessage": {
|
|
799
|
-
"pattern": "invalid item for \"elementType\", should contain namespaced property, example: \"bpmn:Task\""
|
|
800
|
-
},
|
|
801
768
|
"allOf": [
|
|
802
769
|
{
|
|
803
770
|
"examples": [
|
|
@@ -847,12 +814,6 @@
|
|
|
847
814
|
"id",
|
|
848
815
|
"label"
|
|
849
816
|
],
|
|
850
|
-
"errorMessage": {
|
|
851
|
-
"required": {
|
|
852
|
-
"id": "missing id for group \"${0#}\"",
|
|
853
|
-
"label": "missing label for group \"${0#}\""
|
|
854
|
-
}
|
|
855
|
-
},
|
|
856
817
|
"properties": {
|
|
857
818
|
"id": {
|
|
858
819
|
"$id": "#/groups/group/id",
|
|
@@ -868,20 +829,9 @@
|
|
|
868
829
|
}
|
|
869
830
|
},
|
|
870
831
|
"documentationRef": {
|
|
871
|
-
"$id": "#/
|
|
832
|
+
"$id": "#/documentationRef",
|
|
872
833
|
"type": "string",
|
|
873
|
-
"pattern": "^(https|http)://.*"
|
|
874
|
-
"errorMessage": {
|
|
875
|
-
"pattern": "Malformed documentation URL, must match \"^(https|http)://.*\""
|
|
876
|
-
}
|
|
877
|
-
}
|
|
878
|
-
},
|
|
879
|
-
"errorMessage": {
|
|
880
|
-
"required": {
|
|
881
|
-
"name": "missing template name",
|
|
882
|
-
"id": "missing template id",
|
|
883
|
-
"appliesTo": "missing appliesTo=[]",
|
|
884
|
-
"properties": "missing properties=[]"
|
|
834
|
+
"pattern": "^(https|http)://.*"
|
|
885
835
|
}
|
|
886
836
|
}
|
|
887
837
|
}
|
|
@@ -942,8 +892,7 @@
|
|
|
942
892
|
"enum": [
|
|
943
893
|
"camunda:Connector",
|
|
944
894
|
"bpmn:Error"
|
|
945
|
-
]
|
|
946
|
-
"errorMessage": "invalid scope type ${0}; must be any of { camunda:Connector, bpmn:Error }"
|
|
895
|
+
]
|
|
947
896
|
},
|
|
948
897
|
"properties": {
|
|
949
898
|
"$id": "#/scopes/properties",
|
|
@@ -963,12 +912,6 @@
|
|
|
963
912
|
"type",
|
|
964
913
|
"properties"
|
|
965
914
|
],
|
|
966
|
-
"errorMessage": {
|
|
967
|
-
"required": {
|
|
968
|
-
"type": "invalid scope, missing type",
|
|
969
|
-
"properties": "invalid scope ${0/type}, missing properties=[]"
|
|
970
|
-
}
|
|
971
|
-
},
|
|
972
915
|
"allOf": [
|
|
973
916
|
{
|
|
974
917
|
"if": {
|
|
@@ -986,8 +929,7 @@
|
|
|
986
929
|
"then": {
|
|
987
930
|
"required": [
|
|
988
931
|
"id"
|
|
989
|
-
]
|
|
990
|
-
"errorMessage": "invalid scope ${0/type}, missing id"
|
|
932
|
+
]
|
|
991
933
|
}
|
|
992
934
|
}
|
|
993
935
|
]
|