mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
Nip 51 extended
This commit is contained in:
parent
88ee873c9e
commit
2ba0eca443
7
51.md
7
51.md
|
@ -4,7 +4,7 @@ NIP-51
|
|||
Lists
|
||||
-----
|
||||
|
||||
`draft` `optional` `author:fiatjaf` `author:arcbtc` `author:monlovesmango` `author:eskema`
|
||||
`draft` `optional` `author:fiatjaf` `author:arcbtc` `author:monlovesmango` `author:eskema` `author:gzuuus`
|
||||
|
||||
A "list" event is defined as having a list of public and/or private tags. Public tags will be listed in the event `tags`. Private tags will be encrypted in the event `content`. Encryption for private tags will use [NIP-04 - Encrypted Direct Message](04.md) encryption, using the list author's private and public key for the shared secret. A distinct event kind should be used for each list type created.
|
||||
|
||||
|
@ -92,6 +92,7 @@ Then the user would create a 'Categorized People' list event like below:
|
|||
| 10001 | Pin |
|
||||
| 30000 | Categorized People |
|
||||
| 30001 | Categorized Bookmarks |
|
||||
| 30303 | Categorized Reference List |
|
||||
|
||||
### Mute List
|
||||
|
||||
|
@ -108,3 +109,7 @@ An event with kind `30000` is defined as a parameterized replaceable list event
|
|||
### Categorized Bookmarks List
|
||||
|
||||
An event with kind `30001` is defined as a parameterized replaceable list event for categorizing bookmarks. The 'd' parameter for this event holds the category name of the list. Any standardized tag can be included in a Categorized Bookmarks List.
|
||||
|
||||
### Categorized Reference List
|
||||
|
||||
An event with kind `30303` is defined as a parameterized replaceable list event for categorizing user references. The 'd' parameter of this event holds the category name of the list. The reference lists may have metadata tags such as 'title', 'image', 'summary' as defined in [NIP-23 - Long-form Content](23.md) . Items in these lists are `r` tags, and follow the schema of Kind 3 events as defined in [NIP-02 - Contact List and Petnames](02.md). Each `r` tag entry should contain the 'reference URL' and the 'description', `["r", <reference URL>, <description>]`. Any standard tag can be included in a reference list.
|
Loading…
Reference in New Issue
Block a user