@twin.org/standards-dataspace-protocol 0.0.3-next.18 → 0.0.3-next.19

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.
Files changed (26) hide show
  1. package/dist/es/dataTypes/dataspaceProtocolDataTypes.js +0 -3
  2. package/dist/es/dataTypes/dataspaceProtocolDataTypes.js.map +1 -1
  3. package/dist/es/models/dataspaceProtocolContexts.js +1 -1
  4. package/dist/es/models/dataspaceProtocolContexts.js.map +1 -1
  5. package/dist/es/schemas/DataspaceProtocolCatalogError.json +4 -4
  6. package/dist/es/schemas/DataspaceProtocolCatalogRequestMessage.json +4 -4
  7. package/dist/es/schemas/DataspaceProtocolContractAgreementMessage.json +4 -4
  8. package/dist/es/schemas/DataspaceProtocolContractAgreementVerificationMessage.json +4 -4
  9. package/dist/es/schemas/DataspaceProtocolContractNegotiation.json +4 -4
  10. package/dist/es/schemas/DataspaceProtocolContractNegotiationError.json +4 -4
  11. package/dist/es/schemas/DataspaceProtocolContractNegotiationEventMessage.json +4 -4
  12. package/dist/es/schemas/DataspaceProtocolContractNegotiationTerminationMessage.json +4 -4
  13. package/dist/es/schemas/DataspaceProtocolContractOfferMessage.json +4 -4
  14. package/dist/es/schemas/DataspaceProtocolContractRequestMessage.json +4 -4
  15. package/dist/es/schemas/DataspaceProtocolDatasetRequestMessage.json +4 -4
  16. package/dist/es/schemas/DataspaceProtocolTransferCompletionMessage.json +4 -4
  17. package/dist/es/schemas/DataspaceProtocolTransferError.json +4 -4
  18. package/dist/es/schemas/DataspaceProtocolTransferProcess.json +4 -4
  19. package/dist/es/schemas/DataspaceProtocolTransferRequestMessage.json +4 -4
  20. package/dist/es/schemas/DataspaceProtocolTransferStartMessage.json +4 -4
  21. package/dist/es/schemas/DataspaceProtocolTransferSuspensionMessage.json +4 -4
  22. package/dist/es/schemas/DataspaceProtocolTransferTerminationMessage.json +4 -4
  23. package/dist/types/models/dataspaceProtocolContexts.d.ts +1 -1
  24. package/docs/changelog.md +17 -0
  25. package/docs/reference/variables/DataspaceProtocolContexts.md +1 -1
  26. package/package.json +3 -3
@@ -17,9 +17,6 @@ export class DataspaceProtocolDataTypes {
17
17
  // This prevents matching sub-paths like odrl-profile.jsonld or context.jsonld
18
18
  const escapedNamespace = DataspaceProtocolContexts.Namespace.replace(/[$()*+.?[\\\]^{|}]/g, "\\$&");
19
19
  JsonLdProcessor.addRedirect(new RegExp(`^${escapedNamespace}$`), DataspaceProtocolContexts.JsonLdContext);
20
- // Redirect Context to JsonLdContext for JSON-LD processing
21
- const escapedContext = DataspaceProtocolContexts.Context.replace(/[$()*+.?[\\\]^{|}]/g, "\\$&");
22
- JsonLdProcessor.addRedirect(new RegExp(`^${escapedContext}$`), DataspaceProtocolContexts.JsonLdContext);
23
20
  }
