@redocly/config 0.36.1 → 0.36.2

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.
@@ -72,11 +72,6 @@ export declare const dataSchemaMetadataSchema: {
72
72
  readonly description: "SDL of the data structure";
73
73
  };
74
74
  };
75
- readonly anyOf: readonly [{
76
- readonly required: readonly ["schema"];
77
- }, {
78
- readonly required: readonly ["sdl"];
79
- }];
80
75
  readonly required: readonly ["specType"];
81
76
  readonly additionalProperties: true;
82
77
  };
@@ -187,18 +182,22 @@ export declare const entityBaseProperties: {
187
182
  readonly minLength: 2;
188
183
  readonly maxLength: 150;
189
184
  };
185
+ readonly type: {
186
+ readonly type: "string";
187
+ readonly enum: readonly ["user", "data-schema", "api-operation", "api-description", "service", "domain", "team"];
188
+ };
190
189
  readonly title: {
191
190
  readonly type: "string";
192
191
  readonly minLength: 2;
193
192
  readonly maxLength: 200;
194
193
  };
195
194
  readonly summary: {
196
- readonly type: readonly ["string", "null"];
195
+ readonly type: "string";
197
196
  readonly minLength: 1;
198
197
  readonly maxLength: 500;
199
198
  };
200
199
  readonly tags: {
201
- readonly type: readonly ["array", "null"];
200
+ readonly type: "array";
202
201
  readonly items: {
203
202
  readonly type: "string";
204
203
  readonly minLength: 1;
@@ -206,90 +205,82 @@ export declare const entityBaseProperties: {
206
205
  };
207
206
  };
208
207
  readonly git: {
209
- readonly type: readonly ["array", "null"];
208
+ readonly type: "array";
210
209
  readonly items: {
211
210
  readonly type: "string";
212
211
  };
213
212
  };
214
213
  readonly contact: {
215
- readonly anyOf: readonly [{
216
- readonly type: "null";
217
- }, {
218
- readonly type: "object";
219
- readonly properties: {
220
- readonly slack: {
221
- readonly type: "object";
222
- readonly properties: {
223
- readonly channels: {
224
- readonly type: "array";
225
- readonly items: {
226
- readonly type: "object";
227
- readonly properties: {
228
- readonly name: {
229
- readonly type: "string";
230
- readonly minLength: 2;
231
- readonly maxLength: 150;
232
- };
233
- readonly url: {
234
- readonly type: "string";
235
- };
214
+ readonly type: "object";
215
+ readonly properties: {
216
+ readonly slack: {
217
+ readonly type: "object";
218
+ readonly properties: {
219
+ readonly channels: {
220
+ readonly type: "array";
221
+ readonly items: {
222
+ readonly type: "object";
223
+ readonly properties: {
224
+ readonly name: {
225
+ readonly type: "string";
226
+ readonly minLength: 2;
227
+ readonly maxLength: 150;
228
+ };
229
+ readonly url: {
230
+ readonly type: "string";
236
231
  };
237
- readonly required: readonly ["name"];
238
- readonly additionalProperties: false;
239
232
  };
233
+ readonly required: readonly ["name"];
234
+ readonly additionalProperties: false;
240
235
  };
241
236
  };
242
- readonly required: readonly ["channels"];
243
- readonly additionalProperties: false;
244
237
  };
238
+ readonly required: readonly ["channels"];
239
+ readonly additionalProperties: false;
245
240
  };
246
- readonly additionalProperties: false;
247
- }];
241
+ };
242
+ readonly additionalProperties: false;
248
243
  };
249
244
  readonly links: {
250
- readonly anyOf: readonly [{
251
- readonly type: "null";
252
- }, {
253
- readonly type: "array";
254
- readonly items: {
255
- readonly type: "object";
256
- readonly properties: {
257
- readonly label: {
258
- readonly type: "string";
259
- readonly minLength: 2;
260
- readonly maxLength: 150;
261
- };
262
- readonly url: {
263
- readonly type: "string";
264
- };
245
+ readonly type: "array";
246
+ readonly items: {
247
+ readonly type: "object";
248
+ readonly properties: {
249
+ readonly label: {
250
+ readonly type: "string";
251
+ readonly minLength: 2;
252
+ readonly maxLength: 150;
253
+ };
254
+ readonly url: {
255
+ readonly type: "string";
265
256
  };
266
- readonly required: readonly ["label", "url"];
267
- readonly additionalProperties: false;
268
257
  };
269
- }];
258
+ readonly required: readonly ["label", "url"];
259
+ readonly additionalProperties: false;
260
+ };
270
261
  };
271
262
  readonly relations: {
272
- readonly anyOf: readonly [{
273
- readonly type: "null";
274
- }, {
275
- readonly type: "array";
276
- readonly items: {
277
- readonly type: "object";
278
- readonly properties: {
279
- readonly type: {
280
- readonly type: "string";
281
- readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
282
- };
283
- readonly key: {
284
- readonly type: "string";
285
- readonly minLength: 2;
286
- readonly maxLength: 100;
287
- };
263
+ readonly type: "array";
264
+ readonly items: {
265
+ readonly type: "object";
266
+ readonly properties: {
267
+ readonly type: {
268
+ readonly type: "string";
269
+ readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
270
+ };
271
+ readonly key: {
272
+ readonly type: "string";
273
+ readonly minLength: 2;
274
+ readonly maxLength: 100;
288
275
  };
289
- readonly required: readonly ["type", "key"];
290
- readonly additionalProperties: false;
291
276
  };
292
- }];
277
+ readonly required: readonly ["type", "key"];
278
+ readonly additionalProperties: false;
279
+ };
280
+ };
281
+ readonly metadata: {
282
+ readonly type: "object";
283
+ readonly additionalProperties: true;
293
284
  };
294
285
  };
295
286
  export declare const entityFileSchema: {
@@ -326,12 +317,12 @@ export declare const entityFileSchema: {
326
317
  readonly maxLength: 200;
327
318
  };
328
319
  readonly summary: {
329
- readonly type: readonly ["string", "null"];
320
+ readonly type: "string";
330
321
  readonly minLength: 1;
331
322
  readonly maxLength: 500;
332
323
  };
333
324
  readonly tags: {
334
- readonly type: readonly ["array", "null"];
325
+ readonly type: "array";
335
326
  readonly items: {
336
327
  readonly type: "string";
337
328
  readonly minLength: 1;
@@ -339,90 +330,78 @@ export declare const entityFileSchema: {
339
330
  };
340
331
  };
341
332
  readonly git: {
342
- readonly type: readonly ["array", "null"];
333
+ readonly type: "array";
343
334
  readonly items: {
344
335
  readonly type: "string";
345
336
  };
346
337
  };
347
338
  readonly contact: {
348
- readonly anyOf: readonly [{
349
- readonly type: "null";
350
- }, {
351
- readonly type: "object";
352
- readonly properties: {
353
- readonly slack: {
354
- readonly type: "object";
355
- readonly properties: {
356
- readonly channels: {
357
- readonly type: "array";
358
- readonly items: {
359
- readonly type: "object";
360
- readonly properties: {
361
- readonly name: {
362
- readonly type: "string";
363
- readonly minLength: 2;
364
- readonly maxLength: 150;
365
- };
366
- readonly url: {
367
- readonly type: "string";
368
- };
339
+ readonly type: "object";
340
+ readonly properties: {
341
+ readonly slack: {
342
+ readonly type: "object";
343
+ readonly properties: {
344
+ readonly channels: {
345
+ readonly type: "array";
346
+ readonly items: {
347
+ readonly type: "object";
348
+ readonly properties: {
349
+ readonly name: {
350
+ readonly type: "string";
351
+ readonly minLength: 2;
352
+ readonly maxLength: 150;
353
+ };
354
+ readonly url: {
355
+ readonly type: "string";
369
356
  };
370
- readonly required: readonly ["name"];
371
- readonly additionalProperties: false;
372
357
  };
358
+ readonly required: readonly ["name"];
359
+ readonly additionalProperties: false;
373
360
  };
374
361
  };
375
- readonly required: readonly ["channels"];
376
- readonly additionalProperties: false;
377
362
  };
363
+ readonly required: readonly ["channels"];
364
+ readonly additionalProperties: false;
378
365
  };
379
- readonly additionalProperties: false;
380
- }];
366
+ };
367
+ readonly additionalProperties: false;
381
368
  };
382
369
  readonly links: {
383
- readonly anyOf: readonly [{
384
- readonly type: "null";
385
- }, {
386
- readonly type: "array";
387
- readonly items: {
388
- readonly type: "object";
389
- readonly properties: {
390
- readonly label: {
391
- readonly type: "string";
392
- readonly minLength: 2;
393
- readonly maxLength: 150;
394
- };
395
- readonly url: {
396
- readonly type: "string";
397
- };
370
+ readonly type: "array";
371
+ readonly items: {
372
+ readonly type: "object";
373
+ readonly properties: {
374
+ readonly label: {
375
+ readonly type: "string";
376
+ readonly minLength: 2;
377
+ readonly maxLength: 150;
378
+ };
379
+ readonly url: {
380
+ readonly type: "string";
398
381
  };
399
- readonly required: readonly ["label", "url"];
400
- readonly additionalProperties: false;
401
382
  };
402
- }];
383
+ readonly required: readonly ["label", "url"];
384
+ readonly additionalProperties: false;
385
+ };
403
386
  };
404
387
  readonly relations: {
405
- readonly anyOf: readonly [{
406
- readonly type: "null";
407
- }, {
408
- readonly type: "array";
409
- readonly items: {
410
- readonly type: "object";
411
- readonly properties: {
412
- readonly type: {
413
- readonly type: "string";
414
- readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
415
- };
416
- readonly key: {
417
- readonly type: "string";
418
- readonly minLength: 2;
419
- readonly maxLength: 100;
420
- };
388
+ readonly type: "array";
389
+ readonly items: {
390
+ readonly type: "object";
391
+ readonly properties: {
392
+ readonly type: {
393
+ readonly type: "string";
394
+ readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
395
+ };
396
+ readonly key: {
397
+ readonly type: "string";
398
+ readonly minLength: 2;
399
+ readonly maxLength: 100;
421
400
  };
422
- readonly required: readonly ["type", "key"];
423
- readonly additionalProperties: false;
424
401
  };
425
- }];
402
+ readonly required: readonly ["type", "key"];
403
+ readonly additionalProperties: false;
404
+ };
426
405
  };
427
406
  };
428
407
  readonly required: readonly ["key", "title", "type", "metadata"];
@@ -475,12 +454,12 @@ export declare const entityFileSchema: {
475
454
  readonly maxLength: 200;
476
455
  };
477
456
  readonly summary: {
478
- readonly type: readonly ["string", "null"];
457
+ readonly type: "string";
479
458
  readonly minLength: 1;
480
459
  readonly maxLength: 500;
481
460
  };
482
461
  readonly tags: {
483
- readonly type: readonly ["array", "null"];
462
+ readonly type: "array";
484
463
  readonly items: {
485
464
  readonly type: "string";
486
465
  readonly minLength: 1;
@@ -488,90 +467,78 @@ export declare const entityFileSchema: {
488
467
  };
489
468
  };
490
469
  readonly git: {
491
- readonly type: readonly ["array", "null"];
470
+ readonly type: "array";
492
471
  readonly items: {
493
472
  readonly type: "string";
494
473
  };
495
474
  };
496
475
  readonly contact: {
497
- readonly anyOf: readonly [{
498
- readonly type: "null";
499
- }, {
500
- readonly type: "object";
501
- readonly properties: {
502
- readonly slack: {
503
- readonly type: "object";
504
- readonly properties: {
505
- readonly channels: {
506
- readonly type: "array";
507
- readonly items: {
508
- readonly type: "object";
509
- readonly properties: {
510
- readonly name: {
511
- readonly type: "string";
512
- readonly minLength: 2;
513
- readonly maxLength: 150;
514
- };
515
- readonly url: {
516
- readonly type: "string";
517
- };
476
+ readonly type: "object";
477
+ readonly properties: {
478
+ readonly slack: {
479
+ readonly type: "object";
480
+ readonly properties: {
481
+ readonly channels: {
482
+ readonly type: "array";
483
+ readonly items: {
484
+ readonly type: "object";
485
+ readonly properties: {
486
+ readonly name: {
487
+ readonly type: "string";
488
+ readonly minLength: 2;
489
+ readonly maxLength: 150;
490
+ };
491
+ readonly url: {
492
+ readonly type: "string";
518
493
  };
519
- readonly required: readonly ["name"];
520
- readonly additionalProperties: false;
521
494
  };
495
+ readonly required: readonly ["name"];
496
+ readonly additionalProperties: false;
522
497
  };
523
498
  };
524
- readonly required: readonly ["channels"];
525
- readonly additionalProperties: false;
526
499
  };
500
+ readonly required: readonly ["channels"];
501
+ readonly additionalProperties: false;
527
502
  };
528
- readonly additionalProperties: false;
529
- }];
503
+ };
504
+ readonly additionalProperties: false;
530
505
  };
531
506
  readonly links: {
532
- readonly anyOf: readonly [{
533
- readonly type: "null";
534
- }, {
535
- readonly type: "array";
536
- readonly items: {
537
- readonly type: "object";
538
- readonly properties: {
539
- readonly label: {
540
- readonly type: "string";
541
- readonly minLength: 2;
542
- readonly maxLength: 150;
543
- };
544
- readonly url: {
545
- readonly type: "string";
546
- };
507
+ readonly type: "array";
508
+ readonly items: {
509
+ readonly type: "object";
510
+ readonly properties: {
511
+ readonly label: {
512
+ readonly type: "string";
513
+ readonly minLength: 2;
514
+ readonly maxLength: 150;
515
+ };
516
+ readonly url: {
517
+ readonly type: "string";
547
518
  };
548
- readonly required: readonly ["label", "url"];
549
- readonly additionalProperties: false;
550
519
  };
551
- }];
520
+ readonly required: readonly ["label", "url"];
521
+ readonly additionalProperties: false;
522
+ };
552
523
  };
553
524
  readonly relations: {
554
- readonly anyOf: readonly [{
555
- readonly type: "null";
556
- }, {
557
- readonly type: "array";
558
- readonly items: {
559
- readonly type: "object";
560
- readonly properties: {
561
- readonly type: {
562
- readonly type: "string";
563
- readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
564
- };
565
- readonly key: {
566
- readonly type: "string";
567
- readonly minLength: 2;
568
- readonly maxLength: 100;
569
- };
525
+ readonly type: "array";
526
+ readonly items: {
527
+ readonly type: "object";
528
+ readonly properties: {
529
+ readonly type: {
530
+ readonly type: "string";
531
+ readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
532
+ };
533
+ readonly key: {
534
+ readonly type: "string";
535
+ readonly minLength: 2;
536
+ readonly maxLength: 100;
570
537
  };
571
- readonly required: readonly ["type", "key"];
572
- readonly additionalProperties: false;
573
538
  };
574
- }];
539
+ readonly required: readonly ["type", "key"];
540
+ readonly additionalProperties: false;
541
+ };
575
542
  };
576
543
  };
577
544
  readonly required: readonly ["key", "title", "type", "metadata"];
@@ -599,11 +566,6 @@ export declare const entityFileSchema: {
599
566
  readonly description: "SDL of the data structure";
600
567
  };
601
568
  };
602
- readonly anyOf: readonly [{
603
- readonly required: readonly ["schema"];
604
- }, {
605
- readonly required: readonly ["sdl"];
606
- }];
607
569
  readonly required: readonly ["specType"];
608
570
  readonly additionalProperties: true;
609
571
  };
@@ -619,12 +581,12 @@ export declare const entityFileSchema: {
619
581
  readonly maxLength: 200;
620
582
  };
621
583
  readonly summary: {
622
- readonly type: readonly ["string", "null"];
584
+ readonly type: "string";
623
585
  readonly minLength: 1;
624
586
  readonly maxLength: 500;
625
587
  };
626
588
  readonly tags: {
627
- readonly type: readonly ["array", "null"];
589
+ readonly type: "array";
628
590
  readonly items: {
629
591
  readonly type: "string";
630
592
  readonly minLength: 1;
@@ -632,90 +594,78 @@ export declare const entityFileSchema: {
632
594
  };
633
595
  };
634
596
  readonly git: {
635
- readonly type: readonly ["array", "null"];
597
+ readonly type: "array";
636
598
  readonly items: {
637
599
  readonly type: "string";
638
600
  };
639
601
  };
640
602
  readonly contact: {
641
- readonly anyOf: readonly [{
642
- readonly type: "null";
643
- }, {
644
- readonly type: "object";
645
- readonly properties: {
646
- readonly slack: {
647
- readonly type: "object";
648
- readonly properties: {
649
- readonly channels: {
650
- readonly type: "array";
651
- readonly items: {
652
- readonly type: "object";
653
- readonly properties: {
654
- readonly name: {
655
- readonly type: "string";
656
- readonly minLength: 2;
657
- readonly maxLength: 150;
658
- };
659
- readonly url: {
660
- readonly type: "string";
661
- };
603
+ readonly type: "object";
604
+ readonly properties: {
605
+ readonly slack: {
606
+ readonly type: "object";
607
+ readonly properties: {
608
+ readonly channels: {
609
+ readonly type: "array";
610
+ readonly items: {
611
+ readonly type: "object";
612
+ readonly properties: {
613
+ readonly name: {
614
+ readonly type: "string";
615
+ readonly minLength: 2;
616
+ readonly maxLength: 150;
617
+ };
618
+ readonly url: {
619
+ readonly type: "string";
662
620
  };
663
- readonly required: readonly ["name"];
664
- readonly additionalProperties: false;
665
621
  };
622
+ readonly required: readonly ["name"];
623
+ readonly additionalProperties: false;
666
624
  };
667
625
  };
668
- readonly required: readonly ["channels"];
669
- readonly additionalProperties: false;
670
626
  };
627
+ readonly required: readonly ["channels"];
628
+ readonly additionalProperties: false;
671
629
  };
672
- readonly additionalProperties: false;
673
- }];
630
+ };
631
+ readonly additionalProperties: false;
674
632
  };
675
633
  readonly links: {
676
- readonly anyOf: readonly [{
677
- readonly type: "null";
678
- }, {
679
- readonly type: "array";
680
- readonly items: {
681
- readonly type: "object";
682
- readonly properties: {
683
- readonly label: {
684
- readonly type: "string";
685
- readonly minLength: 2;
686
- readonly maxLength: 150;
687
- };
688
- readonly url: {
689
- readonly type: "string";
690
- };
634
+ readonly type: "array";
635
+ readonly items: {
636
+ readonly type: "object";
637
+ readonly properties: {
638
+ readonly label: {
639
+ readonly type: "string";
640
+ readonly minLength: 2;
641
+ readonly maxLength: 150;
642
+ };
643
+ readonly url: {
644
+ readonly type: "string";
691
645
  };
692
- readonly required: readonly ["label", "url"];
693
- readonly additionalProperties: false;
694
646
  };
695
- }];
647
+ readonly required: readonly ["label", "url"];
648
+ readonly additionalProperties: false;
649
+ };
696
650
  };
697
651
  readonly relations: {
698
- readonly anyOf: readonly [{
699
- readonly type: "null";
700
- }, {
701
- readonly type: "array";
702
- readonly items: {
703
- readonly type: "object";
704
- readonly properties: {
705
- readonly type: {
706
- readonly type: "string";
707
- readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
708
- };
709
- readonly key: {
710
- readonly type: "string";
711
- readonly minLength: 2;
712
- readonly maxLength: 100;
713
- };
652
+ readonly type: "array";
653
+ readonly items: {
654
+ readonly type: "object";
655
+ readonly properties: {
656
+ readonly type: {
657
+ readonly type: "string";
658
+ readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
659
+ };
660
+ readonly key: {
661
+ readonly type: "string";
662
+ readonly minLength: 2;
663
+ readonly maxLength: 100;
714
664
  };
715
- readonly required: readonly ["type", "key"];
716
- readonly additionalProperties: false;
717
665
  };
718
- }];
666
+ readonly required: readonly ["type", "key"];
667
+ readonly additionalProperties: false;
668
+ };
719
669
  };
720
670
  };
721
671
  readonly required: readonly ["key", "title", "type", "metadata"];
@@ -754,12 +704,12 @@ export declare const entityFileSchema: {
754
704
  readonly maxLength: 200;
755
705
  };
756
706
  readonly summary: {
757
- readonly type: readonly ["string", "null"];
707
+ readonly type: "string";
758
708
  readonly minLength: 1;
759
709
  readonly maxLength: 500;
760
710
  };
761
711
  readonly tags: {
762
- readonly type: readonly ["array", "null"];
712
+ readonly type: "array";
763
713
  readonly items: {
764
714
  readonly type: "string";
765
715
  readonly minLength: 1;
@@ -767,90 +717,78 @@ export declare const entityFileSchema: {
767
717
  };
768
718
  };
769
719
  readonly git: {
770
- readonly type: readonly ["array", "null"];
720
+ readonly type: "array";
771
721
  readonly items: {
772
722
  readonly type: "string";
773
723
  };
774
724
  };
775
725
  readonly contact: {
776
- readonly anyOf: readonly [{
777
- readonly type: "null";
778
- }, {
779
- readonly type: "object";
780
- readonly properties: {
781
- readonly slack: {
782
- readonly type: "object";
783
- readonly properties: {
784
- readonly channels: {
785
- readonly type: "array";
786
- readonly items: {
787
- readonly type: "object";
788
- readonly properties: {
789
- readonly name: {
790
- readonly type: "string";
791
- readonly minLength: 2;
792
- readonly maxLength: 150;
793
- };
794
- readonly url: {
795
- readonly type: "string";
796
- };
726
+ readonly type: "object";
727
+ readonly properties: {
728
+ readonly slack: {
729
+ readonly type: "object";
730
+ readonly properties: {
731
+ readonly channels: {
732
+ readonly type: "array";
733
+ readonly items: {
734
+ readonly type: "object";
735
+ readonly properties: {
736
+ readonly name: {
737
+ readonly type: "string";
738
+ readonly minLength: 2;
739
+ readonly maxLength: 150;
740
+ };
741
+ readonly url: {
742
+ readonly type: "string";
797
743
  };
798
- readonly required: readonly ["name"];
799
- readonly additionalProperties: false;
800
744
  };
745
+ readonly required: readonly ["name"];
746
+ readonly additionalProperties: false;
801
747
  };
802
748
  };
803
- readonly required: readonly ["channels"];
804
- readonly additionalProperties: false;
805
749
  };
750
+ readonly required: readonly ["channels"];
751
+ readonly additionalProperties: false;
806
752
  };
807
- readonly additionalProperties: false;
808
- }];
753
+ };
754
+ readonly additionalProperties: false;
809
755
  };
810
756
  readonly links: {
811
- readonly anyOf: readonly [{
812
- readonly type: "null";
813
- }, {
814
- readonly type: "array";
815
- readonly items: {
816
- readonly type: "object";
817
- readonly properties: {
818
- readonly label: {
819
- readonly type: "string";
820
- readonly minLength: 2;
821
- readonly maxLength: 150;
822
- };
823
- readonly url: {
824
- readonly type: "string";
825
- };
757
+ readonly type: "array";
758
+ readonly items: {
759
+ readonly type: "object";
760
+ readonly properties: {
761
+ readonly label: {
762
+ readonly type: "string";
763
+ readonly minLength: 2;
764
+ readonly maxLength: 150;
765
+ };
766
+ readonly url: {
767
+ readonly type: "string";
826
768
  };
827
- readonly required: readonly ["label", "url"];
828
- readonly additionalProperties: false;
829
769
  };
830
- }];
770
+ readonly required: readonly ["label", "url"];
771
+ readonly additionalProperties: false;
772
+ };
831
773
  };
832
774
  readonly relations: {
833
- readonly anyOf: readonly [{
834
- readonly type: "null";
835
- }, {
836
- readonly type: "array";
837
- readonly items: {
838
- readonly type: "object";
839
- readonly properties: {
840
- readonly type: {
841
- readonly type: "string";
842
- readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
843
- };
844
- readonly key: {
845
- readonly type: "string";
846
- readonly minLength: 2;
847
- readonly maxLength: 100;
848
- };
775
+ readonly type: "array";
776
+ readonly items: {
777
+ readonly type: "object";
778
+ readonly properties: {
779
+ readonly type: {
780
+ readonly type: "string";
781
+ readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
782
+ };
783
+ readonly key: {
784
+ readonly type: "string";
785
+ readonly minLength: 2;
786
+ readonly maxLength: 100;
849
787
  };
850
- readonly required: readonly ["type", "key"];
851
- readonly additionalProperties: false;
852
788
  };
853
- }];
789
+ readonly required: readonly ["type", "key"];
790
+ readonly additionalProperties: false;
791
+ };
854
792
  };
855
793
  };
856
794
  readonly required: readonly ["key", "title", "type", "metadata"];
@@ -859,11 +797,7 @@ export declare const entityFileSchema: {
859
797
  readonly type: "object";
860
798
  readonly properties: {
861
799
  readonly type: {
862
- readonly enum: readonly ["service", "domain", "team"];
863
- };
864
- readonly metadata: {
865
- readonly type: readonly ["object", "null"];
866
- readonly additionalProperties: true;
800
+ readonly const: "service";
867
801
  };
868
802
  readonly key: {
869
803
  readonly type: "string";
@@ -877,12 +811,12 @@ export declare const entityFileSchema: {
877
811
  readonly maxLength: 200;
878
812
  };
879
813
  readonly summary: {
880
- readonly type: readonly ["string", "null"];
814
+ readonly type: "string";
881
815
  readonly minLength: 1;
882
816
  readonly maxLength: 500;
883
817
  };
884
818
  readonly tags: {
885
- readonly type: readonly ["array", "null"];
819
+ readonly type: "array";
886
820
  readonly items: {
887
821
  readonly type: "string";
888
822
  readonly minLength: 1;
@@ -890,93 +824,420 @@ export declare const entityFileSchema: {
890
824
  };
891
825
  };
892
826
  readonly git: {
893
- readonly type: readonly ["array", "null"];
827
+ readonly type: "array";
894
828
  readonly items: {
895
829
  readonly type: "string";
896
830
  };
897
831
  };
898
832
  readonly contact: {
899
- readonly anyOf: readonly [{
900
- readonly type: "null";
901
- }, {
902
- readonly type: "object";
903
- readonly properties: {
904
- readonly slack: {
905
- readonly type: "object";
906
- readonly properties: {
907
- readonly channels: {
908
- readonly type: "array";
909
- readonly items: {
910
- readonly type: "object";
911
- readonly properties: {
912
- readonly name: {
913
- readonly type: "string";
914
- readonly minLength: 2;
915
- readonly maxLength: 150;
916
- };
917
- readonly url: {
918
- readonly type: "string";
919
- };
833
+ readonly type: "object";
834
+ readonly properties: {
835
+ readonly slack: {
836
+ readonly type: "object";
837
+ readonly properties: {
838
+ readonly channels: {
839
+ readonly type: "array";
840
+ readonly items: {
841
+ readonly type: "object";
842
+ readonly properties: {
843
+ readonly name: {
844
+ readonly type: "string";
845
+ readonly minLength: 2;
846
+ readonly maxLength: 150;
847
+ };
848
+ readonly url: {
849
+ readonly type: "string";
920
850
  };
921
- readonly required: readonly ["name"];
922
- readonly additionalProperties: false;
923
851
  };
852
+ readonly required: readonly ["name"];
853
+ readonly additionalProperties: false;
924
854
  };
925
855
  };
926
- readonly required: readonly ["channels"];
927
- readonly additionalProperties: false;
928
856
  };
857
+ readonly required: readonly ["channels"];
858
+ readonly additionalProperties: false;
929
859
  };
930
- readonly additionalProperties: false;
931
- }];
860
+ };
861
+ readonly additionalProperties: false;
932
862
  };
933
863
  readonly links: {
934
- readonly anyOf: readonly [{
935
- readonly type: "null";
936
- }, {
937
- readonly type: "array";
938
- readonly items: {
864
+ readonly type: "array";
865
+ readonly items: {
866
+ readonly type: "object";
867
+ readonly properties: {
868
+ readonly label: {
869
+ readonly type: "string";
870
+ readonly minLength: 2;
871
+ readonly maxLength: 150;
872
+ };
873
+ readonly url: {
874
+ readonly type: "string";
875
+ };
876
+ };
877
+ readonly required: readonly ["label", "url"];
878
+ readonly additionalProperties: false;
879
+ };
880
+ };
881
+ readonly relations: {
882
+ readonly type: "array";
883
+ readonly items: {
884
+ readonly type: "object";
885
+ readonly properties: {
886
+ readonly type: {
887
+ readonly type: "string";
888
+ readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
889
+ };
890
+ readonly key: {
891
+ readonly type: "string";
892
+ readonly minLength: 2;
893
+ readonly maxLength: 100;
894
+ };
895
+ };
896
+ readonly required: readonly ["type", "key"];
897
+ readonly additionalProperties: false;
898
+ };
899
+ };
900
+ readonly metadata: {
901
+ readonly type: "object";
902
+ readonly additionalProperties: true;
903
+ };
904
+ };
905
+ readonly required: readonly ["key", "title", "type"];
906
+ readonly additionalProperties: false;
907
+ }, {
908
+ readonly type: "object";
909
+ readonly properties: {
910
+ readonly type: {
911
+ readonly const: "domain";
912
+ };
913
+ readonly key: {
914
+ readonly type: "string";
915
+ readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
916
+ readonly minLength: 2;
917
+ readonly maxLength: 150;
918
+ };
919
+ readonly title: {
920
+ readonly type: "string";
921
+ readonly minLength: 2;
922
+ readonly maxLength: 200;
923
+ };
924
+ readonly summary: {
925
+ readonly type: "string";
926
+ readonly minLength: 1;
927
+ readonly maxLength: 500;
928
+ };
929
+ readonly tags: {
930
+ readonly type: "array";
931
+ readonly items: {
932
+ readonly type: "string";
933
+ readonly minLength: 1;
934
+ readonly maxLength: 50;
935
+ };
936
+ };
937
+ readonly git: {
938
+ readonly type: "array";
939
+ readonly items: {
940
+ readonly type: "string";
941
+ };
942
+ };
943
+ readonly contact: {
944
+ readonly type: "object";
945
+ readonly properties: {
946
+ readonly slack: {
939
947
  readonly type: "object";
940
948
  readonly properties: {
941
- readonly label: {
942
- readonly type: "string";
943
- readonly minLength: 2;
944
- readonly maxLength: 150;
945
- };
946
- readonly url: {
947
- readonly type: "string";
949
+ readonly channels: {
950
+ readonly type: "array";
951
+ readonly items: {
952
+ readonly type: "object";
953
+ readonly properties: {
954
+ readonly name: {
955
+ readonly type: "string";
956
+ readonly minLength: 2;
957
+ readonly maxLength: 150;
958
+ };
959
+ readonly url: {
960
+ readonly type: "string";
961
+ };
962
+ };
963
+ readonly required: readonly ["name"];
964
+ readonly additionalProperties: false;
965
+ };
948
966
  };
949
967
  };
950
- readonly required: readonly ["label", "url"];
968
+ readonly required: readonly ["channels"];
951
969
  readonly additionalProperties: false;
952
970
  };
953
- }];
971
+ };
972
+ readonly additionalProperties: false;
973
+ };
974
+ readonly links: {
975
+ readonly type: "array";
976
+ readonly items: {
977
+ readonly type: "object";
978
+ readonly properties: {
979
+ readonly label: {
980
+ readonly type: "string";
981
+ readonly minLength: 2;
982
+ readonly maxLength: 150;
983
+ };
984
+ readonly url: {
985
+ readonly type: "string";
986
+ };
987
+ };
988
+ readonly required: readonly ["label", "url"];
989
+ readonly additionalProperties: false;
990
+ };
954
991
  };
955
992
  readonly relations: {
956
- readonly anyOf: readonly [{
957
- readonly type: "null";
958
- }, {
959
- readonly type: "array";
960
- readonly items: {
993
+ readonly type: "array";
994
+ readonly items: {
995
+ readonly type: "object";
996
+ readonly properties: {
997
+ readonly type: {
998
+ readonly type: "string";
999
+ readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
1000
+ };
1001
+ readonly key: {
1002
+ readonly type: "string";
1003
+ readonly minLength: 2;
1004
+ readonly maxLength: 100;
1005
+ };
1006
+ };
1007
+ readonly required: readonly ["type", "key"];
1008
+ readonly additionalProperties: false;
1009
+ };
1010
+ };
1011
+ readonly metadata: {
1012
+ readonly type: "object";
1013
+ readonly additionalProperties: true;
1014
+ };
1015
+ };
1016
+ readonly required: readonly ["key", "title", "type"];
1017
+ readonly additionalProperties: false;
1018
+ }, {
1019
+ readonly type: "object";
1020
+ readonly properties: {
1021
+ readonly type: {
1022
+ readonly const: "team";
1023
+ };
1024
+ readonly key: {
1025
+ readonly type: "string";
1026
+ readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
1027
+ readonly minLength: 2;
1028
+ readonly maxLength: 150;
1029
+ };
1030
+ readonly title: {
1031
+ readonly type: "string";
1032
+ readonly minLength: 2;
1033
+ readonly maxLength: 200;
1034
+ };
1035
+ readonly summary: {
1036
+ readonly type: "string";
1037
+ readonly minLength: 1;
1038
+ readonly maxLength: 500;
1039
+ };
1040
+ readonly tags: {
1041
+ readonly type: "array";
1042
+ readonly items: {
1043
+ readonly type: "string";
1044
+ readonly minLength: 1;
1045
+ readonly maxLength: 50;
1046
+ };
1047
+ };
1048
+ readonly git: {
1049
+ readonly type: "array";
1050
+ readonly items: {
1051
+ readonly type: "string";
1052
+ };
1053
+ };
1054
+ readonly contact: {
1055
+ readonly type: "object";
1056
+ readonly properties: {
1057
+ readonly slack: {
961
1058
  readonly type: "object";
962
1059
  readonly properties: {
963
- readonly type: {
964
- readonly type: "string";
965
- readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
966
- };
967
- readonly key: {
968
- readonly type: "string";
969
- readonly minLength: 2;
970
- readonly maxLength: 100;
1060
+ readonly channels: {
1061
+ readonly type: "array";
1062
+ readonly items: {
1063
+ readonly type: "object";
1064
+ readonly properties: {
1065
+ readonly name: {
1066
+ readonly type: "string";
1067
+ readonly minLength: 2;
1068
+ readonly maxLength: 150;
1069
+ };
1070
+ readonly url: {
1071
+ readonly type: "string";
1072
+ };
1073
+ };
1074
+ readonly required: readonly ["name"];
1075
+ readonly additionalProperties: false;
1076
+ };
971
1077
  };
972
1078
  };
973
- readonly required: readonly ["type", "key"];
1079
+ readonly required: readonly ["channels"];
974
1080
  readonly additionalProperties: false;
975
1081
  };
976
- }];
1082
+ };
1083
+ readonly additionalProperties: false;
1084
+ };
1085
+ readonly links: {
1086
+ readonly type: "array";
1087
+ readonly items: {
1088
+ readonly type: "object";
1089
+ readonly properties: {
1090
+ readonly label: {
1091
+ readonly type: "string";
1092
+ readonly minLength: 2;
1093
+ readonly maxLength: 150;
1094
+ };
1095
+ readonly url: {
1096
+ readonly type: "string";
1097
+ };
1098
+ };
1099
+ readonly required: readonly ["label", "url"];
1100
+ readonly additionalProperties: false;
1101
+ };
1102
+ };
1103
+ readonly relations: {
1104
+ readonly type: "array";
1105
+ readonly items: {
1106
+ readonly type: "object";
1107
+ readonly properties: {
1108
+ readonly type: {
1109
+ readonly type: "string";
1110
+ readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
1111
+ };
1112
+ readonly key: {
1113
+ readonly type: "string";
1114
+ readonly minLength: 2;
1115
+ readonly maxLength: 100;
1116
+ };
1117
+ };
1118
+ readonly required: readonly ["type", "key"];
1119
+ readonly additionalProperties: false;
1120
+ };
1121
+ };
1122
+ readonly metadata: {
1123
+ readonly type: "object";
1124
+ readonly additionalProperties: true;
977
1125
  };
978
1126
  };
979
1127
  readonly required: readonly ["key", "title", "type"];
980
1128
  readonly additionalProperties: false;
981
1129
  }];
982
1130
  };
1131
+ export declare const entityFileDefaultSchema: {
1132
+ readonly type: "object";
1133
+ readonly properties: {
1134
+ readonly key: {
1135
+ readonly type: "string";
1136
+ readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
1137
+ readonly minLength: 2;
1138
+ readonly maxLength: 150;
1139
+ };
1140
+ readonly type: {
1141
+ readonly type: "string";
1142
+ readonly enum: readonly ["user", "data-schema", "api-operation", "api-description", "service", "domain", "team"];
1143
+ };
1144
+ readonly title: {
1145
+ readonly type: "string";
1146
+ readonly minLength: 2;
1147
+ readonly maxLength: 200;
1148
+ };
1149
+ readonly summary: {
1150
+ readonly type: "string";
1151
+ readonly minLength: 1;
1152
+ readonly maxLength: 500;
1153
+ };
1154
+ readonly tags: {
1155
+ readonly type: "array";
1156
+ readonly items: {
1157
+ readonly type: "string";
1158
+ readonly minLength: 1;
1159
+ readonly maxLength: 50;
1160
+ };
1161
+ };
1162
+ readonly git: {
1163
+ readonly type: "array";
1164
+ readonly items: {
1165
+ readonly type: "string";
1166
+ };
1167
+ };
1168
+ readonly contact: {
1169
+ readonly type: "object";
1170
+ readonly properties: {
1171
+ readonly slack: {
1172
+ readonly type: "object";
1173
+ readonly properties: {
1174
+ readonly channels: {
1175
+ readonly type: "array";
1176
+ readonly items: {
1177
+ readonly type: "object";
1178
+ readonly properties: {
1179
+ readonly name: {
1180
+ readonly type: "string";
1181
+ readonly minLength: 2;
1182
+ readonly maxLength: 150;
1183
+ };
1184
+ readonly url: {
1185
+ readonly type: "string";
1186
+ };
1187
+ };
1188
+ readonly required: readonly ["name"];
1189
+ readonly additionalProperties: false;
1190
+ };
1191
+ };
1192
+ };
1193
+ readonly required: readonly ["channels"];
1194
+ readonly additionalProperties: false;
1195
+ };
1196
+ };
1197
+ readonly additionalProperties: false;
1198
+ };
1199
+ readonly links: {
1200
+ readonly type: "array";
1201
+ readonly items: {
1202
+ readonly type: "object";
1203
+ readonly properties: {
1204
+ readonly label: {
1205
+ readonly type: "string";
1206
+ readonly minLength: 2;
1207
+ readonly maxLength: 150;
1208
+ };
1209
+ readonly url: {
1210
+ readonly type: "string";
1211
+ };
1212
+ };
1213
+ readonly required: readonly ["label", "url"];
1214
+ readonly additionalProperties: false;
1215
+ };
1216
+ };
1217
+ readonly relations: {
1218
+ readonly type: "array";
1219
+ readonly items: {
1220
+ readonly type: "object";
1221
+ readonly properties: {
1222
+ readonly type: {
1223
+ readonly type: "string";
1224
+ readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy", "returns", "returnedBy"];
1225
+ };
1226
+ readonly key: {
1227
+ readonly type: "string";
1228
+ readonly minLength: 2;
1229
+ readonly maxLength: 100;
1230
+ };
1231
+ };
1232
+ readonly required: readonly ["type", "key"];
1233
+ readonly additionalProperties: false;
1234
+ };
1235
+ };
1236
+ readonly metadata: {
1237
+ readonly type: "object";
1238
+ readonly additionalProperties: true;
1239
+ };
1240
+ };
1241
+ readonly required: readonly ["key", "title", "type"];
1242
+ readonly additionalProperties: false;
1243
+ };