Skip to content

Commit bcc4482

Browse files
committed
Change QR ID to Offer ID
1 parent f9f7aec commit bcc4482

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

open-qr-standard.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "S
3333
|Code Provider|The system that represents the initiating side of the user journey. This is the system that creates and publishes the QR Code. For a point-of-sale payment this would be the merchant checkout system.|
3434
|Code Consumer|The system that represents the acceptance, or client, side of the user journey. This is the system that scans and processes the QR Code. For a point-of-sale payment this would be the customer’s mobile wallet application.|
3535
|QR Profile|A profile for defining the format of the various actions and meta data that can be transferred using this standard for a specific type of use case or user journey.|
36-
|Offer|The information about the profiles and capabilities associated with a specific QR Code.|
37-
|Session|An established connection between a QR Provider and a QR Consumer.|
36+
|Offer|Details about an offer that may be claimed by a QR Consumer. Includes information about the profiles and capabilities associated with a specific QR Code.|
37+
|Session|An established connection (a claim on an Offer) between a QR Provider and a QR Consumer.|
3838

3939
## Generic Sequence Diagram
4040

@@ -120,11 +120,11 @@ The Code Provider will publish a QR Code that MUST conform with the requirements
120120

121121
This QR Code MUST contain a URL in the following format:
122122

123-
`https://<provider base>/<QR ID>`
123+
`https://<provider base>/<Offer ID>`
124124

125125
The Code Provider MUST provide a valid web page at the location specified by `<provider base>` with instructions for a user how the QR Code can be successfully used.
126126

127-
The `<QR ID>` is used to obtain access to a data entity held by the Code Provider referred to in this standard as an `Offer`. QR IDs MAY be single or multiple use depending on the use case being supported.
127+
The `<Offer ID>` is used to obtain access to a data entity held by the Code Provider referred to in this standard as an `Offer`. Offer IDs MAY be single or multiple use depending on the use case being supported.
128128

129129
The Code Provider SHOULD superimpose a logo on the QR code to help Customers recognise trusted brands. This logo SHOULD be tested to ensure the logo does not introduce too much error to the QR Code and the QR Code remains readable. In situations where the effect of scanning a QR code is unclear the Code Provider SHOULD provide guidance as to how the QR Code can be successfully used.
130130

@@ -142,9 +142,9 @@ Sessions MUST be single use.
142142

143143
## Offer and Session Endpoints
144144

145-
The Code Provider MUST support an Offer Info endpoint that the Code Consumer can call to obtain information about the Offer using the QR ID obtained from the QR Code. This endpoint SHOULD be idempotent and should not have side effects on the underlying Offer.
145+
The Code Provider MUST support an Offer Info endpoint that the Code Consumer can call to obtain information about the Offer using the Offer ID obtained from the QR Code. This endpoint SHOULD be idempotent and should not have side effects on the underlying Offer.
146146

147-
The Code Provider MUST support an Offer Claim endpoint that the Code Consumer can use to claim a Offer for use using a QR ID and thus establishing a Session. This endpoint MUST provide a unique Session ID that can be used for subsequent interactions.
147+
The Code Provider MUST support an Offer Claim endpoint that the Code Consumer can use to claim a Offer for use using a Offer ID and thus establishing a Session. This endpoint MUST provide a unique Session ID that can be used for subsequent interactions.
148148

149149
The Code Provider MUST support a Session Status endpoint to identify the status of a Session using a Session ID.
150150

profiles/core-profile.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The supported discovery properties are:
3737

3838
### Offer Info Endpoint
3939

40-
An API used to obtain information about the Offer associated with a nominated QR ID.
40+
An API used to obtain information about the Offer associated with a nominated Offer ID.
4141

4242
#### HTTP Method
4343

@@ -47,13 +47,13 @@ GET
4747

4848
| Parameter | Optionality | Description |
4949
|-----------|-------------|-------------|
50-
|qr-id|REQUIRED|The QR ID that information is requested for.|
50+
|offer-id|REQUIRED|The Offer ID that information is requested for.|
5151

5252
#### Error Responses
5353

5454
HTTP Status: 401, Validation of the provided authorisation JWT failed
5555

56-
HTTP Status: 422, The provided QR ID is not known
56+
HTTP Status: 422, The provided Offer ID is not known
5757

5858
#### Successful Response
5959

