@twin.org/standards-ld-contexts 0.0.3-next.6 → 0.0.3-next.61

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,231 @@
1
+ {
2
+ "@context": {
3
+ "@version": 1.1,
4
+ "@protected": true,
5
+ "id": "@id",
6
+ "type": "@type",
7
+ "VerifiableCredential": {
8
+ "@id": "https://www.w3.org/2018/credentials#VerifiableCredential",
9
+ "@context": {
10
+ "@version": 1.1,
11
+ "@protected": true,
12
+ "id": "@id",
13
+ "type": "@type",
14
+ "cred": "https://www.w3.org/2018/credentials#",
15
+ "sec": "https://w3id.org/security#",
16
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
17
+ "credentialSchema": {
18
+ "@id": "cred:credentialSchema",
19
+ "@type": "@id",
20
+ "@context": {
21
+ "@version": 1.1,
22
+ "@protected": true,
23
+ "id": "@id",
24
+ "type": "@type",
25
+ "cred": "https://www.w3.org/2018/credentials#",
26
+ "JsonSchemaValidator2018": "cred:JsonSchemaValidator2018"
27
+ }
28
+ },
29
+ "credentialStatus": { "@id": "cred:credentialStatus", "@type": "@id" },
30
+ "credentialSubject": { "@id": "cred:credentialSubject", "@type": "@id" },
31
+ "evidence": { "@id": "cred:evidence", "@type": "@id" },
32
+ "expirationDate": { "@id": "cred:expirationDate", "@type": "xsd:dateTime" },
33
+ "holder": { "@id": "cred:holder", "@type": "@id" },
34
+ "issued": { "@id": "cred:issued", "@type": "xsd:dateTime" },
35
+ "issuer": { "@id": "cred:issuer", "@type": "@id" },
36
+ "issuanceDate": { "@id": "cred:issuanceDate", "@type": "xsd:dateTime" },
37
+ "proof": { "@id": "sec:proof", "@type": "@id", "@container": "@graph" },
38
+ "refreshService": {
39
+ "@id": "cred:refreshService",
40
+ "@type": "@id",
41
+ "@context": {
42
+ "@version": 1.1,
43
+ "@protected": true,
44
+ "id": "@id",
45
+ "type": "@type",
46
+ "cred": "https://www.w3.org/2018/credentials#",
47
+ "ManualRefreshService2018": "cred:ManualRefreshService2018"
48
+ }
49
+ },
50
+ "termsOfUse": { "@id": "cred:termsOfUse", "@type": "@id" },
51
+ "validFrom": { "@id": "cred:validFrom", "@type": "xsd:dateTime" },
52
+ "validUntil": { "@id": "cred:validUntil", "@type": "xsd:dateTime" }
53
+ }
54
+ },
55
+ "VerifiablePresentation": {
56
+ "@id": "https://www.w3.org/2018/credentials#VerifiablePresentation",
57
+ "@context": {
58
+ "@version": 1.1,
59
+ "@protected": true,
60
+ "id": "@id",
61
+ "type": "@type",
62
+ "cred": "https://www.w3.org/2018/credentials#",
63
+ "sec": "https://w3id.org/security#",
64
+ "holder": { "@id": "cred:holder", "@type": "@id" },
65
+ "proof": { "@id": "sec:proof", "@type": "@id", "@container": "@graph" },
66
+ "verifiableCredential": {
67
+ "@id": "cred:verifiableCredential",
68
+ "@type": "@id",
69
+ "@container": "@graph"
70
+ }
71
+ }
72
+ },
73
+ "EcdsaSecp256k1Signature2019": {
74
+ "@id": "https://w3id.org/security#EcdsaSecp256k1Signature2019",
75
+ "@context": {
76
+ "@version": 1.1,
77
+ "@protected": true,
78
+ "id": "@id",
79
+ "type": "@type",
80
+ "sec": "https://w3id.org/security#",
81
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
82
+ "challenge": "sec:challenge",
83
+ "created": { "@id": "http://purl.org/dc/terms/created", "@type": "xsd:dateTime" },
84
+ "domain": "sec:domain",
85
+ "expires": { "@id": "sec:expiration", "@type": "xsd:dateTime" },
86
+ "jws": "sec:jws",
87
+ "nonce": "sec:nonce",
88
+ "proofPurpose": {
89
+ "@id": "sec:proofPurpose",
90
+ "@type": "@vocab",
91
+ "@context": {
92
+ "@version": 1.1,
93
+ "@protected": true,
94
+ "id": "@id",
95
+ "type": "@type",
96
+ "sec": "https://w3id.org/security#",
97
+ "assertionMethod": {
98
+ "@id": "sec:assertionMethod",
99
+ "@type": "@id",
100
+ "@container": "@set"
101
+ },
102
+ "authentication": {
103
+ "@id": "sec:authenticationMethod",
104
+ "@type": "@id",
105
+ "@container": "@set"
106
+ }
107
+ }
108
+ },
109
+ "proofValue": "sec:proofValue",
110
+ "verificationMethod": { "@id": "sec:verificationMethod", "@type": "@id" }
111
+ }
112
+ },
113
+ "EcdsaSecp256r1Signature2019": {
114
+ "@id": "https://w3id.org/security#EcdsaSecp256r1Signature2019",
115
+ "@context": {
116
+ "@version": 1.1,
117
+ "@protected": true,
118
+ "id": "@id",
119
+ "type": "@type",
120
+ "sec": "https://w3id.org/security#",
121
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
122
+ "challenge": "sec:challenge",
123
+ "created": { "@id": "http://purl.org/dc/terms/created", "@type": "xsd:dateTime" },
124
+ "domain": "sec:domain",
125
+ "expires": { "@id": "sec:expiration", "@type": "xsd:dateTime" },
126
+ "jws": "sec:jws",
127
+ "nonce": "sec:nonce",
128
+ "proofPurpose": {
129
+ "@id": "sec:proofPurpose",
130
+ "@type": "@vocab",
131
+ "@context": {
132
+ "@version": 1.1,
133
+ "@protected": true,
134
+ "id": "@id",
135
+ "type": "@type",
136
+ "sec": "https://w3id.org/security#",
137
+ "assertionMethod": {
138
+ "@id": "sec:assertionMethod",
139
+ "@type": "@id",
140
+ "@container": "@set"
141
+ },
142
+ "authentication": {
143
+ "@id": "sec:authenticationMethod",
144
+ "@type": "@id",
145
+ "@container": "@set"
146
+ }
147
+ }
148
+ },
149
+ "proofValue": "sec:proofValue",
150
+ "verificationMethod": { "@id": "sec:verificationMethod", "@type": "@id" }
151
+ }
152
+ },
153
+ "Ed25519Signature2018": {
154
+ "@id": "https://w3id.org/security#Ed25519Signature2018",
155
+ "@context": {
156
+ "@version": 1.1,
157
+ "@protected": true,
158
+ "id": "@id",
159
+ "type": "@type",
160
+ "sec": "https://w3id.org/security#",
161
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
162
+ "challenge": "sec:challenge",
163
+ "created": { "@id": "http://purl.org/dc/terms/created", "@type": "xsd:dateTime" },
164
+ "domain": "sec:domain",
165
+ "expires": { "@id": "sec:expiration", "@type": "xsd:dateTime" },
166
+ "jws": "sec:jws",
167
+ "nonce": "sec:nonce",
168
+ "proofPurpose": {
169
+ "@id": "sec:proofPurpose",
170
+ "@type": "@vocab",
171
+ "@context": {
172
+ "@version": 1.1,
173
+ "@protected": true,
174
+ "id": "@id",
175
+ "type": "@type",
176
+ "sec": "https://w3id.org/security#",
177
+ "assertionMethod": {
178
+ "@id": "sec:assertionMethod",
179
+ "@type": "@id",
180
+ "@container": "@set"
181
+ },
182
+ "authentication": {
183
+ "@id": "sec:authenticationMethod",
184
+ "@type": "@id",
185
+ "@container": "@set"
186
+ }
187
+ }
188
+ },
189
+ "proofValue": "sec:proofValue",
190
+ "verificationMethod": { "@id": "sec:verificationMethod", "@type": "@id" }
191
+ }
192
+ },
193
+ "RsaSignature2018": {
194
+ "@id": "https://w3id.org/security#RsaSignature2018",
195
+ "@context": {
196
+ "@version": 1.1,
197
+ "@protected": true,
198
+ "challenge": "sec:challenge",
199
+ "created": { "@id": "http://purl.org/dc/terms/created", "@type": "xsd:dateTime" },
200
+ "domain": "sec:domain",
201
+ "expires": { "@id": "sec:expiration", "@type": "xsd:dateTime" },
202
+ "jws": "sec:jws",
203
+ "nonce": "sec:nonce",
204
+ "proofPurpose": {
205
+ "@id": "sec:proofPurpose",
206
+ "@type": "@vocab",
207
+ "@context": {
208
+ "@version": 1.1,
209
+ "@protected": true,
210
+ "id": "@id",
211
+ "type": "@type",
212
+ "sec": "https://w3id.org/security#",
213
+ "assertionMethod": {
214
+ "@id": "sec:assertionMethod",
215
+ "@type": "@id",
216
+ "@container": "@set"
217
+ },
218
+ "authentication": {
219
+ "@id": "sec:authenticationMethod",
220
+ "@type": "@id",
221
+ "@container": "@set"
222
+ }
223
+ }
224
+ },
225
+ "proofValue": "sec:proofValue",
226
+ "verificationMethod": { "@id": "sec:verificationMethod", "@type": "@id" }
227
+ }
228
+ },
229
+ "proof": { "@id": "https://w3id.org/security#proof", "@type": "@id", "@container": "@graph" }
230
+ }
231
+ }
@@ -0,0 +1,113 @@
1
+ {
2
+ "@context": {
3
+ "@protected": true,
4
+ "id": "@id",
5
+ "type": "@type",
6
+ "alsoKnownAs": {
7
+ "@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
8
+ "@type": "@id"
9
+ },
10
+ "assertionMethod": {
11
+ "@id": "https://w3id.org/security#assertionMethod",
12
+ "@type": "@id",
13
+ "@container": "@set"
14
+ },
15
+ "authentication": {
16
+ "@id": "https://w3id.org/security#authenticationMethod",
17
+ "@type": "@id",
18
+ "@container": "@set"
19
+ },
20
+ "capabilityDelegation": {
21
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
22
+ "@type": "@id",
23
+ "@container": "@set"
24
+ },
25
+ "capabilityInvocation": {
26
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
27
+ "@type": "@id",
28
+ "@container": "@set"
29
+ },
30
+ "controller": {
31
+ "@id": "https://w3id.org/security#controller",
32
+ "@type": "@id"
33
+ },
34
+ "keyAgreement": {
35
+ "@id": "https://w3id.org/security#keyAgreementMethod",
36
+ "@type": "@id",
37
+ "@container": "@set"
38
+ },
39
+ "service": {
40
+ "@id": "https://www.w3.org/ns/did#service",
41
+ "@type": "@id",
42
+ "@context": {
43
+ "@protected": true,
44
+ "id": "@id",
45
+ "type": "@type",
46
+ "serviceEndpoint": {
47
+ "@id": "https://www.w3.org/ns/did#serviceEndpoint",
48
+ "@type": "@id"
49
+ }
50
+ }
51
+ },
52
+ "verificationMethod": {
53
+ "@id": "https://w3id.org/security#verificationMethod",
54
+ "@type": "@id"
55
+ },
56
+ "Multikey": {
57
+ "@id": "https://w3id.org/security#Multikey",
58
+ "@context": {
59
+ "@protected": true,
60
+ "id": "@id",
61
+ "type": "@type",
62
+ "controller": {
63
+ "@id": "https://w3id.org/security#controller",
64
+ "@type": "@id"
65
+ },
66
+ "revoked": {
67
+ "@id": "https://w3id.org/security#revoked",
68
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
69
+ },
70
+ "expires": {
71
+ "@id": "https://w3id.org/security#expiration",
72
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
73
+ },
74
+ "publicKeyMultibase": {
75
+ "@id": "https://w3id.org/security#publicKeyMultibase",
76
+ "@type": "https://w3id.org/security#multibase"
77
+ },
78
+ "secretKeyMultibase": {
79
+ "@id": "https://w3id.org/security#secretKeyMultibase",
80
+ "@type": "https://w3id.org/security#multibase"
81
+ }
82
+ }
83
+ },
84
+ "JsonWebKey": {
85
+ "@id": "https://w3id.org/security#JsonWebKey",
86
+ "@context": {
87
+ "@protected": true,
88
+ "id": "@id",
89
+ "type": "@type",
90
+ "controller": {
91
+ "@id": "https://w3id.org/security#controller",
92
+ "@type": "@id"
93
+ },
94
+ "revoked": {
95
+ "@id": "https://w3id.org/security#revoked",
96
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
97
+ },
98
+ "expires": {
99
+ "@id": "https://w3id.org/security#expiration",
100
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
101
+ },
102
+ "publicKeyJwk": {
103
+ "@id": "https://w3id.org/security#publicKeyJwk",
104
+ "@type": "@json"
105
+ },
106
+ "secretKeyJwk": {
107
+ "@id": "https://w3id.org/security#secretKeyJwk",
108
+ "@type": "@json"
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "@context": {
3
+ "@protected": true,
4
+ "id": "@id",
5
+ "type": "@type",
6
+ "alsoKnownAs": {
7
+ "@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
8
+ "@type": "@id"
9
+ },
10
+ "assertionMethod": {
11
+ "@id": "https://w3id.org/security#assertionMethod",
12
+ "@type": "@id",
13
+ "@container": "@set"
14
+ },
15
+ "authentication": {
16
+ "@id": "https://w3id.org/security#authenticationMethod",
17
+ "@type": "@id",
18
+ "@container": "@set"
19
+ },
20
+ "capabilityDelegation": {
21
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
22
+ "@type": "@id",
23
+ "@container": "@set"
24
+ },
25
+ "capabilityInvocation": {
26
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
27
+ "@type": "@id",
28
+ "@container": "@set"
29
+ },
30
+ "controller": {
31
+ "@id": "https://w3id.org/security#controller",
32
+ "@type": "@id"
33
+ },
34
+ "keyAgreement": {
35
+ "@id": "https://w3id.org/security#keyAgreementMethod",
36
+ "@type": "@id",
37
+ "@container": "@set"
38
+ },
39
+ "service": {
40
+ "@id": "https://www.w3.org/ns/did#service",
41
+ "@type": "@id",
42
+ "@context": {
43
+ "@protected": true,
44
+ "id": "@id",
45
+ "type": "@type",
46
+ "serviceEndpoint": {
47
+ "@id": "https://www.w3.org/ns/did#serviceEndpoint",
48
+ "@type": "@id"
49
+ }
50
+ }
51
+ },
52
+ "verificationMethod": {
53
+ "@id": "https://w3id.org/security#verificationMethod",
54
+ "@type": "@id"
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,93 @@
1
+ {
2
+ "@context": {
3
+ "id": "@id",
4
+ "type": "@type",
5
+ "@protected": true,
6
+ "proof": {
7
+ "@id": "https://w3id.org/security#proof",
8
+ "@type": "@id",
9
+ "@container": "@graph"
10
+ },
11
+ "Ed25519VerificationKey2020": {
12
+ "@id": "https://w3id.org/security#Ed25519VerificationKey2020",
13
+ "@context": {
14
+ "@protected": true,
15
+ "id": "@id",
16
+ "type": "@type",
17
+ "controller": {
18
+ "@id": "https://w3id.org/security#controller",
19
+ "@type": "@id"
20
+ },
21
+ "revoked": {
22
+ "@id": "https://w3id.org/security#revoked",
23
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
24
+ },
25
+ "publicKeyMultibase": {
26
+ "@id": "https://w3id.org/security#publicKeyMultibase",
27
+ "@type": "https://w3id.org/security#multibase"
28
+ }
29
+ }
30
+ },
31
+ "Ed25519Signature2020": {
32
+ "@id": "https://w3id.org/security#Ed25519Signature2020",
33
+ "@context": {
34
+ "@protected": true,
35
+ "id": "@id",
36
+ "type": "@type",
37
+ "challenge": "https://w3id.org/security#challenge",
38
+ "created": {
39
+ "@id": "http://purl.org/dc/terms/created",
40
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
41
+ },
42
+ "domain": "https://w3id.org/security#domain",
43
+ "expires": {
44
+ "@id": "https://w3id.org/security#expiration",
45
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
46
+ },
47
+ "nonce": "https://w3id.org/security#nonce",
48
+ "proofPurpose": {
49
+ "@id": "https://w3id.org/security#proofPurpose",
50
+ "@type": "@vocab",
51
+ "@context": {
52
+ "@protected": true,
53
+ "id": "@id",
54
+ "type": "@type",
55
+ "assertionMethod": {
56
+ "@id": "https://w3id.org/security#assertionMethod",
57
+ "@type": "@id",
58
+ "@container": "@set"
59
+ },
60
+ "authentication": {
61
+ "@id": "https://w3id.org/security#authenticationMethod",
62
+ "@type": "@id",
63
+ "@container": "@set"
64
+ },
65
+ "capabilityInvocation": {
66
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
67
+ "@type": "@id",
68
+ "@container": "@set"
69
+ },
70
+ "capabilityDelegation": {
71
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
72
+ "@type": "@id",
73
+ "@container": "@set"
74
+ },
75
+ "keyAgreement": {
76
+ "@id": "https://w3id.org/security#keyAgreementMethod",
77
+ "@type": "@id",
78
+ "@container": "@set"
79
+ }
80
+ }
81
+ },
82
+ "proofValue": {
83
+ "@id": "https://w3id.org/security#proofValue",
84
+ "@type": "https://w3id.org/security#multibase"
85
+ },
86
+ "verificationMethod": {
87
+ "@id": "https://w3id.org/security#verificationMethod",
88
+ "@type": "@id"
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "@context": {
3
+ "id": "@id",
4
+ "type": "@type",
5
+ "@protected": true,
6
+ "Multikey": {
7
+ "@id": "https://w3id.org/security#Multikey",
8
+ "@context": {
9
+ "@protected": true,
10
+ "id": "@id",
11
+ "type": "@type",
12
+ "controller": {
13
+ "@id": "https://w3id.org/security#controller",
14
+ "@type": "@id"
15
+ },
16
+ "revoked": {
17
+ "@id": "https://w3id.org/security#revoked",
18
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
19
+ },
20
+ "expires": {
21
+ "@id": "https://w3id.org/security#expiration",
22
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
23
+ },
24
+ "publicKeyMultibase": {
25
+ "@id": "https://w3id.org/security#publicKeyMultibase",
26
+ "@type": "https://w3id.org/security#multibase"
27
+ },
28
+ "secretKeyMultibase": {
29
+ "@id": "https://w3id.org/security#secretKeyMultibase",
30
+ "@type": "https://w3id.org/security#multibase"
31
+ }
32
+ }
33
+ }
34
+ }
35
+ }
@@ -2,56 +2,95 @@
2
2
  // SPDX-License-Identifier: Apache-2.0.
3
3
  import { GeneralError, Is } from "@twin.org/core";
4
4
  import { JsonLdProcessor } from "@twin.org/data-json-ld";
5
- import dataspaceProtocol from "./ldContexts/dataspace-protocol.json" with { type: "json" };
5
+ import dataspaceProtocol2024 from "./ldContexts/dataspace-protocol-2024.json" with { type: "json" };
6
+ import dataspaceProtocol2025 from "./ldContexts/dataspace-protocol-2025.json" with { type: "json" };
6
7
  import dcmitype from "./ldContexts/dublin-core-dcmitype.json" with { type: "json" };
7
8
  import dcTerms from "./ldContexts/dublin-core-terms.json" with { type: "json" };
8
9
  import foaf from "./ldContexts/foaf.json" with { type: "json" };
9
10
  import gaiaX2411 from "./ldContexts/gaia-x-v24.11.json" with { type: "json" };
11
+ import gs1epcis from "./ldContexts/gs1-epcis.json" with { type: "json" };
12
+ import gs1vocab from "./ldContexts/gs1-vocab.json" with { type: "json" };
13
+ import odrlDataspaceProtocol from "./ldContexts/odrl-dataspace-protocol.json" with { type: "json" };
10
14
  import schemaOrg from "./ldContexts/schema.org.json" with { type: "json" };
11
- import unCefact from "./ldContexts/un-cefact-vocab.json" with { type: "json" };
15
+ import unCefactD23B from "./ldContexts/un-cefact-d23b.json" with { type: "json" };
12
16
  import w3cActivityStreams from "./ldContexts/w3c-activity-streams.json" with { type: "json" };
17
+ import w3cDataIntegrityV2 from "./ldContexts/w3c-data-integrity-v2.json" with { type: "json" };
13
18
  import w3cDcat from "./ldContexts/w3c-dcat.json" with { type: "json" };
14
19
  import w3cOdrl from "./ldContexts/w3c-odrl.json" with { type: "json" };
15
20
  import w3cRdf from "./ldContexts/w3c-rdf.json" with { type: "json" };
16
- import w3cVc from "./ldContexts/w3c-vc-data-model-v2.json" with { type: "json" };
17
- import w3IdJws from "./ldContexts/w3id-jws-2020-v1.json" with { type: "json" };
21
+ import w3cVcV1 from "./ldContexts/w3c-vc-data-model-v1.json" with { type: "json" };
22
+ import w3cVcV2 from "./ldContexts/w3c-vc-data-model-v2.json" with { type: "json" };
23
+ import w3idCidV1 from "./ldContexts/w3id-cid-v1.json" with { type: "json" };
24
+ import w3idDidV1 from "./ldContexts/w3id-did-v1.json" with { type: "json" };
25
+ import w3idEd25519V1 from "./ldContexts/w3id-ed25519-v1.json" with { type: "json" };
26
+ import w3idJwsV1 from "./ldContexts/w3id-jws-2020-v1.json" with { type: "json" };
27
+ import w3idMultiKeyV1 from "./ldContexts/w3id-multikey-v1.json" with { type: "json" };
18
28
  /**
19
29
  * Map of all the ld contexts by their URL.
20
30
  */
21
31
  export const LD_CONTEXTS = {
22
- // schema.org
23
- "https://schema.org": schemaOrg,
24
- "http://schema.org": schemaOrg,
25
- "https://schema.org/docs/jsonldcontext.jsonld": schemaOrg,
32
+ // Data Space Protocol
33
+ "https://w3id.org/dspace/2024/1/": dataspaceProtocol2024,
34
+ "https://w3id.org/dspace/2024/1/context.json": dataspaceProtocol2024,
35
+ "https://w3id.org/dspace/2024/1/context.jsonld": dataspaceProtocol2024,
36
+ "https://w3id.org/dspace/2025/1/": dataspaceProtocol2025,
37
+ "https://w3id.org/dspace/2025/1/context.json": dataspaceProtocol2025,
38
+ "https://w3id.org/dspace/2025/1/context.jsonld": dataspaceProtocol2025,
39
+ "https://schema.twindev.org/dataspace-protocol/": dataspaceProtocol2025,
40
+ "https://w3id.org/dspace/2025/1/odrl-profile.jsonld": odrlDataspaceProtocol,
41
+ // DCSA does not have JSON-LD context definitions
42
+ // Dublin Core
43
+ "http://purl.org/dc/terms/": dcTerms,
44
+ "http://purl.org/dc/dcmitype/": dcmitype,
45
+ "https://schema.twindev.org/dublin-core/terms.jsonld": dcTerms,
46
+ "https://schema.twindev.org/dublin-core/dcmitype.jsonld": dcmitype,
47
+ // Foaf
48
+ "https://schema.twindev.org/foaf/": foaf,
49
+ "https://schema.twindev.org/foaf/types.jsonld": foaf,
50
+ "http://xmlns.com/foaf/0.1/": foaf,
26
51
  // Gaia-X
27
52
  "https://w3id.org/gaia-x/2411": gaiaX2411,
28
53
  "https://w3id.org/gaia-x/2411#": gaiaX2411,
29
54
  "https://schema.twindev.org/gaia-x-loire/": gaiaX2411,
30
55
  "https://schema.twindev.org/gaia-x-loire/types.jsonld": gaiaX2411,
56
+ // GS1 EPCIS
57
+ "https://ref.gs1.org/epcis/": gs1epcis,
58
+ "https://ref.gs1.org/epcis": gs1epcis,
59
+ "https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld": gs1epcis,
60
+ // GS1 Vocab
61
+ "https://gs1.org/voc/": gs1vocab,
62
+ "https://ref.gs1.org/voc/data/gs1Voc.jsonld": gs1vocab,
63
+ // schema.org
64
+ "https://schema.org": schemaOrg,
65
+ "http://schema.org": schemaOrg,
66
+ "https://schema.org/": schemaOrg,
67
+ "http://schema.org/": schemaOrg,
68
+ "https://schema.org/docs/jsonldcontext.jsonld": schemaOrg,
69
+ // UN/CEFACT
70
+ "https://vocabulary.uncefact.org": unCefactD23B,
71
+ "https://vocabulary.uncefact.org/": unCefactD23B,
72
+ "https://vocabulary.uncefact.org/unece-context.jsonld": unCefactD23B,
73
+ "https://vocabulary.uncefact.org/unece-context-D23B.jsonld": unCefactD23B,
74
+ // W3C Activity Streams
75
+ "https://www.w3.org/ns/activitystreams#": w3cActivityStreams,
76
+ "https://www.w3.org/ns/activitystreams": w3cActivityStreams,
77
+ "https://www.w3.org/ns/activitystreams.jsonld": w3cActivityStreams,
31
78
  // W3C DCAT
32
79
  "http://www.w3.org/ns/dcat#": w3cDcat,
33
80
  "https://www.w3.org/ns/dcat.jsonld": w3cDcat,
81
+ "http://www.w3.org/ns/dcat.jsonld": w3cDcat,
82
+ // W3C DID
83
+ "https://www.w3.org/ns/did/v1": w3idDidV1,
84
+ "https://www.w3.org/2018/credentials/v1": w3cVcV1,
85
+ "https://www.w3.org/ns/credentials/v2": w3cVcV2,
86
+ "https://w3id.org/security/suites/jws-2020/v1": w3idJwsV1,
87
+ "https://w3id.org/security/suites/ed25519-2020/v1": w3idEd25519V1,
88
+ "https://w3id.org/security/data-integrity/v2": w3cDataIntegrityV2,
89
+ "https://www.w3.org/ns/cid/v1": w3idCidV1,
90
+ "https://w3id.org/security/multikey/v1": w3idMultiKeyV1,
34
91
  // W3C ODRL
92
+ "http://www.w3.org/ns/odrl/2/": w3cOdrl,
35
93
  "http://www.w3.org/ns/odrl.jsonld": w3cOdrl,
36
- // W3C Activity Streams
37
- "https://www.w3.org/ns/activitystreams#": w3cActivityStreams,
38
- // W3C Credentials
39
- "https://www.w3.org/ns/credentials/v2": w3cVc,
40
- "https://w3id.org/security/suites/jws-2020/v1": w3IdJws,
41
- // UN/CEFACT
42
- "https://vocabulary.uncefact.org": unCefact,
43
- // Dublin Core
44
- "http://purl.org/dc/terms/": dcTerms,
45
- "http://purl.org/dc/dcmitype/": dcmitype,
46
- "https://schema.twindev.org/dublin-core/terms.jsonld": dcTerms,
47
- "https://schema.twindev.org/dublin-core/dcmitype.jsonld": dcmitype,
48
- // IDS Contract Negotiation
49
- "https://w3id.org/dspace/2024/1/context.json": dataspaceProtocol,
50
- "https://w3id.org/dspace/2025/1/context.jsonld": dataspaceProtocol,
51
- // Foaf
52
- "https://schema.twindev.org/foaf/": foaf,
53
- "https://schema.twindev.org/foaf/types.jsonld": foaf,
54
- "http://xmlns.com/foaf/0.1/": foaf,
55
94
  // W3C RDF
56
95
  "https://schema.twindev.org/w3c-rdf/": w3cRdf,
57
96
  "https://schema.twindev.org/w3c-rdf/types.jsonld": w3cRdf,