diff options
Diffstat (limited to '56.md')
| -rw-r--r-- | 56.md | 31 |
1 files changed, 19 insertions, 12 deletions
| @@ -1,16 +1,17 @@ | |||
| 1 | |||
| 2 | NIP-56 | 1 | NIP-56 |
| 3 | ====== | 2 | ====== |
| 4 | 3 | ||
| 5 | Reporting | 4 | Reporting |
| 6 | --------- | 5 | --------- |
| 7 | 6 | ||
| 8 | `draft` `optional` `author:jb55` | 7 | `optional` |
| 9 | 8 | ||
| 10 | A report is a `kind 1984` note that is used to report other notes for spam, | 9 | A report is a `kind 1984` event that signals to users and relays that |
| 11 | illegal and explicit content. | 10 | some referenced content is objectionable. The definition of objectionable is |
| 11 | obviously subjective and all agents on the network (users, apps, relays, etc.) | ||
| 12 | may consume and take action on them as they see fit. | ||
| 12 | 13 | ||
| 13 | The content MAY contain additional information submitted by the entity | 14 | The `content` MAY contain additional information submitted by the entity |
| 14 | reporting the content. | 15 | reporting the content. |
| 15 | 16 | ||
| 16 | Tags | 17 | Tags |
| @@ -25,13 +26,18 @@ A `report type` string MUST be included as the 3rd entry to the `e` or `p` tag | |||
| 25 | being reported, which consists of the following report types: | 26 | being 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 | ||
| 33 | Some report tags only make sense for profile reports, such as `impersonation` | 36 | Some 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 | ||
| 39 | further qualification and querying. | ||
| 40 | |||
| 35 | Example events | 41 | Example 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 | ||
| 72 | Clients can use reports from friends to make moderation decisions if they | 79 | Clients can use reports from friends to make moderation decisions if they |
| 73 | choose to. For instance, if 3+ of your friends report a profile as explicit, | 80 | choose to. For instance, if 3+ of your friends report a profile for `nudity`, |
| 74 | clients can have an option to automatically blur photos from said account. | 81 | clients can have an option to automatically blur photos from said account. |
| 75 | 82 | ||
| 76 | 83 | ||