Change kind number to 30011

- Update from 30001 (which was previously deprecated) to 30011
- Update all examples and documentation to use new kind number
This commit is contained in:
vveerrgg 2025-02-05 23:56:31 -08:00
parent 13c89d66f3
commit fcbbb4a9b9

12
74.md
View File

@ -23,9 +23,9 @@ The distinction from personal bookmarks (NIP-51) is intentional - while bookmark
## Event Format ## Event Format
### Kind: 30001 ### Kind: 30011
Link list events use kind `30001`. Link list events use kind `30011`.
### Content ### Content
@ -81,7 +81,7 @@ Extended Protocols:
2. Protocol-Specific Metadata: 2. Protocol-Specific Metadata:
```json ```json
{ {
"kind": 30001, "kind": 30011,
"tags": [ "tags": [
["ll", "list"], ["ll", "list"],
["d", "Mixed Protocol Resources"], ["d", "Mixed Protocol Resources"],
@ -105,7 +105,7 @@ Extended Protocols:
1. Basic link list with default language: 1. Basic link list with default language:
```json ```json
{ {
"kind": 30001, "kind": 30011,
"tags": [ "tags": [
["ll", "list"], ["ll", "list"],
["d", "Favorite Programming Resources"], ["d", "Favorite Programming Resources"],
@ -121,7 +121,7 @@ Extended Protocols:
2. Multilingual list with mixed content: 2. Multilingual list with mixed content:
```json ```json
{ {
"kind": 30001, "kind": 30011,
"tags": [ "tags": [
["ll", "list"], ["ll", "list"],
["d", "Global Dev Resources"], ["d", "Global Dev Resources"],
@ -164,7 +164,7 @@ This separation of concerns allows:
To discover a user's link lists: To discover a user's link lists:
1. Filter for events by the user's pubkey 1. Filter for events by the user's pubkey
2. Filter for events with kind 30001 2. Filter for events with kind 30011
3. Filter for events with the tag `["ll", "list"]` 3. Filter for events with the tag `["ll", "list"]`
## Client Behavior ## Client Behavior