@camunda/element-templates-json-schema 0.9.1 → 0.10.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.
- package/package.json +5 -3
- package/resources/error-messages.json +352 -0
- package/resources/schema.json +92 -68
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/element-templates-json-schema",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
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": "885b4fdb813fd40f6a0c91fe6c6507af8a7de6a7"
|
|
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,12 +42,15 @@
|
|
|
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
|
],
|
|
50
49
|
"properties": {
|
|
50
|
+
"id": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"description": "Unique identifier of the property."
|
|
53
|
+
},
|
|
51
54
|
"value": {
|
|
52
55
|
"$id": "#/properties/property/value",
|
|
53
56
|
"type": [
|
|
@@ -100,8 +103,7 @@
|
|
|
100
103
|
"required": [
|
|
101
104
|
"value",
|
|
102
105
|
"name"
|
|
103
|
-
]
|
|
104
|
-
"errorMessage": "{ name, value } must be specified for \"Dropdown\" choices"
|
|
106
|
+
]
|
|
105
107
|
}
|
|
106
108
|
},
|
|
107
109
|
"constraints": {
|
|
@@ -164,6 +166,79 @@
|
|
|
164
166
|
"$id": "#/properties/property/group",
|
|
165
167
|
"type": "string",
|
|
166
168
|
"description": "The custom group of a control field."
|
|
169
|
+
},
|
|
170
|
+
"condition": {
|
|
171
|
+
"$id": "#/condition",
|
|
172
|
+
"type": "object",
|
|
173
|
+
"description": "Condition to activate the binding.",
|
|
174
|
+
"allOf": [
|
|
175
|
+
{
|
|
176
|
+
"examples": [
|
|
177
|
+
{
|
|
178
|
+
"type": "simple",
|
|
179
|
+
"property": "httpMethod",
|
|
180
|
+
"equals": "GET"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"type": "simple",
|
|
184
|
+
"property": "httpMethod",
|
|
185
|
+
"oneOf": [
|
|
186
|
+
"POST",
|
|
187
|
+
"PUT",
|
|
188
|
+
"DELETE"
|
|
189
|
+
]
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"required": [
|
|
195
|
+
"property"
|
|
196
|
+
],
|
|
197
|
+
"properties": {
|
|
198
|
+
"type": {
|
|
199
|
+
"$id": "#/condition/type",
|
|
200
|
+
"const": "simple",
|
|
201
|
+
"description": "The type of the condition.",
|
|
202
|
+
"default": "simple"
|
|
203
|
+
},
|
|
204
|
+
"property": {
|
|
205
|
+
"$id": "#/condition/property",
|
|
206
|
+
"type": "string",
|
|
207
|
+
"description": "The id of the property to check."
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"oneOf": [
|
|
211
|
+
{
|
|
212
|
+
"properties": {
|
|
213
|
+
"equals": {
|
|
214
|
+
"type": [
|
|
215
|
+
"string",
|
|
216
|
+
"number",
|
|
217
|
+
"boolean"
|
|
218
|
+
]
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"required": [
|
|
222
|
+
"equals"
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"properties": {
|
|
227
|
+
"oneOf": {
|
|
228
|
+
"type": "array",
|
|
229
|
+
"items": {
|
|
230
|
+
"type": [
|
|
231
|
+
"string",
|
|
232
|
+
"number"
|
|
233
|
+
]
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"required": [
|
|
238
|
+
"oneOf"
|
|
239
|
+
]
|
|
240
|
+
}
|
|
241
|
+
]
|
|
167
242
|
}
|
|
168
243
|
}
|
|
169
244
|
}
|
|
@@ -178,11 +253,6 @@
|
|
|
178
253
|
"required": [
|
|
179
254
|
"binding"
|
|
180
255
|
],
|
|
181
|
-
"errorMessage": {
|
|
182
|
-
"required": {
|
|
183
|
-
"binding": "missing binding for property \"${0#}\""
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
256
|
"allOf": [
|
|
187
257
|
{
|
|
188
258
|
"if": {
|
|
@@ -211,8 +281,7 @@
|
|
|
211
281
|
"Hidden",
|
|
212
282
|
"Dropdown",
|
|
213
283
|
"Boolean"
|
|
214
|
-
]
|
|
215
|
-
"errorMessage": "invalid property type ${0} for binding type \"property\"; must be any of { String, Text, Hidden, Dropdown, Boolean }"
|
|
284
|
+
]
|
|
216
285
|
}
|
|
217
286
|
}
|
|
218
287
|
}
|
|
@@ -240,8 +309,7 @@
|
|
|
240
309
|
"type": {
|
|
241
310
|
"enum": [
|
|
242
311
|
"Hidden"
|
|
243
|
-
]
|
|
244
|
-
"errorMessage": "invalid property type ${1/type} for binding type \"camunda:executionListener\"; must be \"Hidden\""
|
|
312
|
+
]
|
|
245
313
|
}
|
|
246
314
|
}
|
|
247
315
|
}
|
|
@@ -278,8 +346,7 @@
|
|
|
278
346
|
"String",
|
|
279
347
|
"Hidden",
|
|
280
348
|
"Dropdown"
|
|
281
|
-
]
|
|
282
|
-
"errorMessage": "invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Hidden, Dropdown }"
|
|
349
|
+
]
|
|
283
350
|
}
|
|
284
351
|
}
|
|
285
352
|
}
|
|
@@ -313,8 +380,7 @@
|
|
|
313
380
|
"Text",
|
|
314
381
|
"Hidden",
|
|
315
382
|
"Dropdown"
|
|
316
|
-
]
|
|
317
|
-
"errorMessage": "invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown }"
|
|
383
|
+
]
|
|
318
384
|
}
|
|
319
385
|
}
|
|
320
386
|
}
|
|
@@ -348,8 +414,7 @@
|
|
|
348
414
|
"then": {
|
|
349
415
|
"required": [
|
|
350
416
|
"name"
|
|
351
|
-
]
|
|
352
|
-
"errorMessage": "property.binding ${0/type} requires name"
|
|
417
|
+
]
|
|
353
418
|
}
|
|
354
419
|
},
|
|
355
420
|
{
|
|
@@ -366,8 +431,7 @@
|
|
|
366
431
|
"then": {
|
|
367
432
|
"required": [
|
|
368
433
|
"source"
|
|
369
|
-
]
|
|
370
|
-
"errorMessage": "property.binding ${0/type} requires source"
|
|
434
|
+
]
|
|
371
435
|
}
|
|
372
436
|
},
|
|
373
437
|
{
|
|
@@ -393,8 +457,7 @@
|
|
|
393
457
|
"target"
|
|
394
458
|
]
|
|
395
459
|
}
|
|
396
|
-
]
|
|
397
|
-
"errorMessage": "property.binding ${0/type} requires variables, target, or both"
|
|
460
|
+
]
|
|
398
461
|
}
|
|
399
462
|
},
|
|
400
463
|
{
|
|
@@ -489,8 +552,7 @@
|
|
|
489
552
|
]
|
|
490
553
|
}
|
|
491
554
|
}
|
|
492
|
-
]
|
|
493
|
-
"errorMessage": "property.binding ${0/type} requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"
|
|
555
|
+
]
|
|
494
556
|
}
|
|
495
557
|
},
|
|
496
558
|
{
|
|
@@ -511,8 +573,7 @@
|
|
|
511
573
|
"errorRef"
|
|
512
574
|
]
|
|
513
575
|
}
|
|
514
|
-
]
|
|
515
|
-
"errorMessage": "property.binding ${0/type} requires errorRef"
|
|
576
|
+
]
|
|
516
577
|
}
|
|
517
578
|
},
|
|
518
579
|
{
|
|
@@ -579,7 +640,6 @@
|
|
|
579
640
|
"camunda:field",
|
|
580
641
|
"camunda:errorEventDefinition"
|
|
581
642
|
],
|
|
582
|
-
"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 }",
|
|
583
643
|
"description": "The type of a property binding."
|
|
584
644
|
},
|
|
585
645
|
"name": {
|
|
@@ -678,9 +738,6 @@
|
|
|
678
738
|
"$id": "#/appliesTo/items",
|
|
679
739
|
"type": "string",
|
|
680
740
|
"pattern": "^[\\w\\d]+:[\\w\\d]+$",
|
|
681
|
-
"errorMessage": {
|
|
682
|
-
"pattern": "invalid item for \"appliesTo\", should contain namespaced property, example: \"bpmn:Task\""
|
|
683
|
-
},
|
|
684
741
|
"allOf": [
|
|
685
742
|
{
|
|
686
743
|
"examples": [
|
|
@@ -703,19 +760,11 @@
|
|
|
703
760
|
"required": [
|
|
704
761
|
"value"
|
|
705
762
|
],
|
|
706
|
-
"errorMessage": {
|
|
707
|
-
"required": {
|
|
708
|
-
"value": "missing elementType value"
|
|
709
|
-
}
|
|
710
|
-
},
|
|
711
763
|
"properties": {
|
|
712
764
|
"value": {
|
|
713
765
|
"$id": "#/elementType/value",
|
|
714
766
|
"type": "string",
|
|
715
767
|
"pattern": "^[\\w\\d]+:[\\w\\d]+$",
|
|
716
|
-
"errorMessage": {
|
|
717
|
-
"pattern": "invalid item for \"elementType\", should contain namespaced property, example: \"bpmn:Task\""
|
|
718
|
-
},
|
|
719
768
|
"allOf": [
|
|
720
769
|
{
|
|
721
770
|
"examples": [
|
|
@@ -765,12 +814,6 @@
|
|
|
765
814
|
"id",
|
|
766
815
|
"label"
|
|
767
816
|
],
|
|
768
|
-
"errorMessage": {
|
|
769
|
-
"required": {
|
|
770
|
-
"id": "missing id for group \"${0#}\"",
|
|
771
|
-
"label": "missing label for group \"${0#}\""
|
|
772
|
-
}
|
|
773
|
-
},
|
|
774
817
|
"properties": {
|
|
775
818
|
"id": {
|
|
776
819
|
"$id": "#/groups/group/id",
|
|
@@ -786,20 +829,9 @@
|
|
|
786
829
|
}
|
|
787
830
|
},
|
|
788
831
|
"documentationRef": {
|
|
789
|
-
"$id": "#/
|
|
832
|
+
"$id": "#/documentationRef",
|
|
790
833
|
"type": "string",
|
|
791
|
-
"pattern": "^(https|http)://.*"
|
|
792
|
-
"errorMessage": {
|
|
793
|
-
"pattern": "Malformed documentation URL, must match \"^(https|http)://.*\""
|
|
794
|
-
}
|
|
795
|
-
}
|
|
796
|
-
},
|
|
797
|
-
"errorMessage": {
|
|
798
|
-
"required": {
|
|
799
|
-
"name": "missing template name",
|
|
800
|
-
"id": "missing template id",
|
|
801
|
-
"appliesTo": "missing appliesTo=[]",
|
|
802
|
-
"properties": "missing properties=[]"
|
|
834
|
+
"pattern": "^(https|http)://.*"
|
|
803
835
|
}
|
|
804
836
|
}
|
|
805
837
|
}
|
|
@@ -860,8 +892,7 @@
|
|
|
860
892
|
"enum": [
|
|
861
893
|
"camunda:Connector",
|
|
862
894
|
"bpmn:Error"
|
|
863
|
-
]
|
|
864
|
-
"errorMessage": "invalid scope type ${0}; must be any of { camunda:Connector, bpmn:Error }"
|
|
895
|
+
]
|
|
865
896
|
},
|
|
866
897
|
"properties": {
|
|
867
898
|
"$id": "#/scopes/properties",
|
|
@@ -881,12 +912,6 @@
|
|
|
881
912
|
"type",
|
|
882
913
|
"properties"
|
|
883
914
|
],
|
|
884
|
-
"errorMessage": {
|
|
885
|
-
"required": {
|
|
886
|
-
"type": "invalid scope, missing type",
|
|
887
|
-
"properties": "invalid scope ${0/type}, missing properties=[]"
|
|
888
|
-
}
|
|
889
|
-
},
|
|
890
915
|
"allOf": [
|
|
891
916
|
{
|
|
892
917
|
"if": {
|
|
@@ -904,8 +929,7 @@
|
|
|
904
929
|
"then": {
|
|
905
930
|
"required": [
|
|
906
931
|
"id"
|
|
907
|
-
]
|
|
908
|
-
"errorMessage": "invalid scope ${0/type}, missing id"
|
|
932
|
+
]
|
|
909
933
|
}
|
|
910
934
|
}
|
|
911
935
|
]
|