@twin.org/standards-dataspace-protocol 0.0.3-next.67 → 0.0.3-next.69
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/models/catalog/IDataspaceProtocolCatalogError.js.map +1 -1
- package/dist/es/models/catalog/IDataspaceProtocolCatalogRequestMessage.js.map +1 -1
- package/dist/es/models/catalog/IDataspaceProtocolDatasetRequestMessage.js.map +1 -1
- package/dist/es/models/catalog/dataspaceProtocolCatalogTypes.js +2 -2
- package/dist/es/models/catalog/dataspaceProtocolCatalogTypes.js.map +1 -1
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.js.map +1 -1
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementVerificationMessage.js.map +1 -1
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiation.js.map +1 -1
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationError.js.map +1 -1
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationEventMessage.js.map +1 -1
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationTerminationMessage.js.map +1 -1
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractOfferMessage.js.map +1 -1
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractRequestMessage.js.map +1 -1
- package/dist/es/models/contractNegotiation/dataspaceProtocolContractNegotiationTypes.js +2 -2
- package/dist/es/models/contractNegotiation/dataspaceProtocolContractNegotiationTypes.js.map +1 -1
- package/dist/es/models/contractNegotiation/types/dataspaceProtocolContractNegotiationEventType.js +2 -2
- package/dist/es/models/contractNegotiation/types/dataspaceProtocolContractNegotiationEventType.js.map +1 -1
- package/dist/es/models/contractNegotiation/types/dataspaceProtocolContractNegotiationStateType.js +2 -2
- package/dist/es/models/contractNegotiation/types/dataspaceProtocolContractNegotiationStateType.js.map +1 -1
- package/dist/es/models/dataspaceProtocolContexts.js +1 -1
- package/dist/es/models/dataspaceProtocolContexts.js.map +1 -1
- package/dist/es/models/dcat3/IDataspaceProtocolCatalog.js.map +1 -1
- package/dist/es/models/dcat3/IDataspaceProtocolCatalogBase.js.map +1 -1
- package/dist/es/models/dcat3/IDataspaceProtocolDataService.js.map +1 -1
- package/dist/es/models/dcat3/IDataspaceProtocolDataServiceBase.js.map +1 -1
- package/dist/es/models/dcat3/IDataspaceProtocolDataset.js.map +1 -1
- package/dist/es/models/dcat3/IDataspaceProtocolDatasetBase.js.map +1 -1
- package/dist/es/models/dcat3/IDataspaceProtocolDistribution.js.map +1 -1
- package/dist/es/models/dcat3/IDataspaceProtocolDistributionBase.js.map +1 -1
- package/dist/es/models/odrl/IDataspaceProtocolAgreement.js.map +1 -1
- package/dist/es/models/odrl/IDataspaceProtocolOffer.js.map +1 -1
- package/dist/es/models/odrl/IDataspaceProtocolOfferBase.js.map +1 -1
- package/dist/es/models/odrl/IDataspaceProtocolPolicy.js.map +1 -1
- package/dist/es/models/odrl/IDataspaceProtocolSet.js.map +1 -1
- package/dist/es/models/transferProcess/IDataspaceProtocolDataAddress.js.map +1 -1
- package/dist/es/models/transferProcess/IDataspaceProtocolEndpointProperty.js.map +1 -1
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferCompletionMessage.js.map +1 -1
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferError.js.map +1 -1
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferProcess.js.map +1 -1
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferRequestMessage.js.map +1 -1
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferStartMessage.js.map +1 -1
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferSuspensionMessage.js.map +1 -1
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferTerminationMessage.js.map +1 -1
- package/dist/es/models/transferProcess/dataspaceProtocolTransferProcessTypes.js +2 -2
- package/dist/es/models/transferProcess/dataspaceProtocolTransferProcessTypes.js.map +1 -1
- package/dist/es/models/transferProcess/types/dataspaceProtocolEndpointType.js +5 -59
- package/dist/es/models/transferProcess/types/dataspaceProtocolEndpointType.js.map +1 -1
- package/dist/es/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.js +2 -2
- package/dist/es/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.js.map +1 -1
- package/dist/es/schemas/DataspaceProtocolAgreement.json +1 -1
- package/dist/es/schemas/DataspaceProtocolCatalog.json +2 -2
- package/dist/es/schemas/DataspaceProtocolCatalogBase.json +6 -6
- package/dist/es/schemas/DataspaceProtocolCatalogError.json +1 -1
- package/dist/es/schemas/DataspaceProtocolCatalogRequestMessage.json +1 -1
- package/dist/es/schemas/DataspaceProtocolContractAgreementMessage.json +1 -1
- package/dist/es/schemas/DataspaceProtocolContractAgreementVerificationMessage.json +1 -1
- package/dist/es/schemas/DataspaceProtocolContractNegotiation.json +2 -2
- package/dist/es/schemas/DataspaceProtocolContractNegotiationError.json +1 -1
- package/dist/es/schemas/DataspaceProtocolContractNegotiationEventMessage.json +1 -1
- package/dist/es/schemas/DataspaceProtocolContractNegotiationTerminationMessage.json +1 -1
- package/dist/es/schemas/DataspaceProtocolContractOfferMessage.json +1 -1
- package/dist/es/schemas/DataspaceProtocolContractRequestMessage.json +1 -1
- package/dist/es/schemas/DataspaceProtocolDataAddress.json +5 -5
- package/dist/es/schemas/DataspaceProtocolDataService.json +2 -2
- package/dist/es/schemas/DataspaceProtocolDataServiceBase.json +1 -1
- package/dist/es/schemas/DataspaceProtocolDataset.json +2 -2
- package/dist/es/schemas/DataspaceProtocolDatasetBase.json +3 -3
- package/dist/es/schemas/DataspaceProtocolDatasetRequestMessage.json +1 -1
- package/dist/es/schemas/DataspaceProtocolDistribution.json +3 -3
- package/dist/es/schemas/DataspaceProtocolDistributionBase.json +5 -5
- package/dist/es/schemas/DataspaceProtocolEndpointProperty.json +4 -4
- package/dist/es/schemas/DataspaceProtocolOffer.json +2 -2
- package/dist/es/schemas/DataspaceProtocolOfferBase.json +1 -1
- package/dist/es/schemas/DataspaceProtocolPolicy.json +1 -1
- package/dist/es/schemas/DataspaceProtocolSet.json +1 -1
- package/dist/es/schemas/DataspaceProtocolTransferCompletionMessage.json +3 -3
- package/dist/es/schemas/DataspaceProtocolTransferError.json +3 -3
- package/dist/es/schemas/DataspaceProtocolTransferProcess.json +3 -3
- package/dist/es/schemas/DataspaceProtocolTransferRequestMessage.json +3 -3
- package/dist/es/schemas/DataspaceProtocolTransferStartMessage.json +3 -3
- package/dist/es/schemas/DataspaceProtocolTransferSuspensionMessage.json +3 -3
- package/dist/es/schemas/DataspaceProtocolTransferTerminationMessage.json +3 -3
- package/dist/types/models/catalog/IDataspaceProtocolCatalogError.d.ts +2 -2
- package/dist/types/models/catalog/IDataspaceProtocolCatalogRequestMessage.d.ts +2 -2
- package/dist/types/models/catalog/IDataspaceProtocolDatasetRequestMessage.d.ts +2 -2
- package/dist/types/models/catalog/dataspaceProtocolCatalogTypes.d.ts +2 -2
- package/dist/types/models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.d.ts +2 -2
- package/dist/types/models/contractNegotiation/IDataspaceProtocolContractAgreementVerificationMessage.d.ts +2 -2
- package/dist/types/models/contractNegotiation/IDataspaceProtocolContractNegotiation.d.ts +3 -3
- package/dist/types/models/contractNegotiation/IDataspaceProtocolContractNegotiationError.d.ts +2 -2
- package/dist/types/models/contractNegotiation/IDataspaceProtocolContractNegotiationEventMessage.d.ts +2 -2
- package/dist/types/models/contractNegotiation/IDataspaceProtocolContractNegotiationTerminationMessage.d.ts +2 -2
- package/dist/types/models/contractNegotiation/IDataspaceProtocolContractOfferMessage.d.ts +2 -2
- package/dist/types/models/contractNegotiation/IDataspaceProtocolContractRequestMessage.d.ts +2 -2
- package/dist/types/models/contractNegotiation/dataspaceProtocolContractNegotiationTypes.d.ts +2 -2
- package/dist/types/models/contractNegotiation/types/dataspaceProtocolContractNegotiationEventType.d.ts +2 -2
- package/dist/types/models/contractNegotiation/types/dataspaceProtocolContractNegotiationStateType.d.ts +2 -2
- package/dist/types/models/dataspaceProtocolContexts.d.ts +1 -1
- package/dist/types/models/dcat3/IDataspaceProtocolCatalog.d.ts +2 -17
- package/dist/types/models/dcat3/IDataspaceProtocolCatalogBase.d.ts +6 -21
- package/dist/types/models/dcat3/IDataspaceProtocolDataService.d.ts +2 -17
- package/dist/types/models/dcat3/IDataspaceProtocolDataServiceBase.d.ts +1 -16
- package/dist/types/models/dcat3/IDataspaceProtocolDataset.d.ts +2 -27
- package/dist/types/models/dcat3/IDataspaceProtocolDatasetBase.d.ts +3 -34
- package/dist/types/models/dcat3/IDataspaceProtocolDistribution.d.ts +3 -28
- package/dist/types/models/dcat3/IDataspaceProtocolDistributionBase.d.ts +5 -38
- package/dist/types/models/odrl/IDataspaceProtocolAgreement.d.ts +1 -6
- package/dist/types/models/odrl/IDataspaceProtocolOffer.d.ts +2 -7
- package/dist/types/models/odrl/IDataspaceProtocolOfferBase.d.ts +1 -7
- package/dist/types/models/odrl/IDataspaceProtocolPolicy.d.ts +1 -6
- package/dist/types/models/odrl/IDataspaceProtocolSet.d.ts +1 -6
- package/dist/types/models/transferProcess/IDataspaceProtocolDataAddress.d.ts +6 -6
- package/dist/types/models/transferProcess/IDataspaceProtocolEndpointProperty.d.ts +5 -5
- package/dist/types/models/transferProcess/IDataspaceProtocolTransferCompletionMessage.d.ts +4 -4
- package/dist/types/models/transferProcess/IDataspaceProtocolTransferError.d.ts +4 -4
- package/dist/types/models/transferProcess/IDataspaceProtocolTransferProcess.d.ts +4 -4
- package/dist/types/models/transferProcess/IDataspaceProtocolTransferRequestMessage.d.ts +4 -4
- package/dist/types/models/transferProcess/IDataspaceProtocolTransferStartMessage.d.ts +4 -4
- package/dist/types/models/transferProcess/IDataspaceProtocolTransferSuspensionMessage.d.ts +4 -4
- package/dist/types/models/transferProcess/IDataspaceProtocolTransferTerminationMessage.d.ts +4 -4
- package/dist/types/models/transferProcess/dataspaceProtocolTransferProcessTypes.d.ts +2 -2
- package/dist/types/models/transferProcess/types/dataspaceProtocolEndpointType.d.ts +6 -60
- package/dist/types/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.d.ts +2 -2
- package/docs/changelog.md +34 -0
- package/docs/reference/interfaces/IDataspaceProtocolAgreement.md +2 -7
- package/docs/reference/interfaces/IDataspaceProtocolCatalog.md +8 -21
- package/docs/reference/interfaces/IDataspaceProtocolCatalogBase.md +7 -20
- package/docs/reference/interfaces/IDataspaceProtocolCatalogError.md +4 -1
- package/docs/reference/interfaces/IDataspaceProtocolCatalogRequestMessage.md +4 -1
- package/docs/reference/interfaces/IDataspaceProtocolContractAgreementMessage.md +4 -1
- package/docs/reference/interfaces/IDataspaceProtocolContractAgreementVerificationMessage.md +4 -1
- package/docs/reference/interfaces/IDataspaceProtocolContractNegotiation.md +5 -2
- package/docs/reference/interfaces/IDataspaceProtocolContractNegotiationError.md +4 -1
- package/docs/reference/interfaces/IDataspaceProtocolContractNegotiationEventMessage.md +4 -1
- package/docs/reference/interfaces/IDataspaceProtocolContractNegotiationTerminationMessage.md +4 -1
- package/docs/reference/interfaces/IDataspaceProtocolContractOfferMessage.md +4 -1
- package/docs/reference/interfaces/IDataspaceProtocolContractRequestMessage.md +4 -1
- package/docs/reference/interfaces/IDataspaceProtocolDataAddress.md +8 -5
- package/docs/reference/interfaces/IDataspaceProtocolDataService.md +3 -16
- package/docs/reference/interfaces/IDataspaceProtocolDataServiceBase.md +2 -15
- package/docs/reference/interfaces/IDataspaceProtocolDataset.md +5 -36
- package/docs/reference/interfaces/IDataspaceProtocolDatasetBase.md +4 -35
- package/docs/reference/interfaces/IDataspaceProtocolDatasetRequestMessage.md +4 -1
- package/docs/reference/interfaces/IDataspaceProtocolDistribution.md +7 -39
- package/docs/reference/interfaces/IDataspaceProtocolDistributionBase.md +6 -39
- package/docs/reference/interfaces/IDataspaceProtocolEndpointProperty.md +7 -4
- package/docs/reference/interfaces/IDataspaceProtocolOffer.md +3 -8
- package/docs/reference/interfaces/IDataspaceProtocolOfferBase.md +1 -7
- package/docs/reference/interfaces/IDataspaceProtocolPolicy.md +2 -7
- package/docs/reference/interfaces/IDataspaceProtocolSet.md +2 -7
- package/docs/reference/interfaces/IDataspaceProtocolTransferCompletionMessage.md +6 -3
- package/docs/reference/interfaces/IDataspaceProtocolTransferError.md +6 -3
- package/docs/reference/interfaces/IDataspaceProtocolTransferProcess.md +6 -3
- package/docs/reference/interfaces/IDataspaceProtocolTransferRequestMessage.md +6 -3
- package/docs/reference/interfaces/IDataspaceProtocolTransferStartMessage.md +6 -3
- package/docs/reference/interfaces/IDataspaceProtocolTransferSuspensionMessage.md +6 -3
- package/docs/reference/interfaces/IDataspaceProtocolTransferTerminationMessage.md +6 -3
- package/docs/reference/type-aliases/DataspaceProtocolEndpointType.md +1 -8
- package/docs/reference/variables/DataspaceProtocolCatalogTypes.md +5 -2
- package/docs/reference/variables/DataspaceProtocolContexts.md +1 -1
- package/docs/reference/variables/DataspaceProtocolContractNegotiationEventType.md +5 -2
- package/docs/reference/variables/DataspaceProtocolContractNegotiationStateType.md +5 -2
- package/docs/reference/variables/DataspaceProtocolContractNegotiationTypes.md +5 -2
- package/docs/reference/variables/DataspaceProtocolEndpointType.md +11 -56
- package/docs/reference/variables/DataspaceProtocolTransferProcessStateType.md +5 -2
- package/docs/reference/variables/DataspaceProtocolTransferProcessTypes.md +5 -2
- package/package.json +3 -3
|
@@ -3,86 +3,32 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* TWIN Data Space Protocol Profile endpoint type identifiers.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
* Data Space Protocol Profile (RFC 006), which extends the Eclipse Dataspace
|
|
8
|
-
* Protocol specification with TWIN-specific vocabulary.
|
|
9
|
-
*
|
|
10
|
-
* The TWIN vocabulary uses persistent identifiers under the
|
|
11
|
-
* https://schema.twindev.org namespace to provide stable, semantic
|
|
12
|
-
* identifiers for data space endpoint types.
|
|
13
|
-
*
|
|
14
|
-
* References:
|
|
15
|
-
* - TWIN RFC 006: https://github.com/iotaledger/twin-rfcs/blob/main/rfcs/data-space-protocol/006-data-space-protocol-profile.md
|
|
16
|
-
* - TWIN DS Protocol Context: https://github.com/iotaledger/twin-rfcs/blob/main/rfcs/data-space-protocol/twin-ds-protocol-profile.jsonld
|
|
17
|
-
* - Eclipse DSP Specification: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/
|
|
18
|
-
* - RFC 001 (Query Interface): https://github.com/iotaledger/twin-rfcs/blob/main/rfcs/data-space-connector/001-data-space-connector-query.md
|
|
6
|
+
* @see https://github.com/iotaledger/twin-rfcs/blob/main/rfcs/data-space-protocol/006-data-space-protocol-profile.md
|
|
19
7
|
*/
|
|
20
8
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
21
9
|
export const DataspaceProtocolEndpointType = {
|
|
22
|
-
// ========================================
|
|
23
|
-
// TWIN Data Space Protocol Profile (RFC 006)
|
|
24
|
-
// Namespace: https://schema.twindev.org/dspace/v1/
|
|
25
|
-
// ========================================
|
|
26
10
|
/**
|
|
27
|
-
* HTTPS
|
|
28
|
-
*
|
|
29
|
-
* Used for PULL transfers via the TWIN Data Space Connector Query interface.
|
|
30
|
-
* The consumer retrieves data by querying this endpoint using the data access token.
|
|
31
|
-
* Endpoint must implement the interface specified in RFC 001.
|
|
32
|
-
*
|
|
33
|
-
* Transfer Flow:
|
|
34
|
-
* 1. Consumer initiates transfer request
|
|
35
|
-
* 2. Provider returns this endpoint type with data access token
|
|
36
|
-
* 3. Consumer queries the endpoint with the token to retrieve data
|
|
11
|
+
* HTTPS query endpoint for PULL transfers via the TWIN Data Space Connector Query interface.
|
|
37
12
|
*
|
|
38
13
|
* @see https://github.com/iotaledger/twin-rfcs/blob/main/rfcs/data-space-protocol/006-data-space-protocol-profile.md#data-transfer-profile-vocabulary
|
|
39
|
-
* @see https://github.com/iotaledger/twin-rfcs/blob/main/rfcs/data-space-connector/001-data-space-connector-query.md
|
|
40
14
|
*/
|
|
41
15
|
HttpsQueryEndpoint: "https://schema.twindev.org/dspace/v1/Https-Query-Endpoint",
|
|
42
16
|
/**
|
|
43
|
-
* HTTPS Activity Stream
|
|
44
|
-
*
|
|
45
|
-
* Used for PUSH transfers via Activity Streams 2.0 protocol.
|
|
46
|
-
* The provider actively sends data to the consumer's Activity Stream inbox endpoint.
|
|
47
|
-
* Based on W3C Activity Streams 2.0 specification.
|
|
48
|
-
*
|
|
49
|
-
* Transfer Flow:
|
|
50
|
-
* 1. Consumer initiates transfer request with this endpoint type
|
|
51
|
-
* 2. Consumer provides their Activity Stream inbox URL
|
|
52
|
-
* 3. Provider pushes data to the consumer's inbox as Activity Stream objects
|
|
17
|
+
* HTTPS Activity Stream endpoint for PUSH transfers via the Activity Streams 2.0 protocol.
|
|
53
18
|
*
|
|
54
19
|
* @see https://github.com/iotaledger/twin-rfcs/blob/main/rfcs/data-space-protocol/006-data-space-protocol-profile.md#data-transfer-profile-vocabulary
|
|
55
|
-
* @see https://www.w3.org/TR/activitystreams-core/
|
|
56
|
-
* @see https://www.w3.org/TR/activitypub/
|
|
57
20
|
*/
|
|
58
21
|
HttpsActivityStreamEndpoint: "https://schema.twindev.org/dspace/v1/Https-Activity-Stream-Endpoint",
|
|
59
|
-
// ========================================
|
|
60
|
-
// IDSA W3ID Namespace (Interoperability)
|
|
61
|
-
// ========================================
|
|
62
22
|
/**
|
|
63
|
-
* HTTP endpoint
|
|
64
|
-
*
|
|
65
|
-
* Persistent identifier for HTTP-based data access endpoints.
|
|
66
|
-
* This W3ID URL is used as a semantic identifier in JSON-LD contexts.
|
|
67
|
-
*
|
|
68
|
-
* Note: For TWIN-specific implementations, prefer using `HttpsQueryEndpoint`.
|
|
69
|
-
* This constant is provided for interoperability with IDSA-based systems.
|
|
23
|
+
* HTTP endpoint identifier from the IDSA W3ID v4.1 namespace.
|
|
70
24
|
*
|
|
71
25
|
* @see https://w3id.org/idsa/v4.1/HTTP
|
|
72
|
-
* @see https://github.com/International-Data-Spaces-Association/InformationModel
|
|
73
26
|
*/
|
|
74
27
|
HTTP: "https://w3id.org/idsa/v4.1/HTTP",
|
|
75
28
|
/**
|
|
76
|
-
* HTTPS endpoint
|
|
77
|
-
*
|
|
78
|
-
* Persistent identifier for HTTPS-based secure data access endpoints.
|
|
79
|
-
* This W3ID URL is used as a semantic identifier in JSON-LD contexts.
|
|
80
|
-
*
|
|
81
|
-
* Note: For TWIN-specific implementations, prefer using `HttpsQueryEndpoint`.
|
|
82
|
-
* This constant is provided for interoperability with IDSA-based systems.
|
|
29
|
+
* HTTPS endpoint identifier from the IDSA W3ID v4.1 namespace.
|
|
83
30
|
*
|
|
84
31
|
* @see https://w3id.org/idsa/v4.1/HTTPS
|
|
85
|
-
* @see https://github.com/International-Data-Spaces-Association/InformationModel
|
|
86
32
|
*/
|
|
87
33
|
HTTPS: "https://w3id.org/idsa/v4.1/HTTPS"
|
|
88
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataspaceProtocolEndpointType.js","sourceRoot":"","sources":["../../../../../src/models/transferProcess/types/dataspaceProtocolEndpointType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC
|
|
1
|
+
{"version":3,"file":"dataspaceProtocolEndpointType.js","sourceRoot":"","sources":["../../../../../src/models/transferProcess/types/dataspaceProtocolEndpointType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;;GAIG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC5C;;;;OAIG;IACH,kBAAkB,EAAE,2DAA2D;IAE/E;;;;OAIG;IACH,2BAA2B,EAC1B,qEAAqE;IAEtE;;;;OAIG;IACH,IAAI,EAAE,iCAAiC;IAEvC;;;;OAIG;IACH,KAAK,EAAE,kCAAkC;CAChC,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * TWIN Data Space Protocol Profile endpoint type identifiers.\n *\n * @see https://github.com/iotaledger/twin-rfcs/blob/main/rfcs/data-space-protocol/006-data-space-protocol-profile.md\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DataspaceProtocolEndpointType = {\n\t/**\n\t * HTTPS query endpoint for PULL transfers via the TWIN Data Space Connector Query interface.\n\t *\n\t * @see https://github.com/iotaledger/twin-rfcs/blob/main/rfcs/data-space-protocol/006-data-space-protocol-profile.md#data-transfer-profile-vocabulary\n\t */\n\tHttpsQueryEndpoint: \"https://schema.twindev.org/dspace/v1/Https-Query-Endpoint\",\n\n\t/**\n\t * HTTPS Activity Stream endpoint for PUSH transfers via the Activity Streams 2.0 protocol.\n\t *\n\t * @see https://github.com/iotaledger/twin-rfcs/blob/main/rfcs/data-space-protocol/006-data-space-protocol-profile.md#data-transfer-profile-vocabulary\n\t */\n\tHttpsActivityStreamEndpoint:\n\t\t\"https://schema.twindev.org/dspace/v1/Https-Activity-Stream-Endpoint\",\n\n\t/**\n\t * HTTP endpoint identifier from the IDSA W3ID v4.1 namespace.\n\t *\n\t * @see https://w3id.org/idsa/v4.1/HTTP\n\t */\n\tHTTP: \"https://w3id.org/idsa/v4.1/HTTP\",\n\n\t/**\n\t * HTTPS endpoint identifier from the IDSA W3ID v4.1 namespace.\n\t *\n\t * @see https://w3id.org/idsa/v4.1/HTTPS\n\t */\n\tHTTPS: \"https://w3id.org/idsa/v4.1/HTTPS\"\n} as const;\n\n/**\n * All valid Dataspace Protocol endpoint type URI values.\n */\nexport type DataspaceProtocolEndpointType =\n\t(typeof DataspaceProtocolEndpointType)[keyof typeof DataspaceProtocolEndpointType];\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Copyright 2025 IOTA Stiftung.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0.
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#ack-transfer-process
|
|
4
|
+
* State type identifiers for the Dataspace Protocol Transfer Process.
|
|
5
|
+
* @see https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#ack-transfer-process
|
|
6
6
|
*/
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8
8
|
export const DataspaceProtocolTransferProcessStateType = {
|
package/dist/es/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataspaceProtocolTransferProcessStateType.js","sourceRoot":"","sources":["../../../../../src/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACxD;;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;CACf,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n *
|
|
1
|
+
{"version":3,"file":"dataspaceProtocolTransferProcessStateType.js","sourceRoot":"","sources":["../../../../../src/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACxD;;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;CACf,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * State type identifiers for the Dataspace Protocol Transfer Process.\n * @see 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 DataspaceProtocolTransferProcessStateType = {\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} as const;\n\n/**\n * The types for Dataspace Protocol Transfer.\n */\nexport type DataspaceProtocolTransferProcessStateType =\n\t(typeof DataspaceProtocolTransferProcessStateType)[keyof typeof DataspaceProtocolTransferProcessStateType];\n"]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolAgreement",
|
|
4
4
|
"title": "DataspaceProtocolAgreement",
|
|
5
|
-
"description": "Agreement interface compliant with Eclipse Data Space Protocol
|
|
5
|
+
"description": "Agreement interface compliant with Eclipse Data Space Protocol, requiring an id and omitting context.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@id": {
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalog",
|
|
4
4
|
"title": "DataspaceProtocolCatalog",
|
|
5
|
-
"description": "Catalog
|
|
5
|
+
"description": "Catalog compliant with Eclipse Data Space Protocol, requiring a context, id, and participantId.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@context": {
|
|
9
9
|
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContextType",
|
|
10
|
-
"description": "LD
|
|
10
|
+
"description": "The JSON-LD context."
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"required": [
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalogBase",
|
|
4
4
|
"title": "DataspaceProtocolCatalogBase",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Base catalog interface compliant with Eclipse Data Space Protocol, requiring an id and participantId.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@type": {
|
|
@@ -15,35 +15,35 @@
|
|
|
15
15
|
},
|
|
16
16
|
"participantId": {
|
|
17
17
|
"type": "string",
|
|
18
|
-
"description": "
|
|
18
|
+
"description": "The participant identifier."
|
|
19
19
|
},
|
|
20
20
|
"catalog": {
|
|
21
21
|
"type": "array",
|
|
22
22
|
"items": {
|
|
23
23
|
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalogBase"
|
|
24
24
|
},
|
|
25
|
-
"description": "
|
|
25
|
+
"description": "Nested catalogs."
|
|
26
26
|
},
|
|
27
27
|
"dataset": {
|
|
28
28
|
"type": "array",
|
|
29
29
|
"items": {
|
|
30
30
|
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDatasetBase"
|
|
31
31
|
},
|
|
32
|
-
"description": "Datasets registered"
|
|
32
|
+
"description": "Datasets registered in this catalog."
|
|
33
33
|
},
|
|
34
34
|
"distribution": {
|
|
35
35
|
"type": "array",
|
|
36
36
|
"items": {
|
|
37
37
|
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDistributionBase"
|
|
38
38
|
},
|
|
39
|
-
"description": "
|
|
39
|
+
"description": "Distributions for this catalog."
|
|
40
40
|
},
|
|
41
41
|
"service": {
|
|
42
42
|
"type": "array",
|
|
43
43
|
"items": {
|
|
44
44
|
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDataServiceBase"
|
|
45
45
|
},
|
|
46
|
-
"description": "Data services registered
|
|
46
|
+
"description": "Data services registered in this catalog."
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"required": [
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalogError",
|
|
4
4
|
"title": "DataspaceProtocolCatalogError",
|
|
5
|
-
"description": "Interface for Dataspace Protocol
|
|
5
|
+
"description": "Interface for the Dataspace Protocol catalog error response.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@context": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalogRequestMessage",
|
|
4
4
|
"title": "DataspaceProtocolCatalogRequestMessage",
|
|
5
|
-
"description": "Interface for Dataspace Protocol
|
|
5
|
+
"description": "Interface for the Dataspace Protocol catalog request message.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@context": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContractAgreementMessage",
|
|
4
4
|
"title": "DataspaceProtocolContractAgreementMessage",
|
|
5
|
-
"description": "Interface for Dataspace Protocol
|
|
5
|
+
"description": "Interface for the Dataspace Protocol contract agreement message.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@context": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContractAgreementVerificationMessage",
|
|
4
4
|
"title": "DataspaceProtocolContractAgreementVerificationMessage",
|
|
5
|
-
"description": "Interface for Dataspace Protocol
|
|
5
|
+
"description": "Interface for the Dataspace Protocol contract agreement verification message.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@context": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContractNegotiation",
|
|
4
4
|
"title": "DataspaceProtocolContractNegotiation",
|
|
5
|
-
"description": "Interface for Dataspace Protocol
|
|
5
|
+
"description": "Interface for the Dataspace Protocol contract negotiation acknowledgment.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@context": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"state": {
|
|
25
25
|
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContractNegotiationStateType",
|
|
26
|
-
"description": "The
|
|
26
|
+
"description": "The current state of the contract negotiation."
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"required": [
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContractNegotiationError",
|
|
4
4
|
"title": "DataspaceProtocolContractNegotiationError",
|
|
5
|
-
"description": "Interface for Dataspace Protocol
|
|
5
|
+
"description": "Interface for the Dataspace Protocol contract negotiation error response.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@context": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContractNegotiationEventMessage",
|
|
4
4
|
"title": "DataspaceProtocolContractNegotiationEventMessage",
|
|
5
|
-
"description": "Interface for Dataspace Protocol
|
|
5
|
+
"description": "Interface for the Dataspace Protocol contract negotiation event message.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@context": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContractNegotiationTerminationMessage",
|
|
4
4
|
"title": "DataspaceProtocolContractNegotiationTerminationMessage",
|
|
5
|
-
"description": "Interface for Dataspace Protocol
|
|
5
|
+
"description": "Interface for the Dataspace Protocol contract negotiation termination message.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@context": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContractOfferMessage",
|
|
4
4
|
"title": "DataspaceProtocolContractOfferMessage",
|
|
5
|
-
"description": "Interface for Dataspace Protocol
|
|
5
|
+
"description": "Interface for the Dataspace Protocol contract offer message.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@context": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContractRequestMessage",
|
|
4
4
|
"title": "DataspaceProtocolContractRequestMessage",
|
|
5
|
-
"description": "Interface for Dataspace Protocol
|
|
5
|
+
"description": "Interface for the Dataspace Protocol contract request message.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@context": {
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDataAddress",
|
|
4
4
|
"title": "DataspaceProtocolDataAddress",
|
|
5
|
-
"description": "Interface for Dataspace Protocol
|
|
5
|
+
"description": "Interface for a Dataspace Protocol data address.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@type": {
|
|
9
9
|
"const": "DataAddress",
|
|
10
|
-
"description": "LD
|
|
10
|
+
"description": "The JSON-LD type."
|
|
11
11
|
},
|
|
12
12
|
"endpointType": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"description": "The
|
|
14
|
+
"description": "The endpoint type identifier."
|
|
15
15
|
},
|
|
16
16
|
"endpoint": {
|
|
17
17
|
"type": "string",
|
|
18
|
-
"description": "The endpoint
|
|
18
|
+
"description": "The endpoint URL or address."
|
|
19
19
|
},
|
|
20
20
|
"endpointProperties": {
|
|
21
21
|
"type": "array",
|
|
22
22
|
"items": {
|
|
23
23
|
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolEndpointProperty"
|
|
24
24
|
},
|
|
25
|
-
"description": "
|
|
25
|
+
"description": "Transport-specific endpoint properties."
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"required": [
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDataService",
|
|
4
4
|
"title": "DataspaceProtocolDataService",
|
|
5
|
-
"description": "Data
|
|
5
|
+
"description": "Data service compliant with Eclipse Data Space Protocol, requiring an id and endpointURL.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@context": {
|
|
9
9
|
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContextType",
|
|
10
|
-
"description": "LD
|
|
10
|
+
"description": "The JSON-LD context."
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"required": [
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDataServiceBase",
|
|
4
4
|
"title": "DataspaceProtocolDataServiceBase",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Base data service interface compliant with Eclipse Data Space Protocol, requiring an id and endpointURL.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@type": {
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDataset",
|
|
4
4
|
"title": "DataspaceProtocolDataset",
|
|
5
|
-
"description": "Dataset
|
|
5
|
+
"description": "Dataset compliant with Eclipse Data Space Protocol, requiring an id, hasPolicy, and distribution.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@context": {
|
|
9
9
|
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContextType",
|
|
10
|
-
"description": "LD
|
|
10
|
+
"description": "The JSON-LD context."
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"required": [
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDatasetBase",
|
|
4
4
|
"title": "DataspaceProtocolDatasetBase",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Base dataset interface compliant with Eclipse Data Space Protocol, requiring an id, hasPolicy, and distribution.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@type": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"items": {
|
|
19
19
|
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolOfferBase"
|
|
20
20
|
},
|
|
21
|
-
"description": "Array of ODRL
|
|
21
|
+
"description": "Array of ODRL offers; must contain at least one entry.",
|
|
22
22
|
"minItems": 1
|
|
23
23
|
},
|
|
24
24
|
"distribution": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"items": {
|
|
27
27
|
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDistributionBase"
|
|
28
28
|
},
|
|
29
|
-
"description": "
|
|
29
|
+
"description": "Distributions of this dataset; must contain at least one entry.",
|
|
30
30
|
"minItems": 1
|
|
31
31
|
}
|
|
32
32
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDatasetRequestMessage",
|
|
4
4
|
"title": "DataspaceProtocolDatasetRequestMessage",
|
|
5
|
-
"description": "Interface for Dataspace Protocol
|
|
5
|
+
"description": "Interface for the Dataspace Protocol dataset request message.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@context": {
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDistribution",
|
|
4
4
|
"title": "DataspaceProtocolDistribution",
|
|
5
|
-
"description": "Distribution
|
|
5
|
+
"description": "Distribution compliant with Eclipse Data Space Protocol, requiring an id and format.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@context": {
|
|
9
9
|
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContextType",
|
|
10
|
-
"description": "LD
|
|
10
|
+
"description": "The JSON-LD context."
|
|
11
11
|
},
|
|
12
12
|
"@id": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"description": "Unique identifier for the distribution
|
|
14
|
+
"description": "Unique identifier for the distribution; required on standalone distribution objects."
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"required": [
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDistributionBase",
|
|
4
4
|
"title": "DataspaceProtocolDistributionBase",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Base distribution interface compliant with Eclipse Data Space Protocol, requiring a format and accessService.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@type": {
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
},
|
|
12
12
|
"@id": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"description": "Unique identifier for the distribution
|
|
14
|
+
"description": "Unique identifier for the distribution; optional for embedded distributions."
|
|
15
15
|
},
|
|
16
16
|
"hasPolicy": {
|
|
17
17
|
"type": "array",
|
|
18
18
|
"items": {
|
|
19
19
|
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolOfferBase"
|
|
20
20
|
},
|
|
21
|
-
"description": "
|
|
21
|
+
"description": "Optional array of ODRL offers; when present, must contain at least one entry.",
|
|
22
22
|
"minItems": 1
|
|
23
23
|
},
|
|
24
24
|
"accessService": {
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolDataServiceBase"
|
|
31
31
|
}
|
|
32
32
|
],
|
|
33
|
-
"description": "Access service
|
|
33
|
+
"description": "Access service URI or inline access service definition."
|
|
34
34
|
},
|
|
35
35
|
"format": {
|
|
36
36
|
"type": "string",
|
|
37
|
-
"description": "Distribution format
|
|
37
|
+
"description": "Distribution format identifier."
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"required": [
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolEndpointProperty",
|
|
4
4
|
"title": "DataspaceProtocolEndpointProperty",
|
|
5
|
-
"description": "Interface for Dataspace Protocol
|
|
5
|
+
"description": "Interface for a Dataspace Protocol endpoint property key-value pair.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@type": {
|
|
9
9
|
"const": "EndpointProperty",
|
|
10
|
-
"description": "LD
|
|
10
|
+
"description": "The JSON-LD type."
|
|
11
11
|
},
|
|
12
12
|
"name": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"description": "
|
|
14
|
+
"description": "The property name."
|
|
15
15
|
},
|
|
16
16
|
"value": {
|
|
17
17
|
"type": "string",
|
|
18
|
-
"description": "
|
|
18
|
+
"description": "The property value."
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"required": [
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolOffer",
|
|
4
4
|
"title": "DataspaceProtocolOffer",
|
|
5
|
-
"description": "Offer interface compliant with Eclipse Data Space Protocol
|
|
5
|
+
"description": "Offer interface compliant with Eclipse Data Space Protocol, requiring an id and context.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@id": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"@context": {
|
|
13
13
|
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlContextType",
|
|
14
|
-
"description": "LD
|
|
14
|
+
"description": "The JSON-LD context."
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"required": [
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolOfferBase",
|
|
4
4
|
"title": "DataspaceProtocolOfferBase",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Context-free offer interface compliant with Eclipse Data Space Protocol, for embedding within parent documents.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@id": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolPolicy",
|
|
4
4
|
"title": "DataspaceProtocolPolicy",
|
|
5
|
-
"description": "Policy interface compliant with Eclipse Data Space Protocol
|
|
5
|
+
"description": "Policy interface compliant with Eclipse Data Space Protocol, requiring an id and omitting context.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@id": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolSet",
|
|
4
4
|
"title": "DataspaceProtocolSet",
|
|
5
|
-
"description": "Set interface compliant with Eclipse Data Space Protocol
|
|
5
|
+
"description": "Set interface compliant with Eclipse Data Space Protocol, requiring an id and omitting context.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"@id": {
|