24
21
  /**
25
22
  * Register all the data types.
@@ -1 +1 @@
1
- {"version":3,"file":"dataspaceProtocolDataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/dataspaceProtocolDataTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAEnF;;GAEG;AACH,MAAM,OAAO,0BAA0B;IACtC;;OAEG;IACI,MAAM,CAAC,iBAAiB;QAC9B,gFAAgF;QAChF,8EAA8E;QAC9E,MAAM,gBAAgB,GAAG,yBAAyB,CAAC,SAAS,CAAC,OAAO,CACnE,qBAAqB,EACrB,MAAM,CACN,CAAC;QACF,eAAe,CAAC,WAAW,CAC1B,IAAI,MAAM,CAAC,IAAI,gBAAgB,GAAG,CAAC,EACnC,yBAAyB,CAAC,aAAa,CACvC,CAAC;QACF,2DAA2D;QAC3D,MAAM,cAAc,GAAG,yBAAyB,CAAC,OAAO,CAAC,OAAO,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC;QAChG,eAAe,CAAC,WAAW,CAC1B,IAAI,MAAM,CAAC,IAAI,cAAc,GAAG,CAAC,EACjC,yBAAyB,CAAC,aAAa,CACvC,CAAC;IACH,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,aAAa;QAC1B,4BAA4B,CAAC,aAAa,EAAE,CAAC;QAC7C,gBAAgB,CAAC,aAAa,EAAE,CAAC;QACjC,wBAAwB,CAAC,aAAa,EAAE,CAAC;IAC1C,CAAC;CACD","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { JsonLdProcessor } from \"@twin.org/data-json-ld\";\nimport { CatalogDataTypes } from \"./catalogDataTypes.js\";\nimport { ContractNegotiationDataTypes } from \"./contractNegotiationDataTypes.js\";\nimport { TransferProcessDataTypes } from \"./transferProcessDataTypes.js\";\nimport { DataspaceProtocolContexts } from \"../models/dataspaceProtocolContexts.js\";\n\n/**\n * Handle all the data types for Dataspace Protocol.\n */\nexport class DataspaceProtocolDataTypes {\n\t/**\n\t * Register the JSON-LD Redirects.\n\t */\n\tpublic static registerRedirects(): void {\n\t\t// Escape regex special characters and anchor to match exactly the namespace URL\n\t\t// This prevents matching sub-paths like odrl-profile.jsonld or context.jsonld\n\t\tconst escapedNamespace = DataspaceProtocolContexts.Namespace.replace(\n\t\t\t/[$()*+.?[\\\\\\]^{|}]/g,\n\t\t\t\"\\\\$&\"\n\t\t);\n\t\tJsonLdProcessor.addRedirect(\n\t\t\tnew RegExp(`^${escapedNamespace}$`),\n\t\t\tDataspaceProtocolContexts.JsonLdContext\n\t\t);\n\t\t// Redirect Context to JsonLdContext for JSON-LD processing\n\t\tconst escapedContext = DataspaceProtocolContexts.Context.replace(/[$()*+.?[\\\\\\]^{|}]/g, \"\\\\$&\");\n\t\tJsonLdProcessor.addRedirect(\n\t\t\tnew RegExp(`^${escapedContext}$`),\n\t\t\tDataspaceProtocolContexts.JsonLdContext\n\t\t);\n\t}\n\n\t/**\n\t * Register all the data types.\n\t */\n\tpublic static registerTypes(): void {\n\t\tContractNegotiationDataTypes.registerTypes();\n\t\tCatalogDataTypes.registerTypes();\n\t\tTransferProcessDataTypes.registerTypes();\n\t}\n}\n"]}
1
+ {"version":3,"file":"dataspaceProtocolDataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/dataspaceProtocolDataTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAEnF;;GAEG;AACH,MAAM,OAAO,0BAA0B;IACtC;;OAEG;IACI,MAAM,CAAC,iBAAiB;QAC9B,gFAAgF;QAChF,8EAA8E;QAC9E,MAAM,gBAAgB,GAAG,yBAAyB,CAAC,SAAS,CAAC,OAAO,CACnE,qBAAqB,EACrB,MAAM,CACN,CAAC;QACF,eAAe,CAAC,WAAW,CAC1B,IAAI,MAAM,CAAC,IAAI,gBAAgB,GAAG,CAAC,EACnC,yBAAyB,CAAC,aAAa,CACvC,CAAC;IACH,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,aAAa;QAC1B,4BAA4B,CAAC,aAAa,EAAE,CAAC;QAC7C,gBAAgB,CAAC,aAAa,EAAE,CAAC;QACjC,wBAAwB,CAAC,aAAa,EAAE,CAAC;IAC1C,CAAC;CACD","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { JsonLdProcessor } from \"@twin.org/data-json-ld\";\nimport { CatalogDataTypes } from \"./catalogDataTypes.js\";\nimport { ContractNegotiationDataTypes } from \"./contractNegotiationDataTypes.js\";\nimport { TransferProcessDataTypes } from \"./transferProcessDataTypes.js\";\nimport { DataspaceProtocolContexts } from \"../models/dataspaceProtocolContexts.js\";\n\n/**\n * Handle all the data types for Dataspace Protocol.\n */\nexport class DataspaceProtocolDataTypes {\n\t/**\n\t * Register the JSON-LD Redirects.\n\t */\n\tpublic static registerRedirects(): void {\n\t\t// Escape regex special characters and anchor to match exactly the namespace URL\n\t\t// This prevents matching sub-paths like odrl-profile.jsonld or context.jsonld\n\t\tconst escapedNamespace = DataspaceProtocolContexts.Namespace.replace(\n\t\t\t/[$()*+.?[\\\\\\]^{|}]/g,\n\t\t\t\"\\\\$&\"\n\t\t);\n\t\tJsonLdProcessor.addRedirect(\n\t\t\tnew RegExp(`^${escapedNamespace}$`),\n\t\t\tDataspaceProtocolContexts.JsonLdContext\n\t\t);\n\t}\n\n\t/**\n\t * Register all the data types.\n\t */\n\tpublic static registerTypes(): void {\n\t\tContractNegotiationDataTypes.registerTypes();\n\t\tCatalogDataTypes.registerTypes();\n\t\tTransferProcessDataTypes.registerTypes();\n\t}\n}\n"]}
@@ -12,7 +12,7 @@ export const DataspaceProtocolContexts = {
12
12
  /**
13
13
  * The value to use in @context.
14
14
  */
15
- Context: "https://w3id.org/dspace/2025/1",
15
+ Context: "https://w3id.org/dspace/2025/1/context.jsonld",
16
16
  /**
17
17
  * The JSON-LD Context URL.
18
18
  */
@@ -1 +1 @@
1
- {"version":3,"file":"dataspaceProtocolContexts.js","sourceRoot":"","sources":["../../../src/models/dataspaceProtocolContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACxC;;OAEG;IACH,SAAS,EAAE,iCAAiC;IAE5C;;OAEG;IACH,OAAO,EAAE,gCAAgC;IAEzC;;OAEG;IACH,aAAa,EAAE,+CAA+C;CACrD,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts for Dataspace Protocol Protocol.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DataspaceProtocolContexts = {\n\t/**\n\t * The canonical RDF namespace URI.\n\t */\n\tNamespace: \"https://w3id.org/dspace/2025/1/\",\n\n\t/**\n\t * The value to use in @context.\n\t */\n\tContext: \"https://w3id.org/dspace/2025/1\",\n\n\t/**\n\t * The JSON-LD Context URL.\n\t */\n\tJsonLdContext: \"https://w3id.org/dspace/2025/1/context.jsonld\"\n} as const;\n\n/**\n * The contexts for Dataspace Protocol Protocol.\n */\nexport type DataspaceProtocolContexts =\n\t(typeof DataspaceProtocolContexts)[keyof typeof DataspaceProtocolContexts];\n"]}
1
+ {"version":3,"file":"dataspaceProtocolContexts.js","sourceRoot":"","sources":["../../../src/models/dataspaceProtocolContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACxC;;OAEG;IACH,SAAS,EAAE,iCAAiC;IAE5C;;OAEG;IACH,OAAO,EAAE,+CAA+C;IAExD;;OAEG;IACH,aAAa,EAAE,+CAA+C;CACrD,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts for Dataspace Protocol Protocol.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DataspaceProtocolContexts = {\n\t/**\n\t * The canonical RDF namespace URI.\n\t */\n\tNamespace: \"https://w3id.org/dspace/2025/1/\",\n\n\t/**\n\t * The value to use in @context.\n\t */\n\tContext: \"https://w3id.org/dspace/2025/1/context.jsonld\",\n\n\t/**\n\t * The JSON-LD Context URL.\n\t */\n\tJsonLdContext: \"https://w3id.org/dspace/2025/1/context.jsonld\"\n} as const;\n\n/**\n * The contexts for Dataspace Protocol Protocol.\n */\nexport type DataspaceProtocolContexts =\n\t(typeof DataspaceProtocolContexts)[keyof typeof DataspaceProtocolContexts];\n"]}
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,13 +9,13 @@
9
9
  "anyOf": [
10
10
  {
11
11
  "type": "string",
12
- "const": "https://w3id.org/dspace/2025/1"
12
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
13
13
  },
14
14
  {
15
15
  "type": "array",
16
16
  "items": {
17
17
  "type": "string",
18
- "const": "https://w3id.org/dspace/2025/1"
18
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
19
19
  },
20
20
  "minItems": 1,
21
21
  "maxItems": 1
@@ -26,7 +26,7 @@
26
26
  "prefixItems": [
27
27
  {
28
28
  "type": "string",
29
- "const": "https://w3id.org/dspace/2025/1"
29
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
30
30
  },
31
31
  {
32
32
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "string",
48
- "const": "https://w3id.org/dspace/2025/1"
48
+ "const": "https://w3id.org/dspace/2025/1/context.jsonld"
49
49
  }
50
50
  ],
51
51
  "items": {
@@ -9,7 +9,7 @@ export declare const DataspaceProtocolContexts: {
9
9
  /**
10
10
  * The value to use in @context.
11
11
  */
12
- readonly Context: "https://w3id.org/dspace/2025/1";
12
+ readonly Context: "https://w3id.org/dspace/2025/1/context.jsonld";
13
13
  /**
14
14
  * The JSON-LD Context URL.
15
15
  */
package/docs/changelog.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.19](https://github.com/twinfoundation/standards/compare/standards-dataspace-protocol-v0.0.3-next.18...standards-dataspace-protocol-v0.0.3-next.19) (2026-01-21)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * dspace protocol context ([769c758](https://github.com/twinfoundation/standards/commit/769c7583b11db681c1fde66713976112b7f12de8))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/standards-w3c-dcat bumped from 0.0.3-next.18 to 0.0.3-next.19
16
+ * @twin.org/standards-w3c-odrl bumped from 0.0.3-next.18 to 0.0.3-next.19
17
+ * devDependencies
18
+ * @twin.org/standards-ld-contexts bumped from 0.0.3-next.18 to 0.0.3-next.19
19
+
3
20
  ## [0.0.3-next.18](https://github.com/twinfoundation/standards/compare/standards-dataspace-protocol-v0.0.3-next.17...standards-dataspace-protocol-v0.0.3-next.18) (2026-01-21)
4
21
 
5
22
 
@@ -14,7 +14,7 @@ The canonical RDF namespace URI.
14
14
 
15
15
  ### Context
16
16
 
17
- > `readonly` **Context**: `"https://w3id.org/dspace/2025/1"` = `"https://w3id.org/dspace/2025/1"`
17
+ > `readonly` **Context**: `"https://w3id.org/dspace/2025/1/context.jsonld"` = `"https://w3id.org/dspace/2025/1/context.jsonld"`
18
18
 
19
19
  The value to use in @context.
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-dataspace-protocol",
3
- "version": "0.0.3-next.18",
3
+ "version": "0.0.3-next.19",
4
4
  "description": "Models which define the structure of Dataspace Protocol",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,8 +17,8 @@
17
17
  "@twin.org/core": "next",
18
18
  "@twin.org/data-core": "next",
19
19
  "@twin.org/data-json-ld": "next",
20
- "@twin.org/standards-w3c-dcat": "0.0.3-next.18",
21
- "@twin.org/standards-w3c-odrl": "0.0.3-next.18",
20
+ "@twin.org/standards-w3c-dcat": "0.0.3-next.19",
21
+ "@twin.org/standards-w3c-odrl": "0.0.3-next.19",
22
22
  "@twin.org/web": "next"
23
23
  },
24
24
  "main": "./dist/es/index.js",