Skip to content

Commit

Permalink
Merge pull request #515 from ietf-wg-gnap/extension-intro
Browse files Browse the repository at this point in the history
update intro to extensions section
  • Loading branch information
jricher authored Oct 23, 2023
2 parents 4126cfc + 2ecd2de commit 076e3a3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions draft-ietf-gnap-core-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -7881,11 +7881,11 @@ Implementations conformant to the Secondary Device profile of GNAP MUST implemen
# Guidance for Extensions {#extensions}

Extensions to this specification have a variety of places to alter the protocol, including many
fields and objects that can have additional values in a [registry](#IANA) established by this
specification. Extensions that add new fields, especially to the grant request and response, should
endeavor to have any new fields be as orthogonal as possible to existing fields. That is to say,
if functionality is sufficiently close to an existing field, the extension should attempt to
use that field instead of defining a new one, in order to avoid confusion by developers.
fields and objects that can have additional values in a registry [registry](#IANA) established by this
specification. For interoperability and to preserve the security of the protocol, extensions should
register new values with IANA by following the specified mechanism. While it may technically be
possible to extend the protocol by adding elements to JSON objects that are not governed by an
IANA registry, a recipient may ignore such values but is also allowed to reject them.

Most object fields in GNAP are specified with types, and those types can allow different but
related behavior. For example, the `access` array can include either strings or objects, as
Expand Down

0 comments on commit 076e3a3

Please sign in to comment.