@twin.org/standards-dataspace-protocol 0.0.3-next.63 → 0.0.3-next.65
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/es/schemas/DataspaceProtocolCatalogBase.json +423 -4
- package/dist/es/schemas/DataspaceProtocolDataServiceBase.json +423 -4
- package/dist/es/schemas/DataspaceProtocolDatasetBase.json +208 -2
- package/docs/changelog.md +34 -0
- package/docs/reference/interfaces/IDataspaceProtocolCatalog.md +3 -3
- package/docs/reference/interfaces/IDataspaceProtocolCatalogBase.md +3 -3
- package/docs/reference/interfaces/IDataspaceProtocolDataService.md +3 -3
- package/docs/reference/interfaces/IDataspaceProtocolDataServiceBase.md +3 -3
- package/docs/reference/interfaces/IDataspaceProtocolDataset.md +2 -2
- package/docs/reference/interfaces/IDataspaceProtocolDatasetBase.md +2 -2
- package/package.json +5 -5
|
@@ -164,7 +164,110 @@
|
|
|
164
164
|
"dcterms:publisher": {
|
|
165
165
|
"anyOf": [
|
|
166
166
|
{
|
|
167
|
-
"
|
|
167
|
+
"description": "A FOAF Agent.",
|
|
168
|
+
"type": "object",
|
|
169
|
+
"properties": {
|
|
170
|
+
"@context": {
|
|
171
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafContextType",
|
|
172
|
+
"description": "The LD Context.",
|
|
173
|
+
"$comment": "Inherited from FoafAgent"
|
|
174
|
+
},
|
|
175
|
+
"@id": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"description": "The unique identifier for the FOAF object.",
|
|
178
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
179
|
+
},
|
|
180
|
+
"foaf:name": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"description": "A name for some thing.",
|
|
183
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
184
|
+
},
|
|
185
|
+
"foaf:title": {
|
|
186
|
+
"type": "string",
|
|
187
|
+
"description": "Title (Mr, Mrs, Ms, Dr. etc)",
|
|
188
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
189
|
+
},
|
|
190
|
+
"foaf:mbox": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"description": "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox",
|
|
193
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
194
|
+
},
|
|
195
|
+
"foaf:homepage": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"description": "A homepage for some thing.",
|
|
198
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
199
|
+
},
|
|
200
|
+
"foaf:depiction": {
|
|
201
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafImage",
|
|
202
|
+
"description": "A depiction of some thing.",
|
|
203
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
204
|
+
},
|
|
205
|
+
"@type": {
|
|
206
|
+
"anyOf": [
|
|
207
|
+
{
|
|
208
|
+
"const": "Agent"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"const": "Person"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"const": "Organization"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"const": "Group"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"type": "string"
|
|
221
|
+
}
|
|
222
|
+
],
|
|
223
|
+
"description": "Type.",
|
|
224
|
+
"$comment": "Inherited from FoafAgent"
|
|
225
|
+
},
|
|
226
|
+
"foaf:age": {
|
|
227
|
+
"type": "number",
|
|
228
|
+
"description": "The age in years of some agent.",
|
|
229
|
+
"$comment": "Inherited from FoafAgent"
|
|
230
|
+
},
|
|
231
|
+
"foaf:made": {
|
|
232
|
+
"anyOf": [
|
|
233
|
+
{
|
|
234
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"type": "array",
|
|
238
|
+
"items": {
|
|
239
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"description": "Something that was made by this agent.",
|
|
244
|
+
"$comment": "Inherited from FoafAgent"
|
|
245
|
+
},
|
|
246
|
+
"foaf:weblog": {
|
|
247
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
|
|
248
|
+
"description": "A weblog of some thing (whether person, group, company etc.).",
|
|
249
|
+
"$comment": "Inherited from FoafAgent"
|
|
250
|
+
},
|
|
251
|
+
"foaf:openid": {
|
|
252
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
|
|
253
|
+
"description": "An OpenID for an agent.",
|
|
254
|
+
"$comment": "Inherited from FoafAgent"
|
|
255
|
+
},
|
|
256
|
+
"foaf:interest": {
|
|
257
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
|
|
258
|
+
"description": "A page about a topic of interest to this person.",
|
|
259
|
+
"$comment": "Inherited from FoafAgent"
|
|
260
|
+
},
|
|
261
|
+
"foaf:topic_interest": {
|
|
262
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject",
|
|
263
|
+
"description": "A thing of interest to this person.",
|
|
264
|
+
"$comment": "Inherited from FoafAgent"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"required": [
|
|
268
|
+
"@type"
|
|
269
|
+
],
|
|
270
|
+
"$comment": "Inlined utility base type FoafAgent so utility transformations can operate on concrete properties instead of a $ref."
|
|
168
271
|
},
|
|
169
272
|
{
|
|
170
273
|
"type": "string"
|
|
@@ -176,7 +279,110 @@
|
|
|
176
279
|
"dcterms:creator": {
|
|
177
280
|
"anyOf": [
|
|
178
281
|
{
|
|
179
|
-
"
|
|
282
|
+
"description": "A FOAF Agent.",
|
|
283
|
+
"type": "object",
|
|
284
|
+
"properties": {
|
|
285
|
+
"@context": {
|
|
286
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafContextType",
|
|
287
|
+
"description": "The LD Context.",
|
|
288
|
+
"$comment": "Inherited from FoafAgent"
|
|
289
|
+
},
|
|
290
|
+
"@id": {
|
|
291
|
+
"type": "string",
|
|
292
|
+
"description": "The unique identifier for the FOAF object.",
|
|
293
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
294
|
+
},
|
|
295
|
+
"foaf:name": {
|
|
296
|
+
"type": "string",
|
|
297
|
+
"description": "A name for some thing.",
|
|
298
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
299
|
+
},
|
|
300
|
+
"foaf:title": {
|
|
301
|
+
"type": "string",
|
|
302
|
+
"description": "Title (Mr, Mrs, Ms, Dr. etc)",
|
|
303
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
304
|
+
},
|
|
305
|
+
"foaf:mbox": {
|
|
306
|
+
"type": "string",
|
|
307
|
+
"description": "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox",
|
|
308
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
309
|
+
},
|
|
310
|
+
"foaf:homepage": {
|
|
311
|
+
"type": "string",
|
|
312
|
+
"description": "A homepage for some thing.",
|
|
313
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
314
|
+
},
|
|
315
|
+
"foaf:depiction": {
|
|
316
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafImage",
|
|
317
|
+
"description": "A depiction of some thing.",
|
|
318
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
319
|
+
},
|
|
320
|
+
"@type": {
|
|
321
|
+
"anyOf": [
|
|
322
|
+
{
|
|
323
|
+
"const": "Agent"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"const": "Person"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"const": "Organization"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"const": "Group"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"type": "string"
|
|
336
|
+
}
|
|
337
|
+
],
|
|
338
|
+
"description": "Type.",
|
|
339
|
+
"$comment": "Inherited from FoafAgent"
|
|
340
|
+
},
|
|
341
|
+
"foaf:age": {
|
|
342
|
+
"type": "number",
|
|
343
|
+
"description": "The age in years of some agent.",
|
|
344
|
+
"$comment": "Inherited from FoafAgent"
|
|
345
|
+
},
|
|
346
|
+
"foaf:made": {
|
|
347
|
+
"anyOf": [
|
|
348
|
+
{
|
|
349
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"type": "array",
|
|
353
|
+
"items": {
|
|
354
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
],
|
|
358
|
+
"description": "Something that was made by this agent.",
|
|
359
|
+
"$comment": "Inherited from FoafAgent"
|
|
360
|
+
},
|
|
361
|
+
"foaf:weblog": {
|
|
362
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
|
|
363
|
+
"description": "A weblog of some thing (whether person, group, company etc.).",
|
|
364
|
+
"$comment": "Inherited from FoafAgent"
|
|
365
|
+
},
|
|
366
|
+
"foaf:openid": {
|
|
367
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
|
|
368
|
+
"description": "An OpenID for an agent.",
|
|
369
|
+
"$comment": "Inherited from FoafAgent"
|
|
370
|
+
},
|
|
371
|
+
"foaf:interest": {
|
|
372
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
|
|
373
|
+
"description": "A page about a topic of interest to this person.",
|
|
374
|
+
"$comment": "Inherited from FoafAgent"
|
|
375
|
+
},
|
|
376
|
+
"foaf:topic_interest": {
|
|
377
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject",
|
|
378
|
+
"description": "A thing of interest to this person.",
|
|
379
|
+
"$comment": "Inherited from FoafAgent"
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
"required": [
|
|
383
|
+
"@type"
|
|
384
|
+
],
|
|
385
|
+
"$comment": "Inlined utility base type FoafAgent so utility transformations can operate on concrete properties instead of a $ref."
|
|
180
386
|
},
|
|
181
387
|
{
|
|
182
388
|
"type": "string"
|
|
@@ -311,9 +517,222 @@
|
|
|
311
517
|
"$comment": "Inherited from DcatResourceBase"
|
|
312
518
|
},
|
|
313
519
|
"odrl:hasPolicy": {
|
|
314
|
-
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPolicy",
|
|
315
520
|
"description": "An ODRL conformant policy expressing the rights associated with the resource.",
|
|
316
|
-
"
|
|
521
|
+
"type": "object",
|
|
522
|
+
"properties": {
|
|
523
|
+
"@type": {
|
|
524
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPolicyType",
|
|
525
|
+
"description": "The type of policy.\nMust be one of: \"Set\", \"Offer\", \"Agreement\""
|
|
526
|
+
},
|
|
527
|
+
"uid": {
|
|
528
|
+
"type": "string",
|
|
529
|
+
"description": "The unique identifier for the policy.\nMust be an IRI.",
|
|
530
|
+
"format": "uri"
|
|
531
|
+
},
|
|
532
|
+
"profile": {
|
|
533
|
+
"anyOf": [
|
|
534
|
+
{
|
|
535
|
+
"type": "string"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"type": "array",
|
|
539
|
+
"items": {
|
|
540
|
+
"type": "string"
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
],
|
|
544
|
+
"description": "The profile(s) this policy conforms to.\nIRIs identifying the ODRL Profile(s)."
|
|
545
|
+
},
|
|
546
|
+
"assigner": {
|
|
547
|
+
"anyOf": [
|
|
548
|
+
{
|
|
549
|
+
"type": "string"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"type": "array",
|
|
559
|
+
"items": {
|
|
560
|
+
"anyOf": [
|
|
561
|
+
{
|
|
562
|
+
"type": "string"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
|
|
569
|
+
}
|
|
570
|
+
]
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
],
|
|
574
|
+
"description": "The assigner of the policy.\nApplies to all rules unless overridden at rule level."
|
|
575
|
+
},
|
|
576
|
+
"assignee": {
|
|
577
|
+
"anyOf": [
|
|
578
|
+
{
|
|
579
|
+
"type": "string"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"type": "array",
|
|
589
|
+
"items": {
|
|
590
|
+
"anyOf": [
|
|
591
|
+
{
|
|
592
|
+
"type": "string"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
|
|
599
|
+
}
|
|
600
|
+
]
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
],
|
|
604
|
+
"description": "The assignee of the policy.\nApplies to all rules unless overridden at rule level."
|
|
605
|
+
},
|
|
606
|
+
"target": {
|
|
607
|
+
"anyOf": [
|
|
608
|
+
{
|
|
609
|
+
"type": "string"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAsset"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"type": "array",
|
|
619
|
+
"items": {
|
|
620
|
+
"anyOf": [
|
|
621
|
+
{
|
|
622
|
+
"type": "string"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAsset"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection"
|
|
629
|
+
}
|
|
630
|
+
]
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
],
|
|
634
|
+
"description": "The target asset for the rule."
|
|
635
|
+
},
|
|
636
|
+
"action": {
|
|
637
|
+
"anyOf": [
|
|
638
|
+
{
|
|
639
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlActionType"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"type": "string"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAction"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"type": "array",
|
|
649
|
+
"items": {
|
|
650
|
+
"anyOf": [
|
|
651
|
+
{
|
|
652
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlActionType"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"type": "string"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAction"
|
|
659
|
+
}
|
|
660
|
+
]
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
],
|
|
664
|
+
"description": "The action associated with the rule."
|
|
665
|
+
},
|
|
666
|
+
"inheritFrom": {
|
|
667
|
+
"anyOf": [
|
|
668
|
+
{
|
|
669
|
+
"type": "string"
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"type": "array",
|
|
673
|
+
"items": {
|
|
674
|
+
"type": "string"
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
],
|
|
678
|
+
"description": "The parent policy(ies) this policy inherits from.\nIRIs identifying the parent Policy(ies)."
|
|
679
|
+
},
|
|
680
|
+
"conflict": {
|
|
681
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlConflictStrategyType",
|
|
682
|
+
"description": "The conflict resolution strategy.\n- perm: Permissions override Prohibitions\n- prohibit: Prohibitions override Permissions\n- invalid: Policy is void if conflicts exist (default)"
|
|
683
|
+
},
|
|
684
|
+
"permission": {
|
|
685
|
+
"anyOf": [
|
|
686
|
+
{
|
|
687
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPermission"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"type": "array",
|
|
691
|
+
"items": {
|
|
692
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPermission"
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
],
|
|
696
|
+
"description": "The permissions in the policy.\nAt least one of permission, prohibition, or obligation must be present."
|
|
697
|
+
},
|
|
698
|
+
"prohibition": {
|
|
699
|
+
"anyOf": [
|
|
700
|
+
{
|
|
701
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"type": "array",
|
|
705
|
+
"items": {
|
|
706
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
],
|
|
710
|
+
"description": "The prohibitions in the policy.\nAt least one of permission, prohibition, or obligation must be present."
|
|
711
|
+
},
|
|
712
|
+
"obligation": {
|
|
713
|
+
"anyOf": [
|
|
714
|
+
{
|
|
715
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlDuty"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"type": "array",
|
|
719
|
+
"items": {
|
|
720
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlDuty"
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
],
|
|
724
|
+
"description": "The obligations in the policy.\nAt least one of permission, prohibition, or obligation must be present."
|
|
725
|
+
},
|
|
726
|
+
"@context": {
|
|
727
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlContextType",
|
|
728
|
+
"description": "The context for the policy.\nMust include \"https://www.w3.org/ns/odrl.jsonld\""
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
"required": [
|
|
732
|
+
"@type",
|
|
733
|
+
"uid"
|
|
734
|
+
],
|
|
735
|
+
"$comment": "Inlined utility base type OdrlPolicy so utility transformations can operate on concrete properties instead of a $ref."
|
|
317
736
|
},
|
|
318
737
|
"dcterms:accrualPeriodicity": {
|
|
319
738
|
"type": "string",
|