Skip to content

Commit 87a96eb

Browse files
authored
Add OPTIONAL/REQUIRED to the fields in the stream configuration (#170)
1 parent aab612a commit 87a96eb

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

openid-sharedsignals-framework-1_0.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -839,83 +839,83 @@ following properties:
839839

840840
stream_id
841841

842-
> **Transmitter-Supplied**, A string that uniquely identifies the stream. A
843-
transmitter MUST generate a unique ID for each of its non-deleted streams
842+
> **Transmitter-Supplied**, REQUIRED. A string that uniquely identifies the stream. A
843+
Transmitter MUST generate a unique ID for each of its non-deleted streams
844844
at the time of stream creation.
845845

846846
iss
847847

848-
> **Transmitter-Supplied**, A URL using the https scheme with no query or
848+
> **Transmitter-Supplied**, REQUIRED. A URL using the https scheme with no query or
849849
fragment component that the Transmitter asserts as its Issuer Identifier. This
850850
MUST be identical to the "iss" Claim value in Security Event Tokens issued
851851
from this Transmitter.
852852

853853
aud
854854

855-
> **Transmitter-Supplied**, A string or an array of strings containing an
855+
> **Transmitter-Supplied**, REQUIRED. A string or an array of strings containing an
856856
audience claim as defined in JSON Web Token (JWT){{RFC7519}} that identifies
857857
the Event Receiver(s) for the Event Stream. This property cannot be updated.
858858
If multiple Receivers are specified then the Transmitter SHOULD know that
859859
these Receivers are the same entity.
860860

861861
events_supported
862862

863-
> **Transmitter-Supplied**, An array of URIs identifying the set of events
863+
> **Transmitter-Supplied**, OPTIONAL. An array of URIs identifying the set of events
864864
supported by the Transmitter for this Receiver. If omitted, Event Transmitters
865865
SHOULD make this set available to the Event Receiver via some other means
866866
(e.g. publishing it in online documentation).
867867

868868
events_requested
869869

870-
> **Receiver-Supplied**, An array of URIs identifying the set of events that
870+
> **Receiver-Supplied**, OPTIONAL. An array of URIs identifying the set of events that
871871
the Receiver requested. A Receiver SHOULD request only the events that it
872872
understands and it can act on. This is configurable by the Receiver. A
873873
Transmitter MUST ignore any array values that it does not understand. This
874874
array SHOULD NOT be empty.
875875

876876
events_delivered
877877

878-
> **Transmitter-Supplied**, An array of URIs identifying the set of events that
878+
> **Transmitter-Supplied**, REQUIRED. An array of URIs identifying the set of events that
879879
the Transmitter MUST include in the stream. This is a subset (not necessarily
880880
a proper subset) of the intersection of "events_supported" and
881881
"events_requested". A Receiver MUST rely on the values received in this field
882882
to understand which event types it can expect from the Transmitter.
883883

884884
delivery
885885

886-
> A JSON object containing a set of name/value pairs specifying configuration
886+
> REQUIRED. A JSON object containing a set of name/value pairs specifying configuration
887887
parameters for the SET delivery method. The actual delivery method is
888888
identified by the special key "method" with the value being a URI as defined
889889
in {{delivery-meta}}. The value of the "delivery" field contains two
890890
sub-fields:
891891

892892
> method
893893

894-
> > **Receiver-Supplied**, the specific delivery method to be used. This can be
894+
> > **Receiver-Supplied**, REQUIRED. The specific delivery method to be used. This can be
895895
any one of "urn:ietf:rfc:8935" (push) or "urn:ietf:rfc:8936" (poll), but
896896
not both.
897897

898898
> endpoint_url
899899

900-
> > The location at which the push or poll delivery will take place. If the
900+
> > REQUIRED. The location at which the push or poll delivery will take place. If the
901901
`method` value is "urn:ietf:rfc:8935" (push), then this value MUST
902902
be supplied by the Receiver. If the `method` value is
903903
"urn:ietf:rfc:8936" (poll), then this value MUST be supplied by the
904904
Transmitter.
905905

906906
min_verification_interval
907907

908-
> **Transmitter-Supplied**, An integer indicating the minimum amount of time in
908+
> **Transmitter-Supplied**, OPTIONAL. An integer indicating the minimum amount of time in
909909
seconds that must pass in between verification requests. If an Event Receiver
910910
submits verification requests more frequently than this, the Event Transmitter
911911
MAY respond with a 429 status code. An Event Transmitter SHOULD NOT respond
912912
with a 429 status code if an Event Receiver is not exceeding this frequency.
913913

914914
description
915915

916-
> **Receiver-Supplied**, An optinal string to describe the properties of the stream.
917-
This is useful in multi stream systems to identify the stream for human actors. The
918-
transmitter may truncate the string beyond allowed max length.
916+
> **Receiver-Supplied**, OPTIONAL. A string that describes the properties of the stream.
917+
This is useful in multi-stream systems to identify the stream for human actors. The
918+
transmitter MAY truncate the string beyond an allowed max length.
919919

920920
TODO: consider adding a IANA Registry for stream configuration metadata, similar
921921
to Section 7.1.1 of {{RFC8414}}. This would allow other specs to add to

0 commit comments

Comments
 (0)