frbitten on Nostr: An event can only have one kind. Normally, differentiation is made by kind to ...
An event can only have one kind. Normally, differentiation is made by kind to facilitate filtering in the relay or client. Imagine if you wanted to create a client only for videos and everything was kind 1. It would be much more complicated to know which events would have a video to display.
Published at
2025-01-13 23:05:20Event JSON
{
"id": "d19bdabe92b1cfa5b81112841242653f1f434ca7921a5140bff3f2ac1144281e",
"pubkey": "fd3423d0cce87f78be31f9eea31577207bbe3daab9013359cfe4b9358367ec3a",
"created_at": 1736809520,
"kind": 1,
"tags": [
[
"e",
"3b10b4846e0877ee927f7d6dd5fb783adb4f711508494b93d0ac184ae1c090ef",
"",
"root"
],
[
"p",
"f714be81ac0e60093ffbd67819e2557bc0bcb311b013dfe3934d4133813dd711"
]
],
"content": "An event can only have one kind. Normally, differentiation is made by kind to facilitate filtering in the relay or client. Imagine if you wanted to create a client only for videos and everything was kind 1. It would be much more complicated to know which events would have a video to display.",
"sig": "b923251b4c16666f9f53c31a89c4cca826e21d7a93ec8b406cf2521c3c6bbad737493c24d8ade7da5b8447f1164be6c3b846e77cd6a117a9d70378b320f9fd6d"
}