Add labeling to nip 56 as well

This commit is contained in:
Jonathan Staab 2023-06-07 16:09:26 -07:00
parent 363d112e33
commit 92ce49dda0
2 changed files with 13 additions and 6 deletions

4
36.md
View File

@ -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
View File

@ -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]",
... ...