Skip to content

Commit 567b719

Browse files
committed
fix: RFC 2119 keywords in uppercase
Changing some RFC 2119 keywords to uppercase as expected.
1 parent 6825362 commit 567b719

File tree

7 files changed

+31
-31
lines changed

7 files changed

+31
-31
lines changed

specifications/catalog/catalog.binding.https.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ Authorization: ...</pre>
3737
</pre>
3838
</aside>
3939

40-
- The `Authorization` header is optional if the [=Catalog Service=] does not require authorization. If present, the
40+
- The `Authorization` header is OPTIONAL if the [=Catalog Service=] does not require authorization. If present, the
4141
contents of the `Authorization` header are detailed in
4242
the [Authorization section](../common/common.binding.https.md#2-authorization).
4343

44-
- The `filter` property is optional. If present, the `filter` property MAY contain an implementation-specific filter
44+
- The `filter` property is OPTIONAL. If present, the `filter` property MAY contain an implementation-specific filter
4545
expression or query to be executed as part of the [=Catalog=] request. If a filter expression is not supported by an
4646
implementation, it MUST return a HTTP 400 (Bad Request) response.
4747

@@ -68,7 +68,7 @@ Authorization: ...</pre>
6868
</pre>
6969
</aside>
7070

71-
- The `Authorization` header is optional if the [=Catalog Service=] does not require authorization. If present, the
71+
- The `Authorization` header is OPTIONAL if the [=Catalog Service=] does not require authorization. If present, the
7272
contents of the `Authorization` header are detailed in the [[[#authorization]]].
7373

7474
**Response**
@@ -85,7 +85,7 @@ a [Dataset](#ack-dataset).
8585

8686
### Pagination
8787

88-
A [=Catalog Service=] may paginate the results of a [Catalog Request Message](#catalog-request-message). Pagination data
88+
A [=Catalog Service=] MAY paginate the results of a [Catalog Request Message](#catalog-request-message). Pagination data
8989
MUST be specified using [Web Linking](https://datatracker.ietf.org/doc/html/rfc5988) and the HTTP `Link` header.
9090
The `Link` header will contain URLs for navigating to previous and subsequent results. Only the `next` and `previous`
9191
link relation types MUST be supported.
@@ -128,7 +128,7 @@ Link: <https://provider.com/catalog?continuationToken=bn9556075bn44de8ab4bfc9014
128128

129129
### Compression
130130

131-
[=Catalog Services=] may compress responses to
131+
[=Catalog Services=] MAY compress responses to
132132
a [Catalog Request](#catalog-request-message) by setting the `Content-Encoding` header to `gzip` as described in
133133
the [HTTP 1.1 Specification](https://www.rfc-editor.org/rfc/rfc9110.html#name-gzip-coding).
134134

specifications/catalog/catalog.protocol.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ provided in protocol-dependent forms, e.g., for an HTTPS binding in the request
6565
| **Example** | [Catalog Example](message/example/catalog.json) |
6666
| **Properties** | <p data-include="message/table/rootcatalog.html" data-include-format="html"></p> |
6767

68-
- A [=Catalog=] MUST have zero to many [=Datasets=]. (_NOTE: Since a Catalog may be dynamically generated for a request based on the requesting [=Participant=]'s credentials, it is possible for it to contain 0 matching [=Datasets=]._)
68+
- A [=Catalog=] MUST have zero to many [=Datasets=]. (_NOTE: Since a Catalog MAY be dynamically generated for a request based on the requesting [=Participant=]'s credentials, it is possible for it to contain 0 matching [=Datasets=]._)
6969

7070
- A [=Catalog=] MUST have one to many [=Data Services=] that reference a [=Connector=] where [=Datasets=] MAY be obtained.
7171

@@ -94,7 +94,7 @@ An [=Offer=] contains the following attributes:
9494

9595
- An [=Offer=] MUST be unique to a [=Dataset=] since the target of the [=Offer=] is derived from its enclosing context.
9696

97-
- [=Offers=] MAY contain any `target` attributes. The value of the `target` attribute MUST be the [=Dataset=] identifier. (_NOTE: If the [=Offer=] is used in an enclosing [=Catalog=] or [=Dataset=], there must not be any `target` attribute set._)
97+
- [=Offers=] MAY contain any `target` attributes. The value of the `target` attribute MUST be the [=Dataset=] identifier. (_NOTE: If the [=Offer=] is used in an enclosing [=Catalog=] or [=Dataset=], there MUST NOT be any `target` attribute set._)
9898

9999
### ERROR - Catalog Error
100100

@@ -112,7 +112,7 @@ a [Dataset Request Message](#dataset-request-message) and the [=Provider=] canno
112112

113113
### Queries and Filter Expressions
114114

115-
A [=Catalog Service=] may support [=Catalog=] queries or filter expressions as an
115+
A [=Catalog Service=] MAY support [=Catalog=] queries or filter expressions as an
116116
implementation-specific feature. However, query capabilities by the [=Consumer=] MUST be implemented
117117
against the results of a [Catalog Request Message](#catalog-request-message). Client-side querying can
118118
be scaled by periodically crawling
@@ -133,7 +133,7 @@ a [=Consumer=] discovers [=Catalog Services=].
133133
### Security
134134

135135
[=Catalog Services=] SHOULD implement access control.
136-
A [=Catalog=] as well as individual [=Datasets=] may be restricted to trusted
136+
A [=Catalog=] as well as individual [=Datasets=] MAY be restricted to trusted
137137
parties. Therefore, the [=Catalog Service=] MAY
138138
require [=Consumers=] to include a security token along with
139139
a [Catalog Request Message](#catalog-request-message). The specifics of how this is done can be found in the relevant
@@ -146,14 +146,14 @@ If a [=Catalog=] contains protected [=Datasets=], the [=Provider=] has two optio
146146
all [=Datasets=] in the [=Catalog=] response and restrict access when a [=Policy=] is
147147
negotiated; or, require one or more proofs when the [Catalog Request](#catalog-request-message) is made and filter
148148
the [=Datasets=] accordingly. The latter option requires a mechanism for clients to
149-
discover the type of proofs that may be presented at request time. The specifics of proof types and presenting a proof
149+
discover the type of proofs that MAY be presented at request time. The specifics of proof types and presenting a proof
150150
during a [=Catalog=] request is outside the scope of the [=Dataspace Protocol=].
151151
However, [=Catalog Protocol=] bindings SHOULD define a proof data endpoint for
152152
obtaining this information.
153153

154154
### Catalog Brokers
155155

156-
A [=Dataspace=] may include Catalog Brokers. A Catalog Broker is
156+
A [=Dataspace=] MAY include Catalog Brokers. A Catalog Broker is
157157
a [=Consumer=] that has trusted access to 1..N
158158
upstream [=Catalog Services=] and advertises their
159159
respective [=Catalogs=] as a

specifications/common/common.protocol.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Authorization
44

55
All requests to HTTPS endpoints SHOULD use the `Authorization` header to include an authorization token. The semantics
6-
of such tokens are not part of this specification. The `Authorization` HTTP header is optional if the [=Connector=]
6+
of such tokens are not part of this specification. The `Authorization` HTTP header is OPTIONAL if the [=Connector=]
77
does not require authorization.
88

99
## Schemas & Contexts
@@ -18,7 +18,7 @@ similar contexts that facilitate this approach to interoperability. As this spec
1818

1919
## Exposure of Versions {#exposure-of-dataspace-protocol-versions}
2020

21-
[=Connectors=] implementing the [=Dataspace Protocol=] may operate on different versions and bindings. Therefore, it is
21+
[=Connectors=] implementing the [=Dataspace Protocol=] MAY operate on different versions and bindings. Therefore, it is
2222
necessary that they can discover such information reliably and unambiguously. Each [=Connector=]
2323
MUST provide a version metadata endpoint ending with Uniform Resource Identifier (URI) segments `/.well-known/dspace-version`. The location of this
2424
endpoint SHOULD adhere to [[rfc8615]].

specifications/common/terminology.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Terms and definitions {#terminology}
22

3-
The following terms and definitions introduce the core concepts, entities, and relationships that underpin a [=Dataspace=] and its communication protocols. Not all [=Dataspace=] entities have a concrete _technical_ materialization; some entities may exist as purely logical constructs.
3+
The following terms and definitions introduce the core concepts, entities, and relationships that underpin a [=Dataspace=] and its communication protocols. Not all [=Dataspace=] entities have a concrete _technical_ materialization; some entities MAY exist as purely logical constructs.
44

55
<dfn>Agreement</dfn>
66

@@ -28,7 +28,7 @@ A [=Participant=] that requests access to an offered [=Dataset=].
2828

2929
<dfn>Contract Negotiation</dfn>
3030

31-
A set of interactions between a [=Provider=] and [=Consumer=] that establish an [=Agreement=]. It is an instantiation of the state machine of a [=Contract Negotiation Protocol=]. An outcome of a Contract Negotiation may be the production of an [=Agreement=].
31+
A set of interactions between a [=Provider=] and [=Consumer=] that establish an [=Agreement=]. It is an instantiation of the state machine of a [=Contract Negotiation Protocol=]. An outcome of a Contract Negotiation MAY be the production of an [=Agreement=].
3232

3333
<dfn>Contract Negotiation Protocol</dfn>
3434

@@ -48,7 +48,7 @@ Note 1 to entry: This specification convers only protocols to facilitate interop
4848

4949
<dfn>Dataspace Protocol</dfn>
5050

51-
A set of [=Messages=] and [=Message=] sequences that enables the interaction between [=Participant Agents=] in a [=Dataspace=]. This may require additional concepts, which are not in the scope of the specification itself.
51+
A set of [=Messages=] and [=Message=] sequences that enables the interaction between [=Participant Agents=] in a [=Dataspace=]. This MAY require additional concepts, which are not in the scope of the specification itself.
5252

5353
<dfn>Data Transfer Protocol</dfn>
5454

specifications/negotiation/contract.negotiation.binding.https.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ If the client is not authorized, the [=Consumer=] or [=Provider=] MUST return an
3535
### Authorization
3636

3737
All requests SHOULD use the `Authorization` header to include an authorization token. The semantics of such tokens are
38-
not part of this specification. The `Authorization` HTTP header is optional if the [=Connector=] does not require
38+
not part of this specification. The `Authorization` HTTP header is OPTIONAL if the [=Connector=] does not require
3939
authorization.
4040

4141
## Provider Path Bindings
@@ -93,7 +93,7 @@ Authorization: ...</pre>
9393
the [=Contract Negotiation=]. The HTTPS scheme MUST be supported. Implementations MAY optionally support other URL schemes.
9494

9595
- Callback [=Messages=] will be sent to paths under the base URL as described by this specification. (_NOTE:
96-
[=Providers=] should properly handle the cases where a trailing `/` is included
96+
[=Providers=] SHOULD properly handle the cases where a trailing `/` is included
9797
with or absent from the `callbackAddress` when resolving full URL._)
9898

9999
**Response**
@@ -110,7 +110,7 @@ the [Contract Negotiation](#ack-contract-negotiation):
110110

111111
**Request**
112112

113-
A [=Consumer=] may make an [=Offer=] by POSTing
113+
A [=Consumer=] MAY make an [=Offer=] by POSTing
114114
a [Contract Request Message](#contract-request-message)
115115
to `negotiations/:providerPid/request`:
116116

@@ -254,7 +254,7 @@ Authorization: ...</pre>
254254
[=Contract Negotiation=]. The HTTPS scheme MUST be supported. Implementations MAY optionally support other URL schemes.
255255

256256
- Callback messages will be sent to paths under the base URL as described by this specification. (_NOTE: [=Consumers=]
257-
should properly handle the cases where a trailing / is included with or absent from the `callbackAddress` when
257+
SHOULD properly handle the cases where a trailing / is included with or absent from the `callbackAddress` when
258258
resolving full URL._)
259259

260260
**Response**
@@ -271,7 +271,7 @@ the [Contract Negotiation](#ack-contract-negotiation):
271271

272272
**Request**
273273

274-
A [=Provider=] may make an [=Offer=] by POSTing a [Contract Offer Message](#contract-offer-message) to
274+
A [=Provider=] MAY make an [=Offer=] by POSTing a [Contract Offer Message](#contract-offer-message) to
275275
the `negotiations/:consumerPid/offers` callback:
276276

277277
<aside class="example" title="Contract Offer Request">

specifications/negotiation/contract.negotiation.protocol.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ a [Contract Request Message](#contract-request-message) sent by a [=Consumer=].
9999
- The [=Dataset=] identifier MAY be included when the [=Provider=] initiates a [=Contract Negotiation=].
100100

101101
- Different to a [=Dataset=],
102-
the [=Offer=] inside a [Contract Offer Message](#contract-offer-message) MUST have a `target` attribute. However, its contained Rules MUST not
102+
the [=Offer=] inside a [Contract Offer Message](#contract-offer-message) MUST have a `target` attribute. However, its contained Rules MUST NOT
103103
have any `target` attributes to prevent inconsistencies with
104104
the [ODRL inferencing rules for compact policies](https://www.w3.org/TR/odrl-model/#composition-compact).
105105

@@ -166,7 +166,7 @@ When the Contract Negotiation Event Message is sent by a [=Provider=] with an `e
166166
an [=Agreement=] has been finalized and the associated [=Dataset=] is accessible. The state machine is transitioned to
167167
the `FINALIZED` state.
168168

169-
- Other event types may be defined in the future.
169+
- Other event types MAY be defined in the future.
170170

171171
- A [=Consumer=] MUST respond with an error if the [=Agreement=] cannot be validated or is incorrect.
172172

@@ -202,7 +202,7 @@ provide a description to help the receiver.
202202

203203
- If an error is received in response to the message, the sending party MAY choose to ignore the error.
204204

205-
Note that a [=Contract Negotiation=] may be terminated for a variety of reasons, for example, an unrecoverable error was encountered or one of
205+
Note that a [=Contract Negotiation=] MAY be terminated for a variety of reasons, for example, an unrecoverable error was encountered or one of
206206
the parties no longer wishes to continue. A [=Connector=]'s operator MAY
207207
remove terminated [=Contract Negotiation=] resources after it has reached the terminated state.
208208

specifications/transfer/transfer.process.protocol.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ responses, parameters, possible recursions, and interactions between the compone
5151

5252
##### Finite and Non-Finite Data
5353

54-
Data may be `finite` or `non-finite`. This applies to either push and pull transfers. Finite data is data that is
54+
Data MAY be `finite` or `non-finite`. This applies to either push and pull transfers. Finite data is data that is
5555
defined by a finite set, for example, machine learning data or images. After finite data transmission has finished, the
5656
[=Transfer Process=] is completed. Non-finite data is data that is defined by an infinite set or has no specified end, for example,
5757
streams or an API endpoint. With non-finite data, a [=Transfer Process=] will continue indefinitely until either the [=Consumer=]
@@ -100,15 +100,15 @@ The Transfer Request Message is sent by a [=Consumer=] to initiate a [=Transfer
100100
- The `format` property is a format specified by a `Distribution` for the [=Dataset=] associated with
101101
the [=Agreement=]. This is generally obtained from the [=Provider=]'s [=Catalog=].
102102

103-
- The `dataAddress` property MUST only be provided if the `format` requires a push transfer.
103+
- The `dataAddress` property MUST only be provided if the `format` REQUIRES a push transfer.
104104

105105
- The `dataAddress` MUST contain a transport-specific set of properties for pushing the data. It MAY include an `endpoint`,
106106
a temporary authorization via the `endpointProperties` property - depending on the `endpointType`.
107107

108-
- `callbackAddress` MUST be a URI indicating where messages to the [=Consumer=] should be sent. If the address is not
108+
- `callbackAddress` MUST be a URI indicating where messages to the [=Consumer=] SHOULD be sent. If the address is not
109109
understood, the [=Provider=] MUST return an **unrecoverable** error.
110110

111-
- The `endpointProperties` MAY (among others) contain the following optional values:
111+
- The `endpointProperties` MAY (among others) contain the following OPTIONAL values:
112112
- `authorization` - An opaque authorization token that clients MAY present when accessing the transport-specific
113113
endpoint address.
114114
- `authType` - The auth token type. For example, the value MAY be `bearer`. If present, this value MAY be used in
@@ -142,9 +142,9 @@ The Transfer Start Message is sent by the [=Provider=] to indicate the data tran
142142

143143
- The `dataAddress` MUST be provided if the current transfer is a pull transfer and contains a transport-specific
144144
endpoint address for obtaining the data. The kind of transport is signaled by the `endpointType` property which
145-
determines a set of required `endpointProperties` in a [=Profile=] separate from this specification.
145+
determines a set of REQUIRED `endpointProperties` in a [=Profile=] separate from this specification.
146146

147-
- The `endpointProperties` MAY (among others) contain the following optional values:
147+
- The `endpointProperties` MAY (among others) contain the following OPTIONAL values:
148148
- `authorization` - An opaque authorization token that clients MAY present when accessing the transport-specific
149149
endpoint address.
150150
- `authType` - The auth token type. For example, the value MAY be `bearer`. If present, this value MAY be used in
@@ -192,7 +192,7 @@ need to be sent.
192192
| **Properties** | <p data-include="message/table/transferterminationmessage.html" data-include-format="html"></p> |
193193

194194
The Transfer Termination Message is sent by the [=Provider=] or [=Consumer=] at any point except a terminal state to
195-
indicate the [=Transfer Process=] should stop and be placed in a terminal state. If the termination was due to an error, the sender MAY
195+
indicate the [=Transfer Process=] SHOULD stop and be placed in a terminal state. If the termination was due to an error, the sender MAY
196196
include error information.
197197

198198
## Response Types

0 commit comments

Comments
 (0)