@twin.org/federated-catalogue-models 0.0.1-next.8 → 0.0.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.
@@ -82,7 +82,7 @@ class FederatedCatalogueContextInstances {
82
82
  */
83
83
  static DEFAULT_LD_CONTEXT_ENTRY_LIST = [
84
84
  standardsSchemaOrg.SchemaOrgContexts.ContextRoot,
85
- standardsGaiaX.GaiaXContexts.GaiaXLdContext,
85
+ standardsGaiaX.GaiaXContexts.ContextRoot,
86
86
  FederatedCatalogueContexts.ContextRoot
87
87
  ];
88
88
  /**
@@ -144,6 +144,9 @@ const VerificationFailureReasons = {
144
144
  EvidenceCannotBeRetrieved: "evidenceCannotBeRetrieved"
145
145
  };
146
146
 
147
+ var $schema$7 = "https://json-schema.org/draft/2020-12/schema";
148
+ var $id$7 = "https://schema.twindev.org/federated-catalogue/DataResourceEntry";
149
+ var description$7 = "Interface describing a Data Resource entry.";
147
150
  var type$7 = "object";
148
151
  var properties$7 = {
149
152
  "@context": {
@@ -151,10 +154,23 @@ var properties$7 = {
151
154
  description: "The LD Context"
152
155
  },
153
156
  "@id": {
154
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
157
+ anyOf: [
158
+ {
159
+ type: "string"
160
+ },
161
+ {
162
+ type: "array",
163
+ items: false,
164
+ prefixItems: [
165
+ {
166
+ type: "string"
167
+ }
168
+ ]
169
+ }
170
+ ]
155
171
  },
156
172
  "@included": {
157
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
173
+ $ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
158
174
  },
159
175
  "@graph": {
160
176
  anyOf: [
@@ -163,9 +179,12 @@ var properties$7 = {
163
179
  },
164
180
  {
165
181
  type: "array",
166
- items: {
167
- $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
168
- }
182
+ items: false,
183
+ prefixItems: [
184
+ {
185
+ $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
186
+ }
187
+ ]
169
188
  }
170
189
  ]
171
190
  },
@@ -176,33 +195,39 @@ var properties$7 = {
176
195
  },
177
196
  {
178
197
  type: "array",
179
- items: {
180
- $ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
181
- }
198
+ items: false,
199
+ prefixItems: [
200
+ {
201
+ $ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
202
+ }
203
+ ]
182
204
  }
183
205
  ]
184
206
  },
185
207
  "@type": {
186
208
  anyOf: [
187
209
  {
188
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
210
+ type: "string"
189
211
  },
190
212
  {
191
213
  type: "array",
192
- items: {
193
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
194
- }
214
+ items: false,
215
+ prefixItems: [
216
+ {
217
+ type: "string"
218
+ }
219
+ ]
195
220
  }
196
221
  ]
197
222
  },
198
223
  "@reverse": {
199
224
  type: "object",
200
225
  additionalProperties: {
201
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
226
+ type: "string"
202
227
  }
203
228
  },
204
229
  "@index": {
205
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
230
+ type: "string"
206
231
  },
207
232
  id: {
208
233
  type: "string",
@@ -239,10 +264,13 @@ var properties$7 = {
239
264
  },
240
265
  resourcePolicy: {
241
266
  type: "array",
242
- items: {
243
- $ref: "https://schema.twindev.org/federated-catalogue/OdrlPolicy"
244
- },
245
- description: "Overwriting to ensure always an array is stored"
267
+ items: false,
268
+ description: "Overwriting to ensure always an array is stored",
269
+ prefixItems: [
270
+ {
271
+ $ref: "https://schema.twindev.org/federated-catalogue/OdrlPolicy"
272
+ }
273
+ ]
246
274
  },
247
275
  issuer: {
248
276
  type: "string",
@@ -262,10 +290,13 @@ var properties$7 = {
262
290
  },
263
291
  evidence: {
264
292
  type: "array",
265
- items: {
266
- type: "string"
267
- },
268
- description: "The evidences concerning the data resource."
293
+ items: false,
294
+ description: "The evidences concerning the data resource.",
295
+ prefixItems: [
296
+ {
297
+ type: "string"
298
+ }
299
+ ]
269
300
  }
270
301
  };
271
302
  var required$7 = [
@@ -309,15 +340,19 @@ var additionalProperties$7 = {
309
340
  }
310
341
  ]
311
342
  };
312
- var description$7 = "Interface describing a Data Resource entry.";
313
343
  var DataResourceEntrySchema = {
344
+ $schema: $schema$7,
345
+ $id: $id$7,
346
+ description: description$7,
314
347
  type: type$7,
315
348
  properties: properties$7,
316
349
  required: required$7,
317
- additionalProperties: additionalProperties$7,
318
- description: description$7
350
+ additionalProperties: additionalProperties$7
319
351
  };
320
352
 
353
+ var $schema$6 = "https://json-schema.org/draft/2020-12/schema";
354
+ var $id$6 = "https://schema.twindev.org/federated-catalogue/DataResourceList";
355
+ var description$6 = "Interface describing a list of Data Resource entries.";
321
356
  var type$6 = "object";
322
357
  var properties$6 = {
323
358
  "@context": {
@@ -331,10 +366,13 @@ var properties$6 = {
331
366
  },
332
367
  itemListElement: {
333
368
  type: "array",
334
- items: {
335
- $ref: "https://schema.twindev.org/federated-catalogue/Omit%3CIDataResourceEntry%2C%22%40context%22%3E"
336
- },
337
- description: "The components of the Collection"
369
+ items: false,
370
+ description: "The components of the Collection",
371
+ prefixItems: [
372
+ {
373
+ $ref: "https://schema.twindev.org/federated-catalogue/Omit%3CIDataResourceEntry%2C%22%40context%22%3E"
374
+ }
375
+ ]
338
376
  },
339
377
  nextItem: {
340
378
  type: "string",
@@ -347,15 +385,19 @@ var required$6 = [
347
385
  "itemListElement"
348
386
  ];
349
387
  var additionalProperties$6 = false;
350
- var description$6 = "Interface describing a list of Data Resource entries.";
351
388
  var DataResourceListSchema = {
389
+ $schema: $schema$6,
390
+ $id: $id$6,
391
+ description: description$6,
352
392
  type: type$6,
353
393
  properties: properties$6,
354
394
  required: required$6,
355
- additionalProperties: additionalProperties$6,
356
- description: description$6
395
+ additionalProperties: additionalProperties$6
357
396
  };
358
397
 
398
+ var $schema$5 = "https://json-schema.org/draft/2020-12/schema";
399
+ var $id$5 = "https://schema.twindev.org/federated-catalogue/DataSpaceConnectorEntry";
400
+ var description$5 = "Interface describing a participant.";
359
401
  var type$5 = "object";
360
402
  var properties$5 = {
361
403
  issuer: {
@@ -376,20 +418,36 @@ var properties$5 = {
376
418
  },
377
419
  evidence: {
378
420
  type: "array",
379
- items: {
380
- type: "string"
381
- },
382
- description: "The evidences concerning the data resource."
421
+ items: false,
422
+ description: "The evidences concerning the data resource.",
423
+ prefixItems: [
424
+ {
425
+ type: "string"
426
+ }
427
+ ]
383
428
  },
384
429
  "@context": {
385
430
  $ref: "https://schema.twindev.org/federated-catalogue/FederatedCatalogueContextType",
386
431
  description: "The LD Context"
387
432
  },
388
433
  "@id": {
389
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
434
+ anyOf: [
435
+ {
436
+ type: "string"
437
+ },
438
+ {
439
+ type: "array",
440
+ items: false,
441
+ prefixItems: [
442
+ {
443
+ type: "string"
444
+ }
445
+ ]
446
+ }
447
+ ]
390
448
  },
391
449
  "@included": {
392
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
450
+ $ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
393
451
  },
394
452
  "@graph": {
395
453
  anyOf: [
@@ -398,9 +456,12 @@ var properties$5 = {
398
456
  },
399
457
  {
400
458
  type: "array",
401
- items: {
402
- $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
403
- }
459
+ items: false,
460
+ prefixItems: [
461
+ {
462
+ $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
463
+ }
464
+ ]
404
465
  }
405
466
  ]
406
467
  },
@@ -411,38 +472,48 @@ var properties$5 = {
411
472
  },
412
473
  {
413
474
  type: "array",
414
- items: {
415
- $ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
416
- }
475
+ items: false,
476
+ prefixItems: [
477
+ {
478
+ $ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
479
+ }
480
+ ]
417
481
  }
418
482
  ]
419
483
  },
420
484
  "@type": {
421
485
  anyOf: [
422
486
  {
423
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
487
+ type: "string"
424
488
  },
425
489
  {
426
490
  type: "array",
427
- items: {
428
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
429
- }
491
+ items: false,
492
+ prefixItems: [
493
+ {
494
+ type: "string"
495
+ }
496
+ ]
430
497
  }
431
498
  ]
432
499
  },
433
500
  "@reverse": {
434
501
  type: "object",
435
502
  additionalProperties: {
436
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
503
+ type: "string"
437
504
  }
438
505
  },
439
506
  "@index": {
440
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
507
+ type: "string"
441
508
  },
442
509
  type: {
443
510
  type: "array",
444
511
  minItems: 2,
445
- items: [
512
+ items: {
513
+ type: "string"
514
+ },
515
+ description: "A Connector is a Data Exchange Component",
516
+ prefixItems: [
446
517
  {
447
518
  type: "string",
448
519
  "const": "DataExchangeComponent"
@@ -451,11 +522,7 @@ var properties$5 = {
451
522
  type: "string",
452
523
  "const": "DataSpaceConnector"
453
524
  }
454
- ],
455
- additionalItems: {
456
- type: "string"
457
- },
458
- description: "A Connector is a Data Exchange Component"
525
+ ]
459
526
  },
460
527
  id: {
461
528
  type: "string",
@@ -495,10 +562,13 @@ var properties$5 = {
495
562
  },
496
563
  offeredResource: {
497
564
  type: "array",
498
- items: {
499
- type: "string"
500
- },
501
- description: "Offered resources. Probably in the future this wll be separated in a different entry so that a Data Space Connector entry does not need to be modified when a new Data Resource is offered."
565
+ items: false,
566
+ description: "Offered resources. Probably in the future this wll be separated in a different entry so that a Data Space Connector entry does not need to be modified when a new Data Resource is offered.",
567
+ prefixItems: [
568
+ {
569
+ type: "string"
570
+ }
571
+ ]
502
572
  }
503
573
  };
504
574
  var required$5 = [
@@ -542,15 +612,19 @@ var additionalProperties$5 = {
542
612
  }
543
613
  ]
544
614
  };
545
- var description$5 = "Interface describing a participant.";
546
615
  var DataSpaceConnectorEntrySchema = {
616
+ $schema: $schema$5,
617
+ $id: $id$5,
618
+ description: description$5,
547
619
  type: type$5,
548
620
  properties: properties$5,
549
621
  required: required$5,
550
- additionalProperties: additionalProperties$5,
551
- description: description$5
622
+ additionalProperties: additionalProperties$5
552
623
  };
553
624
 
625
+ var $schema$4 = "https://json-schema.org/draft/2020-12/schema";
626
+ var $id$4 = "https://schema.twindev.org/federated-catalogue/DataSpaceConnectorList";
627
+ var description$4 = "Interface describing a list of Data Space Connectors.";
554
628
  var type$4 = "object";
555
629
  var properties$4 = {
556
630
  "@context": {
@@ -564,10 +638,13 @@ var properties$4 = {
564
638
  },
565
639
  itemListElement: {
566
640
  type: "array",
567
- items: {
568
- $ref: "https://schema.twindev.org/federated-catalogue/Omit%3CIDataSpaceConnectorEntry%2C%22%40context%22%3E"
569
- },
570
- description: "The components of the Collection"
641
+ items: false,
642
+ description: "The components of the Collection",
643
+ prefixItems: [
644
+ {
645
+ $ref: "https://schema.twindev.org/federated-catalogue/Omit%3CIDataSpaceConnectorEntry%2C%22%40context%22%3E"
646
+ }
647
+ ]
571
648
  },
572
649
  nextItem: {
573
650
  type: "string",
@@ -580,15 +657,19 @@ var required$4 = [
580
657
  "itemListElement"
581
658
  ];
582
659
  var additionalProperties$4 = false;
583
- var description$4 = "Interface describing a list of Data Space Connectors.";
584
660
  var DataSpaceConnectorListSchema = {
661
+ $schema: $schema$4,
662
+ $id: $id$4,
663
+ description: description$4,
585
664
  type: type$4,
586
665
  properties: properties$4,
587
666
  required: required$4,
588
- additionalProperties: additionalProperties$4,
589
- description: description$4
667
+ additionalProperties: additionalProperties$4
590
668
  };
591
669
 
670
+ var $schema$3 = "https://json-schema.org/draft/2020-12/schema";
671
+ var $id$3 = "https://schema.twindev.org/federated-catalogue/ParticipantEntry";
672
+ var description$3 = "Interface describing a participant.";
592
673
  var type$3 = "object";
593
674
  var properties$3 = {
594
675
  issuer: {
@@ -609,20 +690,36 @@ var properties$3 = {
609
690
  },
610
691
  evidence: {
611
692
  type: "array",
612
- items: {
613
- type: "string"
614
- },
615
- description: "The evidences concerning the data resource."
693
+ items: false,
694
+ description: "The evidences concerning the data resource.",
695
+ prefixItems: [
696
+ {
697
+ type: "string"
698
+ }
699
+ ]
616
700
  },
617
701
  "@context": {
618
702
  $ref: "https://schema.twindev.org/federated-catalogue/FederatedCatalogueContextType",
619
703
  description: "The LD Context"
620
704
  },
621
705
  "@id": {
622
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
706
+ anyOf: [
707
+ {
708
+ type: "string"
709
+ },
710
+ {
711
+ type: "array",
712
+ items: false,
713
+ prefixItems: [
714
+ {
715
+ type: "string"
716
+ }
717
+ ]
718
+ }
719
+ ]
623
720
  },
624
721
  "@included": {
625
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
722
+ $ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
626
723
  },
627
724
  "@graph": {
628
725
  anyOf: [
@@ -631,9 +728,12 @@ var properties$3 = {
631
728
  },
632
729
  {
633
730
  type: "array",
634
- items: {
635
- $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
636
- }
731
+ items: false,
732
+ prefixItems: [
733
+ {
734
+ $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
735
+ }
736
+ ]
637
737
  }
638
738
  ]
639
739
  },
@@ -644,33 +744,39 @@ var properties$3 = {
644
744
  },
645
745
  {
646
746
  type: "array",
647
- items: {
648
- $ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
649
- }
747
+ items: false,
748
+ prefixItems: [
749
+ {
750
+ $ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
751
+ }
752
+ ]
650
753
  }
651
754
  ]
652
755
  },
653
756
  "@type": {
654
757
  anyOf: [
655
758
  {
656
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
759
+ type: "string"
657
760
  },
658
761
  {
659
762
  type: "array",
660
- items: {
661
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
662
- }
763
+ items: false,
764
+ prefixItems: [
765
+ {
766
+ type: "string"
767
+ }
768
+ ]
663
769
  }
664
770
  ]
665
771
  },
666
772
  "@reverse": {
667
773
  type: "object",
668
774
  additionalProperties: {
669
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
775
+ type: "string"
670
776
  }
671
777
  },
672
778
  "@index": {
673
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
779
+ type: "string"
674
780
  },
675
781
  id: {
676
782
  type: "string",
@@ -732,15 +838,19 @@ var additionalProperties$3 = {
732
838
  }
733
839
  ]
734
840
  };
735
- var description$3 = "Interface describing a participant.";
736
841
  var ParticipantEntrySchema = {
842
+ $schema: $schema$3,
843
+ $id: $id$3,
844
+ description: description$3,
737
845
  type: type$3,
738
846
  properties: properties$3,
739
847
  required: required$3,
740
- additionalProperties: additionalProperties$3,
741
- description: description$3
848
+ additionalProperties: additionalProperties$3
742
849
  };
743
850
 
851
+ var $schema$2 = "https://json-schema.org/draft/2020-12/schema";
852
+ var $id$2 = "https://schema.twindev.org/federated-catalogue/ParticipantList";
853
+ var description$2 = "Interface describing a participant entry list.";
744
854
  var type$2 = "object";
745
855
  var properties$2 = {
746
856
  "@context": {
@@ -754,10 +864,13 @@ var properties$2 = {
754
864
  },
755
865
  itemListElement: {
756
866
  type: "array",
757
- items: {
758
- $ref: "https://schema.twindev.org/federated-catalogue/Omit%3CIParticipantEntry%2C%22%40context%22%3E"
759
- },
760
- description: "The components of the Collection"
867
+ items: false,
868
+ description: "The components of the Collection",
869
+ prefixItems: [
870
+ {
871
+ $ref: "https://schema.twindev.org/federated-catalogue/Omit%3CIParticipantEntry%2C%22%40context%22%3E"
872
+ }
873
+ ]
761
874
  },
762
875
  nextItem: {
763
876
  type: "string",
@@ -770,15 +883,19 @@ var required$2 = [
770
883
  "itemListElement"
771
884
  ];
772
885
  var additionalProperties$2 = false;
773
- var description$2 = "Interface describing a participant entry list.";
774
886
  var ParticipantListSchema = {
887
+ $schema: $schema$2,
888
+ $id: $id$2,
889
+ description: description$2,
775
890
  type: type$2,
776
891
  properties: properties$2,
777
892
  required: required$2,
778
- additionalProperties: additionalProperties$2,
779
- description: description$2
893
+ additionalProperties: additionalProperties$2
780
894
  };
781
895
 
896
+ var $schema$1 = "https://json-schema.org/draft/2020-12/schema";
897
+ var $id$1 = "https://schema.twindev.org/federated-catalogue/ServiceOfferingEntry";
898
+ var description$1 = "Interface describing a Service Offering.";
782
899
  var type$1 = "object";
783
900
  var properties$1 = {
784
901
  "@context": {
@@ -786,10 +903,23 @@ var properties$1 = {
786
903
  description: "The LD Context"
787
904
  },
788
905
  "@id": {
789
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
906
+ anyOf: [
907
+ {
908
+ type: "string"
909
+ },
910
+ {
911
+ type: "array",
912
+ items: false,
913
+ prefixItems: [
914
+ {
915
+ type: "string"
916
+ }
917
+ ]
918
+ }
919
+ ]
790
920
  },
791
921
  "@included": {
792
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
922
+ $ref: "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
793
923
  },
794
924
  "@graph": {
795
925
  anyOf: [
@@ -798,9 +928,12 @@ var properties$1 = {
798
928
  },
799
929
  {
800
930
  type: "array",
801
- items: {
802
- $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
803
- }
931
+ items: false,
932
+ prefixItems: [
933
+ {
934
+ $ref: "https://schema.twindev.org/json-ld/JsonLdNodeObject"
935
+ }
936
+ ]
804
937
  }
805
938
  ]
806
939
  },
@@ -811,33 +944,39 @@ var properties$1 = {
811
944
  },
812
945
  {
813
946
  type: "array",
814
- items: {
815
- $ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
816
- }
947
+ items: false,
948
+ prefixItems: [
949
+ {
950
+ $ref: "https://schema.twindev.org/json-ld/JsonLdJsonObject"
951
+ }
952
+ ]
817
953
  }
818
954
  ]
819
955
  },
820
956
  "@type": {
821
957
  anyOf: [
822
958
  {
823
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
959
+ type: "string"
824
960
  },
825
961
  {
826
962
  type: "array",
827
- items: {
828
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
829
- }
963
+ items: false,
964
+ prefixItems: [
965
+ {
966
+ type: "string"
967
+ }
968
+ ]
830
969
  }
831
970
  ]
832
971
  },
833
972
  "@reverse": {
834
973
  type: "object",
835
974
  additionalProperties: {
836
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
975
+ type: "string"
837
976
  }
838
977
  },
839
978
  "@index": {
840
- $ref: "https://schema.twindev.org/json-ld/JsonLdKeyword"
979
+ type: "string"
841
980
  },
842
981
  id: {
843
982
  type: "string",
@@ -862,17 +1001,23 @@ var properties$1 = {
862
1001
  },
863
1002
  servicePolicy: {
864
1003
  type: "array",
865
- items: {
866
- $ref: "https://schema.twindev.org/federated-catalogue/OdrlPolicy"
867
- },
868
- description: "The service policy is always stored as an array"
1004
+ items: false,
1005
+ description: "The service policy is always stored as an array",
1006
+ prefixItems: [
1007
+ {
1008
+ $ref: "https://schema.twindev.org/federated-catalogue/OdrlPolicy"
1009
+ }
1010
+ ]
869
1011
  },
870
1012
  aggregationOfResources: {
871
1013
  type: "array",
872
- items: {
873
- type: "string"
874
- },
875
- description: "Overwrites aggregationOfResources as we only store identifier as string"
1014
+ items: false,
1015
+ description: "Overwrites aggregationOfResources as we only store identifier as string",
1016
+ prefixItems: [
1017
+ {
1018
+ type: "string"
1019
+ }
1020
+ ]
876
1021
  },
877
1022
  endpoint: {
878
1023
  $ref: "https://schema.twindev.org/federated-catalogue/Endpoint",
@@ -896,10 +1041,13 @@ var properties$1 = {
896
1041
  },
897
1042
  evidence: {
898
1043
  type: "array",
899
- items: {
900
- type: "string"
901
- },
902
- description: "The evidences concerning the data resource."
1044
+ items: false,
1045
+ description: "The evidences concerning the data resource.",
1046
+ prefixItems: [
1047
+ {
1048
+ type: "string"
1049
+ }
1050
+ ]
903
1051
  }
904
1052
  };
905
1053
  var required$1 = [
@@ -941,15 +1089,19 @@ var additionalProperties$1 = {
941
1089
  }
942
1090
  ]
943
1091
  };
944
- var description$1 = "Interface describing a Service Offering.";
945
1092
  var ServiceOfferingEntrySchema = {
1093
+ $schema: $schema$1,
1094
+ $id: $id$1,
1095
+ description: description$1,
946
1096
  type: type$1,
947
1097
  properties: properties$1,
948
1098
  required: required$1,
949
- additionalProperties: additionalProperties$1,
950
- description: description$1
1099
+ additionalProperties: additionalProperties$1
951
1100
  };
952
1101
 
1102
+ var $schema = "https://json-schema.org/draft/2020-12/schema";
1103
+ var $id = "https://schema.twindev.org/federated-catalogue/ServiceOfferingList";
1104
+ var description = "Interface describing a list of Service Offering Entries.";
953
1105
  var type = "object";
954
1106
  var properties = {
955
1107
  "@context": {
@@ -963,10 +1115,13 @@ var properties = {
963
1115
  },
964
1116
  itemListElement: {
965
1117
  type: "array",
966
- items: {
967
- $ref: "https://schema.twindev.org/federated-catalogue/Omit%3CIServiceOfferingEntry%2C%22%40context%22%3E"
968
- },
969
- description: "The components of the Collection"
1118
+ items: false,
1119
+ description: "The components of the Collection",
1120
+ prefixItems: [
1121
+ {
1122
+ $ref: "https://schema.twindev.org/federated-catalogue/Omit%3CIServiceOfferingEntry%2C%22%40context%22%3E"
1123
+ }
1124
+ ]
970
1125
  },
971
1126
  nextItem: {
972
1127
  type: "string",
@@ -979,13 +1134,14 @@ var required = [
979
1134
  "itemListElement"
980
1135
  ];
981
1136
  var additionalProperties = false;
982
- var description = "Interface describing a list of Service Offering Entries.";
983
1137
  var ServiceOfferingListSchema = {
1138
+ $schema: $schema,
1139
+ $id: $id,
1140
+ description: description,
984
1141
  type: type,
985
1142
  properties: properties,
986
1143
  required: required,
987
- additionalProperties: additionalProperties,
988
- description: description
1144
+ additionalProperties: additionalProperties
989
1145
  };
990
1146
 
991
1147
  // Copyright 2024 IOTA Stiftung.