upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/56.md
diff options
context:
space:
mode:
Diffstat (limited to '56.md')
-rw-r--r--56.md31
1 files changed, 19 insertions, 12 deletions
diff --git a/56.md b/56.md
index 55ee1a2..fc8d898 100644
--- a/56.md
+++ b/56.md
@@ -1,16 +1,17 @@
1
2NIP-56 1NIP-56
3====== 2======
4 3
5Reporting 4Reporting
6--------- 5---------
7 6
8`draft` `optional` `author:jb55` 7`optional`
9 8
10A report is a `kind 1984` note that is used to report other notes for spam, 9A report is a `kind 1984` event that signals to users and relays that
11illegal and explicit content. 10some referenced content is objectionable. The definition of objectionable is
11obviously subjective and all agents on the network (users, apps, relays, etc.)
12may consume and take action on them as they see fit.
12 13
13The content MAY contain additional information submitted by the entity 14The `content` MAY contain additional information submitted by the entity
14reporting the content. 15reporting the content.
15 16
16Tags 17Tags
@@ -25,13 +26,18 @@ A `report type` string MUST be included as the 3rd entry to the `e` or `p` tag
25being reported, which consists of the following report types: 26being reported, which consists of the following report types:
26 27
27- `nudity` - depictions of nudity, porn, etc. 28- `nudity` - depictions of nudity, porn, etc.
29- `malware` - virus, trojan horse, worm, robot, spyware, adware, back door, ransomware, rootkit, kidnapper, etc.
28- `profanity` - profanity, hateful speech, etc. 30- `profanity` - profanity, hateful speech, etc.
29- `illegal` - something which may be illegal in some jurisdiction 31- `illegal` - something which may be illegal in some jurisdiction
30- `spam` - spam 32- `spam` - spam
31- `impersonation` - someone pretending to be someone else 33- `impersonation` - someone pretending to be someone else
34- `other` - for reports that don't fit in the above categories
32 35
33Some report tags only make sense for profile reports, such as `impersonation` 36Some report tags only make sense for profile reports, such as `impersonation`
34 37
38`l` and `L` tags MAY be also be used as defined in [NIP-32](32.md) to support
39further qualification and querying.
40
35Example events 41Example events
36-------------- 42--------------
37 43
@@ -39,7 +45,9 @@ Example events
39{ 45{
40 "kind": 1984, 46 "kind": 1984,
41 "tags": [ 47 "tags": [
42 [ "p", <pubkey>, "nudity"] 48 ["p", <pubkey>, "nudity"],
49 ["L", "social.nos.ontology"],
50 ["l", "NS-nud", "social.nos.ontology"]
43 ], 51 ],
44 "content": "", 52 "content": "",
45 ... 53 ...
@@ -48,8 +56,8 @@ Example events
48{ 56{
49 "kind": 1984, 57 "kind": 1984,
50 "tags": [ 58 "tags": [
51 [ "e", <eventId>, "illegal"], 59 ["e", <eventId>, "illegal"],
52 [ "p", <pubkey>] 60 ["p", <pubkey>]
53 ], 61 ],
54 "content": "He's insulting the king!", 62 "content": "He's insulting the king!",
55 ... 63 ...
@@ -58,10 +66,9 @@ Example events
58{ 66{
59 "kind": 1984, 67 "kind": 1984,
60 "tags": [ 68 "tags": [
61 [ "p", <impersonator pubkey>, "impersonation"], 69 ["p", <impersonator pubkey>, "impersonation"]
62 [ "p", <victim pubkey>]
63 ], 70 ],
64 "content": "Profile is imitating #[1]", 71 "content": "Profile is impersonating nostr:<victim bech32 pubkey>",
65 ... 72 ...
66} 73}
67``` 74```
@@ -70,7 +77,7 @@ Client behavior
70--------------- 77---------------
71 78
72Clients can use reports from friends to make moderation decisions if they 79Clients can use reports from friends to make moderation decisions if they
73choose to. For instance, if 3+ of your friends report a profile as explicit, 80choose to. For instance, if 3+ of your friends report a profile for `nudity`,
74clients can have an option to automatically blur photos from said account. 81clients can have an option to automatically blur photos from said account.
75 82
76 83