mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-23 00:45:53 -05:00
35 lines
558 B
Markdown
35 lines
558 B
Markdown
NIP-7D
|
|
======
|
|
|
|
Threads
|
|
-------
|
|
|
|
`draft` `optional`
|
|
|
|
A thread is a `kind 11` event. Threads SHOULD include a `subject` with a summary
|
|
of the thread's topic.
|
|
|
|
```json
|
|
{
|
|
"kind": 11,
|
|
"content": "Good morning",
|
|
"tags": [
|
|
["subject", "GM"]
|
|
]
|
|
}
|
|
```
|
|
|
|
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.
|
|
|
|
```json
|
|
{
|
|
"kind": 1111,
|
|
"content": "Cool beans",
|
|
"tags": [
|
|
["K", "11"],
|
|
["E", <event-id>, <relay-url>, <pubkey>]
|
|
]
|
|
}
|
|
```
|