diff --git a/72.md b/72.md index 833336ce..74c7f086 100644 --- a/72.md +++ b/72.md @@ -10,16 +10,15 @@ The goal of this NIP is to create moderator-approved public communities around a # Community Definition -`Kind:34550` SHOULD include any field that helps define the community and the set of moderators. `relay` tags MAY be used to describe the preferred relay to download requests and approvals. +`kind:34550` SHOULD include any field that helps define the community and the set of moderators. `relay` tags MAY be used to describe the preferred relay to download requests and approvals. ```json { - "id": "<32-bytes lowercase hex-encoded SHA-256 of the the serialized event data>", - "pubkey": "<32-bytes lowercase hex-encoded public key of the event creator>", + ... "created_at": , "kind": 34550, "tags": [ - ["d", ""], + ["d", ""], ["description", ""], ["image", "", "x"], @@ -41,18 +40,16 @@ The goal of this NIP is to create moderator-approved public communities around a # New Post Request -Any Nostr event can be a post request. Clients MUST add the community's `a` tag to the new post event in order to be presented for the moderator's approval. +Any Nostr event can be submitted to a community by anyone for approval. Clients MUST add the community's `a` tag to the new post event in order to be presented for the moderator's approval. ```json { - "id": "<32-bytes lowercase hex-encoded SHA-256 of the the serialized event data>", - "pubkey": "<32-bytes lowercase hex-encoded public key of the event creator>", - "created_at": , + ... "kind": 1, "tags": [ - ["a", "34550::", ""], + ["a", "34550::", ""], ], - "content": "" + "content": "hello world" } ``` @@ -64,17 +61,16 @@ The post-approval event MUST include `a` tags of the communities the moderator i ```json { - "id": "<32-bytes lowercase hex-encoded SHA-256 of the the serialized event data>", + ... "pubkey": "<32-bytes lowercase hex-encoded public key of the event creator>", - "created_at": , "kind": 4550, "tags": [ - ["a", "34550::", ""], - ["e", "", ""], - ["p", "", ""], - ["k", ""], + ["a", "34550::", ""], + ["e", "", ""], + ["p", "", ""], + ["k", ""] ], - "content": "" + "content": "" } ``` @@ -91,11 +87,15 @@ Community clients SHOULD display posts that have been approved by at least 1 mod The following filter displays the approved posts. ```js -{ - "authors": ["", "", "", "", ...], - "kinds": [4550], - "#a": ["34550::"], -} +[ + "REQ", + "_", + { + "authors": ["", "", "", "", ...], + "kinds": [4550], + "#a": ["34550::"], + } +] ``` Clients MAY hide approvals by blocked moderators at the user's request.