@redocly/config 0.40.0 → 0.41.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.
@@ -0,0 +1,1079 @@
1
+ export declare const scorecardSchema: {
2
+ readonly type: "object";
3
+ readonly properties: {
4
+ readonly name: {
5
+ readonly type: "string";
6
+ };
7
+ readonly description: {
8
+ readonly type: "string";
9
+ };
10
+ readonly entities: {
11
+ readonly oneOf: readonly [{
12
+ readonly type: "array";
13
+ readonly items: {
14
+ readonly oneOf: readonly [{
15
+ readonly type: "object";
16
+ readonly properties: {
17
+ readonly field: {
18
+ readonly type: "string";
19
+ };
20
+ readonly operator: {
21
+ readonly type: "string";
22
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
23
+ };
24
+ readonly value: {
25
+ readonly oneOf: readonly [{
26
+ readonly type: "boolean";
27
+ }, {
28
+ readonly type: "string";
29
+ }, {
30
+ readonly type: "number";
31
+ }];
32
+ };
33
+ readonly match: {
34
+ readonly type: "array";
35
+ readonly items: {
36
+ readonly type: "object";
37
+ readonly properties: {
38
+ readonly field: {
39
+ readonly type: "string";
40
+ };
41
+ readonly operator: {
42
+ readonly type: "string";
43
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
44
+ };
45
+ readonly value: {
46
+ readonly oneOf: readonly [{
47
+ readonly type: "boolean";
48
+ }, {
49
+ readonly type: "string";
50
+ }, {
51
+ readonly type: "number";
52
+ }];
53
+ };
54
+ };
55
+ };
56
+ };
57
+ };
58
+ }, {
59
+ readonly type: "object";
60
+ readonly properties: {
61
+ readonly operator: {
62
+ readonly type: "string";
63
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
64
+ };
65
+ readonly conditions: {
66
+ readonly type: "array";
67
+ readonly items: {
68
+ readonly oneOf: readonly [{
69
+ readonly type: "object";
70
+ readonly properties: {
71
+ readonly field: {
72
+ readonly type: "string";
73
+ };
74
+ readonly operator: {
75
+ readonly type: "string";
76
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
77
+ };
78
+ readonly value: {
79
+ readonly oneOf: readonly [{
80
+ readonly type: "boolean";
81
+ }, {
82
+ readonly type: "string";
83
+ }, {
84
+ readonly type: "number";
85
+ }];
86
+ };
87
+ readonly match: {
88
+ readonly type: "array";
89
+ readonly items: {
90
+ readonly type: "object";
91
+ readonly properties: {
92
+ readonly field: {
93
+ readonly type: "string";
94
+ };
95
+ readonly operator: {
96
+ readonly type: "string";
97
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
98
+ };
99
+ readonly value: {
100
+ readonly oneOf: readonly [{
101
+ readonly type: "boolean";
102
+ }, {
103
+ readonly type: "string";
104
+ }, {
105
+ readonly type: "number";
106
+ }];
107
+ };
108
+ };
109
+ };
110
+ };
111
+ };
112
+ }, {
113
+ readonly type: "object";
114
+ readonly properties: {
115
+ readonly operator: {
116
+ readonly type: "string";
117
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
118
+ };
119
+ readonly conditions: {
120
+ readonly type: "array";
121
+ readonly items: {
122
+ readonly type: "object";
123
+ readonly properties: {
124
+ readonly field: {
125
+ readonly type: "string";
126
+ };
127
+ readonly operator: {
128
+ readonly type: "string";
129
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
130
+ };
131
+ readonly value: {
132
+ readonly oneOf: readonly [{
133
+ readonly type: "boolean";
134
+ }, {
135
+ readonly type: "string";
136
+ }, {
137
+ readonly type: "number";
138
+ }];
139
+ };
140
+ readonly match: {
141
+ readonly type: "array";
142
+ readonly items: {
143
+ readonly type: "object";
144
+ readonly properties: {
145
+ readonly field: {
146
+ readonly type: "string";
147
+ };
148
+ readonly operator: {
149
+ readonly type: "string";
150
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
151
+ };
152
+ readonly value: {
153
+ readonly oneOf: readonly [{
154
+ readonly type: "boolean";
155
+ }, {
156
+ readonly type: "string";
157
+ }, {
158
+ readonly type: "number";
159
+ }];
160
+ };
161
+ };
162
+ };
163
+ };
164
+ };
165
+ };
166
+ };
167
+ };
168
+ readonly required: readonly ["operator", "conditions"];
169
+ readonly additionalProperties: false;
170
+ }];
171
+ };
172
+ };
173
+ };
174
+ readonly required: readonly ["operator", "conditions"];
175
+ readonly additionalProperties: false;
176
+ }];
177
+ };
178
+ }, {
179
+ readonly type: "object";
180
+ readonly properties: {
181
+ readonly operator: {
182
+ readonly type: "string";
183
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
184
+ };
185
+ readonly conditions: {
186
+ readonly type: "array";
187
+ readonly items: {
188
+ readonly oneOf: readonly [{
189
+ readonly type: "object";
190
+ readonly properties: {
191
+ readonly field: {
192
+ readonly type: "string";
193
+ };
194
+ readonly operator: {
195
+ readonly type: "string";
196
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
197
+ };
198
+ readonly value: {
199
+ readonly oneOf: readonly [{
200
+ readonly type: "boolean";
201
+ }, {
202
+ readonly type: "string";
203
+ }, {
204
+ readonly type: "number";
205
+ }];
206
+ };
207
+ readonly match: {
208
+ readonly type: "array";
209
+ readonly items: {
210
+ readonly type: "object";
211
+ readonly properties: {
212
+ readonly field: {
213
+ readonly type: "string";
214
+ };
215
+ readonly operator: {
216
+ readonly type: "string";
217
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
218
+ };
219
+ readonly value: {
220
+ readonly oneOf: readonly [{
221
+ readonly type: "boolean";
222
+ }, {
223
+ readonly type: "string";
224
+ }, {
225
+ readonly type: "number";
226
+ }];
227
+ };
228
+ };
229
+ };
230
+ };
231
+ };
232
+ }, {
233
+ readonly type: "object";
234
+ readonly properties: {
235
+ readonly operator: {
236
+ readonly type: "string";
237
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
238
+ };
239
+ readonly conditions: {
240
+ readonly type: "array";
241
+ readonly items: {
242
+ readonly oneOf: readonly [{
243
+ readonly type: "object";
244
+ readonly properties: {
245
+ readonly field: {
246
+ readonly type: "string";
247
+ };
248
+ readonly operator: {
249
+ readonly type: "string";
250
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
251
+ };
252
+ readonly value: {
253
+ readonly oneOf: readonly [{
254
+ readonly type: "boolean";
255
+ }, {
256
+ readonly type: "string";
257
+ }, {
258
+ readonly type: "number";
259
+ }];
260
+ };
261
+ readonly match: {
262
+ readonly type: "array";
263
+ readonly items: {
264
+ readonly type: "object";
265
+ readonly properties: {
266
+ readonly field: {
267
+ readonly type: "string";
268
+ };
269
+ readonly operator: {
270
+ readonly type: "string";
271
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
272
+ };
273
+ readonly value: {
274
+ readonly oneOf: readonly [{
275
+ readonly type: "boolean";
276
+ }, {
277
+ readonly type: "string";
278
+ }, {
279
+ readonly type: "number";
280
+ }];
281
+ };
282
+ };
283
+ };
284
+ };
285
+ };
286
+ }, {
287
+ readonly type: "object";
288
+ readonly properties: {
289
+ readonly operator: {
290
+ readonly type: "string";
291
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
292
+ };
293
+ readonly conditions: {
294
+ readonly type: "array";
295
+ readonly items: {
296
+ readonly type: "object";
297
+ readonly properties: {
298
+ readonly field: {
299
+ readonly type: "string";
300
+ };
301
+ readonly operator: {
302
+ readonly type: "string";
303
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
304
+ };
305
+ readonly value: {
306
+ readonly oneOf: readonly [{
307
+ readonly type: "boolean";
308
+ }, {
309
+ readonly type: "string";
310
+ }, {
311
+ readonly type: "number";
312
+ }];
313
+ };
314
+ readonly match: {
315
+ readonly type: "array";
316
+ readonly items: {
317
+ readonly type: "object";
318
+ readonly properties: {
319
+ readonly field: {
320
+ readonly type: "string";
321
+ };
322
+ readonly operator: {
323
+ readonly type: "string";
324
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
325
+ };
326
+ readonly value: {
327
+ readonly oneOf: readonly [{
328
+ readonly type: "boolean";
329
+ }, {
330
+ readonly type: "string";
331
+ }, {
332
+ readonly type: "number";
333
+ }];
334
+ };
335
+ };
336
+ };
337
+ };
338
+ };
339
+ };
340
+ };
341
+ };
342
+ readonly required: readonly ["operator", "conditions"];
343
+ readonly additionalProperties: false;
344
+ }];
345
+ };
346
+ };
347
+ };
348
+ readonly required: readonly ["operator", "conditions"];
349
+ readonly additionalProperties: false;
350
+ }];
351
+ };
352
+ };
353
+ };
354
+ readonly required: readonly ["operator", "conditions"];
355
+ readonly additionalProperties: false;
356
+ }];
357
+ };
358
+ readonly levels: {
359
+ readonly type: "array";
360
+ readonly items: {
361
+ readonly type: "object";
362
+ readonly properties: {
363
+ readonly name: {
364
+ readonly type: "string";
365
+ };
366
+ readonly extends: {
367
+ readonly type: "array";
368
+ readonly items: {
369
+ readonly type: "string";
370
+ };
371
+ };
372
+ readonly rules: {
373
+ readonly type: "object";
374
+ readonly additionalProperties: {
375
+ readonly oneOf: readonly [{
376
+ readonly type: "string";
377
+ }, {
378
+ readonly type: "object";
379
+ readonly properties: {
380
+ readonly severity: {
381
+ readonly type: "string";
382
+ readonly enum: readonly ["error", "warn", "off"];
383
+ };
384
+ readonly weight: {
385
+ readonly type: "number";
386
+ readonly default: 1;
387
+ };
388
+ };
389
+ readonly additionalProperties: true;
390
+ }, {
391
+ readonly type: "object";
392
+ readonly properties: {
393
+ readonly title: {
394
+ readonly type: "string";
395
+ };
396
+ readonly subject: {
397
+ readonly type: "object";
398
+ readonly properties: {
399
+ readonly type: {
400
+ readonly type: "string";
401
+ readonly enum: readonly ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"];
402
+ };
403
+ readonly property: {
404
+ readonly type: "string";
405
+ };
406
+ };
407
+ readonly required: readonly ["type", "property"];
408
+ readonly additionalProperties: false;
409
+ };
410
+ readonly severity: {
411
+ readonly type: "string";
412
+ readonly enum: readonly ["error", "warn", "off"];
413
+ };
414
+ readonly message: {
415
+ readonly type: "string";
416
+ };
417
+ readonly assertions: {
418
+ readonly type: "object";
419
+ readonly properties: {
420
+ readonly defined: {
421
+ readonly type: "boolean";
422
+ };
423
+ readonly nonEmpty: {
424
+ readonly type: "boolean";
425
+ };
426
+ readonly eq: {};
427
+ readonly gt: {
428
+ readonly type: "number";
429
+ };
430
+ readonly gte: {
431
+ readonly type: "number";
432
+ };
433
+ readonly lt: {
434
+ readonly type: "number";
435
+ };
436
+ readonly lte: {
437
+ readonly type: "number";
438
+ };
439
+ readonly const: {};
440
+ };
441
+ readonly additionalProperties: false;
442
+ };
443
+ readonly where: {
444
+ readonly type: "array";
445
+ readonly items: {
446
+ readonly type: "object";
447
+ readonly properties: {
448
+ readonly subject: {
449
+ readonly type: "object";
450
+ readonly properties: {
451
+ readonly type: {
452
+ readonly type: "string";
453
+ readonly enum: readonly ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"];
454
+ };
455
+ readonly property: {
456
+ readonly type: "string";
457
+ };
458
+ };
459
+ readonly required: readonly ["type", "property"];
460
+ readonly additionalProperties: false;
461
+ };
462
+ readonly assertions: {
463
+ readonly type: "object";
464
+ readonly properties: {
465
+ readonly defined: {
466
+ readonly type: "boolean";
467
+ };
468
+ readonly nonEmpty: {
469
+ readonly type: "boolean";
470
+ };
471
+ readonly eq: {};
472
+ readonly gt: {
473
+ readonly type: "number";
474
+ };
475
+ readonly gte: {
476
+ readonly type: "number";
477
+ };
478
+ readonly lt: {
479
+ readonly type: "number";
480
+ };
481
+ readonly lte: {
482
+ readonly type: "number";
483
+ };
484
+ readonly const: {};
485
+ };
486
+ readonly additionalProperties: false;
487
+ };
488
+ };
489
+ readonly required: readonly ["subject", "assertions"];
490
+ readonly additionalProperties: false;
491
+ };
492
+ };
493
+ readonly weight: {
494
+ readonly type: "number";
495
+ readonly default: 1;
496
+ };
497
+ };
498
+ readonly required: readonly ["subject", "assertions"];
499
+ readonly additionalProperties: false;
500
+ }];
501
+ };
502
+ };
503
+ };
504
+ readonly required: readonly ["name"];
505
+ readonly additionalProperties: false;
506
+ };
507
+ readonly minItems: 1;
508
+ };
509
+ readonly trigger: {
510
+ readonly oneOf: readonly [{
511
+ readonly type: "object";
512
+ readonly properties: {
513
+ readonly event: {
514
+ readonly type: "string";
515
+ readonly enum: readonly ["runtime", "manual"];
516
+ };
517
+ };
518
+ readonly required: readonly ["event"];
519
+ readonly additionalProperties: false;
520
+ }, {
521
+ readonly type: "array";
522
+ readonly items: {
523
+ readonly type: "object";
524
+ readonly properties: {
525
+ readonly event: {
526
+ readonly type: "string";
527
+ readonly enum: readonly ["runtime", "manual"];
528
+ };
529
+ };
530
+ readonly required: readonly ["event"];
531
+ readonly additionalProperties: false;
532
+ };
533
+ }];
534
+ };
535
+ };
536
+ readonly required: readonly ["name", "entities", "levels"];
537
+ readonly additionalProperties: false;
538
+ };
539
+ export declare const scorecardsConfigSchema: {
540
+ readonly type: "array";
541
+ readonly items: {
542
+ readonly type: "object";
543
+ readonly properties: {
544
+ readonly name: {
545
+ readonly type: "string";
546
+ };
547
+ readonly description: {
548
+ readonly type: "string";
549
+ };
550
+ readonly entities: {
551
+ readonly oneOf: readonly [{
552
+ readonly type: "array";
553
+ readonly items: {
554
+ readonly oneOf: readonly [{
555
+ readonly type: "object";
556
+ readonly properties: {
557
+ readonly field: {
558
+ readonly type: "string";
559
+ };
560
+ readonly operator: {
561
+ readonly type: "string";
562
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
563
+ };
564
+ readonly value: {
565
+ readonly oneOf: readonly [{
566
+ readonly type: "boolean";
567
+ }, {
568
+ readonly type: "string";
569
+ }, {
570
+ readonly type: "number";
571
+ }];
572
+ };
573
+ readonly match: {
574
+ readonly type: "array";
575
+ readonly items: {
576
+ readonly type: "object";
577
+ readonly properties: {
578
+ readonly field: {
579
+ readonly type: "string";
580
+ };
581
+ readonly operator: {
582
+ readonly type: "string";
583
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
584
+ };
585
+ readonly value: {
586
+ readonly oneOf: readonly [{
587
+ readonly type: "boolean";
588
+ }, {
589
+ readonly type: "string";
590
+ }, {
591
+ readonly type: "number";
592
+ }];
593
+ };
594
+ };
595
+ };
596
+ };
597
+ };
598
+ }, {
599
+ readonly type: "object";
600
+ readonly properties: {
601
+ readonly operator: {
602
+ readonly type: "string";
603
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
604
+ };
605
+ readonly conditions: {
606
+ readonly type: "array";
607
+ readonly items: {
608
+ readonly oneOf: readonly [{
609
+ readonly type: "object";
610
+ readonly properties: {
611
+ readonly field: {
612
+ readonly type: "string";
613
+ };
614
+ readonly operator: {
615
+ readonly type: "string";
616
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
617
+ };
618
+ readonly value: {
619
+ readonly oneOf: readonly [{
620
+ readonly type: "boolean";
621
+ }, {
622
+ readonly type: "string";
623
+ }, {
624
+ readonly type: "number";
625
+ }];
626
+ };
627
+ readonly match: {
628
+ readonly type: "array";
629
+ readonly items: {
630
+ readonly type: "object";
631
+ readonly properties: {
632
+ readonly field: {
633
+ readonly type: "string";
634
+ };
635
+ readonly operator: {
636
+ readonly type: "string";
637
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
638
+ };
639
+ readonly value: {
640
+ readonly oneOf: readonly [{
641
+ readonly type: "boolean";
642
+ }, {
643
+ readonly type: "string";
644
+ }, {
645
+ readonly type: "number";
646
+ }];
647
+ };
648
+ };
649
+ };
650
+ };
651
+ };
652
+ }, {
653
+ readonly type: "object";
654
+ readonly properties: {
655
+ readonly operator: {
656
+ readonly type: "string";
657
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
658
+ };
659
+ readonly conditions: {
660
+ readonly type: "array";
661
+ readonly items: {
662
+ readonly type: "object";
663
+ readonly properties: {
664
+ readonly field: {
665
+ readonly type: "string";
666
+ };
667
+ readonly operator: {
668
+ readonly type: "string";
669
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
670
+ };
671
+ readonly value: {
672
+ readonly oneOf: readonly [{
673
+ readonly type: "boolean";
674
+ }, {
675
+ readonly type: "string";
676
+ }, {
677
+ readonly type: "number";
678
+ }];
679
+ };
680
+ readonly match: {
681
+ readonly type: "array";
682
+ readonly items: {
683
+ readonly type: "object";
684
+ readonly properties: {
685
+ readonly field: {
686
+ readonly type: "string";
687
+ };
688
+ readonly operator: {
689
+ readonly type: "string";
690
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
691
+ };
692
+ readonly value: {
693
+ readonly oneOf: readonly [{
694
+ readonly type: "boolean";
695
+ }, {
696
+ readonly type: "string";
697
+ }, {
698
+ readonly type: "number";
699
+ }];
700
+ };
701
+ };
702
+ };
703
+ };
704
+ };
705
+ };
706
+ };
707
+ };
708
+ readonly required: readonly ["operator", "conditions"];
709
+ readonly additionalProperties: false;
710
+ }];
711
+ };
712
+ };
713
+ };
714
+ readonly required: readonly ["operator", "conditions"];
715
+ readonly additionalProperties: false;
716
+ }];
717
+ };
718
+ }, {
719
+ readonly type: "object";
720
+ readonly properties: {
721
+ readonly operator: {
722
+ readonly type: "string";
723
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
724
+ };
725
+ readonly conditions: {
726
+ readonly type: "array";
727
+ readonly items: {
728
+ readonly oneOf: readonly [{
729
+ readonly type: "object";
730
+ readonly properties: {
731
+ readonly field: {
732
+ readonly type: "string";
733
+ };
734
+ readonly operator: {
735
+ readonly type: "string";
736
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
737
+ };
738
+ readonly value: {
739
+ readonly oneOf: readonly [{
740
+ readonly type: "boolean";
741
+ }, {
742
+ readonly type: "string";
743
+ }, {
744
+ readonly type: "number";
745
+ }];
746
+ };
747
+ readonly match: {
748
+ readonly type: "array";
749
+ readonly items: {
750
+ readonly type: "object";
751
+ readonly properties: {
752
+ readonly field: {
753
+ readonly type: "string";
754
+ };
755
+ readonly operator: {
756
+ readonly type: "string";
757
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
758
+ };
759
+ readonly value: {
760
+ readonly oneOf: readonly [{
761
+ readonly type: "boolean";
762
+ }, {
763
+ readonly type: "string";
764
+ }, {
765
+ readonly type: "number";
766
+ }];
767
+ };
768
+ };
769
+ };
770
+ };
771
+ };
772
+ }, {
773
+ readonly type: "object";
774
+ readonly properties: {
775
+ readonly operator: {
776
+ readonly type: "string";
777
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
778
+ };
779
+ readonly conditions: {
780
+ readonly type: "array";
781
+ readonly items: {
782
+ readonly oneOf: readonly [{
783
+ readonly type: "object";
784
+ readonly properties: {
785
+ readonly field: {
786
+ readonly type: "string";
787
+ };
788
+ readonly operator: {
789
+ readonly type: "string";
790
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
791
+ };
792
+ readonly value: {
793
+ readonly oneOf: readonly [{
794
+ readonly type: "boolean";
795
+ }, {
796
+ readonly type: "string";
797
+ }, {
798
+ readonly type: "number";
799
+ }];
800
+ };
801
+ readonly match: {
802
+ readonly type: "array";
803
+ readonly items: {
804
+ readonly type: "object";
805
+ readonly properties: {
806
+ readonly field: {
807
+ readonly type: "string";
808
+ };
809
+ readonly operator: {
810
+ readonly type: "string";
811
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
812
+ };
813
+ readonly value: {
814
+ readonly oneOf: readonly [{
815
+ readonly type: "boolean";
816
+ }, {
817
+ readonly type: "string";
818
+ }, {
819
+ readonly type: "number";
820
+ }];
821
+ };
822
+ };
823
+ };
824
+ };
825
+ };
826
+ }, {
827
+ readonly type: "object";
828
+ readonly properties: {
829
+ readonly operator: {
830
+ readonly type: "string";
831
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
832
+ };
833
+ readonly conditions: {
834
+ readonly type: "array";
835
+ readonly items: {
836
+ readonly type: "object";
837
+ readonly properties: {
838
+ readonly field: {
839
+ readonly type: "string";
840
+ };
841
+ readonly operator: {
842
+ readonly type: "string";
843
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
844
+ };
845
+ readonly value: {
846
+ readonly oneOf: readonly [{
847
+ readonly type: "boolean";
848
+ }, {
849
+ readonly type: "string";
850
+ }, {
851
+ readonly type: "number";
852
+ }];
853
+ };
854
+ readonly match: {
855
+ readonly type: "array";
856
+ readonly items: {
857
+ readonly type: "object";
858
+ readonly properties: {
859
+ readonly field: {
860
+ readonly type: "string";
861
+ };
862
+ readonly operator: {
863
+ readonly type: "string";
864
+ readonly enum: readonly ["eq", "in", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "exists", "isEmpty", "between", "matches", "some", "every", "none", "and", "or", "not"];
865
+ };
866
+ readonly value: {
867
+ readonly oneOf: readonly [{
868
+ readonly type: "boolean";
869
+ }, {
870
+ readonly type: "string";
871
+ }, {
872
+ readonly type: "number";
873
+ }];
874
+ };
875
+ };
876
+ };
877
+ };
878
+ };
879
+ };
880
+ };
881
+ };
882
+ readonly required: readonly ["operator", "conditions"];
883
+ readonly additionalProperties: false;
884
+ }];
885
+ };
886
+ };
887
+ };
888
+ readonly required: readonly ["operator", "conditions"];
889
+ readonly additionalProperties: false;
890
+ }];
891
+ };
892
+ };
893
+ };
894
+ readonly required: readonly ["operator", "conditions"];
895
+ readonly additionalProperties: false;
896
+ }];
897
+ };
898
+ readonly levels: {
899
+ readonly type: "array";
900
+ readonly items: {
901
+ readonly type: "object";
902
+ readonly properties: {
903
+ readonly name: {
904
+ readonly type: "string";
905
+ };
906
+ readonly extends: {
907
+ readonly type: "array";
908
+ readonly items: {
909
+ readonly type: "string";
910
+ };
911
+ };
912
+ readonly rules: {
913
+ readonly type: "object";
914
+ readonly additionalProperties: {
915
+ readonly oneOf: readonly [{
916
+ readonly type: "string";
917
+ }, {
918
+ readonly type: "object";
919
+ readonly properties: {
920
+ readonly severity: {
921
+ readonly type: "string";
922
+ readonly enum: readonly ["error", "warn", "off"];
923
+ };
924
+ readonly weight: {
925
+ readonly type: "number";
926
+ readonly default: 1;
927
+ };
928
+ };
929
+ readonly additionalProperties: true;
930
+ }, {
931
+ readonly type: "object";
932
+ readonly properties: {
933
+ readonly title: {
934
+ readonly type: "string";
935
+ };
936
+ readonly subject: {
937
+ readonly type: "object";
938
+ readonly properties: {
939
+ readonly type: {
940
+ readonly type: "string";
941
+ readonly enum: readonly ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"];
942
+ };
943
+ readonly property: {
944
+ readonly type: "string";
945
+ };
946
+ };
947
+ readonly required: readonly ["type", "property"];
948
+ readonly additionalProperties: false;
949
+ };
950
+ readonly severity: {
951
+ readonly type: "string";
952
+ readonly enum: readonly ["error", "warn", "off"];
953
+ };
954
+ readonly message: {
955
+ readonly type: "string";
956
+ };
957
+ readonly assertions: {
958
+ readonly type: "object";
959
+ readonly properties: {
960
+ readonly defined: {
961
+ readonly type: "boolean";
962
+ };
963
+ readonly nonEmpty: {
964
+ readonly type: "boolean";
965
+ };
966
+ readonly eq: {};
967
+ readonly gt: {
968
+ readonly type: "number";
969
+ };
970
+ readonly gte: {
971
+ readonly type: "number";
972
+ };
973
+ readonly lt: {
974
+ readonly type: "number";
975
+ };
976
+ readonly lte: {
977
+ readonly type: "number";
978
+ };
979
+ readonly const: {};
980
+ };
981
+ readonly additionalProperties: false;
982
+ };
983
+ readonly where: {
984
+ readonly type: "array";
985
+ readonly items: {
986
+ readonly type: "object";
987
+ readonly properties: {
988
+ readonly subject: {
989
+ readonly type: "object";
990
+ readonly properties: {
991
+ readonly type: {
992
+ readonly type: "string";
993
+ readonly enum: readonly ["Entity", "EntityMetadata", "EntityRelations", "EntityRelation"];
994
+ };
995
+ readonly property: {
996
+ readonly type: "string";
997
+ };
998
+ };
999
+ readonly required: readonly ["type", "property"];
1000
+ readonly additionalProperties: false;
1001
+ };
1002
+ readonly assertions: {
1003
+ readonly type: "object";
1004
+ readonly properties: {
1005
+ readonly defined: {
1006
+ readonly type: "boolean";
1007
+ };
1008
+ readonly nonEmpty: {
1009
+ readonly type: "boolean";
1010
+ };
1011
+ readonly eq: {};
1012
+ readonly gt: {
1013
+ readonly type: "number";
1014
+ };
1015
+ readonly gte: {
1016
+ readonly type: "number";
1017
+ };
1018
+ readonly lt: {
1019
+ readonly type: "number";
1020
+ };
1021
+ readonly lte: {
1022
+ readonly type: "number";
1023
+ };
1024
+ readonly const: {};
1025
+ };
1026
+ readonly additionalProperties: false;
1027
+ };
1028
+ };
1029
+ readonly required: readonly ["subject", "assertions"];
1030
+ readonly additionalProperties: false;
1031
+ };
1032
+ };
1033
+ readonly weight: {
1034
+ readonly type: "number";
1035
+ readonly default: 1;
1036
+ };
1037
+ };
1038
+ readonly required: readonly ["subject", "assertions"];
1039
+ readonly additionalProperties: false;
1040
+ }];
1041
+ };
1042
+ };
1043
+ };
1044
+ readonly required: readonly ["name"];
1045
+ readonly additionalProperties: false;
1046
+ };
1047
+ readonly minItems: 1;
1048
+ };
1049
+ readonly trigger: {
1050
+ readonly oneOf: readonly [{
1051
+ readonly type: "object";
1052
+ readonly properties: {
1053
+ readonly event: {
1054
+ readonly type: "string";
1055
+ readonly enum: readonly ["runtime", "manual"];
1056
+ };
1057
+ };
1058
+ readonly required: readonly ["event"];
1059
+ readonly additionalProperties: false;
1060
+ }, {
1061
+ readonly type: "array";
1062
+ readonly items: {
1063
+ readonly type: "object";
1064
+ readonly properties: {
1065
+ readonly event: {
1066
+ readonly type: "string";
1067
+ readonly enum: readonly ["runtime", "manual"];
1068
+ };
1069
+ };
1070
+ readonly required: readonly ["event"];
1071
+ readonly additionalProperties: false;
1072
+ };
1073
+ }];
1074
+ };
1075
+ };
1076
+ readonly required: readonly ["name", "entities", "levels"];
1077
+ readonly additionalProperties: false;
1078
+ };
1079
+ };