You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: catalog/catalog.binding.https.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,14 +50,14 @@ request.
50
50
51
51
#### 2.3.2 OK (200) Response
52
52
53
-
If the request is successful, the catalog service must return a response body containing a [Catalog](./message/catalog.json) which is a profiled DCAT Catalog type
53
+
If the request is successful, the catalog service must return a response body containing a [Catalog](./message/catalog.json) which is a profiled DCAT `Catalog` type
54
54
described by the [Catalog Protocol Specification](catalog.protocol.md).
55
55
56
56
### 2.4 The `catalog/datasets/{id}` endpoint
57
57
58
58
#### 2.3.1 GET
59
59
60
-
The [DatasetRequestMessage](catalog.protocol.md#21-datasetrequestmessage) corresponds to `GET https://<base>/catalog/datasets/{id}}`:
60
+
The [DatasetRequestMessage](catalog.protocol.md#24-datasetrequestmessage) corresponds to `GET https://<base>/catalog/datasets/{id}}`:
61
61
62
62
```
63
63
GET https://provider.com/datasets/{id}
@@ -71,7 +71,7 @@ The `Authorization` header is optional if the catalog service does not require a
71
71
72
72
#### 2.4.2 OK (200) Response
73
73
74
-
If the request is successful, the catalog service must return a response body containing a [Dataset](./message/dataset.json) which is a DCAT Dataset type
74
+
If the request is successful, the catalog service must return a response body containing a [Dataset](./message/dataset.json) which is a DCAT `Dataset` type
75
75
described by the [Catalog Protocol Specification](catalog.protocol.md).
76
76
77
77
## 3 Technical Considerations
@@ -147,5 +147,5 @@ Authorization: ...
147
147
}
148
148
```
149
149
150
-
The `CatalogResponseMessage` would be POSTed back to the endpoint. the response message could be posted mutiple times for paginated results and would need to include the
150
+
The `CatalogResponseMessage` would be POSTed back to the endpoint. the response message could be posted multiple times for paginated results and would need to include the
151
151
original `@id` value as a `correlationId` and a property indicating if the contents are complete (or additional responses will be sent).
Copy file name to clipboardExpand all lines: catalog/catalog.protocol.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ be defined in the relevant catalog binding specification.
59
59
The catalog contains all [Asset Entries](#31-asset-entry) which the requester shall see.
60
60
61
61
62
-
### 2.3 Catalog Error Message
62
+
### 2.3 CatalogErrorMessage
63
63
64
64

65
65
@@ -73,7 +73,7 @@ The catalog contains all [Asset Entries](#31-asset-entry) which the requester sh
73
73
74
74
#### Description
75
75
76
-
A Catalog Error Message is used when an error occured after a CatalogRequestMessage and the provider can not provide its catalog to the requester.
76
+
A Catalog Error Message is used when an error occurred after a `CatalogRequestMessage` and the provider can not provide its catalog to the requester.
77
77
78
78
### 2.4 DatasetRequestMessage
79
79
@@ -115,10 +115,10 @@ target attributes. The target of an offer is the asset associated with the conta
115
115
An asset may contain 0..N [DCAT Distributions](https://www.w3.org/TR/vocab-dcat-3/#Class:Distribution). Each distribution must have at least one `DataService` which specifies where
116
116
the distribution is obtained. Specifically, a `DataService` specifies the endpoint for initiating a `ContractNegotiation` and `AssetTransfer`.
117
117
118
-
A Distribution may have 0..N `hasPolicy` attributes that contain an ODRL `Offer` defining the usage control policy associated with the asset and this explicit Distribution.
118
+
A Distribution may have 0..N `hasPolicy` attributes that contain an ODRL `Offer` defining the usage control policy associated with the asset and this explicit `Distribution`.
119
119
Offers must NOT contain any target attributes. The target of an offer is the asset entry that contains the distribution.
120
120
121
-
Support for `hasPolicy` attributes on a Distribution is optional. Implementations may choose not to support this feature, in which case they should return an appropriate error
121
+
Support for `hasPolicy` attributes on a `Distribution` is optional. Implementations may choose not to support this feature, in which case they should return an appropriate error
Copy file name to clipboardExpand all lines: negotiation/contract.negotiation.binding.https.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ The OpenAPI definitions for this specification can be accessed [here](TBD).
15
15
16
16
2. All request and response messages must use the `application/json` media type.
17
17
18
-
### 2.2 ContractNegotiationError
18
+
### 2.2 Contract Negotiation Error
19
19
20
20
In the event of a client request error, the connector must return an appropriate HTTP 4xxx client error code. If an error body is returned it must be
21
21
a [ContractNegotiationError](./message/contract-negotiation-error.json) with the following properties:
@@ -29,7 +29,7 @@ a [ContractNegotiationError](./message/contract-negotiation-error.json) with the
29
29
### 2.2.1 State transition errors
30
30
31
31
If a client or provider connector makes a request that results in an invalid contract negotiation state transition as defined by the Contract Negotiation Protocol, it must return
32
-
an HTTP code 400 (Bad Request) with an NegotiationErrorMessage in the response body.
32
+
an HTTP code 400 (Bad Request) with an `ContractNegotiationError` in the response body.
33
33
34
34
### 2.3 Authorization
35
35
@@ -146,7 +146,7 @@ A consumer connector can POST a [ContractNegotiationEventMessage](./message/cont
146
146
provider contract offer. If the negotiation state is successfully transitioned, the provider must return HTTP code 200 (OK). The response body is not specified and clients are not
147
147
required to process it.
148
148
149
-
If the current contract offer was created by the consumer, the provider must return HTTP code 400 (Bad Request) with an NegotiationErrorMessage in the response body.
149
+
If the current contract offer was created by the consumer, the provider must return HTTP code 400 (Bad Request) with an `NegotiationErrorMessage` in the response body.
150
150
151
151
### 2.8 The provider `negotiations/:id/agreement/verification` resource
Copy file name to clipboardExpand all lines: negotiation/contract.negotiation.protocol.md
+19-21Lines changed: 19 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,12 +32,12 @@ The CN states are:
32
32
33
33
### Contract Negotiation State Machine
34
34
35
-
The CN state machine is represented in the following diagram. Note that transitions to the TERMINATED state may occur from any other state and are not shown for simplicity:
35
+
The CN state machine is represented in the following diagram. Note that transitions to the `TERMINATED` state may occur from any other state and are not shown for simplicity:
36
36
37
37

38
38
39
39
Transitions marked with `C` indicate a message sent by the consumer, transitions marked with `P` indicate a provider message. Terminal states are final; the state machine may
40
-
not transition to another state. A new CN may be initiated if, for instance, the CN entered the TERMINATED state due to a network issue.
40
+
not transition to another state. A new CN may be initiated if, for instance, the CN entered the `TERMINATED` state due to a network issue.
41
41
42
42
## Message Types
43
43
@@ -69,7 +69,7 @@ The CN state machine is transitioned upon receipt and acknowledgement of a messa
69
69
70
70
#### Description
71
71
72
-
The _ContractRequestMessage_ is sent by a consumer to initiate a contract negotiation.
72
+
The `ContractRequestMessage` is sent by a consumer to initiate a contract negotiation.
73
73
74
74
#### Notes
75
75
@@ -81,8 +81,6 @@ The _ContractRequestMessage_ is sent by a consumer to initiate a contract negoti
81
81
82
82
- The dataset id is not technically required but included to avoid an error where the offer is associated with a different data set.
83
83
84
-
> Comment sba (20.12.2022): Let's use the `offer.target` property for this, and nothing else.
85
-
86
84
-`callbackAddress` is a URL indicating where messages to the consumer should be sent in asynchronous settings. If the address is not understood, the provider MUST return an
87
85
UNRECOVERABLE error.
88
86
@@ -103,7 +101,7 @@ The _ContractRequestMessage_ is sent by a consumer to initiate a contract negoti
103
101
104
102
#### Description
105
103
106
-
The _ContractOfferMessage_ is sent by a provider to initiate a contract negotiation.
104
+
The `ContractOfferMessage` is sent by a provider to initiate a contract negotiation.
107
105
108
106
109
107
### 3. ContractAgreementMessage
@@ -122,11 +120,11 @@ The _ContractOfferMessage_ is sent by a provider to initiate a contract negotiat
122
120
123
121
#### Description
124
122
125
-
The _ContractAgreementMessage_ is sent by a provider when it agrees to a contract. It contains the complete contract agreement with the provider's signature.
123
+
The `ContractAgreementMessage` is sent by a provider when it agrees to a contract. It contains the complete contract agreement with the provider's signature.
126
124
127
-
A _ContractAgreementMessage_ must contain a `processId`.
125
+
A `ContractAgreementMessage` must contain a `processId`.
128
126
129
-
A _ContractAgreementMessage_ must contain an ODRL Agreement.
127
+
A `ContractAgreementMessage` must contain an ODRL `Agreement`.
130
128
131
129
### 4. ContractAgreementVerificationMessage
132
130
@@ -145,10 +143,10 @@ A _ContractAgreementMessage_ must contain an ODRL Agreement.
145
143
146
144
#### Description
147
145
148
-
The _ContractAgreementVerificationMessage_ is sent by a consumer to verify the acceptance of a contract agreement. A provider responds with an error if the signature can't be
146
+
The `ContractAgreementVerificationMessage` is sent by a consumer to verify the acceptance of a contract agreement. A provider responds with an error if the signature can't be
149
147
validated or is incorrect.
150
148
151
-
A _ContractAgreementVerificationMessage_ must contain a `processId`.
149
+
A `ContractAgreementVerificationMessage` must contain a `processId`.
152
150
153
151
### 5. ContractNegotiationEventMessage
154
152
@@ -167,15 +165,15 @@ A _ContractAgreementVerificationMessage_ must contain a `processId`.
167
165
168
166
#### Description
169
167
170
-
When the _ContractNegotiationEventMessage_ is sent by a provider with an `eventType` property set to `FINALIZED`, a contract agreement has been finalized and the associated asset
171
-
is accessible. The state machine is transitioned to the PROVIDER_FINALIZED state. Other event types may be defined in the future. A consumer responds with an error if the signature
168
+
When the `ContractNegotiationEventMessage` is sent by a provider with an `eventType` property set to `FINALIZED`, a contract agreement has been finalized and the associated asset
169
+
is accessible. The state machine is transitioned to the `PROVIDER_FINALIZED` state. Other event types may be defined in the future. A consumer responds with an error if the signature
172
170
can't be validated or is incorrect.
173
171
174
-
It is an error for a consumer to send a ContractNegotiationEventMessage with an eventType `finalized` to the provider.
172
+
It is an error for a consumer to send a `ContractNegotiationEventMessage` with an eventType `finalized` to the provider.
175
173
176
-
When the _ContractNegotiationEventMessage_ is sent by a consumer with an `eventType` set to `ACCEPTED`, the state machine is placed in the CONSUMER_AGREED state.
174
+
When the `ContractNegotiationEventMessage` is sent by a consumer with an `eventType` set to `ACCEPTED`, the state machine is placed in the `CONSUMER_AGREED` state.
177
175
178
-
It is an error for a provider to send a ContractNegotiationEventMessage with an eventType `ACCEPTED` to the consumer.
176
+
It is an error for a provider to send a `ContractNegotiationEventMessage` with an eventType `ACCEPTED` to the consumer.
179
177
180
178
Note that contract events are not intended for propagation of agreement state after a contract negotiation has entered a terminal state. It is considered an error for a consumer or
181
179
provider to send a contract negotiation event after the negotiation state machine has entered a terminal state.
@@ -194,15 +192,15 @@ provider to send a contract negotiation event after the negotiation state machin
194
192
195
193
#### Description
196
194
197
-
The _ContractNegotiationTerminationMessage_ is sent by a consumer or provider indicating it has cancelled the negotiation sequence. The message can be sent at any state of a negotiation
195
+
The `ContractNegotiationTerminationMessage` is sent by a consumer or provider indicating it has cancelled the negotiation sequence. The message can be sent at any state of a negotiation
198
196
without providing an explanation. Nevertheless, the sender may provide a description to help the receiver.
199
197
200
198
#### Notes
201
199
202
200
- A contract negotiation may be terminated for a variety of reasons, for example, an unrecoverable error was encountered or one of the parties no longer wishes to continue. A
203
201
connector's operator may remove terminated contract negotiation resources after it has reached the terminated state.
204
202
205
-
- If an error is received in response to a ContractNegotiationTerminationMessage, the sending party may choose to ignore the error.
203
+
- If an error is received in response to a `ContractNegotiationTerminationMessage`, the sending party may choose to ignore the error.
206
204
207
205
## ContractNegotiationError
208
206
@@ -216,11 +214,11 @@ without providing an explanation. Nevertheless, the sender may provide a descrip
216
214
217
215
#### Description
218
216
219
-
The _ContractNegotiationError_ is an object returned by a consumer or provider indicating an error has occurred. It does not cause a state transition.
217
+
The `ContractNegotiationError` is an object returned by a consumer or provider indicating an error has occurred. It does not cause a state transition.
220
218
221
219
#### Notes
222
220
223
-
- A _ContractNegotiationError_ is different to an error response. A _ContractNegotiationError_ does not necessarily finish the negotiation but can continue
221
+
- A `ContractNegotiationError` is different to an error response. A `ContractNegotiationError` does not necessarily finish the negotiation but can continue
224
222
afterwards.
225
223
226
224
## Hash and Signature Calculations
@@ -237,7 +235,7 @@ Hash and Signatures are calculated as defined in the [[JWS/CT]](#references) of
237
235
238
236
- Adopt JWS/CT, an extension to the JSON Web Signature (JWS) standard.
239
237
- Combines the detached mode of JWS with the JSON Canonicalization Scheme (JCS). Detached mode is when the payload section of the JWS is replaced
240
-
by an empty string: XXXX.PAYLOAD.YYYY becomes XXXX..YYYY. Detached mode is described in the JWS spec.
238
+
by an empty string: `XXXX.PAYLOAD.YYYY` becomes `XXXX..YYYY`. Detached mode is described in the JWS spec.
Copy file name to clipboardExpand all lines: transfer/transfer.process.binding.https.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ Note that if the location header is not an absolute URL, it must resolve to an a
119
119
#### 2.6.1 POST
120
120
121
121
The consumer connector can POST a [TransferStartMessage](./message/transfer-start-message.json) to attempt to start a transfer process after it has been suspended. If the transfer
122
-
process state is successfully transitioned, the producer must return HTTP code 200 (OK). The response body is not specified and clients are not required to process it.
122
+
process state is successfully transitioned, the provider must return HTTP code 200 (OK). The response body is not specified and clients are not required to process it.
123
123
124
124
### 2.7 The provider `transfers/:id/completion` resource
125
125
@@ -140,7 +140,7 @@ process state is successfully transitioned, the provider must return HTTP code 2
140
140
#### 2.9.1 POST
141
141
142
142
The consumer connector can POST a [TransferSuspensionMessage](./message/transfer-suspension-message.json) to suspend a transfer process. If the transfer
143
-
process state is successfully transitioned, the producer must return HTTP code 200 (OK). The response body is not specified and clients are not required to process it.
143
+
process state is successfully transitioned, the provider must return HTTP code 200 (OK). The response body is not specified and clients are not required to process it.
0 commit comments