@grexx/grexxlinter 0.2.343 → 0.2.348

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.
@@ -322,24 +322,6 @@
322
322
  }
323
323
  }
324
324
  },
325
- {
326
- "if": {
327
- "properties": {
328
- "type": {
329
- "const": "casetype"
330
- }
331
- },
332
- "required": [
333
- "type"
334
- ]
335
- },
336
- "then": {},
337
- "else": {
338
- "properties": {
339
- "newCaseAlternativeStartActivity": false
340
- }
341
- }
342
- },
343
325
  {
344
326
  "if": {
345
327
  "anyOf": [
@@ -111,23 +111,6 @@
111
111
  "properties": {
112
112
  "allowHTML": false
113
113
  }
114
- },
115
- {
116
- "if": {
117
- "properties": {
118
- "type": {
119
- "const": "case"
120
- }
121
- },
122
- "required": [
123
- "type"
124
- ]
125
- },
126
- "then": {
127
- "required": [
128
- "subtype"
129
- ]
130
- }
131
114
  }
132
115
  ],
133
116
  "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/activityAttribute.json."
@@ -231,36 +231,11 @@
231
231
  "calculatedTemplate": false
232
232
  }
233
233
  },
234
- {
235
- "properties": {
236
- "addActivity": false
237
- }
238
- },
239
- {
240
- "properties": {
241
- "currency": false
242
- }
243
- },
244
- {
245
- "properties": {
246
- "attributeDefaultValue": false
247
- }
248
- },
249
234
  {
250
235
  "properties": {
251
236
  "linkToPlatform": false
252
237
  }
253
238
  },
254
- {
255
- "properties": {
256
- "addActivityBase": false
257
- }
258
- },
259
- {
260
- "properties": {
261
- "picklistBase": false
262
- }
263
- },
264
239
  {
265
240
  "if": {
266
241
  "properties": {
@@ -91,9 +91,17 @@
91
91
  ]
92
92
  },
93
93
  "then": {
94
- "required": [
95
- "progressTemplate",
96
- "progressTitle"
94
+ "anyOf": [
95
+ {
96
+ "required": [
97
+ "progressTitle"
98
+ ]
99
+ },
100
+ {
101
+ "required": [
102
+ "progressTemplate"
103
+ ]
104
+ }
97
105
  ]
98
106
  }
99
107
  }
@@ -1,88 +1,77 @@
1
1
  {
2
- "$id": "https://grexx.net/studio-next/schemas/container.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"
2
+ "$id" : "https://grexx.net/studio-next/schemas/container.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
18
  },
19
- "type": "array"
19
+ "type" : "array"
20
20
  },
