@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.
- package/dist/es/dataTypes/catalogDataTypes.js +32 -0
- package/dist/es/dataTypes/catalogDataTypes.js.map +1 -0
- package/dist/es/dataTypes/contractNegotiationDataTypes.js +22 -29
- package/dist/es/dataTypes/contractNegotiationDataTypes.js.map +1 -1
- package/dist/es/dataTypes/dataspaceProtocolDataTypes.js +27 -0
- package/dist/es/dataTypes/dataspaceProtocolDataTypes.js.map +1 -0
- package/dist/es/dataTypes/transferProcessDataTypes.js +68 -0
- package/dist/es/dataTypes/transferProcessDataTypes.js.map +1 -0
- package/dist/es/index.js +25 -4
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/catalog/ICatalogError.js +2 -0
- package/dist/es/models/catalog/ICatalogError.js.map +1 -0
- package/dist/es/models/catalog/ICatalogRequestMessage.js +2 -0
- package/dist/es/models/catalog/ICatalogRequestMessage.js.map +1 -0
- package/dist/es/models/catalog/IDatasetRequestMessage.js +2 -0
- package/dist/es/models/catalog/IDatasetRequestMessage.js.map +1 -0
- package/dist/es/models/catalog/catalogTypes.js +22 -0
- package/dist/es/models/catalog/catalogTypes.js.map +1 -0
- package/dist/es/models/contractNegotiation/IContractAgreementMessage.js.map +1 -1
- package/dist/es/models/contractNegotiation/IContractAgreementVerificationMessage.js.map +1 -1
- package/dist/es/models/contractNegotiation/IContractNegotiation.js.map +1 -1
- package/dist/es/models/contractNegotiation/IContractNegotiationError.js.map +1 -1
- package/dist/es/models/contractNegotiation/IContractNegotiationEventMessage.js.map +1 -1
- package/dist/es/models/contractNegotiation/IContractNegotiationTerminationMessage.js.map +1 -1
- package/dist/es/models/contractNegotiation/IContractOfferMessage.js.map +1 -1
- package/dist/es/models/contractNegotiation/IContractRequestMessage.js.map +1 -1
- package/dist/es/models/contractNegotiation/contractNegotiationTypes.js +1 -1
- package/dist/es/models/contractNegotiation/contractNegotiationTypes.js.map +1 -1
- package/dist/es/models/contractNegotiation/types/contractNegotiationEventType.js +1 -1
- package/dist/es/models/contractNegotiation/types/contractNegotiationEventType.js.map +1 -1
- package/dist/es/models/contractNegotiation/types/contractNegotiationStateType.js +1 -1
- package/dist/es/models/contractNegotiation/types/contractNegotiationStateType.js.map +1 -1
- package/dist/es/models/dataspaceProtocolContextType.js +2 -0
- package/dist/es/models/dataspaceProtocolContextType.js.map +1 -0
- package/dist/es/models/dataspaceProtocolContexts.js +17 -0
- package/dist/es/models/dataspaceProtocolContexts.js.map +1 -0
- package/dist/es/models/transferProcess/IDataAddress.js +2 -0
- package/dist/es/models/transferProcess/IDataAddress.js.map +1 -0
- package/dist/es/models/transferProcess/IEndpointProperty.js +2 -0
- package/dist/es/models/transferProcess/IEndpointProperty.js.map +1 -0
- package/dist/es/models/transferProcess/ITransferCompletionMessage.js +2 -0
- package/dist/es/models/transferProcess/ITransferCompletionMessage.js.map +1 -0
- package/dist/es/models/transferProcess/ITransferError.js +2 -0
- package/dist/es/models/transferProcess/ITransferError.js.map +1 -0
- package/dist/es/models/transferProcess/ITransferProcess.js +2 -0
- package/dist/es/models/transferProcess/ITransferProcess.js.map +1 -0
- package/dist/es/models/transferProcess/ITransferRequestMessage.js +2 -0
- package/dist/es/models/transferProcess/ITransferRequestMessage.js.map +1 -0
- package/dist/es/models/transferProcess/ITransferStartMessage.js +2 -0
- package/dist/es/models/transferProcess/ITransferStartMessage.js.map +1 -0
- package/dist/es/models/transferProcess/ITransferSuspensionMessage.js +4 -0
- package/dist/es/models/transferProcess/ITransferSuspensionMessage.js.map +1 -0
- package/dist/es/models/transferProcess/ITransferTerminationMessage.js +2 -0
- package/dist/es/models/transferProcess/ITransferTerminationMessage.js.map +1 -0
- package/dist/es/models/transferProcess/transferProcessTypes.js +46 -0
- package/dist/es/models/transferProcess/transferProcessTypes.js.map +1 -0
- package/dist/es/models/transferProcess/types/transferProcessStateType.js +30 -0
- package/dist/es/models/transferProcess/types/transferProcessStateType.js.map +1 -0
- package/dist/es/schemas/CatalogError.json +74 -0
- package/dist/es/schemas/CatalogRequestMessage.json +69 -0
- package/dist/es/schemas/ContractAgreementMessage.json +10 -5
- package/dist/es/schemas/ContractAgreementVerificationMessage.json +10 -5
- package/dist/es/schemas/ContractNegotiation.json +10 -5
- package/dist/es/schemas/ContractNegotiationError.json +11 -39
- package/dist/es/schemas/ContractNegotiationEventMessage.json +10 -5
- package/dist/es/schemas/ContractNegotiationTerminationMessage.json +10 -5
- package/dist/es/schemas/ContractOfferMessage.json +10 -5
- package/dist/es/schemas/ContractRequestMessage.json +10 -5
- package/dist/es/schemas/DataAddress.json +33 -0
- package/dist/es/schemas/DatasetRequestMessage.json +69 -0
- package/dist/es/schemas/EndpointProperty.json +27 -0
- package/dist/es/schemas/TransferCompletionMessage.json +74 -0
- package/dist/es/schemas/TransferError.json +83 -0
- package/dist/es/schemas/TransferProcess.json +109 -0
- package/dist/es/schemas/TransferRequestMessage.json +88 -0
- package/dist/es/schemas/TransferStartMessage.json +78 -0
- package/dist/es/schemas/TransferSuspensionMessage.json +83 -0
- package/dist/es/schemas/TransferTerminationMessage.json +83 -0
- package/dist/types/dataTypes/catalogDataTypes.d.ts +9 -0
- package/dist/types/dataTypes/contractNegotiationDataTypes.d.ts +1 -5
- package/dist/types/dataTypes/dataspaceProtocolDataTypes.d.ts +13 -0
- package/dist/types/dataTypes/transferProcessDataTypes.d.ts +9 -0
- package/dist/types/index.d.ts +21 -3
- package/dist/types/models/catalog/ICatalogError.d.ts +24 -0
- package/dist/types/models/catalog/ICatalogRequestMessage.d.ts +20 -0
- package/dist/types/models/catalog/IDatasetRequestMessage.d.ts +20 -0
- package/dist/types/models/catalog/catalogTypes.d.ts +22 -0
- package/dist/types/models/contractNegotiation/IContractAgreementMessage.d.ts +2 -2
- package/dist/types/models/contractNegotiation/IContractAgreementVerificationMessage.d.ts +2 -2
- package/dist/types/models/contractNegotiation/IContractNegotiation.d.ts +2 -2
- package/dist/types/models/contractNegotiation/IContractNegotiationError.d.ts +3 -13
- package/dist/types/models/contractNegotiation/IContractNegotiationEventMessage.d.ts +2 -2
- package/dist/types/models/contractNegotiation/IContractNegotiationTerminationMessage.d.ts +2 -2
- package/dist/types/models/contractNegotiation/IContractOfferMessage.d.ts +2 -2
- package/dist/types/models/contractNegotiation/IContractRequestMessage.d.ts +2 -2
- package/dist/types/models/dataspaceProtocolContextType.d.ts +14 -0
- package/dist/types/models/dataspaceProtocolContexts.d.ts +17 -0
- package/dist/types/models/transferProcess/IDataAddress.d.ts +24 -0
- package/dist/types/models/transferProcess/IEndpointProperty.d.ts +19 -0
- package/dist/types/models/transferProcess/ITransferCompletionMessage.d.ts +24 -0
- package/dist/types/models/transferProcess/ITransferError.d.ts +32 -0
- package/dist/types/models/transferProcess/ITransferProcess.d.ts +29 -0
- package/dist/types/models/transferProcess/ITransferRequestMessage.d.ts +39 -0
- package/dist/types/models/transferProcess/ITransferStartMessage.d.ts +30 -0
- package/dist/types/models/transferProcess/ITransferSuspensionMessage.d.ts +32 -0
- package/dist/types/models/transferProcess/ITransferTerminationMessage.d.ts +32 -0
- package/dist/types/models/transferProcess/transferProcessTypes.d.ts +46 -0
- package/dist/types/models/transferProcess/types/transferProcessStateType.d.ts +30 -0
- package/docs/changelog.md +35 -0
- package/docs/reference/classes/CatalogDataTypes.md +25 -0
- package/docs/reference/classes/ContractNegotiationDataTypes.md +1 -13
- package/docs/reference/classes/DataspaceProtocolDataTypes.md +37 -0
- package/docs/reference/classes/TransferProcessDataTypes.md +25 -0
- package/docs/reference/index.md +24 -3
- package/docs/reference/interfaces/ICatalogError.md +36 -0
- package/docs/reference/interfaces/ICatalogRequestMessage.md +28 -0
- package/docs/reference/interfaces/IContractAgreementMessage.md +1 -1
- package/docs/reference/interfaces/IContractAgreementVerificationMessage.md +1 -1
- package/docs/reference/interfaces/IContractNegotiation.md +1 -1
- package/docs/reference/interfaces/IContractNegotiationError.md +2 -26
- package/docs/reference/interfaces/IContractNegotiationEventMessage.md +1 -1
- package/docs/reference/interfaces/IContractNegotiationTerminationMessage.md +1 -1
- package/docs/reference/interfaces/IContractOfferMessage.md +1 -1
- package/docs/reference/interfaces/IContractRequestMessage.md +1 -1
- package/docs/reference/interfaces/IDataAddress.md +36 -0
- package/docs/reference/interfaces/IDatasetRequestMessage.md +28 -0
- package/docs/reference/interfaces/IEndpointProperty.md +28 -0
- package/docs/reference/interfaces/ITransferCompletionMessage.md +36 -0
- package/docs/reference/interfaces/ITransferError.md +52 -0
- package/docs/reference/interfaces/ITransferProcess.md +74 -0
- package/docs/reference/interfaces/ITransferRequestMessage.md +62 -0
- package/docs/reference/interfaces/ITransferStartMessage.md +45 -0
- package/docs/reference/interfaces/ITransferSuspensionMessage.md +52 -0
- package/docs/reference/interfaces/ITransferTerminationMessage.md +52 -0
- package/docs/reference/type-aliases/CatalogTypes.md +5 -0
- package/docs/reference/type-aliases/DataspaceProtocolContextType.md +5 -0
- package/docs/reference/type-aliases/DataspaceProtocolContexts.md +5 -0
- package/docs/reference/type-aliases/TransferProcessStateType.md +5 -0
- package/docs/reference/type-aliases/TransferProcessTypes.md +5 -0
- package/docs/reference/variables/CatalogTypes.md +26 -0
- package/docs/reference/variables/DataspaceProtocolContexts.md +19 -0
- package/docs/reference/variables/TransferProcessStateType.md +38 -0
- package/docs/reference/variables/TransferProcessTypes.md +62 -0
- package/package.json +3 -2
- package/dist/es/models/contractNegotiation/contractNegotiationContextType.js +0 -2
- package/dist/es/models/contractNegotiation/contractNegotiationContextType.js.map +0 -1
- package/dist/es/models/contractNegotiation/contractNegotiationContexts.js +0 -17
- package/dist/es/models/contractNegotiation/contractNegotiationContexts.js.map +0 -1
- package/dist/types/models/contractNegotiation/contractNegotiationContextType.d.ts +0 -14
- package/dist/types/models/contractNegotiation/contractNegotiationContexts.d.ts +0 -17
- package/docs/reference/type-aliases/ContractNegotiationContextType.md +0 -5
- package/docs/reference/type-aliases/ContractNegotiationContexts.md +0 -5
- package/docs/reference/variables/ContractNegotiationContexts.md +0 -19
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { DataspaceProtocolContextType } from "../dataspaceProtocolContextType.js";
|
|
2
|
+
import type { IDataAddress } from "./IDataAddress.js";
|
|
3
|
+
import type { TransferProcessTypes } from "./transferProcessTypes.js";
|
|
4
|
+
/**
|
|
5
|
+
* Interface for Dataspace Protocol Transfer Messages.
|
|
6
|
+
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-request-message
|
|
7
|
+
*/
|
|
8
|
+
export interface ITransferRequestMessage {
|
|
9
|
+
/**
|
|
10
|
+
* LD Context
|
|
11
|
+
*/
|
|
12
|
+
"@context": DataspaceProtocolContextType;
|
|
13
|
+
/**
|
|
14
|
+
* LD Type
|
|
15
|
+
*/
|
|
16
|
+
"@type": typeof TransferProcessTypes.TransferRequestMessage;
|
|
17
|
+
/**
|
|
18
|
+
* MUST refer to an existing Agreement between the Consumer and Provider.
|
|
19
|
+
*/
|
|
20
|
+
agreementId: string;
|
|
21
|
+
/**
|
|
22
|
+
* MUST be a URI indicating where messages to the Consumer SHOULD be sent.
|
|
23
|
+
*/
|
|
24
|
+
callbackAddress: string;
|
|
25
|
+
/**
|
|
26
|
+
* MUST refer to the transfer identifier of the Consumer side.
|
|
27
|
+
*/
|
|
28
|
+
consumerPid: string;
|
|
29
|
+
/**
|
|
30
|
+
* The format property is a format specified by a Distribution for the Dataset associated with the Agreement.
|
|
31
|
+
* This is generally obtained from the Provider's Catalog.
|
|
32
|
+
*/
|
|
33
|
+
format: string;
|
|
34
|
+
/**
|
|
35
|
+
* If defined MUST contain a transport-specific set of properties for pushing the data.
|
|
36
|
+
* It MAY include an endpoint, a temporary authorization via the endpointProperties property - depending on the endpointType.
|
|
37
|
+
*/
|
|
38
|
+
dataAddress?: IDataAddress;
|
|
39
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { DataspaceProtocolContextType } from "../dataspaceProtocolContextType.js";
|
|
2
|
+
import type { IDataAddress } from "./IDataAddress.js";
|
|
3
|
+
import type { TransferProcessTypes } from "./transferProcessTypes.js";
|
|
4
|
+
/**
|
|
5
|
+
* Interface for Dataspace Protocol Transfer Messages.
|
|
6
|
+
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-start-message
|
|
7
|
+
*/
|
|
8
|
+
export interface ITransferStartMessage {
|
|
9
|
+
/**
|
|
10
|
+
* LD Context
|
|
11
|
+
*/
|
|
12
|
+
"@context": DataspaceProtocolContextType;
|
|
13
|
+
/**
|
|
14
|
+
* LD Type
|
|
15
|
+
*/
|
|
16
|
+
"@type": typeof TransferProcessTypes.TransferStartMessage;
|
|
17
|
+
/**
|
|
18
|
+
* MUST refer to the transfer identifier of the Consumer side.
|
|
19
|
+
*/
|
|
20
|
+
consumerPid: string;
|
|
21
|
+
/**
|
|
22
|
+
* MUST refer to the transfer identifier of the Provider side.
|
|
23
|
+
*/
|
|
24
|
+
providerPid: string;
|
|
25
|
+
/**
|
|
26
|
+
* MUST be provided if the current transfer is a pull transfer and
|
|
27
|
+
* contains a transport-specific endpoint address for obtaining the data.
|
|
28
|
+
*/
|
|
29
|
+
dataAddress?: IDataAddress;
|
|
30
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { DataspaceProtocolContextType } from "../dataspaceProtocolContextType.js";
|
|
2
|
+
import type { TransferProcessTypes } from "./transferProcessTypes.js";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for Dataspace Protocol Transfer Messages.
|
|
5
|
+
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-suspension-message
|
|
6
|
+
*/
|
|
7
|
+
export interface ITransferSuspensionMessage {
|
|
8
|
+
/**
|
|
9
|
+
* LD Context
|
|
10
|
+
*/
|
|
11
|
+
"@context": DataspaceProtocolContextType;
|
|
12
|
+
/**
|
|
13
|
+
* LD Type
|
|
14
|
+
*/
|
|
15
|
+
"@type": typeof TransferProcessTypes.TransferSuspensionMessage;
|
|
16
|
+
/**
|
|
17
|
+
* MUST refer to the transfer identifier of the Consumer side.
|
|
18
|
+
*/
|
|
19
|
+
consumerPid: string;
|
|
20
|
+
/**
|
|
21
|
+
* MUST refer to the transfer identifier of the Provider side.
|
|
22
|
+
*/
|
|
23
|
+
providerPid: string;
|
|
24
|
+
/**
|
|
25
|
+
* The suspension code.
|
|
26
|
+
*/
|
|
27
|
+
code?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The suspension reason(s).
|
|
30
|
+
*/
|
|
31
|
+
reason?: any[];
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { DataspaceProtocolContextType } from "../dataspaceProtocolContextType.js";
|
|
2
|
+
import type { TransferProcessTypes } from "./transferProcessTypes.js";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for Dataspace Protocol Transfer Messages.
|
|
5
|
+
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-termination-message
|
|
6
|
+
*/
|
|
7
|
+
export interface ITransferTerminationMessage {
|
|
8
|
+
/**
|
|
9
|
+
* LD Context
|
|
10
|
+
*/
|
|
11
|
+
"@context": DataspaceProtocolContextType;
|
|
12
|
+
/**
|
|
13
|
+
* LD Type
|
|
14
|
+
*/
|
|
15
|
+
"@type": typeof TransferProcessTypes.TransferTerminationMessage;
|
|
16
|
+
/**
|
|
17
|
+
* MUST refer to the transfer identifier of the Consumer side.
|
|
18
|
+
*/
|
|
19
|
+
consumerPid: string;
|
|
20
|
+
/**
|
|
21
|
+
* MUST refer to the transfer identifier of the Provider side.
|
|
22
|
+
*/
|
|
23
|
+
providerPid: string;
|
|
24
|
+
/**
|
|
25
|
+
* The termination code.
|
|
26
|
+
*/
|
|
27
|
+
code?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The termination reason(s).
|
|
30
|
+
*/
|
|
31
|
+
reason?: any[];
|
|
32
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The types for Dataspace Protocol Transfer Process.
|
|
3
|
+
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#message-types-1
|
|
4
|
+
*/
|
|
5
|
+
export declare const TransferProcessTypes: {
|
|
6
|
+
/**
|
|
7
|
+
* Transfer Request Message.
|
|
8
|
+
*/
|
|
9
|
+
TransferRequestMessage: string;
|
|
10
|
+
/**
|
|
11
|
+
* Transfer Start Message.
|
|
12
|
+
*/
|
|
13
|
+
TransferStartMessage: string;
|
|
14
|
+
/**
|
|
15
|
+
* Transfer Suspension Message.
|
|
16
|
+
*/
|
|
17
|
+
TransferSuspensionMessage: string;
|
|
18
|
+
/**
|
|
19
|
+
* Transfer Completion Message.
|
|
20
|
+
*/
|
|
21
|
+
TransferCompletionMessage: string;
|
|
22
|
+
/**
|
|
23
|
+
* Transfer Termination Message.
|
|
24
|
+
*/
|
|
25
|
+
TransferTerminationMessage: string;
|
|
26
|
+
/**
|
|
27
|
+
* Data Address
|
|
28
|
+
*/
|
|
29
|
+
DataAddress: string;
|
|
30
|
+
/**
|
|
31
|
+
* Endpoint property.
|
|
32
|
+
*/
|
|
33
|
+
EndpointProperty: string;
|
|
34
|
+
/**
|
|
35
|
+
* Transfer Process
|
|
36
|
+
*/
|
|
37
|
+
TransferProcess: string;
|
|
38
|
+
/**
|
|
39
|
+
* Transfer Error.
|
|
40
|
+
*/
|
|
41
|
+
TransferError: string;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* The types for Dataspace Protocol Transfer.
|
|
45
|
+
*/
|
|
46
|
+
export type TransferProcessTypes = (typeof TransferProcessTypes)[keyof typeof TransferProcessTypes];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The states for Dataspace Protocol Transfer Process.
|
|
3
|
+
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#ack-transfer-process
|
|
4
|
+
*/
|
|
5
|
+
export declare const TransferProcessStateType: {
|
|
6
|
+
/**
|
|
7
|
+
* Completed
|
|
8
|
+
*/
|
|
9
|
+
COMPLETED: string;
|
|
10
|
+
/**
|
|
11
|
+
* Requested
|
|
12
|
+
*/
|
|
13
|
+
REQUESTED: string;
|
|
14
|
+
/**
|
|
15
|
+
* Started
|
|
16
|
+
*/
|
|
17
|
+
STARTED: string;
|
|
18
|
+
/**
|
|
19
|
+
* Suspended
|
|
20
|
+
*/
|
|
21
|
+
SUSPENDED: string;
|
|
22
|
+
/**
|
|
23
|
+
* Terminated
|
|
24
|
+
*/
|
|
25
|
+
TERMINATED: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* The types for Dataspace Protocol Transfer.
|
|
29
|
+
*/
|
|
30
|
+
export type TransferProcessStateType = (typeof TransferProcessStateType)[keyof typeof TransferProcessStateType];
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.5](https://github.com/twinfoundation/standards/compare/standards-dataspace-protocol-v0.0.3-next.4...standards-dataspace-protocol-v0.0.3-next.5) (2025-11-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* ds protocol - data transfer ([#77](https://github.com/twinfoundation/standards/issues/77)) ([1bf0375](https://github.com/twinfoundation/standards/commit/1bf03750c74daaa0eb133b03927a0f40eb27a1e3))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* filter is array in catalog request (please merge after [#77](https://github.com/twinfoundation/standards/issues/77)) ([#78](https://github.com/twinfoundation/standards/issues/78)) ([72a234c](https://github.com/twinfoundation/standards/commit/72a234c6620466ac4a5aded677af7590ccf94077))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Dependencies
|
|
17
|
+
|
|
18
|
+
* The following workspace dependencies were updated
|
|
19
|
+
* dependencies
|
|
20
|
+
* @twin.org/standards-w3c-dcat bumped from 0.0.3-next.4 to 0.0.3-next.5
|
|
21
|
+
* @twin.org/standards-w3c-odrl bumped from 0.0.3-next.4 to 0.0.3-next.5
|
|
22
|
+
|
|
23
|
+
## [0.0.3-next.4](https://github.com/twinfoundation/standards/compare/standards-dataspace-protocol-v0.0.3-next.3...standards-dataspace-protocol-v0.0.3-next.4) (2025-11-18)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* implement Dataspace Protocol Objects ([#73](https://github.com/twinfoundation/standards/issues/73)) ([2505495](https://github.com/twinfoundation/standards/commit/2505495c03b54a6606a775d7f2211308372c7cc6))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Dependencies
|
|
32
|
+
|
|
33
|
+
* The following workspace dependencies were updated
|
|
34
|
+
* dependencies
|
|
35
|
+
* @twin.org/standards-w3c-dcat bumped from 0.0.3-next.3 to 0.0.3-next.4
|
|
36
|
+
* @twin.org/standards-w3c-odrl bumped from 0.0.3-next.3 to 0.0.3-next.4
|
|
37
|
+
|
|
3
38
|
## [0.0.3-next.3](https://github.com/twinfoundation/standards/compare/standards-dataspace-protocol-v0.0.3-next.2...standards-dataspace-protocol-v0.0.3-next.3) (2025-11-18)
|
|
4
39
|
|
|
5
40
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Class: CatalogDataTypes
|
|
2
|
+
|
|
3
|
+
Handle all the catalog data types for Dataspace Protocol.
|
|
4
|
+
|
|
5
|
+
## Constructors
|
|
6
|
+
|
|
7
|
+
### Constructor
|
|
8
|
+
|
|
9
|
+
> **new CatalogDataTypes**(): `CatalogDataTypes`
|
|
10
|
+
|
|
11
|
+
#### Returns
|
|
12
|
+
|
|
13
|
+
`CatalogDataTypes`
|
|
14
|
+
|
|
15
|
+
## Methods
|
|
16
|
+
|
|
17
|
+
### registerTypes()
|
|
18
|
+
|
|
19
|
+
> `static` **registerTypes**(): `void`
|
|
20
|
+
|
|
21
|
+
Register all the data types.
|
|
22
|
+
|
|
23
|
+
#### Returns
|
|
24
|
+
|
|
25
|
+
`void`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Class: ContractNegotiationDataTypes
|
|
2
2
|
|
|
3
|
-
Handle all the data types for Dataspace Protocol
|
|
3
|
+
Handle all the contract negotiation data types for Dataspace Protocol.
|
|
4
4
|
|
|
5
5
|
## Constructors
|
|
6
6
|
|
|
@@ -14,18 +14,6 @@ Handle all the data types for Dataspace Protocol Contract Negotiation.
|
|
|
14
14
|
|
|
15
15
|
## Methods
|
|
16
16
|
|
|
17
|
-
### registerRedirects()
|
|
18
|
-
|
|
19
|
-
> `static` **registerRedirects**(): `void`
|
|
20
|
-
|
|
21
|
-
Register the JSON-LD Redirects.
|
|
22
|
-
|
|
23
|
-
#### Returns
|
|
24
|
-
|
|
25
|
-
`void`
|
|
26
|
-
|
|
27
|
-
***
|
|
28
|
-
|
|
29
17
|
### registerTypes()
|
|
30
18
|
|
|
31
19
|
> `static` **registerTypes**(): `void`
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Class: DataspaceProtocolDataTypes
|
|
2
|
+
|
|
3
|
+
Handle all the data types for Dataspace Protocol.
|
|
4
|
+
|
|
5
|
+
## Constructors
|
|
6
|
+
|
|
7
|
+
### Constructor
|
|
8
|
+
|
|
9
|
+
> **new DataspaceProtocolDataTypes**(): `DataspaceProtocolDataTypes`
|
|
10
|
+
|
|
11
|
+
#### Returns
|
|
12
|
+
|
|
13
|
+
`DataspaceProtocolDataTypes`
|
|
14
|
+
|
|
15
|
+
## Methods
|
|
16
|
+
|
|
17
|
+
### registerRedirects()
|
|
18
|
+
|
|
19
|
+
> `static` **registerRedirects**(): `void`
|
|
20
|
+
|
|
21
|
+
Register the JSON-LD Redirects.
|
|
22
|
+
|
|
23
|
+
#### Returns
|
|
24
|
+
|
|
25
|
+
`void`
|
|
26
|
+
|
|
27
|
+
***
|
|
28
|
+
|
|
29
|
+
### registerTypes()
|
|
30
|
+
|
|
31
|
+
> `static` **registerTypes**(): `void`
|
|
32
|
+
|
|
33
|
+
Register all the data types.
|
|
34
|
+
|
|
35
|
+
#### Returns
|
|
36
|
+
|
|
37
|
+
`void`
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Class: TransferProcessDataTypes
|
|
2
|
+
|
|
3
|
+
Handle all the transfer process data types for Dataspace Protocol.
|
|
4
|
+
|
|
5
|
+
## Constructors
|
|
6
|
+
|
|
7
|
+
### Constructor
|
|
8
|
+
|
|
9
|
+
> **new TransferProcessDataTypes**(): `TransferProcessDataTypes`
|
|
10
|
+
|
|
11
|
+
#### Returns
|
|
12
|
+
|
|
13
|
+
`TransferProcessDataTypes`
|
|
14
|
+
|
|
15
|
+
## Methods
|
|
16
|
+
|
|
17
|
+
### registerTypes()
|
|
18
|
+
|
|
19
|
+
> `static` **registerTypes**(): `void`
|
|
20
|
+
|
|
21
|
+
Register all the data types.
|
|
22
|
+
|
|
23
|
+
#### Returns
|
|
24
|
+
|
|
25
|
+
`void`
|
package/docs/reference/index.md
CHANGED
|
@@ -2,10 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
## Classes
|
|
4
4
|
|
|
5
|
+
- [CatalogDataTypes](classes/CatalogDataTypes.md)
|
|
5
6
|
- [ContractNegotiationDataTypes](classes/ContractNegotiationDataTypes.md)
|
|
7
|
+
- [DataspaceProtocolDataTypes](classes/DataspaceProtocolDataTypes.md)
|
|
8
|
+
- [TransferProcessDataTypes](classes/TransferProcessDataTypes.md)
|
|
6
9
|
|
|
7
10
|
## Interfaces
|
|
8
11
|
|
|
12
|
+
- [ICatalogError](interfaces/ICatalogError.md)
|
|
13
|
+
- [ICatalogRequestMessage](interfaces/ICatalogRequestMessage.md)
|
|
14
|
+
- [IDatasetRequestMessage](interfaces/IDatasetRequestMessage.md)
|
|
9
15
|
- [IContractAgreementMessage](interfaces/IContractAgreementMessage.md)
|
|
10
16
|
- [IContractAgreementVerificationMessage](interfaces/IContractAgreementVerificationMessage.md)
|
|
11
17
|
- [IContractNegotiation](interfaces/IContractNegotiation.md)
|
|
@@ -14,18 +20,33 @@
|
|
|
14
20
|
- [IContractNegotiationTerminationMessage](interfaces/IContractNegotiationTerminationMessage.md)
|
|
15
21
|
- [IContractOfferMessage](interfaces/IContractOfferMessage.md)
|
|
16
22
|
- [IContractRequestMessage](interfaces/IContractRequestMessage.md)
|
|
23
|
+
- [IDataAddress](interfaces/IDataAddress.md)
|
|
24
|
+
- [IEndpointProperty](interfaces/IEndpointProperty.md)
|
|
25
|
+
- [ITransferCompletionMessage](interfaces/ITransferCompletionMessage.md)
|
|
26
|
+
- [ITransferError](interfaces/ITransferError.md)
|
|
27
|
+
- [ITransferProcess](interfaces/ITransferProcess.md)
|
|
28
|
+
- [ITransferRequestMessage](interfaces/ITransferRequestMessage.md)
|
|
29
|
+
- [ITransferStartMessage](interfaces/ITransferStartMessage.md)
|
|
30
|
+
- [ITransferSuspensionMessage](interfaces/ITransferSuspensionMessage.md)
|
|
31
|
+
- [ITransferTerminationMessage](interfaces/ITransferTerminationMessage.md)
|
|
17
32
|
|
|
18
33
|
## Type Aliases
|
|
19
34
|
|
|
20
|
-
- [
|
|
21
|
-
- [ContractNegotiationContexts](type-aliases/ContractNegotiationContexts.md)
|
|
35
|
+
- [CatalogTypes](type-aliases/CatalogTypes.md)
|
|
22
36
|
- [ContractNegotiationTypes](type-aliases/ContractNegotiationTypes.md)
|
|
23
37
|
- [ContractNegotiationEventType](type-aliases/ContractNegotiationEventType.md)
|
|
24
38
|
- [ContractNegotiationStateType](type-aliases/ContractNegotiationStateType.md)
|
|
39
|
+
- [DataspaceProtocolContextType](type-aliases/DataspaceProtocolContextType.md)
|
|
40
|
+
- [DataspaceProtocolContexts](type-aliases/DataspaceProtocolContexts.md)
|
|
41
|
+
- [TransferProcessTypes](type-aliases/TransferProcessTypes.md)
|
|
42
|
+
- [TransferProcessStateType](type-aliases/TransferProcessStateType.md)
|
|
25
43
|
|
|
26
44
|
## Variables
|
|
27
45
|
|
|
28
|
-
- [
|
|
46
|
+
- [CatalogTypes](variables/CatalogTypes.md)
|
|
29
47
|
- [ContractNegotiationTypes](variables/ContractNegotiationTypes.md)
|
|
30
48
|
- [ContractNegotiationEventType](variables/ContractNegotiationEventType.md)
|
|
31
49
|
- [ContractNegotiationStateType](variables/ContractNegotiationStateType.md)
|
|
50
|
+
- [DataspaceProtocolContexts](variables/DataspaceProtocolContexts.md)
|
|
51
|
+
- [TransferProcessTypes](variables/TransferProcessTypes.md)
|
|
52
|
+
- [TransferProcessStateType](variables/TransferProcessStateType.md)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Interface: ICatalogError
|
|
2
|
+
|
|
3
|
+
Interface for Dataspace Protocol Catalog Error.
|
|
4
|
+
https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#error-catalog-error
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
### @context
|
|
9
|
+
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
|
+
|
|
12
|
+
The JSON-LD context.
|
|
13
|
+
|
|
14
|
+
***
|
|
15
|
+
|
|
16
|
+
### @type
|
|
17
|
+
|
|
18
|
+
> **@type**: `"CatalogError"`
|
|
19
|
+
|
|
20
|
+
The type of the message.
|
|
21
|
+
|
|
22
|
+
***
|
|
23
|
+
|
|
24
|
+
### code
|
|
25
|
+
|
|
26
|
+
> **code**: `string`
|
|
27
|
+
|
|
28
|
+
The error code.
|
|
29
|
+
|
|
30
|
+
***
|
|
31
|
+
|
|
32
|
+
### reason?
|
|
33
|
+
|
|
34
|
+
> `optional` **reason**: `any`[]
|
|
35
|
+
|
|
36
|
+
The error reason(s).
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Interface: ICatalogRequestMessage
|
|
2
|
+
|
|
3
|
+
Interface for Dataspace Protocol Catalog Request Messages.
|
|
4
|
+
https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#catalog-request-message
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
### @context
|
|
9
|
+
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
|
+
|
|
12
|
+
The JSON-LD context.
|
|
13
|
+
|
|
14
|
+
***
|
|
15
|
+
|
|
16
|
+
### @type
|
|
17
|
+
|
|
18
|
+
> **@type**: `"CatalogRequestMessage"`
|
|
19
|
+
|
|
20
|
+
The type of the message.
|
|
21
|
+
|
|
22
|
+
***
|
|
23
|
+
|
|
24
|
+
### filter?
|
|
25
|
+
|
|
26
|
+
> `optional` **filter**: `unknown`[]
|
|
27
|
+
|
|
28
|
+
An implementation-specific query or filter expression.
|
|
@@ -7,7 +7,7 @@ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#cont
|
|
|
7
7
|
|
|
8
8
|
### @context
|
|
9
9
|
|
|
10
|
-
> **@context**: [`
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
11
|
|
|
12
12
|
The JSON-LD context.
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#cont
|
|
|
7
7
|
|
|
8
8
|
### @context
|
|
9
9
|
|
|
10
|
-
> **@context**: [`
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
11
|
|
|
12
12
|
The JSON-LD context.
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#ack-
|
|
|
7
7
|
|
|
8
8
|
### @context
|
|
9
9
|
|
|
10
|
-
> **@context**: [`
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
11
|
|
|
12
12
|
The JSON-LD context.
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#erro
|
|
|
7
7
|
|
|
8
8
|
### @context
|
|
9
9
|
|
|
10
|
-
> **@context**: [`
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
11
|
|
|
12
12
|
The JSON-LD context.
|
|
13
13
|
|
|
@@ -47,30 +47,6 @@ The error code.
|
|
|
47
47
|
|
|
48
48
|
### reason?
|
|
49
49
|
|
|
50
|
-
> `optional` **reason**: `
|
|
50
|
+
> `optional` **reason**: `any`[]
|
|
51
51
|
|
|
52
52
|
The error reason(s).
|
|
53
|
-
|
|
54
|
-
#### @value
|
|
55
|
-
|
|
56
|
-
> **@value**: `string`
|
|
57
|
-
|
|
58
|
-
#### @language?
|
|
59
|
-
|
|
60
|
-
> `optional` **@language**: `string`
|
|
61
|
-
|
|
62
|
-
***
|
|
63
|
-
|
|
64
|
-
### description?
|
|
65
|
-
|
|
66
|
-
> `optional` **description**: `object`[]
|
|
67
|
-
|
|
68
|
-
The error description(s).
|
|
69
|
-
|
|
70
|
-
#### @value
|
|
71
|
-
|
|
72
|
-
> **@value**: `string`
|
|
73
|
-
|
|
74
|
-
#### @language?
|
|
75
|
-
|
|
76
|
-
> `optional` **@language**: `string`
|
|
@@ -7,7 +7,7 @@ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#cont
|
|
|
7
7
|
|
|
8
8
|
### @context
|
|
9
9
|
|
|
10
|
-
> **@context**: [`
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
11
|
|
|
12
12
|
The JSON-LD context.
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#cont
|
|
|
7
7
|
|
|
8
8
|
### @context
|
|
9
9
|
|
|
10
|
-
> **@context**: [`
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
11
|
|
|
12
12
|
The JSON-LD context.
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#cont
|
|
|
7
7
|
|
|
8
8
|
### @context
|
|
9
9
|
|
|
10
|
-
> **@context**: [`
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
11
|
|
|
12
12
|
The JSON-LD context.
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#cont
|
|
|
7
7
|
|
|
8
8
|
### @context
|
|
9
9
|
|
|
10
|
-
> **@context**: [`
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
11
|
|
|
12
12
|
The JSON-LD context.
|
|
13
13
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Interface: IDataAddress
|
|
2
|
+
|
|
3
|
+
Interface for Dataspace Protocol Transfer Messages.
|
|
4
|
+
https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#lower-level-types
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
### @type
|
|
9
|
+
|
|
10
|
+
> **@type**: `string`
|
|
11
|
+
|
|
12
|
+
LD Type
|
|
13
|
+
|
|
14
|
+
***
|
|
15
|
+
|
|
16
|
+
### endpointType
|
|
17
|
+
|
|
18
|
+
> **endpointType**: `string`
|
|
19
|
+
|
|
20
|
+
The type of endpoint of this data address.
|
|
21
|
+
|
|
22
|
+
***
|
|
23
|
+
|
|
24
|
+
### endpoint?
|
|
25
|
+
|
|
26
|
+
> `optional` **endpoint**: `string`
|
|
27
|
+
|
|
28
|
+
The endpoint of the data address
|
|
29
|
+
|
|
30
|
+
***
|
|
31
|
+
|
|
32
|
+
### endpointProperties?
|
|
33
|
+
|
|
34
|
+
> `optional` **endpointProperties**: [`IEndpointProperty`](IEndpointProperty.md)[]
|
|
35
|
+
|
|
36
|
+
Properties associated to the endpoint which might depend on the endpoint type.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Interface: IDatasetRequestMessage
|
|
2
|
+
|
|
3
|
+
Interface for Dataspace Protocol Dataset Request Messages.
|
|
4
|
+
https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#dataset-request-message
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
### @context
|
|
9
|
+
|
|
10
|
+
> **@context**: [`DataspaceProtocolContextType`](../type-aliases/DataspaceProtocolContextType.md)
|
|
11
|
+
|
|
12
|
+
The JSON-LD context.
|
|
13
|
+
|
|
14
|
+
***
|
|
15
|
+
|
|
16
|
+
### @type
|
|
17
|
+
|
|
18
|
+
> **@type**: `"DatasetRequestMessage"`
|
|
19
|
+
|
|
20
|
+
The type of the message.
|
|
21
|
+
|
|
22
|
+
***
|
|
23
|
+
|
|
24
|
+
### dataset
|
|
25
|
+
|
|
26
|
+
> **dataset**: `string`
|
|
27
|
+
|
|
28
|
+
The identifier of the dataset.
|