NIP-7D
kind 11 · threadskind 1111 · comments
NIP-7D
Forum Threads
draft optional
Threads
A thread is a kind 11 event. Threads SHOULD include a title.
It MAY also include a t tag denoting which topic it belongs to. If none is included, the client SHOULD default to general as the topic. Multiple topics are allowed.
{
"kind": 11,
"content": "Good morning",
"tags": [
["title", "GM"],
["t", "books"],
["t", "travel"],
]
}Voting
The user MAY vote up/down on a thread or reply, with kind 7 +/- reactions, accoding to NIP-25. These are typically denoted by showing up or down arrows. This information MAY be used for sorting the data in the forum interface.
Replies
Replies to kind 11 MUST use [NIP-22](./22.md) kind 1111 comments. Replies should always be to the root kind 11 to avoid arbitrarily nested reply hierarchies.
{
"kind": 1111,
"content": "Cool beans",
"tags": [
["K", "11"],
["E", <event-id>, <relay-url>, <pubkey>]
]
}