@twin.org/standards-dataspace-protocol 0.0.3-next.3 → 0.0.3-next.5

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 (153) hide show
  1. package/dist/es/dataTypes/catalogDataTypes.js +32 -0
  2. package/dist/es/dataTypes/catalogDataTypes.js.map +1 -0
  3. package/dist/es/dataTypes/contractNegotiationDataTypes.js +22 -29
  4. package/dist/es/dataTypes/contractNegotiationDataTypes.js.map +1 -1
  5. package/dist/es/dataTypes/dataspaceProtocolDataTypes.js +27 -0
  6. package/dist/es/dataTypes/dataspaceProtocolDataTypes.js.map +1 -0
  7. package/dist/es/dataTypes/transferProcessDataTypes.js +68 -0
  8. package/dist/es/dataTypes/transferProcessDataTypes.js.map +1 -0
  9. package/dist/es/index.js +25 -4
  10. package/dist/es/index.js.map +1 -1
  11. package/dist/es/models/catalog/ICatalogError.js +2 -0
  12. package/dist/es/models/catalog/ICatalogError.js.map +1 -0
  13. package/dist/es/models/catalog/ICatalogRequestMessage.js +2 -0
  14. package/dist/es/models/catalog/ICatalogRequestMessage.js.map +1 -0
  15. package/dist/es/models/catalog/IDatasetRequestMessage.js +2 -0
  16. package/dist/es/models/catalog/IDatasetRequestMessage.js.map +1 -0
  17. package/dist/es/models/catalog/catalogTypes.js +22 -0
  18. package/dist/es/models/catalog/catalogTypes.js.map +1 -0
  19. package/dist/es/models/contractNegotiation/IContractAgreementMessage.js.map +1 -1
  20. package/dist/es/models/contractNegotiation/IContractAgreementVerificationMessage.js.map +1 -1
  21. package/dist/es/models/contractNegotiation/IContractNegotiation.js.map +1 -1
  22. package/dist/es/models/contractNegotiation/IContractNegotiationError.js.map +1 -1
  23. package/dist/es/models/contractNegotiation/IContractNegotiationEventMessage.js.map +1 -1
  24. package/dist/es/models/contractNegotiation/IContractNegotiationTerminationMessage.js.map +1 -1
  25. package/dist/es/models/contractNegotiation/IContractOfferMessage.js.map +1 -1
  26. package/dist/es/models/contractNegotiation/IContractRequestMessage.js.map +1 -1
  27. package/dist/es/models/contractNegotiation/contractNegotiationTypes.js +1 -1
  28. package/dist/es/models/contractNegotiation/contractNegotiationTypes.js.map +1 -1
  29. package/dist/es/models/contractNegotiation/types/contractNegotiationEventType.js +1 -1
  30. package/dist/es/models/contractNegotiation/types/contractNegotiationEventType.js.map +1 -1
  31. package/dist/es/models/contractNegotiation/types/contractNegotiationStateType.js +1 -1
  32. package/dist/es/models/contractNegotiation/types/contractNegotiationStateType.js.map +1 -1
  33. package/dist/es/models/dataspaceProtocolContextType.js +2 -0
  34. package/dist/es/models/dataspaceProtocolContextType.js.map +1 -0
  35. package/dist/es/models/dataspaceProtocolContexts.js +17 -0
  36. package/dist/es/models/dataspaceProtocolContexts.js.map +1 -0
  37. package/dist/es/models/transferProcess/IDataAddress.js +2 -0
  38. package/dist/es/models/transferProcess/IDataAddress.js.map +1 -0
  39. package/dist/es/models/transferProcess/IEndpointProperty.js +2 -0
  40. package/dist/es/models/transferProcess/IEndpointProperty.js.map +1 -0
  41. package/dist/es/models/transferProcess/ITransferCompletionMessage.js +2 -0
  42. package/dist/es/models/transferProcess/ITransferCompletionMessage.js.map +1 -0
  43. package/dist/es/models/transferProcess/ITransferError.js +2 -0
  44. package/dist/es/models/transferProcess/ITransferError.js.map +1 -0
  45. package/dist/es/models/transferProcess/ITransferProcess.js +2 -0
  46. package/dist/es/models/transferProcess/ITransferProcess.js.map +1 -0
  47. package/dist/es/models/transferProcess/ITransferRequestMessage.js +2 -0
  48. package/dist/es/models/transferProcess/ITransferRequestMessage.js.map +1 -0
  49. package/dist/es/models/transferProcess/ITransferStartMessage.js +2 -0
  50. package/dist/es/models/transferProcess/ITransferStartMessage.js.map +1 -0
  51. package/dist/es/models/transferProcess/ITransferSuspensionMessage.js +4 -0
  52. package/dist/es/models/transferProcess/ITransferSuspensionMessage.js.map +1 -0
  53. package/dist/es/models/transferProcess/ITransferTerminationMessage.js +2 -0
  54. package/dist/es/models/transferProcess/ITransferTerminationMessage.js.map +1 -0
  55. package/dist/es/models/transferProcess/transferProcessTypes.js +46 -0
  56. package/dist/es/models/transferProcess/transferProcessTypes.js.map +1 -0
  57. package/dist/es/models/transferProcess/types/transferProcessStateType.js +30 -0
  58. package/dist/es/models/transferProcess/types/transferProcessStateType.js.map +1 -0
  59. package/dist/es/schemas/CatalogError.json +74 -0
  60. package/dist/es/schemas/CatalogRequestMessage.json +69 -0
  61. package/dist/es/schemas/ContractAgreementMessage.json +10 -5
  62. package/dist/es/schemas/ContractAgreementVerificationMessage.json +10 -5
  63. package/dist/es/schemas/ContractNegotiation.json +10 -5
  64. package/dist/es/schemas/ContractNegotiationError.json +11 -39
  65. package/dist/es/schemas/ContractNegotiationEventMessage.json +10 -5
  66. package/dist/es/schemas/ContractNegotiationTerminationMessage.json +10 -5
  67. package/dist/es/schemas/ContractOfferMessage.json +10 -5
  68. package/dist/es/schemas/ContractRequestMessage.json +10 -5
  69. package/dist/es/schemas/DataAddress.json +33 -0
  70. package/dist/es/schemas/DatasetRequestMessage.json +69 -0
  71. package/dist/es/schemas/EndpointProperty.json +27 -0
  72. package/dist/es/schemas/TransferCompletionMessage.json +74 -0
  73. package/dist/es/schemas/TransferError.json +83 -0
  74. package/dist/es/schemas/TransferProcess.json +109 -0
  75. package/dist/es/schemas/TransferRequestMessage.json +88 -0
  76. package/dist/es/schemas/TransferStartMessage.json +78 -0
  77. package/dist/es/schemas/TransferSuspensionMessage.json +83 -0
  78. package/dist/es/schemas/TransferTerminationMessage.json +83 -0
  79. package/dist/types/dataTypes/catalogDataTypes.d.ts +9 -0
  80. package/dist/types/dataTypes/contractNegotiationDataTypes.d.ts +1 -5
  81. package/dist/types/dataTypes/dataspaceProtocolDataTypes.d.ts +13 -0
  82. package/dist/types/dataTypes/transferProcessDataTypes.d.ts +9 -0
  83. package/dist/types/index.d.ts +21 -3
  84. package/dist/types/models/catalog/ICatalogError.d.ts +24 -0
  85. package/dist/types/models/catalog/ICatalogRequestMessage.d.ts +20 -0
  86. package/dist/types/models/catalog/IDatasetRequestMessage.d.ts +20 -0
  87. package/dist/types/models/catalog/catalogTypes.d.ts +22 -0
  88. package/dist/types/models/contractNegotiation/IContractAgreementMessage.d.ts +2 -2
  89. package/dist/types/models/contractNegotiation/IContractAgreementVerificationMessage.d.ts +2 -2
  90. package/dist/types/models/contractNegotiation/IContractNegotiation.d.ts +2 -2
  91. package/dist/types/models/contractNegotiation/IContractNegotiationError.d.ts +3 -13
  92. package/dist/types/models/contractNegotiation/IContractNegotiationEventMessage.d.ts +2 -2
  93. package/dist/types/models/contractNegotiation/IContractNegotiationTerminationMessage.d.ts +2 -2
  94. package/dist/types/models/contractNegotiation/IContractOfferMessage.d.ts +2 -2
  95. package/dist/types/models/contractNegotiation/IContractRequestMessage.d.ts +2 -2
  96. package/dist/types/models/dataspaceProtocolContextType.d.ts +14 -0
  97. package/dist/types/models/dataspaceProtocolContexts.d.ts +17 -0
  98. package/dist/types/models/transferProcess/IDataAddress.d.ts +24 -0
  99. package/dist/types/models/transferProcess/IEndpointProperty.d.ts +19 -0
  100. package/dist/types/models/transferProcess/ITransferCompletionMessage.d.ts +24 -0
  101. package/dist/types/models/transferProcess/ITransferError.d.ts +32 -0
  102. package/dist/types/models/transferProcess/ITransferProcess.d.ts +29 -0
  103. package/dist/types/models/transferProcess/ITransferRequestMessage.d.ts +39 -0
  104. package/dist/types/models/transferProcess/ITransferStartMessage.d.ts +30 -0
  105. package/dist/types/models/transferProcess/ITransferSuspensionMessage.d.ts +32 -0
  106. package/dist/types/models/transferProcess/ITransferTerminationMessage.d.ts +32 -0
  107. package/dist/types/models/transferProcess/transferProcessTypes.d.ts +46 -0
  108. package/dist/types/models/transferProcess/types/transferProcessStateType.d.ts +30 -0
  109. package/docs/changelog.md +35 -0
  110. package/docs/reference/classes/CatalogDataTypes.md +25 -0
  111. package/docs/reference/classes/ContractNegotiationDataTypes.md +1 -13
  112. package/docs/reference/classes/DataspaceProtocolDataTypes.md +37 -0
  113. package/docs/reference/classes/TransferProcessDataTypes.md +25 -0
  114. package/docs/reference/index.md +24 -3
  115. package/docs/reference/interfaces/ICatalogError.md +36 -0
  116. package/docs/reference/interfaces/ICatalogRequestMessage.md +28 -0
  117. package/docs/reference/interfaces/IContractAgreementMessage.md +1 -1
  118. package/docs/reference/interfaces/IContractAgreementVerificationMessage.md +1 -1
  119. package/docs/reference/interfaces/IContractNegotiation.md +1 -1
  120. package/docs/reference/interfaces/IContractNegotiationError.md +2 -26
  121. package/docs/reference/interfaces/IContractNegotiationEventMessage.md +1 -1
  122. package/docs/reference/interfaces/IContractNegotiationTerminationMessage.md +1 -1
  123. package/docs/reference/interfaces/IContractOfferMessage.md +1 -1
  124. package/docs/reference/interfaces/IContractRequestMessage.md +1 -1
  125. package/docs/reference/interfaces/IDataAddress.md +36 -0
  126. package/docs/reference/interfaces/IDatasetRequestMessage.md +28 -0
  127. package/docs/reference/interfaces/IEndpointProperty.md +28 -0
  128. package/docs/reference/interfaces/ITransferCompletionMessage.md +36 -0
  129. package/docs/reference/interfaces/ITransferError.md +52 -0
  130. package/docs/reference/interfaces/ITransferProcess.md +74 -0
  131. package/docs/reference/interfaces/ITransferRequestMessage.md +62 -0
  132. package/docs/reference/interfaces/ITransferStartMessage.md +45 -0
  133. package/docs/reference/interfaces/ITransferSuspensionMessage.md +52 -0
  134. package/docs/reference/interfaces/ITransferTerminationMessage.md +52 -0
  135. package/docs/reference/type-aliases/CatalogTypes.md +5 -0
  136. package/docs/reference/type-aliases/DataspaceProtocolContextType.md +5 -0
  137. package/docs/reference/type-aliases/DataspaceProtocolContexts.md +5 -0
  138. package/docs/reference/type-aliases/TransferProcessStateType.md +5 -0
  139. package/docs/reference/type-aliases/TransferProcessTypes.md +5 -0
  140. package/docs/reference/variables/CatalogTypes.md +26 -0
  141. package/docs/reference/variables/DataspaceProtocolContexts.md +19 -0
  142. package/docs/reference/variables/TransferProcessStateType.md +38 -0
  143. package/docs/reference/variables/TransferProcessTypes.md +62 -0
  144. package/package.json +3 -2
  145. package/dist/es/models/contractNegotiation/contractNegotiationContextType.js +0 -2
  146. package/dist/es/models/contractNegotiation/contractNegotiationContextType.js.map +0 -1
  147. package/dist/es/models/contractNegotiation/contractNegotiationContexts.js +0 -17
  148. package/dist/es/models/contractNegotiation/contractNegotiationContexts.js.map +0 -1
  149. package/dist/types/models/contractNegotiation/contractNegotiationContextType.d.ts +0 -14
  150. package/dist/types/models/contractNegotiation/contractNegotiationContexts.d.ts +0 -17
  151. package/docs/reference/type-aliases/ContractNegotiationContextType.md +0 -5
  152. package/docs/reference/type-aliases/ContractNegotiationContexts.md +0 -5
  153. package/docs/reference/variables/ContractNegotiationContexts.md +0 -19
