@twin.org/standards-ld-contexts 0.0.2-next.9 → 0.0.3-next.2

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.
@@ -0,0 +1,4 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export * from "./ldContexts.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,iBAAiB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./ldContexts.js\";\n"]}
@@ -0,0 +1,451 @@
1
+ {
2
+ "@context": {
3
+ "@version": 1.1,
4
+ "@protected": true,
5
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
6
+ "dct": "http://purl.org/dc/terms/",
7
+ "dcat": "http://www.w3.org/ns/dcat#",
8
+ "odrl": "http://www.w3.org/ns/odrl/2/",
9
+ "dspace": "https://w3id.org/dspace/2025/1/",
10
+ "DatasetRequestMessage": {
11
+ "@id": "dspace:DatasetRequestMessage",
12
+ "@context": {
13
+ "@version": 1.1,
14
+ "@protected": true,
15
+ "dataset": "dspace:dataset"
16
+ }
17
+ },
18
+ "CatalogRequestMessage": {
19
+ "@id": "dspace:CatalogRequestMessage",
20
+ "@context": {
21
+ "@version": 1.1,
22
+ "@protected": true,
23
+ "filter": {
24
+ "@id": "dspace:filter",
25
+ "@container": "@set"
26
+ }
27
+ }
28
+ },
29
+ "CatalogError": {
30
+ "@id": "dspace:CatalogError",
31
+ "@context": {
32
+ "@version": 1.1,
33
+ "@protected": true,
34
+ "code": "dspace:code",
35
+ "reason": {
36
+ "@id": "dspace:reason",
37
+ "@container": "@set"
38
+ }
39
+ }
40
+ },
41
+ "ContractRequestMessage": {
42
+ "@id": "dspace:ContractRequestMessage",
43
+ "@context": {
44
+ "@version": 1.1,
45
+ "@protected": true,
46
+ "@import": "https://w3id.org/dspace/2025/1/odrl-profile.jsonld",
47
+ "@propagate": true,
48
+ "callbackAddress": "dspace:callbackAddress",
49
+ "providerPid": {
50
+ "@type": "@id",
51
+ "@id": "dspace:providerPid"
52
+ },
53
+ "consumerPid": {
54
+ "@type": "@id",
55
+ "@id": "dspace:consumerPid"
56
+ },
57
+ "offer": {
58
+ "@type": "@id",
59
+ "@id": "dspace:offer"
60
+ }
61
+ }
62
+ },
63
+ "ContractOfferMessage": {
64
+ "@id": "dspace:ContractOfferMessage",
65
+ "@context": {
66
+ "@version": 1.1,
67
+ "@protected": true,
68
+ "@import": "https://w3id.org/dspace/2025/1/odrl-profile.jsonld",
69
+ "@propagate": true,
70
+ "callbackAddress": "dspace:callbackAddress",
71
+ "providerPid": {
72
+ "@type": "@id",
73
+ "@id": "dspace:providerPid"
74
+ },
75
+ "consumerPid": {
76
+ "@type": "@id",
77
+ "@id": "dspace:consumerPid"
78
+ },
79
+ "offer": {
80
+ "@type": "@id",
81
+ "@id": "dspace:offer"
82
+ }
83
+ }
84
+ },
85
+ "ContractAgreementMessage": {
86
+ "@id": "dspace:ContractAgreementMessage",
87
+ "@context": {
88
+ "@version": 1.1,
89
+ "@protected": true,
90
+ "@import": "https://w3id.org/dspace/2025/1/odrl-profile.jsonld",
91
+ "@propagate": true,
92
+ "providerPid": {
93
+ "@type": "@id",
94
+ "@id": "dspace:providerPid"
95
+ },
96
+ "consumerPid": {
97
+ "@type": "@id",
98
+ "@id": "dspace:consumerPid"
99
+ },
100
+ "agreement": {
101
+ "@id": "dspace:agreement",
102
+ "@type": "@id"
103
+ },
104
+ "timestamp": "dspace:timestamp"
105
+ }
106
+ },
107
+ "ContractAgreementVerificationMessage": {
108
+ "@id": "dspace:ContractAgreementVerificationMessage",
109
+ "@context": {
110
+ "@version": 1.1,
111
+ "@protected": true,
112
+ "providerPid": {
113
+ "@type": "@id",
114
+ "@id": "dspace:providerPid"
115
+ },
116
+ "consumerPid": {
117
+ "@type": "@id",
118
+ "@id": "dspace:consumerPid"
119
+ }
120
+ }
121
+ },
122
+ "ContractNegotiationEventMessage": {
123
+ "@id": "dspace:ContractNegotiationEventMessage",
124
+ "@context": {
125
+ "@version": 1.1,
126
+ "@protected": true,
127
+ "providerPid": {
128
+ "@type": "@id",
129
+ "@id": "dspace:providerPid"
130
+ },
131
+ "consumerPid": {
132
+ "@type": "@id",
133
+ "@id": "dspace:consumerPid"
134
+ },
135
+ "eventType": {
136
+ "@type": "@vocab",
137
+ "@id": "dspace:eventType"
138
+ }
139
+ }
140
+ },
141
+ "ContractNegotiationTerminationMessage": {
142
+ "@id": "dspace:ContractNegotiationTerminationMessage",
143
+ "@context": {
144
+ "@version": 1.1,
145
+ "@protected": true,
146
+ "code": "dspace:code",
147
+ "reason": {
148
+ "@id": "dspace:reason",
149
+ "@container": "@set"
150
+ },
151
+ "providerPid": {
152
+ "@type": "@id",
153
+ "@id": "dspace:providerPid"
154
+ },
155
+ "consumerPid": {
156
+ "@type": "@id",
157
+ "@id": "dspace:consumerPid"
158
+ }
159
+ }
160
+ },
161
+ "ContractNegotiation": {
162
+ "@id": "dspace:ContractNegotiation",
163
+ "@context": {
164
+ "@version": 1.1,
165
+ "@protected": true,
166
+ "providerPid": {
167
+ "@type": "@id",
168
+ "@id": "dspace:providerPid"
169
+ },
170
+ "consumerPid": {
171
+ "@type": "@id",
172
+ "@id": "dspace:consumerPid"
173
+ },
174
+ "state": {
175
+ "@type": "@vocab",
176
+ "@id": "dspace:state"
177
+ }
178
+ }
179
+ },
180
+ "ContractNegotiationError": {
181
+ "@id": "dspace:ContractNegotiationError",
182
+ "@context": {
183
+ "@version": 1.1,
184
+ "@protected": true,
185
+ "providerPid": {
186
+ "@type": "@id",
187
+ "@id": "dspace:providerPid"
188
+ },
189
+ "consumerPid": {
190
+ "@type": "@id",
191
+ "@id": "dspace:consumerPid"
192
+ },
193
+ "code": "dspace:code",
194
+ "reason": {
195
+ "@id": "dspace:reason",
196
+ "@container": "@set"
197
+ }
198
+ }
199
+ },
200
+ "TransferRequestMessage": {
201
+ "@id": "dspace:TransferRequestMessage",
202
+ "@context": {
203
+ "@version": 1.1,
204
+ "@protected": true,
205
+ "callbackAddress": "dspace:callbackAddress",
206
+ "dataAddress": "dspace:dataAddress",
207
+ "consumerPid": {
208
+ "@type": "@id",
209
+ "@id": "dspace:consumerPid"
210
+ },
211
+ "format": {
212
+ "@type": "@vocab",
213
+ "@id": "dct:format"
214
+ },
215
+ "agreementId": {
216
+ "@type": "@id",
217
+ "@id": "dspace:agreementId"
218
+ }
219
+ }
220
+ },
221
+ "TransferStartMessage": {
222
+ "@id": "dspace:TransferStartMessage",
223
+ "@context": {
224
+ "@version": 1.1,
225
+ "@protected": true,
226
+ "providerPid": {
227
+ "@type": "@id",
228
+ "@id": "dspace:providerPid"
229
+ },
230
+ "consumerPid": {
231
+ "@type": "@id",
232
+ "@id": "dspace:consumerPid"
233
+ },
234
+ "dataAddress": "dspace:dataAddress"
235
+ }
236
+ },
237
+ "TransferCompletionMessage": {
238
+ "@id": "dspace:TransferCompletionMessage",
239
+ "@context": {
240
+ "@version": 1.1,
241
+ "@protected": true,
242
+ "providerPid": {
243
+ "@type": "@id",
244
+ "@id": "dspace:providerPid"
245
+ },
246
+ "consumerPid": {
247
+ "@type": "@id",
248
+ "@id": "dspace:consumerPid"
249
+ }
250
+ }
251
+ },
252
+ "TransferTerminationMessage": {
253
+ "@id": "dspace:TransferTerminationMessage",
254
+ "@context": {
255
+ "@version": 1.1,
256
+ "@protected": true,
257
+ "code": "dspace:code",
258
+ "reason": {
259
+ "@id": "dspace:reason",
260
+ "@container": "@set"
261
+ },
262
+ "providerPid": {
263
+ "@type": "@id",
264
+ "@id": "dspace:providerPid"
265
+ },
266
+ "consumerPid": {
267
+ "@type": "@id",
268
+ "@id": "dspace:consumerPid"
269
+ }
270
+ }
271
+ },
272
+ "TransferSuspensionMessage": {
273
+ "@id": "dspace:TransferSuspensionMessage",
274
+ "@context": {
275
+ "@version": 1.1,
276
+ "@protected": true,
277
+ "code": "dspace:code",
278
+ "reason": {
279
+ "@id": "dspace:reason",
280
+ "@container": "@set"
281
+ },
282
+ "providerPid": {
283
+ "@type": "@id",
284
+ "@id": "dspace:providerPid"
285
+ },
286
+ "consumerPid": {
287
+ "@type": "@id",
288
+ "@id": "dspace:consumerPid"
289
+ }
290
+ }
291
+ },
292
+ "TransferError": {
293
+ "@id": "dspace:TransferError",
294
+ "@context": {
295
+ "@version": 1.1,
296
+ "@protected": true,
297
+ "code": "dspace:code",
298
+ "consumerPid": "dspace:consumerPid",
299
+ "providerPid": "dspace:providerPid",
300
+ "reason": {
301
+ "@id": "dspace:reason",
302
+ "@container": "@set"
303
+ }
304
+ }
305
+ },
306
+ "DataAddress": {
307
+ "@id": "dspace:DataAddress",
308
+ "@context": {
309
+ "@version": 1.1,
310
+ "@protected": true,
311
+ "endpointType": {
312
+ "@type": "@vocab",
313
+ "@id": "dspace:endpointType"
314
+ },
315
+ "endpointProperties": {
316
+ "@id": "dspace:endpointProperties",
317
+ "@container": "@set"
318
+ },
319
+ "endpoint": "dspace:endpoint"
320
+ }
321
+ },
322
+ "EndpointProperty": {
323
+ "@id": "dspace:EndpointProperty",
324
+ "@context": {
325
+ "@version": 1.1,
326
+ "@protected": true,
327
+ "name": "dspace:name",
328
+ "value": "dspace:value"
329
+ }
330
+ },
331
+ "TransferProcess": {
332
+ "@id": "dspace:TransferProcess",
333
+ "@context": {
334
+ "@version": 1.1,
335
+ "@protected": true,
336
+ "providerPid": {
337
+ "@type": "@id",
338
+ "@id": "dspace:providerPid"
339
+ },
340
+ "consumerPid": {
341
+ "@type": "@id",
342
+ "@id": "dspace:consumerPid"
343
+ },
344
+ "state": {
345
+ "@type": "@vocab",
346
+ "@id": "dspace:state"
347
+ }
348
+ }
349
+ },
350
+ "VersionsError": {
351
+ "@id": "dspace:VersionsError",
352
+ "@context": {
353
+ "@version": 1.1,
354
+ "@protected": true,
355
+ "code": "dspace:code",
356
+ "reason": {
357
+ "@id": "dspace:reason",
358
+ "@container": "@set"
359
+ }
360
+ }
361
+ },
362
+ "Catalog": {
363
+ "@id": "dcat:Catalog",
364
+ "@context": {
365
+ "@version": 1.1,
366
+ "@protected": true,
367
+ "service": {
368
+ "@id": "dcat:service",
369
+ "@container": "@set"
370
+ },
371
+ "participantId": {
372
+ "@type": "@id",
373
+ "@id": "dspace:participantId"
374
+ },
375
+ "catalog": {
376
+ "@id": "dcat:catalog",
377
+ "@container": "@set"
378
+ },
379
+ "dataset": {
380
+ "@id": "dcat:dataset",
381
+ "@container": "@set"
382
+ },
383
+ "distribution": {
384
+ "@id": "dcat:distribution",
385
+ "@container": "@set"
386
+ }
387
+ }
388
+ },
389
+ "Dataset": {
390
+ "@id": "dcat:Dataset",
391
+ "@context": {
392
+ "@version": 1.1,
393
+ "@protected": true,
394
+ "@import": "https://w3id.org/dspace/2025/1/odrl-profile.jsonld",
395
+ "@propagate": true,
396
+ "distribution": {
397
+ "@id": "dcat:distribution",
398
+ "@container": "@set"
399
+ },
400
+ "hasPolicy": {
401
+ "@id": "odrl:hasPolicy",
402
+ "@container": "@set"
403
+ }
404
+ }
405
+ },
406
+ "DataService": {
407
+ "@id": "dcat:DataService",
408
+ "@context": {
409
+ "@version": 1.1,
410
+ "@protected": true,
411
+ "endpointDescription": "dcat:endpointDescription",
412
+ "endpointURL": "dcat:endpointURL"
413
+ }
414
+ },
415
+ "Distribution": {
416
+ "@id": "dcat:Distribution",
417
+ "@context": {
418
+ "@version": 1.1,
419
+ "@protected": true,
420
+ "format": {
421
+ "@type": "@vocab",
422
+ "@id": "dct:format"
423
+ },
424
+ "accessService": {
425
+ "@id": "dcat:accessService"
426
+ }
427
+ }
428
+ },
429
+ "CatalogService": {
430
+ "@id": "dspace:CatalogService",
431
+ "@context": {
432
+ "id": "@id",
433
+ "type": "@type",
434
+ "serviceEndpoint": {
435
+ "@id": "https://www.w3.org/ns/did#serviceEndpoint",
436
+ "@type": "@id"
437
+ }
438
+ }
439
+ },
440
+ "ACCEPTED": "dspace:ACCEPTED",
441
+ "FINALIZED": "dspace:FINALIZED",
442
+ "REQUESTED": "dspace:REQUESTED",
443
+ "STARTED": "dspace:STARTED",
444
+ "COMPLETED": "dspace:COMPLETED",
445
+ "SUSPENDED": "dspace:SUSPENDED",
446
+ "TERMINATED": "dspace:TERMINATED",
447
+ "OFFERED": "dspace:OFFERED",
448
+ "AGREED": "dspace:AGREED",
449
+ "VERIFIED": "dspace:VERIFIED"
450
+ }
451
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "comment": "See https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-7",
3
+ "@context": {
4
+ "@version": 1.1,
5
+ "dcmitype": "http://purl.org/dc/dcmitype/",
6
+ "Collection": "dcmitype:Collection",
7
+ "Dataset": "dcmitype:Dataset",
8
+ "Event": "dcmitype:Event",
9
+ "Image": "dcmitype:Image",
10
+ "InteractiveResource": "dcmitype:InteractiveResource",
11
+ "MovingImage": "dcmitype:MovingImage",
12
+ "PhysicalObject": "dcmitype:PhysicalObject",
13
+ "Service": "dcmitype:Service",
14
+ "Software": "dcmitype:Software",
15
+ "Sound": "dcmitype:Sound",
16
+ "StillImage": "dcmitype:StillImage",
17
+ "Text": "dcmitype:Text"
18
+ }
19
+ }