diff options
| author | hodlbod <jstaab@protonmail.com> | 2024-09-03 13:56:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-03 13:56:56 -0700 |
| commit | c02b161d9ed8f2edb7633b467ad2dd25252ed55c (patch) | |
| tree | 0a9198bac9d1976cf0744c30516400ee5cff26aa /72.md | |
| parent | 378dfaa5dbf44bd1f17fd70f8727b636b7c99239 (diff) | |
| parent | c8dc1eadffe0ff894ec39e291c5b28bb18e6db9e (diff) | |
Merge pull request #1477 from kehiy/jsonc
format(all): JSON formatting
Diffstat (limited to '72.md')
| -rw-r--r-- | 72.md | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -35,7 +35,7 @@ The goal of this NIP is to enable public communities. It defines the replaceable | |||
| 35 | ["relay", "<relay where to send and receive approvals>", "approvals"], | 35 | ["relay", "<relay where to send and receive approvals>", "approvals"], |
| 36 | ["relay", "<relay where to post requests to and fetch approvals from>"] | 36 | ["relay", "<relay where to post requests to and fetch approvals from>"] |
| 37 | ], | 37 | ], |
| 38 | ... | 38 | // other fields... |
| 39 | } | 39 | } |
| 40 | ``` | 40 | ``` |
| 41 | 41 | ||
| @@ -50,7 +50,7 @@ Any Nostr event can be posted to a community. Clients MUST add one or more commu | |||
| 50 | ["a", "34550:<community event author pubkey>:<community-d-identifier>", "<optional-relay-url>"], | 50 | ["a", "34550:<community event author pubkey>:<community-d-identifier>", "<optional-relay-url>"], |
| 51 | ], | 51 | ], |
| 52 | "content": "hello world", | 52 | "content": "hello world", |
| 53 | // ... | 53 | // other fields... |
| 54 | } | 54 | } |
| 55 | ``` | 55 | ``` |
| 56 | 56 | ||
| @@ -75,7 +75,7 @@ Moderators MAY request deletion of their approval of a post at any time using [N | |||
| 75 | ["k", "<post-request-kind>"] | 75 | ["k", "<post-request-kind>"] |
| 76 | ], | 76 | ], |
| 77 | "content": "<the full approved event, JSON-encoded>", | 77 | "content": "<the full approved event, JSON-encoded>", |
| 78 | // ... | 78 | // other fields... |
| 79 | } | 79 | } |
| 80 | ``` | 80 | ``` |
| 81 | 81 | ||