@@ -0,0 +1,17 @@
1
+ // Copyright 2025 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * The contexts for Dataspace Protocol Protocol.
5
+ */
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ export const DataspaceProtocolContexts = {
8
+ /**
9
+ * The context root for Dataspace Protocol Protocol.
10
+ */
11
+ ContextRoot: "https://w3id.org/dspace/2025/1/context.json",
12
+ /**
13
+ * The context redirect for Dataspace Protocol Protocol.
14
+ */
15
+ ContextRedirect: "https://w3id.org/dspace/2025/1/context.jsonld"
16
+ };
17
+ //# sourceMappingURL=dataspaceProtocolContexts.js.map
@@ -0,0 +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,WAAW,EAAE,6CAA6C;IAE1D;;OAEG;IACH,eAAe,EAAE,+CAA+C;CACvD,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 context root for Dataspace Protocol Protocol.\n\t */\n\tContextRoot: \"https://w3id.org/dspace/2025/1/context.json\",\n\n\t/**\n\t * The context redirect for Dataspace Protocol Protocol.\n\t */\n\tContextRedirect: \"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"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IDataAddress.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDataAddress.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/IDataAddress.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IEndpointProperty } from \"./IEndpointProperty.js\";\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#lower-level-types\n */\nexport interface IDataAddress {\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof TransferProcessTypes.DataAddress;\n\n\t/**\n\t * The type of endpoint of this data address.\n\t */\n\tendpointType: string;\n\n\t/**\n\t * The endpoint of the data address\n\t */\n\tendpoint?: string;\n\n\t/**\n\t * Properties associated to the endpoint which might depend on the endpoint type.\n\t */\n\tendpointProperties?: IEndpointProperty[];\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IEndpointProperty.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IEndpointProperty.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/IEndpointProperty.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#lower-level-types\n */\nexport interface IEndpointProperty {\n\t/**\n\t * LD Type.\n\t */\n\t\"@type\": typeof TransferProcessTypes.EndpointProperty;\n\n\t/**\n\t * Property name.\n\t */\n\tname: string;\n\n\t/**\n\t * Property value.\n\t */\n\tvalue: string;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ITransferCompletionMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITransferCompletionMessage.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/ITransferCompletionMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-completion-message\n */\nexport interface ITransferCompletionMessage {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof TransferProcessTypes.TransferCompletionMessage;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: string;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ITransferError.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITransferError.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/ITransferError.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol#error-transfer-error\n */\nexport interface ITransferError {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof TransferProcessTypes.TransferError;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The error code.\n\t */\n\tcode?: string;\n\n\t/**\n\t * The error reason(s).\n\t */\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treason?: any[];\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ITransferProcess.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITransferProcess.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/ITransferProcess.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\nimport type { TransferProcessStateType } from \"./types/transferProcessStateType.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#ack-transfer-process\n */\nexport interface ITransferProcess {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof TransferProcessTypes.TransferProcess;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The transfer process state.\n\t */\n\tstate: typeof TransferProcessStateType;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ITransferRequestMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITransferRequestMessage.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/ITransferRequestMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { IDataAddress } from \"./IDataAddress.js\";\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-request-message\n */\nexport interface ITransferRequestMessage {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof TransferProcessTypes.TransferRequestMessage;\n\n\t/**\n\t * MUST refer to an existing Agreement between the Consumer and Provider.\n\t */\n\tagreementId: string;\n\n\t/**\n\t * MUST be a URI indicating where messages to the Consumer SHOULD be sent.\n\t */\n\tcallbackAddress: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * The format property is a format specified by a Distribution for the Dataset associated with the Agreement.\n\t * This is generally obtained from the Provider's Catalog.\n\t */\n\tformat: string;\n\n\t/**\n\t * If defined MUST contain a transport-specific set of properties for pushing the data.\n\t * It MAY include an endpoint, a temporary authorization via the endpointProperties property - depending on the endpointType.\n\t */\n\tdataAddress?: IDataAddress;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ITransferStartMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITransferStartMessage.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/ITransferStartMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { IDataAddress } from \"./IDataAddress.js\";\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-start-message\n */\nexport interface ITransferStartMessage {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof TransferProcessTypes.TransferStartMessage;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * MUST be provided if the current transfer is a pull transfer and\n\t * contains a transport-specific endpoint address for obtaining the data.\n\t */\n\tdataAddress?: IDataAddress;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2025 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=ITransferSuspensionMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITransferSuspensionMessage.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/ITransferSuspensionMessage.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-suspension-message\n */\nexport interface ITransferSuspensionMessage {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof TransferProcessTypes.TransferSuspensionMessage;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The suspension code.\n\t */\n\tcode?: string;\n\n\t/**\n\t * The suspension reason(s).\n\t */\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treason?: any[];\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ITransferTerminationMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITransferTerminationMessage.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/ITransferTerminationMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { TransferProcessTypes } from \"./transferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-termination-message\n */\nexport interface ITransferTerminationMessage {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof TransferProcessTypes.TransferTerminationMessage;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The termination code.\n\t */\n\tcode?: string;\n\n\t/**\n\t * The termination reason(s).\n\t */\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treason?: any[];\n}\n"]}
@@ -0,0 +1,46 @@
1
+ // Copyright 2025 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * The types for Dataspace Protocol Transfer Process.
5
+ * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#message-types-1
6
+ */
7
+ // eslint-disable-next-line @typescript-eslint/naming-convention
8
+ export const TransferProcessTypes = {
9
+ /**
10
+ * Transfer Request Message.
11
+ */
12
+ TransferRequestMessage: "TransferRequestMessage",
13
+ /**
14
+ * Transfer Start Message.
15
+ */
16
+ TransferStartMessage: "TransferStartMessage",
17
+ /**
18
+ * Transfer Suspension Message.
19
+ */
20
+ TransferSuspensionMessage: "TransferSuspensionMessage",
21
+ /**
22
+ * Transfer Completion Message.
23
+ */
24
+ TransferCompletionMessage: "TransferCompletionMessage",
25
+ /**
26
+ * Transfer Termination Message.
27
+ */
28
+ TransferTerminationMessage: "TransferTerminationMessage",
29
+ /**
30
+ * Data Address
31
+ */
32
+ DataAddress: "DataAddress",
33
+ /**
34
+ * Endpoint property.
35
+ */
36
+ EndpointProperty: "EndpointProperty",
37
+ /**
38
+ * Transfer Process
39
+ */
40
+ TransferProcess: "TransferProcess",
41
+ /**
42
+ * Transfer Error.
43
+ */
44
+ TransferError: "TransferError"
45
+ };
46
+ //# sourceMappingURL=transferProcessTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transferProcessTypes.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/transferProcessTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,oBAAoB,GAAG;IACnC;;OAEG;IACH,sBAAsB,EAAE,wBAAwB;IAEhD;;OAEG;IACH,oBAAoB,EAAE,sBAAsB;IAE5C;;OAEG;IACH,yBAAyB,EAAE,2BAA2B;IAEtD;;OAEG;IACH,yBAAyB,EAAE,2BAA2B;IAEtD;;OAEG;IACH,0BAA0B,EAAE,4BAA4B;IAExD;;OAEG;IACH,WAAW,EAAE,aAAa;IAE1B;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IAEpC;;OAEG;IACH,eAAe,EAAE,iBAAiB;IAElC;;OAEG;IACH,aAAa,EAAE,eAAe;CAC9B,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The types for Dataspace Protocol Transfer Process.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#message-types-1\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const TransferProcessTypes = {\n\t/**\n\t * Transfer Request Message.\n\t */\n\tTransferRequestMessage: \"TransferRequestMessage\",\n\n\t/**\n\t * Transfer Start Message.\n\t */\n\tTransferStartMessage: \"TransferStartMessage\",\n\n\t/**\n\t * Transfer Suspension Message.\n\t */\n\tTransferSuspensionMessage: \"TransferSuspensionMessage\",\n\n\t/**\n\t * Transfer Completion Message.\n\t */\n\tTransferCompletionMessage: \"TransferCompletionMessage\",\n\n\t/**\n\t * Transfer Termination Message.\n\t */\n\tTransferTerminationMessage: \"TransferTerminationMessage\",\n\n\t/**\n\t * Data Address\n\t */\n\tDataAddress: \"DataAddress\",\n\n\t/**\n\t * Endpoint property.\n\t */\n\tEndpointProperty: \"EndpointProperty\",\n\n\t/**\n\t * Transfer Process\n\t */\n\tTransferProcess: \"TransferProcess\",\n\n\t/**\n\t * Transfer Error.\n\t */\n\tTransferError: \"TransferError\"\n};\n\n/**\n * The types for Dataspace Protocol Transfer.\n */\nexport type TransferProcessTypes = (typeof TransferProcessTypes)[keyof typeof TransferProcessTypes];\n"]}
@@ -0,0 +1,30 @@
1
+ // Copyright 2025 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * The states for Dataspace Protocol Transfer Process.
5
+ * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#ack-transfer-process
6
+ */
7
+ // eslint-disable-next-line @typescript-eslint/naming-convention
8
+ export const TransferProcessStateType = {
9
+ /**
10
+ * Completed
11
+ */
12
+ COMPLETED: "COMPLETED",
13
+ /**
14
+ * Requested
15
+ */
16
+ REQUESTED: "REQUESTED",
17
+ /**
18
+ * Started
19
+ */
20
+ STARTED: "STARTED",
21
+ /**
22
+ * Suspended
23
+ */
24
+ SUSPENDED: "SUSPENDED",
25
+ /**
26
+ * Terminated
27
+ */
28
+ TERMINATED: "TERMINATED"
29
+ };
30
+ //# sourceMappingURL=transferProcessStateType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transferProcessStateType.js","sourceRoot":"","sources":["../../../../../src/models/transferProcess/types/transferProcessStateType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACvC;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,UAAU,EAAE,YAAY;CACxB,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The states for Dataspace Protocol Transfer Process.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#ack-transfer-process\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const TransferProcessStateType = {\n\t/**\n\t * Completed\n\t */\n\tCOMPLETED: \"COMPLETED\",\n\n\t/**\n\t * Requested\n\t */\n\tREQUESTED: \"REQUESTED\",\n\n\t/**\n\t * Started\n\t */\n\tSTARTED: \"STARTED\",\n\n\t/**\n\t * Suspended\n\t */\n\tSUSPENDED: \"SUSPENDED\",\n\n\t/**\n\t * Terminated\n\t */\n\tTERMINATED: \"TERMINATED\"\n};\n\n/**\n * The types for Dataspace Protocol Transfer.\n */\nexport type TransferProcessStateType =\n\t(typeof TransferProcessStateType)[keyof typeof TransferProcessStateType];\n"]}
@@ -0,0 +1,74 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schema.twindev.org/dataspace-protocol/CatalogError",
4
+ "description": "Interface for Dataspace Protocol Catalog Error. https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#error-catalog-error",
5
+ "type": "object",
6
+ "properties": {
7
+ "@context": {
8
+ "description": "The Dataspace Protocol Protocol JSON-LD context type.",
9
+ "anyOf": [
10
+ {
11
+ "type": "array",
12
+ "items": {
13
+ "type": "string",
14
+ "const": "https://w3id.org/dspace/2025/1/context.json"
15
+ },
16
+ "minItems": 1,
17
+ "maxItems": 1
18
+ },
19
+ {
20
+ "type": "array",
21
+ "minItems": 2,
22
+ "prefixItems": [
23
+ {
24
+ "type": "string",
25
+ "const": "https://w3id.org/dspace/2025/1/context.json"
26
+ },
27
+ {
28
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
29
+ }
30
+ ],
31
+ "items": {
32
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
33
+ }
34
+ },
35
+ {
36
+ "type": "array",
37
+ "minItems": 2,
38
+ "prefixItems": [
39
+ {
40
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
41
+ },
42
+ {
43
+ "type": "string",
44
+ "const": "https://w3id.org/dspace/2025/1/context.json"
45
+ }
46
+ ],
47
+ "items": {
48
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
49
+ }
50
+ }
51
+ ]
52
+ },
53
+ "@type": {
54
+ "type": "string",
55
+ "const": "CatalogError",
56
+ "description": "The type of the message."
57
+ },
58
+ "code": {
59
+ "type": "string",
60
+ "description": "The error code."
61
+ },
62
+ "reason": {
63
+ "type": "array",
64
+ "items": {},
65
+ "description": "The error reason(s)."
66
+ }
67
+ },
68
+ "required": [
69
+ "@context",
70
+ "@type",
71
+ "code"
72
+ ],
73
+ "additionalProperties": false
74
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schema.twindev.org/dataspace-protocol/CatalogRequestMessage",
4
+ "description": "Interface for Dataspace Protocol Catalog Request Messages. https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#catalog-request-message",
5
+ "type": "object",
6
+ "properties": {
7
+ "@context": {
8
+ "description": "The Dataspace Protocol Protocol JSON-LD context type.",
9
+ "anyOf": [
10
+ {
11
+ "type": "array",
12
+ "items": {
13
+ "type": "string",
14
+ "const": "https://w3id.org/dspace/2025/1/context.json"
15
+ },
16
+ "minItems": 1,
17
+ "maxItems": 1
18
+ },
19
+ {
20
+ "type": "array",
21
+ "minItems": 2,
22
+ "prefixItems": [
23
+ {
24
+ "type": "string",
25
+ "const": "https://w3id.org/dspace/2025/1/context.json"
26
+ },
27
+ {
28
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
29
+ }
30
+ ],
31
+ "items": {
32
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
33
+ }
34
+ },
35
+ {
36
+ "type": "array",
37
+ "minItems": 2,
38
+ "prefixItems": [
39
+ {
40
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
41
+ },
42
+ {
43
+ "type": "string",
44
+ "const": "https://w3id.org/dspace/2025/1/context.json"
45
+ }
46
+ ],
47
+ "items": {
48
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
49
+ }
50
+ }
51
+ ]
52
+ },
53
+ "@type": {
54
+ "type": "string",
55
+ "const": "CatalogRequestMessage",
56
+ "description": "The type of the message."
57
+ },
58
+ "filter": {
59
+ "type": "array",
60
+ "items": {},
61
+ "description": "An implementation-specific query or filter expression."
62
+ }
63
+ },
64
+ "required": [
65
+ "@context",
66
+ "@type"
67
+ ],
68
+ "additionalProperties": false
69
+ }
@@ -5,11 +5,16 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "@context": {
8
- "description": "The Dataspace Protocol Contract Negotiation JSON-LD context type.",
8
+ "description": "The Dataspace Protocol Protocol JSON-LD context type.",
9
9
  "anyOf": [
10
10
  {
11
- "type": "string",
12
- "const": "https://w3id.org/dspace/2024/1/context.json"
11
+ "type": "array",
12
+ "items": {
13
+ "type": "string",
14
+ "const": "https://w3id.org/dspace/2025/1/context.json"
15
+ },
16
+ "minItems": 1,
17
+ "maxItems": 1
13
18
  },
14
19
  {
15
20
  "type": "array",
@@ -17,7 +22,7 @@
17
22
  "prefixItems": [
18
23
  {
19
24
  "type": "string",
20
- "const": "https://w3id.org/dspace/2024/1/context.json"
25
+ "const": "https://w3id.org/dspace/2025/1/context.json"
21
26
  },
22
27
  {
23
28
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -36,7 +41,7 @@
36
41
  },
37
42
  {
38
43
  "type": "string",
39
- "const": "https://w3id.org/dspace/2024/1/context.json"
44
+ "const": "https://w3id.org/dspace/2025/1/context.json"
40
45
  }
41
46
  ],
42
47
  "items": {
@@ -5,11 +5,16 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "@context": {
8
- "description": "The Dataspace Protocol Contract Negotiation JSON-LD context type.",
8
+ "description": "The Dataspace Protocol Protocol JSON-LD context type.",
9
9
  "anyOf": [
10
10
  {
11
- "type": "string",
12
- "const": "https://w3id.org/dspace/2024/1/context.json"
11
+ "type": "array",
12
+ "items": {
13
+ "type": "string",
14
+ "const": "https://w3id.org/dspace/2025/1/context.json"
15
+ },
16
+ "minItems": 1,
17
+ "maxItems": 1
13
18
  },
14
19
  {
15
20
  "type": "array",
@@ -17,7 +22,7 @@
17
22
  "prefixItems": [
18
23
  {
19
24
  "type": "string",
20
- "const": "https://w3id.org/dspace/2024/1/context.json"
25
+ "const": "https://w3id.org/dspace/2025/1/context.json"
21
26
  },
22
27
  {
23
28
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -36,7 +41,7 @@
36
41
  },
37
42
  {
38
43
  "type": "string",
39
- "const": "https://w3id.org/dspace/2024/1/context.json"
44
+ "const": "https://w3id.org/dspace/2025/1/context.json"
40
45
  }
41
46
  ],
42
47
  "items": {
@@ -5,11 +5,16 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "@context": {
8
- "description": "The Dataspace Protocol Contract Negotiation JSON-LD context type.",
8
+ "description": "The Dataspace Protocol Protocol JSON-LD context type.",
9
9
  "anyOf": [
10
10
  {
11
- "type": "string",
12
- "const": "https://w3id.org/dspace/2024/1/context.json"
11
+ "type": "array",
12
+ "items": {
13
+ "type": "string",
14
+ "const": "https://w3id.org/dspace/2025/1/context.json"
15
+ },
16
+ "minItems": 1,
17
+ "maxItems": 1
13
18
  },
14
19
  {
15
20
  "type": "array",
@@ -17,7 +22,7 @@
17
22
  "prefixItems": [
18
23
  {
19
24
  "type": "string",
20
- "const": "https://w3id.org/dspace/2024/1/context.json"
25
+ "const": "https://w3id.org/dspace/2025/1/context.json"
21
26
  },
22
27
  {
23
28
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -36,7 +41,7 @@
36
41
  },
37
42
  {
38
43
  "type": "string",
39
- "const": "https://w3id.org/dspace/2024/1/context.json"
44
+ "const": "https://w3id.org/dspace/2025/1/context.json"
40
45
  }
41
46
  ],
42
47
  "items": {
@@ -5,11 +5,16 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "@context": {
8
- "description": "The Dataspace Protocol Contract Negotiation JSON-LD context type.",
8
+ "description": "The Dataspace Protocol Protocol JSON-LD context type.",
9
9
  "anyOf": [
10
10
  {
11
- "type": "string",
12
- "const": "https://w3id.org/dspace/2024/1/context.json"
11
+ "type": "array",
12
+ "items": {
13
+ "type": "string",
14
+ "const": "https://w3id.org/dspace/2025/1/context.json"
15
+ },
16
+ "minItems": 1,
17
+ "maxItems": 1
13
18
  },
14
19
  {
15
20
  "type": "array",
@@ -17,7 +22,7 @@
17
22
  "prefixItems": [
18
23
  {
19
24
  "type": "string",
20
- "const": "https://w3id.org/dspace/2024/1/context.json"
25
+ "const": "https://w3id.org/dspace/2025/1/context.json"
21
26
  },
22
27
  {
23
28
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -36,7 +41,7 @@
36
41
  },
37
42
  {
38
43
  "type": "string",
39
- "const": "https://w3id.org/dspace/2024/1/context.json"
44
+ "const": "https://w3id.org/dspace/2025/1/context.json"
40
45
  }
41
46
  ],
42
47
  "items": {
@@ -64,41 +69,8 @@
64
69
  },
65
70
  "reason": {
66
71
  "type": "array",
67
- "items": {
68
- "type": "object",
69
- "properties": {
70
- "@value": {
71
- "type": "string"
72
- },
73
- "@language": {
74
- "type": "string"
75
- }
76
- },
77
- "required": [
78
- "@value"
79
- ],
80
- "additionalProperties": false
81
- },
72
+ "items": {},
82
73
  "description": "The error reason(s)."
83
- },
84
- "description": {
85
- "type": "array",
86
- "items": {
87
- "type": "object",
88
- "properties": {
89
- "@value": {
90
- "type": "string"
91
- },
92
- "@language": {
93
- "type": "string"
94
- }
95
- },
96
- "required": [
97
- "@value"
98
- ],
99
- "additionalProperties": false
100
- },
101
- "description": "The error description(s)."
102
74
  }
103
75
  },
104
76
  "required": [
@@ -5,11 +5,16 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "@context": {
8
- "description": "The Dataspace Protocol Contract Negotiation JSON-LD context type.",
8
+ "description": "The Dataspace Protocol Protocol JSON-LD context type.",
9
9
  "anyOf": [
10
10
  {
11
- "type": "string",
12
- "const": "https://w3id.org/dspace/2024/1/context.json"
11
+ "type": "array",
12
+ "items": {
13
+ "type": "string",
14
+ "const": "https://w3id.org/dspace/2025/1/context.json"
15
+ },
16
+ "minItems": 1,
17
+ "maxItems": 1
13
18
  },
14
19
  {
15
20
  "type": "array",
@@ -17,7 +22,7 @@
17
22
  "prefixItems": [
18
23
  {
19
24
  "type": "string",
20
- "const": "https://w3id.org/dspace/2024/1/context.json"
25
+ "const": "https://w3id.org/dspace/2025/1/context.json"
21
26
  },
22
27
  {
23
28
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -36,7 +41,7 @@
36
41
  },
37
42
  {
38
43
  "type": "string",
39
- "const": "https://w3id.org/dspace/2024/1/context.json"
44
+ "const": "https://w3id.org/dspace/2025/1/context.json"
40
45
  }
41
46
  ],
42
47
  "items": {
@@ -5,11 +5,16 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "@context": {
8
- "description": "The Dataspace Protocol Contract Negotiation JSON-LD context type.",
8
+ "description": "The Dataspace Protocol Protocol JSON-LD context type.",
9
9
  "anyOf": [
10
10
  {
11
- "type": "string",
12
- "const": "https://w3id.org/dspace/2024/1/context.json"
11
+ "type": "array",
12
+ "items": {
13
+ "type": "string",
14
+ "const": "https://w3id.org/dspace/2025/1/context.json"
15
+ },
16
+ "minItems": 1,
17
+ "maxItems": 1
13
18
  },
14
19
  {
15
20
  "type": "array",
@@ -17,7 +22,7 @@
17
22
  "prefixItems": [
18
23
  {
19
24
  "type": "string",
20
- "const": "https://w3id.org/dspace/2024/1/context.json"
25
+ "const": "https://w3id.org/dspace/2025/1/context.json"
21
26
  },
22
27
  {
23
28
  "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
@@ -36,7 +41,7 @@
36
41
  },
37
42
  {
38
43
  "type": "string",
39
- "const": "https://w3id.org/dspace/2024/1/context.json"
44
+ "const": "https://w3id.org/dspace/2025/1/context.json"
40
45
  }
41
46
  ],
42
47
  "items": {