Update kind numbers to 34235 (normal videos) and 34236 (short videos)

This commit is contained in:
rabble 2025-09-26 12:52:36 +12:00
parent 114271a506
commit df63dd8a5b
2 changed files with 8 additions and 8 deletions

12
71.md
View File

@ -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: 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 `34235` for _addressable normal videos_
- Kind `32222` for _addressable short 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: 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. 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: ### 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: ### Other tags:
* `title` (required) title of the video * `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>, "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>, "pubkey": <32-bytes lowercase hex-encoded public key of the event creator>,
"created_at": <Unix timestamp in seconds>, "created_at": <Unix timestamp in seconds>,
"kind": 32221 | 32222, "kind": 34235 | 34236,
"content": "<summary / description of video>", "content": "<summary / description of video>",
"tags": [ "tags": [
["d", "<unique-identifier>"], ["d", "<unique-identifier>"],
@ -197,6 +197,6 @@ Additionally `service nip96` may be included to allow clients to search the auth
To reference an addressable video: To reference an addressable video:
``` ```
["a", "32221:<pubkey>:<d-tag-value>", "<relay-url>"] // for normal videos ["a", "34235:<pubkey>:<d-tag-value>", "<relay-url>"] // for normal videos
["a", "32222:<pubkey>:<d-tag-value>", "<relay-url>"] // for short videos ["a", "34236:<pubkey>:<d-tag-value>", "<relay-url>"] // for short videos
``` ```

View File

@ -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) | | `31925` | Calendar Event RSVP | [52](52.md) |
| `31989` | Handler recommendation | [89](89.md) | | `31989` | Handler recommendation | [89](89.md) |
| `31990` | Handler information | [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 | | | | `32267` | Software Application | | |
| `34235` | Addressable Video Event | [71](71.md) |
| `34236` | Addressable Short Video Event | [71](71.md) |
| `34550` | Community Definition | [72](72.md) | | `34550` | Community Definition | [72](72.md) |
| `38383` | Peer-to-peer Order events | [69](69.md) | | `38383` | Peer-to-peer Order events | [69](69.md) |
| `39000-9` | Group metadata events | [29](29.md) | | `39000-9` | Group metadata events | [29](29.md) |