From df63dd8a5b888c1c616c6aa3fe0e9468dab8d506 Mon Sep 17 00:00:00 2001 From: rabble Date: Fri, 26 Sep 2025 12:52:36 +1200 Subject: [PATCH] Update kind numbers to 34235 (normal videos) and 34236 (short videos) --- 71.md | 12 ++++++------ README.md | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/71.md b/71.md index 2097c7e1..a8ec1ee5 100644 --- a/71.md +++ b/71.md @@ -24,8 +24,8 @@ The format uses a _regular event_ kind `21` for _normal_ videos and `22` for _sh For content that may need updates after publication (such as correcting metadata, descriptions, or handling URL migrations), addressable versions are available: -- Kind `32221` for _addressable normal videos_ -- Kind `32222` for _addressable short videos_ +- Kind `34235` for _addressable normal videos_ +- Kind `34236` for _addressable short videos_ These addressable events follow the same format as their regular counterparts but include a `d` tag as a unique identifier and can be updated while maintaining the same addressable reference. This is particularly useful for: @@ -86,7 +86,7 @@ The `image` tag contains a preview image (at the same resolution). Multiple `ima Additionally `service nip96` may be included to allow clients to search the authors NIP-96 server list to find the file using the hash. ### Required tags for addressable events: -* `d` - Unique identifier for this video (user-chosen string, required for kinds 32221, 32222) +* `d` - Unique identifier for this video (user-chosen string, required for kinds 34235, 34236) ### Other tags: * `title` (required) title of the video @@ -155,7 +155,7 @@ Additionally `service nip96` may be included to allow clients to search the auth "id": <32-bytes lowercase hex-encoded SHA-256 of the the serialized event data>, "pubkey": <32-bytes lowercase hex-encoded public key of the event creator>, "created_at": , - "kind": 32221 | 32222, + "kind": 34235 | 34236, "content": "", "tags": [ ["d", ""], @@ -197,6 +197,6 @@ Additionally `service nip96` may be included to allow clients to search the auth To reference an addressable video: ``` -["a", "32221::", ""] // for normal videos -["a", "32222::", ""] // for short videos +["a", "34235::", ""] // for normal videos +["a", "34236::", ""] // for short videos ``` diff --git a/README.md b/README.md index b5051b55..949c609e 100644 --- a/README.md +++ b/README.md @@ -248,9 +248,9 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos | `31925` | Calendar Event RSVP | [52](52.md) | | `31989` | Handler recommendation | [89](89.md) | | `31990` | Handler information | [89](89.md) | | -| `32221` | Addressable Video Event | [71](71.md) | -| `32222` | Addressable Short Video Event | [71](71.md) | | `32267` | Software Application | | | +| `34235` | Addressable Video Event | [71](71.md) | +| `34236` | Addressable Short Video Event | [71](71.md) | | `34550` | Community Definition | [72](72.md) | | `38383` | Peer-to-peer Order events | [69](69.md) | | `39000-9` | Group metadata events | [29](29.md) |