@@ -85,7 +85,7 @@ Successful response schema [JSONSchema]:
8585
"properties": {
8686
"qrId": {
8787
"type": "string",
88-
"description": "The qr-id that the information was requested for"
88+
"description": "The offer-id that the information was requested for"
8989
},
9090
"provider": {
9191
"type": "string",
@@ -107,11 +107,11 @@ Successful response schema [JSONSchema]:
107107
"expiryTime": {
108108
"type": "string",
109109
"format": "date-time",
110-
"description": "The expiry time of the QR code. After this time the qr-id cannot be used to claim a session "
110+
"description": "The expiry time of the QR code. After this time the offer-id cannot be used to claim a session "
111111
},
112112
"profiles": {
113113
"type": "object",
114-
"description": "An object with details for each of the qr profiles supported by this qr-id. Each property of this object uses the urn of the profile and contains properties defined by the qr profile that the urn denotes",
114+
"description": "An object with details for each of the qr profiles supported by this offer-id. Each property of this object uses the urn of the profile and contains properties defined by the qr profile that the urn denotes",
115115
"additionalProperties": false,
116116
"patternProperties": {
117117
"^urn:.*$": {
@@ -133,7 +133,7 @@ Successful response schema [JSONSchema]:
133133

134134
### Offer Claim Endpoint
135135

136-
An API used to claim an offer and establish a session under a specific QR Profile using a nominated QR ID.
136+
An API used to claim an offer and establish a session under a specific QR Profile using a nominated Offer ID.
137137

138138
#### HTTP Method
139139

@@ -143,7 +143,7 @@ POST
143143

144144
| Parameter | Optionality | Description |
145145
|-----------|-------------|-------------|
146-
|qr-id|REQUIRED|The QR ID that an offer is to be claimed for.|
146+
|offer-id|REQUIRED|The Offer ID that an offer is to be claimed for.|
147147

148148
#### Request
149149

@@ -182,7 +182,7 @@ Request schema [JSONSchema]:
182182
},
183183
"profiles": {
184184
"type": "object",
185-
"description": "An object with details for each of the qr profiles supported by this qr-id. Each property of this object uses the urn of the profile and contains properties defined by the qr profile that the urn denotes",
185+
"description": "An object with details for each of the qr profiles supported by this offer-id. Each property of this object uses the urn of the profile and contains properties defined by the qr profile that the urn denotes",
186186
"additionalProperties": false,
187187
"patternProperties": {
188188
"^urn:.*$": {
@@ -204,11 +204,11 @@ Request schema [JSONSchema]:
204204

205205
#### Error Responses
206206

207-
HTTP Status: 400, The specified QR Profile is not supported for this QR ID or the data provided was not valid
207+
HTTP Status: 400, The specified QR Profile is not supported for this Offer ID or the data provided was not valid
208208

209209
HTTP Status: 401, Validation of the provided authorisation JWT failed
210210

211-
HTTP Status: 422, The provided QR ID is not known
211+
HTTP Status: 422, The provided Offer ID is not known
212212

213213
#### Successful Response
214214

@@ -248,7 +248,7 @@ Successful response schema [JSONSchema]:
248248
},
249249
"profiles": {
250250
"type": "object",
251-
"description": "An object with details for each of the qr profiles supported by this qr-id. Each property of this object uses the urn of the profile and contains properties defined by the qr profile that the urn denotes",
251+
"description": "An object with details for each of the qr profiles supported by this offer-id. Each property of this object uses the urn of the profile and contains properties defined by the qr profile that the urn denotes",
252252
"additionalProperties": false,
253253
"patternProperties": {
254254
"^urn:.*$": {
@@ -286,7 +286,7 @@ GET
286286

287287
HTTP Status: 401, Validation of the provided authorisation JWT failed
288288

289-
HTTP Status: 422, The provided QR ID is not known
289+
HTTP Status: 422, The provided Offer ID is not known
290290

291291
#### Successful Response
292292

@@ -326,7 +326,7 @@ Successful response schema [JSONSchema]:
326326
},
327327
"profiles": {
328328
"type": "object",
329-
"description": "An object with details for each of the qr profiles supported by this qr-id. Each property of this object uses the urn of the profile and contains properties defined by the qr profile that the urn denotes",
329+
"description": "An object with details for each of the qr profiles supported by this offer-id. Each property of this object uses the urn of the profile and contains properties defined by the qr profile that the urn denotes",
330330
"additionalProperties": false,
331331
"patternProperties": {
332332
"^urn:.*$": {

0 commit comments

Comments
 (0)