Skip to content

Commit

Permalink
Add lowercase convention
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfranca committed May 10, 2024
1 parent 7d20215 commit 5773354
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 61.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ An unbound list is a group of events with the same pubkey and `n` (list "n"ame)
An event can have many `n` tags, thus being member of many unbound lists.

To add an event to the "Close Friends" list,
add a "close-friend" (prefer singular form with dash separator) `n` tag to the event.
add a "close-friend" (prefer lowercase English words in singular form with dash separator) `n` tag to the event.

To remove an event from a "Close Friends" list,
remove the "close-friend" `n` tag from the event.
Expand Down Expand Up @@ -41,7 +41,7 @@ One may also use an `nlist` entity URI: `nostr:nlist1qqstn...794234d`.

## Event Kinds

The the same `n` tag can be applied to any event no matter the `kind` or structure.
The same `n` tag can be applied to any event no matter the `kind` or structure.
However, it is better to add `n` tag(s) to parameterized replaceable events, because
such events can be removed from a list later by removing the corresponding `n` tag,
due to their editable nature.
Expand All @@ -57,7 +57,7 @@ The following example is based on the unreleased
["d", "<another-user-pubkey>"],
["n", "follow"], // A "follow" "n" tag turns this event into a kind 3 equivalent entry
["n", "friend"], // He is part of may "Friends" list
["n", "close-friend"], // He is also part of the smaller "Close Friends" list
["n", "close-friend"], // He is also part of my smaller "Close Friends" list
["n", "contact"], // My contacts are users to whom I've sent DMs or started an one-to-one audio/video call
// ...other metadata describing the relationship
["T", "3:driver"] // This is using an unreleased spec to rate this user as a great driver
Expand Down

0 comments on commit 5773354

Please sign in to comment.