diff options
| author | kehiy <kehiiiiya@gmail.com> | 2024-09-03 20:41:31 +0330 |
|---|---|---|
| committer | kehiy <kehiiiiya@gmail.com> | 2024-09-03 20:41:31 +0330 |
| commit | e6552476aa2e5ca7256be572a9aa226ec8a022ee (patch) | |
| tree | 46f14902bd2bfb85e5f3369ece456c46b697b1a2 /54.md | |
| parent | b4a2561df7325b8624bc5ffad154ec946ade2f1e (diff) | |
format(all): json formatting
Diffstat (limited to '54.md')
| -rw-r--r-- | 54.md | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -11,7 +11,7 @@ This NIP defines `kind:30818` (an _addressable event_) for long-form text conten | |||
| 11 | Articles are identified by lowercase, normalized ascii `d` tags. | 11 | Articles are identified by lowercase, normalized ascii `d` tags. |
| 12 | 12 | ||
| 13 | ### Articles | 13 | ### Articles |
| 14 | ```jsonc | 14 | ```json |
| 15 | { | 15 | { |
| 16 | "content": "A wiki is a hypertext publication collaboratively edited and managed by its own audience.", | 16 | "content": "A wiki is a hypertext publication collaboratively edited and managed by its own audience.", |
| 17 | "tags": [ | 17 | "tags": [ |
| @@ -96,13 +96,13 @@ Asciidoc has a strict spec, multiple implementations in many languages, and supp | |||
| 96 | # Appendix 1: Merge requests | 96 | # Appendix 1: Merge requests |
| 97 | Users can request other users to get their entries merged into someone else's entry by creating a `kind:818` event. | 97 | Users can request other users to get their entries merged into someone else's entry by creating a `kind:818` event. |
| 98 | 98 | ||
| 99 | ```jsonc | 99 | ```json |
| 100 | { | 100 | { |
| 101 | "content": "I added information about how to make hot ice-creams", | 101 | "content": "I added information about how to make hot ice-creams", |
| 102 | "kind": 818, | 102 | "kind": 818, |
| 103 | "tags": [ | 103 | "tags": [ |
| 104 | [ "a", "30818:<destination-pubkey>:hot-ice-creams", "<relay-url>" ], | 104 | [ "a", "30818:<destination-pubkey>:hot-ice-creams", "<relay-url>" ], |
| 105 | [ "e", "<version-against-which-the-modification-was-made>", "<relay-url>' ], | 105 | [ "e", "<version-against-which-the-modification-was-made>", "<relay-url>" ], |
| 106 | [ "p", "<destination-pubkey>" ], | 106 | [ "p", "<destination-pubkey>" ], |
| 107 | [ "e", "<version-to-be-merged>", "<relay-url>", "source" ] | 107 | [ "e", "<version-to-be-merged>", "<relay-url>", "source" ] |
| 108 | ] | 108 | ] |
| @@ -114,4 +114,4 @@ Users can request other users to get their entries merged into someone else's en | |||
| 114 | `e` tag: optional version of the article in which this modifications is based | 114 | `e` tag: optional version of the article in which this modifications is based |
| 115 | `e` tag with `source` marker: the ID of the event that should be merged. This event id MUST be of a `kind:30818` as defined in this NIP. | 115 | `e` tag with `source` marker: the ID of the event that should be merged. This event id MUST be of a `kind:30818` as defined in this NIP. |
| 116 | 116 | ||
| 117 | The destination-pubkey (the pubkey being requested to merge something into their article can create [[NIP-25]] reactions that tag the `kind:818` event with `+` or `-` | 117 | The destination-pubkey is the pubkey being requested to merge something into their article can create [[NIP-25]] reactions that tag the `kind:818` event with `+` or `-` |