21
- "_origin": {
22
- "type": "string"
21
+ "_origin" : {
22
+ "type" : "string"
23
23
  },
24
- "_src": {
25
- "type": "string"
24
+ "_src" : {
25
+ "type" : "string"
26
26
  },
27
- "_type": {
28
- "const": "container"
27
+ "_type" : {
28
+ "const" : "container"
29
29
  },
30
- "_uid": {
31
- "description": "Deterministic UUID derived from case-ID.",
32
- "format": "uuid",
33
- "type": "string"
30
+ "_uid" : {
31
+ "description" : "Deterministic UUID derived from case-ID.",
32
+ "format" : "uuid",
33
+ "type" : "string"
34
34
  },
35
- "description": {
36
- "$ref": "template/inlineTemplate.schema.json"
35
+ "description" : {
36
+ "$ref" : "template/inlineTemplate.schema.json"
37
37
  },
38
- "hide": {
39
- "type": "boolean"
38
+ "hide" : {
39
+ "type" : "boolean"
40
40
  },
41
- "inactive": {
42
- "type": "boolean"
41
+ "inactive" : {
42
+ "type" : "boolean"
43
43
  },
44
- "interfaceStudioProduct": {
45
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
44
+ "interfaceStudioProduct" : {
45
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
46
46
  },
47
- "metaCaseToOtap": {
48
- "type": "boolean"
47
+ "metaCaseToOtap" : {
48
+ "type" : "boolean"
49
49
  },
50
- "name": {
51
- "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
50
+ "name" : {
51
+ "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
52
52
  },
53
- "options": {
54
- "additionalProperties": true,
55
- "type": "object"
53
+ "options" : {
54
+ "additionalProperties" : true,
55
+ "type" : "object"
56
56
  },
57
- "ourProductId": {
58
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
57
+ "ourProductId" : {
58
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
59
59
  },
60
- "position": {
61
- "additionalProperties": true,
62
- "type": "object"
60
+ "position" : {
61
+ "additionalProperties" : true,
62
+ "type" : "object"
63
63
  },
64
- "showSingleTab": {
65
- "type": "boolean"
64
+ "showSingleTab" : {
65
+ "type" : "boolean"
66
66
  },
67
- "widgets": {
68
- "items": {
69
- "$ref": "widget.schema.json"
67
+ "widgets" : {
68
+ "items" : {
69
+ "$ref" : "widget.schema.json"
70
70
  },
71
- "type": "array"
71
+ "type" : "array"
72
72
  }
73
73
  },
74
- "required": [
75
- "_type",
76
- "_uid"
77
- ],
78
- "title": "container",
79
- "type": "object",
80
- "allOf": [
81
- {
82
- "properties": {
83
- "showSingleTab": false
84
- }
85
- }
86
- ],
87
- "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/container.json."
88
- }
74
+ "required" : [ "_type", "_uid" ],
75
+ "title" : "container",
76
+ "type" : "object"
77
+ }
@@ -90,9 +90,17 @@
90
90
  ]
91
91
  },
92
92
  "then": {
93
- "required": [
94
- "progressTemplate",
95
- "progressTitle"
93
+ "anyOf": [
94
+ {
95
+ "required": [
96
+ "progressTemplate"
97
+ ]
98
+ },
99
+ {
100
+ "required": [
101
+ "progressTitle"
102
+ ]
103
+ }
96
104
  ]
97
105
  }
98
106
  }
@@ -320,58 +320,6 @@
320
320
  }
321
321
  }
322
322
  },
323
- {
324
- "if": {
325
- "anyOf": [
326
- {
327
- "properties": {
328
- "type": {
329
- "const": "aggregation"
330
- }
331
- },
332
- "required": [
333
- "type"
334
- ]
335
- },
336
- {
337
- "properties": {
338
- "type": {
339
- "const": "filter"
340
- }
341
- },
342
- "required": [
343
- "type"
344
- ]
345
- },
346
- {
347
- "properties": {
348
- "type": {
349
- "const": "aggregation"
350
- }
351
- },
352
- "required": [
353
- "type"
354
- ]
355
- },
356
- {
357
- "properties": {
358
- "type": {
359
- "const": "filter"
360
- }
361
- },
362
- "required": [
363
- "type"
364
- ]
365
- }
366
- ]
367
- },
368
- "then": {},
369
- "else": {
370
- "properties": {
371
- "parentDataset": false
372
- }
373
- }
374
- },
375
323
  {
376
324
  "if": {
377
325
  "anyOf": [
@@ -106,48 +106,11 @@
106
106
  "title": "datasetColumn",
107
107
  "type": "object",
108
108
  "allOf": [
109
- {
110
- "if": {
111
- "anyOf": [
112
- {
113
- "properties": {
114
- "fieldType": {
115
- "const": "platformAttribute"
116
- }
117
- },
118
- "required": [
119
- "fieldType"
120
- ]
121
- },
122
- {
123
- "properties": {
124
- "fieldType": {
125
- "const": "platformAttribute"
126
- }
127
- },
128
- "required": [
129
- "fieldType"
130
- ]
131
- }
132
- ]
133
- },
134
- "then": {},
135
- "else": {
136
- "properties": {
137
- "attribute": false
138
- }
139
- }
140
- },
141
109
  {
142
110
  "properties": {
143
111
  "multivalueType": false
144
112
  }
145
113
  },
146
- {
147
- "properties": {
148
- "sortOrder": false
149
- }
150
- },
151
114
  {
152
115
  "if": {
153
116
  "anyOf": [
@@ -217,78 +180,6 @@
217
180
  "name": false
218
181
  }
219
182
  },
220
- {
221
- "if": {
222
- "anyOf": [
223
- {
224
- "properties": {
225
- "fieldType": {
226
- "const": "activityMetadata"
227
- }
228
- },
229
- "required": [
230
- "fieldType"
231
- ]
232
- },
233
- {
234
- "properties": {
235
- "fieldType": {
236
- "const": "taskMetaData"
237
- }
238
- },
239
- "required": [
240
- "fieldType"
241
- ]
242
- },
243
- {
244
- "properties": {
245
- "fieldType": {
246
- "const": "taskqueueMetaData"
247
- }
248
- },
249
- "required": [
250
- "fieldType"
251
- ]
252
- },
253
- {
254
- "properties": {
255
- "fieldType": {
256
- "const": "activityMetadata"
257
- }
258
- },
259
- "required": [
260
- "fieldType"
261
- ]
262
- },
263
- {
264
- "properties": {
265
- "fieldType": {
266
- "const": "taskMetaData"
267
- }
268
- },
269
- "required": [
270
- "fieldType"
271
- ]
272
- },
273
- {
274
- "properties": {
275
- "fieldType": {
276
- "const": "taskqueueMetaData"
277
- }
278
- },
279
- "required": [
280
- "fieldType"
281
- ]
282
- }
283
- ]
284
- },
285
- "then": {},
286
- "else": {
287
- "properties": {
288
- "field": false
289
- }
290
- }
291
- },
292
183
  {
293
184
  "if": {
294
185
  "properties": {
@@ -156,78 +156,6 @@
156
156
  "title": "datasetCondition",
157
157
  "type": "object",
158
158
  "allOf": [
159
- {
160
- "if": {
161
- "anyOf": [
162
- {
163
- "properties": {
164
- "fieldType": {
165
- "const": "casedata"
166
- }
167
- },
168
- "required": [
169
- "fieldType"
170
- ]
171
- },
172
- {
173
- "properties": {
174
- "fieldType": {
175
- "const": "casemetadata"
176
- }
177
- },
178
- "required": [
179
- "fieldType"
180
- ]
181
- },
182
- {
183
- "properties": {
184
- "fieldType": {
185
- "const": "column"
186
- }
187
- },
188
- "required": [
189
- "fieldType"
190
- ]
191
- },
192
- {
193
- "properties": {
194
- "fieldType": {
195
- "const": "casedata"
196
- }
197
- },
198
- "required": [
199
- "fieldType"
200
- ]
201
- },
202
- {
203
- "properties": {
204
- "fieldType": {
205
- "const": "casemetadata"
206
- }
207
- },
208
- "required": [
209
- "fieldType"
210
- ]
211
- },
212
- {
213
- "properties": {
214
- "fieldType": {
215
- "const": "column"
216
- }
217
- },
218
- "required": [
219
- "fieldType"
220
- ]
221
- }
222
- ]
223
- },
224
- "then": {},
225
- "else": {
226
- "properties": {
227
- "field": false
228
- }
229
- }
230
- },
231
159
  {
232
160
  "if": {
233
161
  "anyOf": [
@@ -260,11 +188,6 @@
260
188
  }
261
189
  }
262
190
  },
263
- {
264
- "properties": {
265
- "leftFieldType": false
266
- }
267
- },
268
191
  {
269
192
  "if": {
270
193
  "properties": {
@@ -0,0 +1,45 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://grexx.net/studio-next/schemas/folderInfo.schema.json",
4
+ "title": "folderInfo",
5
+ "$comment": "Hand-maintained — L2 does not define folderInfo. Lives in packages/schemas/custom/ and is overlaid into extended/ by scripts/extend.mjs. Permissive on purpose (no additionalProperties:false yet); tighten as the shape is nailed down.",
6
+ "type": "object",
7
+ "properties": {
8
+ "_type": { "const": "folderInfo" },
9
+ "_id": { "type": "string" },
10
+ "_uid": { "type": "string" },
11
+ "folderName": { "type": "string" },
12
+ "folderType": { "type": "string" },
13
+ "component": { "type": "string" },
14
+ "marketPlaceProduct": { "type": "string" },
15
+ "marketPlaceAvailableProducts": {
16
+ "type": "array",
17
+ "items": { "$ref": "#/$defs/availableProduct" }
18
+ }
19
+ },
20
+ "required": ["_type"],
21
+ "$defs": {
22
+ "availableProduct": {
23
+ "type": "object",
24
+ "properties": {
25
+ "_type": { "const": "availableProduct" },
26
+ "_id": { "type": "string" },
27
+ "storeProductId": { "type": "string" },
28
+ "storeSpaceId": { "type": "string" },
29
+ "availableVersions": {
30
+ "type": "array",
31
+ "items": { "$ref": "#/$defs/availableProductVersion" }
32
+ }
33
+ }
34
+ },
35
+ "availableProductVersion": {
36
+ "type": "object",
37
+ "properties": {
38
+ "_type": { "const": "availableProductVersion" },
39
+ "_id": { "type": "string" },
40
+ "status": { "type": "string" },
41
+ "versionName": { "type": "string" }
42
+ }
43
+ }
44
+ }
45
+ }
@@ -86,8 +86,21 @@
86
86
  "type": "object",
87
87
  "allOf": [
88
88
  {
89
- "properties": {
90
- "multivalueTemplate": false
89
+ "if": {
90
+ "properties": {
91
+ "showProgress": {
92
+ "const": "true"
93
+ }
94
+ },
95
+ "required": [
96
+ "showProgress"
97
+ ]
98
+ },
99
+ "then": {},
100
+ "else": {
101
+ "properties": {
102
+ "progressTemplate": false
103
+ }
91
104
  }
92
105
  },
93
106
  {
@@ -118,42 +131,50 @@
118
131
  "then": {},
119
132
  "else": {
120
133
  "properties": {
121
- "progressTemplate": false
134
+ "progressTitle": false
122
135
  }
123
136
  }
124
137
  },
125
138
  {
126
139
  "if": {
140
+ "properties": {
141
+ "showProgress": {
142
+ "const": "true"
143
+ }
144
+ },
145
+ "required": [
146
+ "showProgress"
147
+ ]
148
+ },
149
+ "then": {
127
150
  "anyOf": [
128
151
  {
129
- "properties": {
130
- "showProgress": {
131
- "const": "true"
132
- }
133
- },
134
152
  "required": [
135
- "showProgress"
153
+ "progressTitle"
136
154
  ]
137
155
  },
138
156
  {
139
- "properties": {
140
- "showProgress": {
141
- "const": "true"
142
- }
143
- },
144
157
  "required": [
145
- "showProgress"
158
+ "progressTemplate"
146
159
  ]
147
160
  }
148
161
  ]
149
- },
150
- "then": {},
151
- "else": {
152
- "properties": {
153
- "progressTitle": false
154
- }
155
162
  }
156
163
  },
164
+ {
165
+ "anyOf": [
166
+ {
167
+ "required": [
168
+ "for"
169
+ ]
170
+ },
171
+ {
172
+ "required": [
173
+ "forDataset"
174
+ ]
175
+ }
176
+ ]
177
+ },
157
178
  {
158
179
  "if": {
159
180
  "properties": {
@@ -167,7 +188,6 @@
167
188
  },
168
189
  "then": {
169
190
  "required": [
170
- "progressTemplate",
171
191
  "progressTitle"
172
192
  ]
173
193
  }