@grexx/grexxlinter 0.2.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/cli.js +14973 -0
- package/lsp.js +23977 -0
- package/package.json +19 -0
- package/schemas/.coverage.json +10987 -0
- package/schemas/abstract.schema.json +842 -0
- package/schemas/abstractAttribute.schema.json +38 -0
- package/schemas/abstractAttributeFormField.schema.json +50 -0
- package/schemas/abstractCondition.schema.json +74 -0
- package/schemas/abstractRight.schema.json +74 -0
- package/schemas/abstractRole.schema.json +50 -0
- package/schemas/abstractRule.schema.json +182 -0
- package/schemas/activity.schema.json +1328 -0
- package/schemas/activityAttribute.schema.json +73 -0
- package/schemas/activityRight.schema.json +64 -0
- package/schemas/agent.schema.json +179 -0
- package/schemas/agentTool.schema.json +118 -0
- package/schemas/attribute.schema.json +286 -0
- package/schemas/casetype.schema.json +256 -0
- package/schemas/catchBlock.schema.json +76 -0
- package/schemas/common.schema.json +63 -0
- package/schemas/conditionList.schema.json +67 -0
- package/schemas/container.schema.json +88 -0
- package/schemas/cssVariables.schema.json +90 -0
- package/schemas/customThrow.schema.json +73 -0
- package/schemas/dataRetentionProfile.schema.json +90 -0
- package/schemas/dataset.schema.json +579 -0
- package/schemas/datasetColumn.schema.json +423 -0
- package/schemas/datasetCondition.schema.json +409 -0
- package/schemas/datasetRight.schema.json +86 -0
- package/schemas/datasource.schema.json +73 -0
- package/schemas/dateProfile.schema.json +87 -0
- package/schemas/directRole.schema.json +71 -0
- package/schemas/fileUploadProfile.schema.json +75 -0
- package/schemas/forEach.schema.json +144 -0
- package/schemas/form.schema.json +119 -0
- package/schemas/formAction.schema.json +149 -0
- package/schemas/formActionAi.schema.json +81 -0
- package/schemas/formActionInlineJavascript.schema.json +66 -0
- package/schemas/formButton.schema.json +84 -0
- package/schemas/formGroup.schema.json +99 -0
- package/schemas/formRight.schema.json +86 -0
- package/schemas/formfield.schema.json +339 -0
- package/schemas/gridActivity.schema.json +80 -0
- package/schemas/gridColumn.schema.json +111 -0
- package/schemas/hasRoleCondition.schema.json +63 -0
- package/schemas/ifthenelse.schema.json +78 -0
- package/schemas/indirectRole.schema.json +74 -0
- package/schemas/job.schema.json +63 -0
- package/schemas/jobStep.schema.json +68 -0
- package/schemas/llmModel.schema.json +79 -0
- package/schemas/mapping.schema.json +690 -0
- package/schemas/menuItem.schema.json +519 -0
- package/schemas/menuItemRight.schema.json +64 -0
- package/schemas/metadata.schema.json +96 -0
- package/schemas/navigation.schema.json +86 -0
- package/schemas/notCondition.schema.json +60 -0
- package/schemas/parallelBlock.schema.json +75 -0
- package/schemas/picklist.schema.json +113 -0
- package/schemas/picklistItem.schema.json +71 -0
- package/schemas/platformAttribute.schema.json +300 -0
- package/schemas/platformRole.schema.json +191 -0
- package/schemas/platformconstants.schema.json +94 -0
- package/schemas/plugin.schema.json +99 -0
- package/schemas/pluginLibrary.schema.json +78 -0
- package/schemas/requestContext.schema.json +183 -0
- package/schemas/roleName.schema.json +115 -0
- package/schemas/ruleList.schema.json +72 -0
- package/schemas/securityProfile.schema.json +63 -0
- package/schemas/securityRequirement.schema.json +63 -0
- package/schemas/simpleCondition.schema.json +466 -0
- package/schemas/staticFile.schema.json +63 -0
- package/schemas/tag.schema.json +62 -0
- package/schemas/taskQueue.schema.json +69 -0
- package/schemas/template/activitymeta.schema.json +36 -0
- package/schemas/template/attribute.schema.json +31 -0
- package/schemas/template/calculate-dataset.schema.json +31 -0
- package/schemas/template/casemeta.schema.json +18 -0
- package/schemas/template/casetypemeta.schema.json +19 -0
- package/schemas/template/comment.schema.json +36 -0
- package/schemas/template/datasetColumn.schema.json +31 -0
- package/schemas/template/date-function.schema.json +232 -0
- package/schemas/template/definitionmeta.schema.json +73 -0
- package/schemas/template/file.schema.json +39 -0
- package/schemas/template/foreach.schema.json +67 -0
- package/schemas/template/formfield.schema.json +21 -0
- package/schemas/template/formula.schema.json +18 -0
- package/schemas/template/hasRole.schema.json +18 -0
- package/schemas/template/historic.schema.json +21 -0
- package/schemas/template/html.schema.json +165 -0
- package/schemas/template/icon.schema.json +18 -0
- package/schemas/template/if.schema.json +30 -0
- package/schemas/template/inlineTemplate.schema.json +26 -0
- package/schemas/template/isnull.schema.json +21 -0
- package/schemas/template/isofcasetype.schema.json +24 -0
- package/schemas/template/iterator.schema.json +61 -0
- package/schemas/template/json.schema.json +55 -0
- package/schemas/template/math.schema.json +210 -0
- package/schemas/template/meta.schema.json +164 -0
- package/schemas/template/metadefinitionmeta.schema.json +36 -0
- package/schemas/template/multivalue.schema.json +210 -0
- package/schemas/template/page.schema.json +21 -0
- package/schemas/template/parameter.schema.json +24 -0
- package/schemas/template/parameterDefinition.schema.json +27 -0
- package/schemas/template/parameterIdDefinition.schema.json +28 -0
- package/schemas/template/parseError.schema.json +48 -0
- package/schemas/template/picklist.schema.json +27 -0
- package/schemas/template/pseudoTemplate.schema.json +27 -0
- package/schemas/template/requestcontext.schema.json +52 -0
- package/schemas/template/returnType.schema.json +26 -0
- package/schemas/template/spacialMath.schema.json +77 -0
- package/schemas/template/special.schema.json +19 -0
- package/schemas/template/staticFile.schema.json +39 -0
- package/schemas/template/system.schema.json +22 -0
- package/schemas/template/systemconfig.schema.json +21 -0
- package/schemas/template/taskattribute.schema.json +21 -0
- package/schemas/template/taskdata.schema.json +24 -0
- package/schemas/template/taskmeta.schema.json +180 -0
- package/schemas/template/taskqueuemeta.schema.json +36 -0
- package/schemas/template/template.schema.json +27 -0
- package/schemas/template/templatePart.schema.json +638 -0
- package/schemas/template/text.schema.json +18 -0
- package/schemas/template/url.schema.json +77 -0
- package/schemas/template/urlParameter.schema.json +21 -0
- package/schemas/template/user.schema.json +36 -0
- package/schemas/template/userProperty.schema.json +22 -0
- package/schemas/template/usersession.schema.json +18 -0
- package/schemas/template/util.schema.json +434 -0
- package/schemas/template/xml.schema.json +55 -0
- package/schemas/template.schema.json +74 -0
- package/schemas/theme.schema.json +63 -0
- package/schemas/trigger.schema.json +413 -0
- package/schemas/tryBlock.schema.json +99 -0
- package/schemas/view.schema.json +159 -0
- package/schemas/webhook.schema.json +77 -0
- package/schemas/while.schema.json +130 -0
- package/schemas/widget.schema.json +1416 -0
- package/schemas/widgetRight.schema.json +85 -0
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://grexx.net/studio-next/schemas/simpleCondition.schema.json",
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"additionalProperties": false,
|
|
5
|
+
"properties": {
|
|
6
|
+
"_id": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"_interfaceID": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"_isInterface": {
|
|
13
|
+
"type": "boolean"
|
|
14
|
+
},
|
|
15
|
+
"_knownIDs": {
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"type": "array"
|
|
20
|
+
},
|
|
21
|
+
"_origin": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"_src": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"_type": {
|
|
28
|
+
"const": "simpleCondition"
|
|
29
|
+
},
|
|
30
|
+
"_uid": {
|
|
31
|
+
"description": "Deterministic UUID derived from case-ID.",
|
|
32
|
+
"format": "uuid",
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"description": {
|
|
36
|
+
"$ref": "template/inlineTemplate.schema.json"
|
|
37
|
+
},
|
|
38
|
+
"inactive": {
|
|
39
|
+
"type": "boolean"
|
|
40
|
+
},
|
|
41
|
+
"interfaceStudioProduct": {
|
|
42
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
43
|
+
},
|
|
44
|
+
"leftActivityAttribute": {
|
|
45
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
46
|
+
},
|
|
47
|
+
"leftField": {
|
|
48
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
49
|
+
},
|
|
50
|
+
"leftFieldType": {
|
|
51
|
+
"enum": [
|
|
52
|
+
"taskAttribute",
|
|
53
|
+
"taskIn",
|
|
54
|
+
"taskOut",
|
|
55
|
+
"taskInFormField",
|
|
56
|
+
"taskOutFormField",
|
|
57
|
+
"caseData",
|
|
58
|
+
"inlinetemplate",
|
|
59
|
+
"value",
|
|
60
|
+
"staticPicklistItem",
|
|
61
|
+
"formfield"
|
|
62
|
+
],
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
"leftRootActivity": {
|
|
66
|
+
"type": "boolean"
|
|
67
|
+
},
|
|
68
|
+
"leftTemplate": {
|
|
69
|
+
"$ref": "template/inlineTemplate.schema.json"
|
|
70
|
+
},
|
|
71
|
+
"leftTrigger": {
|
|
72
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
73
|
+
},
|
|
74
|
+
"leftValue": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
"metaCaseToOtap": {
|
|
78
|
+
"type": "boolean"
|
|
79
|
+
},
|
|
80
|
+
"negate": {
|
|
81
|
+
"type": "boolean"
|
|
82
|
+
},
|
|
83
|
+
"operator": {
|
|
84
|
+
"enum": [
|
|
85
|
+
"==",
|
|
86
|
+
"eq",
|
|
87
|
+
"equals",
|
|
88
|
+
"==text==",
|
|
89
|
+
"!==text!==",
|
|
90
|
+
"!==text==",
|
|
91
|
+
"!==",
|
|
92
|
+
"<>",
|
|
93
|
+
"!=",
|
|
94
|
+
"neq",
|
|
95
|
+
"!==",
|
|
96
|
+
">=",
|
|
97
|
+
"gte",
|
|
98
|
+
">",
|
|
99
|
+
"gt",
|
|
100
|
+
"<=",
|
|
101
|
+
"lte",
|
|
102
|
+
"<",
|
|
103
|
+
"lt",
|
|
104
|
+
"contains",
|
|
105
|
+
"notcontains",
|
|
106
|
+
"!contains",
|
|
107
|
+
"stringcontains",
|
|
108
|
+
"notstringcontains",
|
|
109
|
+
"!stringcontains",
|
|
110
|
+
"multivaluecontains",
|
|
111
|
+
"mvcontains",
|
|
112
|
+
"notmultivaluecontains",
|
|
113
|
+
"notmvcontains",
|
|
114
|
+
"!multivaluecontains",
|
|
115
|
+
"anyin",
|
|
116
|
+
"notanyin",
|
|
117
|
+
"!anyin",
|
|
118
|
+
"allin",
|
|
119
|
+
"notallin",
|
|
120
|
+
"!allin",
|
|
121
|
+
"vectorsearch",
|
|
122
|
+
"in",
|
|
123
|
+
"notin",
|
|
124
|
+
"!in",
|
|
125
|
+
"innonnull",
|
|
126
|
+
"notinnonnull",
|
|
127
|
+
"!innonnull",
|
|
128
|
+
"like",
|
|
129
|
+
"notlike",
|
|
130
|
+
"!like",
|
|
131
|
+
"beginsWith",
|
|
132
|
+
"begins",
|
|
133
|
+
"startswith",
|
|
134
|
+
"notBeginsWith",
|
|
135
|
+
"notbegins",
|
|
136
|
+
"notstartswith",
|
|
137
|
+
"!beginsWith",
|
|
138
|
+
"endsWith",
|
|
139
|
+
"ends",
|
|
140
|
+
"notEndsWith",
|
|
141
|
+
"notends",
|
|
142
|
+
"!endsWith",
|
|
143
|
+
"equalswildcard",
|
|
144
|
+
"notequalswildcard",
|
|
145
|
+
"!equalswildcard",
|
|
146
|
+
"equalswildcardlhs",
|
|
147
|
+
"notequalswildcardlhs",
|
|
148
|
+
"!equalswildcardlhs"
|
|
149
|
+
],
|
|
150
|
+
"type": "string"
|
|
151
|
+
},
|
|
152
|
+
"ourProductId": {
|
|
153
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
154
|
+
},
|
|
155
|
+
"rightActivityAttribute": {
|
|
156
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
157
|
+
},
|
|
158
|
+
"rightField": {
|
|
159
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
160
|
+
},
|
|
161
|
+
"rightFieldType": {
|
|
162
|
+
"enum": [
|
|
163
|
+
"taskAttribute",
|
|
164
|
+
"taskIn",
|
|
165
|
+
"taskOut",
|
|
166
|
+
"taskInFormField",
|
|
167
|
+
"taskOutFormField",
|
|
168
|
+
"caseData",
|
|
169
|
+
"inlinetemplate",
|
|
170
|
+
"value",
|
|
171
|
+
"staticPicklistItem",
|
|
172
|
+
"formfield"
|
|
173
|
+
],
|
|
174
|
+
"type": "string"
|
|
175
|
+
},
|
|
176
|
+
"rightRootActivity": {
|
|
177
|
+
"type": "boolean"
|
|
178
|
+
},
|
|
179
|
+
"rightTemplate": {
|
|
180
|
+
"$ref": "template/inlineTemplate.schema.json"
|
|
181
|
+
},
|
|
182
|
+
"rightTrigger": {
|
|
183
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
184
|
+
},
|
|
185
|
+
"rightValue": {
|
|
186
|
+
"type": "string"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"required": [
|
|
190
|
+
"_type",
|
|
191
|
+
"_uid"
|
|
192
|
+
],
|
|
193
|
+
"title": "simpleCondition",
|
|
194
|
+
"type": "object",
|
|
195
|
+
"allOf": [
|
|
196
|
+
{
|
|
197
|
+
"if": {
|
|
198
|
+
"anyOf": [
|
|
199
|
+
{
|
|
200
|
+
"properties": {
|
|
201
|
+
"leftFieldType": {
|
|
202
|
+
"const": "taskAttribute"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"required": [
|
|
206
|
+
"leftFieldType"
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"properties": {
|
|
211
|
+
"leftFieldType": {
|
|
212
|
+
"const": "taskAttribute"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"required": [
|
|
216
|
+
"leftFieldType"
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
"then": {},
|
|
222
|
+
"else": {
|
|
223
|
+
"properties": {
|
|
224
|
+
"leftActivityAttribute": false
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"if": {
|
|
230
|
+
"anyOf": [
|
|
231
|
+
{
|
|
232
|
+
"properties": {
|
|
233
|
+
"rightFieldType": {
|
|
234
|
+
"const": "taskAttribute"
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"required": [
|
|
238
|
+
"rightFieldType"
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"properties": {
|
|
243
|
+
"rightFieldType": {
|
|
244
|
+
"const": "taskAttribute"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"required": [
|
|
248
|
+
"rightFieldType"
|
|
249
|
+
]
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
"then": {},
|
|
254
|
+
"else": {
|
|
255
|
+
"properties": {
|
|
256
|
+
"rightActivityAttribute": false
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"if": {
|
|
262
|
+
"properties": {
|
|
263
|
+
"leftFieldType": {
|
|
264
|
+
"const": "caseData"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"required": [
|
|
268
|
+
"leftFieldType"
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
"then": {
|
|
272
|
+
"required": [
|
|
273
|
+
"leftField"
|
|
274
|
+
]
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"if": {
|
|
279
|
+
"properties": {
|
|
280
|
+
"leftFieldType": {
|
|
281
|
+
"const": "formfield"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"required": [
|
|
285
|
+
"leftFieldType"
|
|
286
|
+
]
|
|
287
|
+
},
|
|
288
|
+
"then": {
|
|
289
|
+
"required": [
|
|
290
|
+
"leftField"
|
|
291
|
+
]
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"if": {
|
|
296
|
+
"properties": {
|
|
297
|
+
"leftFieldType": {
|
|
298
|
+
"const": "taskIn"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"required": [
|
|
302
|
+
"leftFieldType"
|
|
303
|
+
]
|
|
304
|
+
},
|
|
305
|
+
"then": {
|
|
306
|
+
"required": [
|
|
307
|
+
"leftField"
|
|
308
|
+
]
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"if": {
|
|
313
|
+
"properties": {
|
|
314
|
+
"leftFieldType": {
|
|
315
|
+
"const": "taskOut"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"required": [
|
|
319
|
+
"leftFieldType"
|
|
320
|
+
]
|
|
321
|
+
},
|
|
322
|
+
"then": {
|
|
323
|
+
"required": [
|
|
324
|
+
"leftField"
|
|
325
|
+
]
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"if": {
|
|
330
|
+
"properties": {
|
|
331
|
+
"leftFieldType": {
|
|
332
|
+
"const": "inlinetemplate"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"required": [
|
|
336
|
+
"leftFieldType"
|
|
337
|
+
]
|
|
338
|
+
},
|
|
339
|
+
"then": {
|
|
340
|
+
"required": [
|
|
341
|
+
"leftTemplate"
|
|
342
|
+
]
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"if": {
|
|
347
|
+
"properties": {
|
|
348
|
+
"leftFieldType": {
|
|
349
|
+
"const": "taskAttribute"
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"required": [
|
|
353
|
+
"leftFieldType"
|
|
354
|
+
]
|
|
355
|
+
},
|
|
356
|
+
"then": {
|
|
357
|
+
"required": [
|
|
358
|
+
"leftActivityAttribute"
|
|
359
|
+
]
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"if": {
|
|
364
|
+
"properties": {
|
|
365
|
+
"leftFieldType": {
|
|
366
|
+
"const": "staticPicklistItem"
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
"required": [
|
|
370
|
+
"leftFieldType"
|
|
371
|
+
]
|
|
372
|
+
},
|
|
373
|
+
"then": {
|
|
374
|
+
"required": [
|
|
375
|
+
"leftValue"
|
|
376
|
+
]
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"if": {
|
|
381
|
+
"properties": {
|
|
382
|
+
"rightFieldType": {
|
|
383
|
+
"const": "caseData"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"required": [
|
|
387
|
+
"rightFieldType"
|
|
388
|
+
]
|
|
389
|
+
},
|
|
390
|
+
"then": {
|
|
391
|
+
"required": [
|
|
392
|
+
"rightField"
|
|
393
|
+
]
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"if": {
|
|
398
|
+
"properties": {
|
|
399
|
+
"rightFieldType": {
|
|
400
|
+
"const": "taskIn"
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
"required": [
|
|
404
|
+
"rightFieldType"
|
|
405
|
+
]
|
|
406
|
+
},
|
|
407
|
+
"then": {
|
|
408
|
+
"required": [
|
|
409
|
+
"rightField"
|
|
410
|
+
]
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"if": {
|
|
415
|
+
"properties": {
|
|
416
|
+
"rightFieldType": {
|
|
417
|
+
"const": "taskOut"
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"required": [
|
|
421
|
+
"rightFieldType"
|
|
422
|
+
]
|
|
423
|
+
},
|
|
424
|
+
"then": {
|
|
425
|
+
"required": [
|
|
426
|
+
"rightField"
|
|
427
|
+
]
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"if": {
|
|
432
|
+
"properties": {
|
|
433
|
+
"rightFieldType": {
|
|
434
|
+
"const": "taskAttribute"
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
"required": [
|
|
438
|
+
"rightFieldType"
|
|
439
|
+
]
|
|
440
|
+
},
|
|
441
|
+
"then": {
|
|
442
|
+
"required": [
|
|
443
|
+
"rightActivityAttribute"
|
|
444
|
+
]
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"if": {
|
|
449
|
+
"properties": {
|
|
450
|
+
"rightFieldType": {
|
|
451
|
+
"const": "staticPicklistItem"
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
"required": [
|
|
455
|
+
"rightFieldType"
|
|
456
|
+
]
|
|
457
|
+
},
|
|
458
|
+
"then": {
|
|
459
|
+
"required": [
|
|
460
|
+
"rightValue"
|
|
461
|
+
]
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
],
|
|
465
|
+
"$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/simpleCondition.json."
|
|
466
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/staticFile.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"additionalProperties" : false,
|
|
5
|
+
"properties" : {
|
|
6
|
+
"_id" : {
|
|
7
|
+
"type" : "string"
|
|
8
|
+
},
|
|
9
|
+
"_interfaceID" : {
|
|
10
|
+
"type" : "string"
|
|
11
|
+
},
|
|
12
|
+
"_isInterface" : {
|
|
13
|
+
"type" : "boolean"
|
|
14
|
+
},
|
|
15
|
+
"_knownIDs" : {
|
|
16
|
+
"items" : {
|
|
17
|
+
"type" : "string"
|
|
18
|
+
},
|
|
19
|
+
"type" : "array"
|
|
20
|
+
},
|
|
21
|
+
"_origin" : {
|
|
22
|
+
"type" : "string"
|
|
23
|
+
},
|
|
24
|
+
"_src" : {
|
|
25
|
+
"type" : "string"
|
|
26
|
+
},
|
|
27
|
+
"_type" : {
|
|
28
|
+
"const" : "staticFile"
|
|
29
|
+
},
|
|
30
|
+
"_uid" : {
|
|
31
|
+
"description" : "Deterministic UUID derived from case-ID.",
|
|
32
|
+
"format" : "uuid",
|
|
33
|
+
"type" : "string"
|
|
34
|
+
},
|
|
35
|
+
"description" : {
|
|
36
|
+
"$ref" : "template/inlineTemplate.schema.json"
|
|
37
|
+
},
|
|
38
|
+
"inactive" : {
|
|
39
|
+
"type" : "boolean"
|
|
40
|
+
},
|
|
41
|
+
"interfaceStudioProduct" : {
|
|
42
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
43
|
+
},
|
|
44
|
+
"metaCaseToOtap" : {
|
|
45
|
+
"type" : "boolean"
|
|
46
|
+
},
|
|
47
|
+
"name" : {
|
|
48
|
+
"$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
|
|
49
|
+
},
|
|
50
|
+
"ourProductId" : {
|
|
51
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
52
|
+
},
|
|
53
|
+
"staticFile" : {
|
|
54
|
+
"$ref" : "common.schema.json#/$defs/fileDataObject"
|
|
55
|
+
},
|
|
56
|
+
"staticFileHtml" : {
|
|
57
|
+
"$ref" : "template/inlineTemplate.schema.json"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required" : [ "_type", "_uid" ],
|
|
61
|
+
"title" : "staticFile",
|
|
62
|
+
"type" : "object"
|
|
63
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://grexx.net/studio-next/schemas/tag.schema.json",
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"additionalProperties": false,
|
|
5
|
+
"properties": {
|
|
6
|
+
"_id": {
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
"_interfaceID": {
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"_isInterface": {
|
|
13
|
+
"type": "boolean"
|
|
14
|
+
},
|
|
15
|
+
"_knownIDs": {
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"type": "array"
|
|
20
|
+
},
|
|
21
|
+
"_origin": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"_src": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"_type": {
|
|
28
|
+
"const": "tag"
|
|
29
|
+
},
|
|
30
|
+
"_uid": {
|
|
31
|
+
"description": "Deterministic UUID derived from case-ID.",
|
|
32
|
+
"format": "uuid",
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"description": {
|
|
36
|
+
"$ref": "template/inlineTemplate.schema.json"
|
|
37
|
+
},
|
|
38
|
+
"inactive": {
|
|
39
|
+
"type": "boolean"
|
|
40
|
+
},
|
|
41
|
+
"interfaceStudioProduct": {
|
|
42
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
43
|
+
},
|
|
44
|
+
"metaCaseToOtap": {
|
|
45
|
+
"type": "boolean"
|
|
46
|
+
},
|
|
47
|
+
"name": {
|
|
48
|
+
"$ref": "common.schema.json#/$defs/multilanguageStringStructure"
|
|
49
|
+
},
|
|
50
|
+
"ourProductId": {
|
|
51
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": [
|
|
55
|
+
"_type",
|
|
56
|
+
"_uid",
|
|
57
|
+
"name"
|
|
58
|
+
],
|
|
59
|
+
"title": "tag",
|
|
60
|
+
"type": "object",
|
|
61
|
+
"$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/tag.json."
|
|
62
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/taskQueue.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"additionalProperties" : false,
|
|
5
|
+
"properties" : {
|
|
6
|
+
"_id" : {
|
|
7
|
+
"type" : "string"
|
|
8
|
+
},
|
|
9
|
+
"_interfaceID" : {
|
|
10
|
+
"type" : "string"
|
|
11
|
+
},
|
|
12
|
+
"_isInterface" : {
|
|
13
|
+
"type" : "boolean"
|
|
14
|
+
},
|
|
15
|
+
"_knownIDs" : {
|
|
16
|
+
"items" : {
|
|
17
|
+
"type" : "string"
|
|
18
|
+
},
|
|
19
|
+
"type" : "array"
|
|
20
|
+
},
|
|
21
|
+
"_origin" : {
|
|
22
|
+
"type" : "string"
|
|
23
|
+
},
|
|
24
|
+
"_src" : {
|
|
25
|
+
"type" : "string"
|
|
26
|
+
},
|
|
27
|
+
"_type" : {
|
|
28
|
+
"const" : "taskQueue"
|
|
29
|
+
},
|
|
30
|
+
"_uid" : {
|
|
31
|
+
"description" : "Deterministic UUID derived from case-ID.",
|
|
32
|
+
"format" : "uuid",
|
|
33
|
+
"type" : "string"
|
|
34
|
+
},
|
|
35
|
+
"blockOnFailure" : {
|
|
36
|
+
"type" : "boolean"
|
|
37
|
+
},
|
|
38
|
+
"description" : {
|
|
39
|
+
"$ref" : "template/inlineTemplate.schema.json"
|
|
40
|
+
},
|
|
41
|
+
"executeOnlyMostRecentActivity" : {
|
|
42
|
+
"type" : "boolean"
|
|
43
|
+
},
|
|
44
|
+
"inactive" : {
|
|
45
|
+
"type" : "boolean"
|
|
46
|
+
},
|
|
47
|
+
"interfaceStudioProduct" : {
|
|
48
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
49
|
+
},
|
|
50
|
+
"metaCaseToOtap" : {
|
|
51
|
+
"type" : "boolean"
|
|
52
|
+
},
|
|
53
|
+
"name" : {
|
|
54
|
+
"$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
|
|
55
|
+
},
|
|
56
|
+
"ourProductId" : {
|
|
57
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
58
|
+
},
|
|
59
|
+
"rateLimitPerHourAttribute" : {
|
|
60
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
61
|
+
},
|
|
62
|
+
"type" : {
|
|
63
|
+
"type" : "string"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"required" : [ "_type", "_uid" ],
|
|
67
|
+
"title" : "taskQueue",
|
|
68
|
+
"type" : "object"
|
|
69
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id" : "https://grexx.net/studio-next/schemas/template/activitymeta.schema.json",
|
|
3
|
+
"$schema" : "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"allOf" : [ {
|
|
5
|
+
"if" : {
|
|
6
|
+
"properties" : {
|
|
7
|
+
"value" : {
|
|
8
|
+
"const" : "id"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required" : [ "value" ]
|
|
12
|
+
},
|
|
13
|
+
"then" : {
|
|
14
|
+
"properties" : {
|
|
15
|
+
"link" : {
|
|
16
|
+
"$ref" : "templatePart.schema.json"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
} ],
|
|
21
|
+
"properties" : {
|
|
22
|
+
"returnType" : {
|
|
23
|
+
"$ref" : "returnType.schema.json"
|
|
24
|
+
},
|
|
25
|
+
"type" : {
|
|
26
|
+
"const" : "activitymeta"
|
|
27
|
+
},
|
|
28
|
+
"value" : {
|
|
29
|
+
"enum" : [ "alternativename", "caseid", "hideInTaskList", "id", "name", "originid", "rightsDebug", "tagsnames" ],
|
|
30
|
+
"type" : "string"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required" : [ "type", "value" ],
|
|
34
|
+
"title" : "activitymeta",
|
|
35
|
+
"type" : "object"
|
|
36
|
+
}
|