Skip to content

Commit 859f88c

Browse files
committed
change JSON Status List structure to only contain JSON object
1 parent f9b7d60 commit 859f88c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

draft-ietf-oauth-status-list.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ byte value 0xC9 0x44 0xF9
340340

341341
This section defines the data structure for a JSON-encoded Status List:
342342

343-
* `status_list`: REQUIRED. JSON Object that contains a Status List. It MUST contain at least the following claims:
343+
* The `StatusList` structure is a JSON Object and MUST contain at least the following claims:
344344
* `bits`: REQUIRED. JSON Integer specifying the number of bits per Referenced Token in the compressed byte array (`lst`). The allowed values for `bits` are 1,2,4 and 8.
345345
* `lst`: REQUIRED. JSON String that contains the status values for all the Referenced Tokens it conveys statuses for. The value MUST be the base64url-encoded compressed byte array as specified in [](#status-list-byte-array).
346346
* `aggregation_uri`: OPTIONAL. JSON String that contains a URI to retrieve the Status List Aggregation for this type of Referenced Token or Issuer. See section [](#aggregation) for further details.
@@ -363,7 +363,7 @@ See section [](#test-vectors) for more test vectors.
363363

364364
This section defines the data structure for a CBOR-encoded Status List:
365365

366-
* The `StatusList` structure is a map (Major Type 5) and defines the following entries:
366+
* The `StatusList` structure is a map (Major Type 5) MUST contain at least the following entries:
367367
* `bits`: REQUIRED. Unsigned integer (Major Type 0) that contains the number of bits per Referenced Token in the compressed byte array (`lst`). The allowed values for `bits` are 1, 2, 4 and 8.
368368
* `lst`: REQUIRED. Byte string (Major Type 2) that contains the status values for all the Referenced Tokens it conveys statuses for. The value MUST be the compressed byte array as specified in [](#status-list-byte-array).
369369
* `aggregation_uri`: OPTIONAL. Text string (Major Type 3) that contains a URI to retrieve the Status List Aggregation for this type of Referenced Token. See section [](#aggregation) for further detail.
@@ -1897,6 +1897,7 @@ CBOR encoding:
18971897

18981898
* add Paul's affiliation
18991899
* add feedback from Dan Moore
1900+
* change JSON Status List structure to only contain JSON object
19001901

19011902
-11
19021903

0 commit comments

Comments
 (0)