mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-13 02:46:24 +00:00
Add labeling to nip 56 as well
This commit is contained in:
parent
363d112e33
commit
92ce49dda0
4
36.md
4
36.md
@ -9,7 +9,7 @@ Sensitive Content / Content Warning
|
|||||||
The `content-warning` tag enables users to specify if the event's content needs to be approved by readers to be shown.
|
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.
|
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](32.md) with the `content-warning` namespace to support
|
`l` and `L` tags MAY be also be used as defined in [NIP-32](32.md) with the `content-warning` or other namespace to support
|
||||||
further qualification and querying.
|
further qualification and querying.
|
||||||
|
|
||||||
#### Spec
|
#### Spec
|
||||||
@ -31,6 +31,8 @@ options:
|
|||||||
["t", "hastag"],
|
["t", "hastag"],
|
||||||
["L", "content-warning"],
|
["L", "content-warning"],
|
||||||
["l", "reason", "content-warning"],
|
["l", "reason", "content-warning"],
|
||||||
|
["L", "social.nos.ontology"],
|
||||||
|
["l", "NS-nud", "social.nos.ontology"],
|
||||||
["content-warning", "reason"] /* reason is optional */
|
["content-warning", "reason"] /* reason is optional */
|
||||||
],
|
],
|
||||||
"content": "sensitive content with #hastag\n",
|
"content": "sensitive content with #hastag\n",
|
||||||
|
15
56.md
15
56.md
@ -32,6 +32,9 @@ being reported, which consists of the following report types:
|
|||||||
|
|
||||||
Some report tags only make sense for profile reports, such as `impersonation`
|
Some report tags only make sense for profile reports, such as `impersonation`
|
||||||
|
|
||||||
|
`l` and `L` tags MAY be also be used as defined in [NIP-32](32.md) to support
|
||||||
|
further qualification and querying.
|
||||||
|
|
||||||
Example events
|
Example events
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
@ -39,7 +42,9 @@ Example events
|
|||||||
{
|
{
|
||||||
"kind": 1984,
|
"kind": 1984,
|
||||||
"tags": [
|
"tags": [
|
||||||
[ "p", <pubkey>, "nudity"]
|
["p", <pubkey>, "nudity"]
|
||||||
|
["L", "social.nos.ontology"],
|
||||||
|
["l", "NS-nud", "social.nos.ontology"],
|
||||||
],
|
],
|
||||||
"content": "",
|
"content": "",
|
||||||
...
|
...
|
||||||
@ -48,8 +53,8 @@ Example events
|
|||||||
{
|
{
|
||||||
"kind": 1984,
|
"kind": 1984,
|
||||||
"tags": [
|
"tags": [
|
||||||
[ "e", <eventId>, "illegal"],
|
["e", <eventId>, "illegal"],
|
||||||
[ "p", <pubkey>]
|
["p", <pubkey>]
|
||||||
],
|
],
|
||||||
"content": "He's insulting the king!",
|
"content": "He's insulting the king!",
|
||||||
...
|
...
|
||||||
@ -58,8 +63,8 @@ Example events
|
|||||||
{
|
{
|
||||||
"kind": 1984,
|
"kind": 1984,
|
||||||
"tags": [
|
"tags": [
|
||||||
[ "p", <impersonator pubkey>, "impersonation"],
|
["p", <impersonator pubkey>, "impersonation"],
|
||||||
[ "p", <victim pubkey>]
|
["p", <victim pubkey>]
|
||||||
],
|
],
|
||||||
"content": "Profile is imitating #[1]",
|
"content": "Profile is imitating #[1]",
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user