NIP-31
Dealing with unknown event kinds
draft unrecommended
optional
When creating a new custom event kind that is part of a custom
protocol and isn’t meant to be read as text (like
kind:1), clients should use an alt tag
to write a short human-readable plaintext summary of what that
event is about.
The intent is that social clients, used to display only
kind:1 notes, can still show something in case a
custom event pops up in their timelines. The content of the
alt tag should provide enough context for a user that
doesn’t know anything about this event kind to understand what it
is.
These clients that only know kind:1 are not
expected to ask relays for events of different kinds, but users
could still reference these weird events on their notes, and
without proper context these could be nonsensical notes. Having
the fallback text makes that situation much better – even if only
for making the user aware that they should try to view that custom
event elsewhere.
kind:1-centric clients can make interacting with
these event kinds more functional by supporting NIP-89.