30817:nip-36
NIP-36: Sensitive Content
The content-warning tag, which asks a client to hide an event until the reader chooses to see it.
Nostr Implementation Possibilities (mirror)
- signed by
- npub19vumf...dm3xgr
- published
- 2022-12-01
- revised
- 2023-11-18
- event
- a6dab5b3b8...a5c8
NIP-36
Sensitive Content / Content Warning
draft optional
The content-warning tag enables users to specify if the event's content needs to be approved by readers to be shown.
Clients can hide the content until the user acts on it.
l and L tags MAY be also be used as defined in NIP-32 with the content-warning or other namespace to support
further qualification and querying.
Spec
tag: content-warning
options:
- [reason]: optional
Example
{
"pubkey": "<pub-key>",
"created_at": 1000000000,
"kind": 1,
"tags": [
["t", "hastag"],
["L", "content-warning"],
["l", "reason", "content-warning"],
["L", "social.nos.ontology"],
["l", "NS-nud", "social.nos.ontology"],
["content-warning", "<optional reason>"]
],
"content": "sensitive content with #hastag\n",
"id": "<event-id>"
}
Discussion
Connect a key to comment.