@redocly/reef 0.140.0-next.10 → 0.140.0-next.13

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