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