@twin.org/standards-dataspace-protocol 0.0.3-next.64 → 0.0.3-next.66
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/models/dcat3/IDataspaceProtocolCatalogBase.js.map +1 -1
- package/dist/es/schemas/DataspaceProtocolCatalogBase.json +439 -48
- package/dist/es/schemas/DataspaceProtocolDataServiceBase.json +423 -4
- package/dist/es/schemas/DataspaceProtocolDatasetBase.json +208 -2
- package/dist/types/models/dcat3/IDataspaceProtocolCatalogBase.d.ts +4 -5
- package/docs/changelog.md +34 -0
- package/docs/reference/interfaces/IDataspaceProtocolCatalog.md +5 -5
- package/docs/reference/interfaces/IDataspaceProtocolCatalogBase.md +5 -5
- package/docs/reference/interfaces/IDataspaceProtocolDataService.md +1 -1
- package/docs/reference/interfaces/IDataspaceProtocolDataServiceBase.md +1 -1
- package/package.json +3 -3
|
@@ -116,7 +116,110 @@
|
|
|
116
116
|
"dcterms:publisher": {
|
|
117
117
|
"anyOf": [
|
|
118
118
|
{
|
|
119
|
-
"
|
|
119
|
+
"description": "A FOAF Agent.",
|
|
120
|
+
"type": "object",
|
|
121
|
+
"properties": {
|
|
122
|
+
"@context": {
|
|
123
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafContextType",
|
|
124
|
+
"description": "The LD Context.",
|
|
125
|
+
"$comment": "Inherited from FoafAgent"
|
|
126
|
+
},
|
|
127
|
+
"@id": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"description": "The unique identifier for the FOAF object.",
|
|
130
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
131
|
+
},
|
|
132
|
+
"foaf:name": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "A name for some thing.",
|
|
135
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
136
|
+
},
|
|
137
|
+
"foaf:title": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"description": "Title (Mr, Mrs, Ms, Dr. etc)",
|
|
140
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
141
|
+
},
|
|
142
|
+
"foaf:mbox": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"description": "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox",
|
|
145
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
146
|
+
},
|
|
147
|
+
"foaf:homepage": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"description": "A homepage for some thing.",
|
|
150
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
151
|
+
},
|
|
152
|
+
"foaf:depiction": {
|
|
153
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafImage",
|
|
154
|
+
"description": "A depiction of some thing.",
|
|
155
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
156
|
+
},
|
|
157
|
+
"@type": {
|
|
158
|
+
"anyOf": [
|
|
159
|
+
{
|
|
160
|
+
"const": "Agent"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"const": "Person"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"const": "Organization"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"const": "Group"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"type": "string"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"description": "Type.",
|
|
176
|
+
"$comment": "Inherited from FoafAgent"
|
|
177
|
+
},
|
|
178
|
+
"foaf:age": {
|
|
179
|
+
"type": "number",
|
|
180
|
+
"description": "The age in years of some agent.",
|
|
181
|
+
"$comment": "Inherited from FoafAgent"
|
|
182
|
+
},
|
|
183
|
+
"foaf:made": {
|
|
184
|
+
"anyOf": [
|
|
185
|
+
{
|
|
186
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"type": "array",
|
|
190
|
+
"items": {
|
|
191
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
"description": "Something that was made by this agent.",
|
|
196
|
+
"$comment": "Inherited from FoafAgent"
|
|
197
|
+
},
|
|
198
|
+
"foaf:weblog": {
|
|
199
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
|
|
200
|
+
"description": "A weblog of some thing (whether person, group, company etc.).",
|
|
201
|
+
"$comment": "Inherited from FoafAgent"
|
|
202
|
+
},
|
|
203
|
+
"foaf:openid": {
|
|
204
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
|
|
205
|
+
"description": "An OpenID for an agent.",
|
|
206
|
+
"$comment": "Inherited from FoafAgent"
|
|
207
|
+
},
|
|
208
|
+
"foaf:interest": {
|
|
209
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
|
|
210
|
+
"description": "A page about a topic of interest to this person.",
|
|
211
|
+
"$comment": "Inherited from FoafAgent"
|
|
212
|
+
},
|
|
213
|
+
"foaf:topic_interest": {
|
|
214
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject",
|
|
215
|
+
"description": "A thing of interest to this person.",
|
|
216
|
+
"$comment": "Inherited from FoafAgent"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"required": [
|
|
220
|
+
"@type"
|
|
221
|
+
],
|
|
222
|
+
"$comment": "Inlined utility base type FoafAgent so utility transformations can operate on concrete properties instead of a $ref."
|
|
120
223
|
},
|
|
121
224
|
{
|
|
122
225
|
"type": "string"
|
|
@@ -128,7 +231,110 @@
|
|
|
128
231
|
"dcterms:creator": {
|
|
129
232
|
"anyOf": [
|
|
130
233
|
{
|
|
131
|
-
"
|
|
234
|
+
"description": "A FOAF Agent.",
|
|
235
|
+
"type": "object",
|
|
236
|
+
"properties": {
|
|
237
|
+
"@context": {
|
|
238
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafContextType",
|
|
239
|
+
"description": "The LD Context.",
|
|
240
|
+
"$comment": "Inherited from FoafAgent"
|
|
241
|
+
},
|
|
242
|
+
"@id": {
|
|
243
|
+
"type": "string",
|
|
244
|
+
"description": "The unique identifier for the FOAF object.",
|
|
245
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
246
|
+
},
|
|
247
|
+
"foaf:name": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"description": "A name for some thing.",
|
|
250
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
251
|
+
},
|
|
252
|
+
"foaf:title": {
|
|
253
|
+
"type": "string",
|
|
254
|
+
"description": "Title (Mr, Mrs, Ms, Dr. etc)",
|
|
255
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
256
|
+
},
|
|
257
|
+
"foaf:mbox": {
|
|
258
|
+
"type": "string",
|
|
259
|
+
"description": "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox",
|
|
260
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
261
|
+
},
|
|
262
|
+
"foaf:homepage": {
|
|
263
|
+
"type": "string",
|
|
264
|
+
"description": "A homepage for some thing.",
|
|
265
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
266
|
+
},
|
|
267
|
+
"foaf:depiction": {
|
|
268
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafImage",
|
|
269
|
+
"description": "A depiction of some thing.",
|
|
270
|
+
"$comment": "Inherited from FoafBaseObject"
|
|
271
|
+
},
|
|
272
|
+
"@type": {
|
|
273
|
+
"anyOf": [
|
|
274
|
+
{
|
|
275
|
+
"const": "Agent"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"const": "Person"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"const": "Organization"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"const": "Group"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"type": "string"
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"description": "Type.",
|
|
291
|
+
"$comment": "Inherited from FoafAgent"
|
|
292
|
+
},
|
|
293
|
+
"foaf:age": {
|
|
294
|
+
"type": "number",
|
|
295
|
+
"description": "The age in years of some agent.",
|
|
296
|
+
"$comment": "Inherited from FoafAgent"
|
|
297
|
+
},
|
|
298
|
+
"foaf:made": {
|
|
299
|
+
"anyOf": [
|
|
300
|
+
{
|
|
301
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"type": "array",
|
|
305
|
+
"items": {
|
|
306
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
],
|
|
310
|
+
"description": "Something that was made by this agent.",
|
|
311
|
+
"$comment": "Inherited from FoafAgent"
|
|
312
|
+
},
|
|
313
|
+
"foaf:weblog": {
|
|
314
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
|
|
315
|
+
"description": "A weblog of some thing (whether person, group, company etc.).",
|
|
316
|
+
"$comment": "Inherited from FoafAgent"
|
|
317
|
+
},
|
|
318
|
+
"foaf:openid": {
|
|
319
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
|
|
320
|
+
"description": "An OpenID for an agent.",
|
|
321
|
+
"$comment": "Inherited from FoafAgent"
|
|
322
|
+
},
|
|
323
|
+
"foaf:interest": {
|
|
324
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/FoafDocument",
|
|
325
|
+
"description": "A page about a topic of interest to this person.",
|
|
326
|
+
"$comment": "Inherited from FoafAgent"
|
|
327
|
+
},
|
|
328
|
+
"foaf:topic_interest": {
|
|
329
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject",
|
|
330
|
+
"description": "A thing of interest to this person.",
|
|
331
|
+
"$comment": "Inherited from FoafAgent"
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
"required": [
|
|
335
|
+
"@type"
|
|
336
|
+
],
|
|
337
|
+
"$comment": "Inlined utility base type FoafAgent so utility transformations can operate on concrete properties instead of a $ref."
|
|
132
338
|
},
|
|
133
339
|
{
|
|
134
340
|
"type": "string"
|
|
@@ -263,9 +469,222 @@
|
|
|
263
469
|
"$comment": "Inherited from DcatResourceBase"
|
|
264
470
|
},
|
|
265
471
|
"odrl:hasPolicy": {
|
|
266
|
-
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPolicy",
|
|
267
472
|
"description": "An ODRL conformant policy expressing the rights associated with the resource.",
|
|
268
|
-
"
|
|
473
|
+
"type": "object",
|
|
474
|
+
"properties": {
|
|
475
|
+
"@type": {
|
|
476
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPolicyType",
|
|
477
|
+
"description": "The type of policy.\nMust be one of: \"Set\", \"Offer\", \"Agreement\""
|
|
478
|
+
},
|
|
479
|
+
"uid": {
|
|
480
|
+
"type": "string",
|
|
481
|
+
"description": "The unique identifier for the policy.\nMust be an IRI.",
|
|
482
|
+
"format": "uri"
|
|
483
|
+
},
|
|
484
|
+
"profile": {
|
|
485
|
+
"anyOf": [
|
|
486
|
+
{
|
|
487
|
+
"type": "string"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"type": "array",
|
|
491
|
+
"items": {
|
|
492
|
+
"type": "string"
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
"description": "The profile(s) this policy conforms to.\nIRIs identifying the ODRL Profile(s)."
|
|
497
|
+
},
|
|
498
|
+
"assigner": {
|
|
499
|
+
"anyOf": [
|
|
500
|
+
{
|
|
501
|
+
"type": "string"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"type": "array",
|
|
511
|
+
"items": {
|
|
512
|
+
"anyOf": [
|
|
513
|
+
{
|
|
514
|
+
"type": "string"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
|
|
521
|
+
}
|
|
522
|
+
]
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
],
|
|
526
|
+
"description": "The assigner of the policy.\nApplies to all rules unless overridden at rule level."
|
|
527
|
+
},
|
|
528
|
+
"assignee": {
|
|
529
|
+
"anyOf": [
|
|
530
|
+
{
|
|
531
|
+
"type": "string"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"type": "array",
|
|
541
|
+
"items": {
|
|
542
|
+
"anyOf": [
|
|
543
|
+
{
|
|
544
|
+
"type": "string"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
|
|
551
|
+
}
|
|
552
|
+
]
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
],
|
|
556
|
+
"description": "The assignee of the policy.\nApplies to all rules unless overridden at rule level."
|
|
557
|
+
},
|
|
558
|
+
"target": {
|
|
559
|
+
"anyOf": [
|
|
560
|
+
{
|
|
561
|
+
"type": "string"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAsset"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"type": "array",
|
|
571
|
+
"items": {
|
|
572
|
+
"anyOf": [
|
|
573
|
+
{
|
|
574
|
+
"type": "string"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAsset"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection"
|
|
581
|
+
}
|
|
582
|
+
]
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
],
|
|
586
|
+
"description": "The target asset for the rule."
|
|
587
|
+
},
|
|
588
|
+
"action": {
|
|
589
|
+
"anyOf": [
|
|
590
|
+
{
|
|
591
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlActionType"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"type": "string"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAction"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"type": "array",
|
|
601
|
+
"items": {
|
|
602
|
+
"anyOf": [
|
|
603
|
+
{
|
|
604
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlActionType"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"type": "string"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAction"
|
|
611
|
+
}
|
|
612
|
+
]
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
],
|
|
616
|
+
"description": "The action associated with the rule."
|
|
617
|
+
},
|
|
618
|
+
"inheritFrom": {
|
|
619
|
+
"anyOf": [
|
|
620
|
+
{
|
|
621
|
+
"type": "string"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"type": "array",
|
|
625
|
+
"items": {
|
|
626
|
+
"type": "string"
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
],
|
|
630
|
+
"description": "The parent policy(ies) this policy inherits from.\nIRIs identifying the parent Policy(ies)."
|
|
631
|
+
},
|
|
632
|
+
"conflict": {
|
|
633
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlConflictStrategyType",
|
|
634
|
+
"description": "The conflict resolution strategy.\n- perm: Permissions override Prohibitions\n- prohibit: Prohibitions override Permissions\n- invalid: Policy is void if conflicts exist (default)"
|
|
635
|
+
},
|
|
636
|
+
"permission": {
|
|
637
|
+
"anyOf": [
|
|
638
|
+
{
|
|
639
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPermission"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"type": "array",
|
|
643
|
+
"items": {
|
|
644
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPermission"
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
],
|
|
648
|
+
"description": "The permissions in the policy.\nAt least one of permission, prohibition, or obligation must be present."
|
|
649
|
+
},
|
|
650
|
+
"prohibition": {
|
|
651
|
+
"anyOf": [
|
|
652
|
+
{
|
|
653
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"type": "array",
|
|
657
|
+
"items": {
|
|
658
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
],
|
|
662
|
+
"description": "The prohibitions in the policy.\nAt least one of permission, prohibition, or obligation must be present."
|
|
663
|
+
},
|
|
664
|
+
"obligation": {
|
|
665
|
+
"anyOf": [
|
|
666
|
+
{
|
|
667
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlDuty"
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"type": "array",
|
|
671
|
+
"items": {
|
|
672
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlDuty"
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
],
|
|
676
|
+
"description": "The obligations in the policy.\nAt least one of permission, prohibition, or obligation must be present."
|
|
677
|
+
},
|
|
678
|
+
"@context": {
|
|
679
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlContextType",
|
|
680
|
+
"description": "The context for the policy.\nMust include \"https://www.w3.org/ns/odrl.jsonld\""
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
"required": [
|
|
684
|
+
"@type",
|
|
685
|
+
"uid"
|
|
686
|
+
],
|
|
687
|
+
"$comment": "Inlined utility base type OdrlPolicy so utility transformations can operate on concrete properties instead of a $ref."
|
|
269
688
|
},
|
|
270
689
|
"dcat:endpointDescription": {
|
|
271
690
|
"type": "string",
|