upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/51.md
diff options
context:
space:
mode:
authorgzuuus <gzuuus@protonmail.com>2023-08-15 18:32:30 +0200
committergzuuus <gzuuus@protonmail.com>2023-08-15 18:32:30 +0200
commit2ba0eca44344a770b5ad24f20e749864cddf3518 (patch)
tree47d65bb3df940087144a1f4cc4adc26242b5845c /51.md
parent88ee873c9e4824125d3f2e38d16c39ccf73ddf16 (diff)
Nip 51 extended
Diffstat (limited to '51.md')
-rw-r--r--51.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/51.md b/51.md
index b7229aa..03bd921 100644
--- a/51.md
+++ b/51.md
@@ -4,7 +4,7 @@ NIP-51
4Lists 4Lists
5----- 5-----
6 6
7`draft` `optional` `author:fiatjaf` `author:arcbtc` `author:monlovesmango` `author:eskema` 7`draft` `optional` `author:fiatjaf` `author:arcbtc` `author:monlovesmango` `author:eskema` `author:gzuuus`
8 8
9A "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. 9A "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.
10 10
@@ -92,6 +92,7 @@ Then the user would create a 'Categorized People' list event like below:
92| 10001 | Pin | 92| 10001 | Pin |
93| 30000 | Categorized People | 93| 30000 | Categorized People |
94| 30001 | Categorized Bookmarks | 94| 30001 | Categorized Bookmarks |
95| 30303 | Categorized Reference List |
95 96
96### Mute List 97### Mute List
97 98
@@ -108,3 +109,7 @@ An event with kind `30000` is defined as a parameterized replaceable list event
108### Categorized Bookmarks List 109### Categorized Bookmarks List
109 110
110An 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. 111An 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.
112
113### Categorized Reference List
114
115An 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. \ No newline at end of file