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 /56.md | |
| parent | b4a2561df7325b8624bc5ffad154ec946ade2f1e (diff) | |
format(all): json formatting
Diffstat (limited to '56.md')
| -rw-r--r-- | 56.md | 12 |
1 files changed, 8 insertions, 4 deletions
| @@ -41,7 +41,7 @@ further qualification and querying. | |||
| 41 | Example events | 41 | Example events |
| 42 | -------------- | 42 | -------------- |
| 43 | 43 | ||
| 44 | ```json | 44 | ```jsonc |
| 45 | { | 45 | { |
| 46 | "kind": 1984, | 46 | "kind": 1984, |
| 47 | "tags": [ | 47 | "tags": [ |
| @@ -50,9 +50,11 @@ Example events | |||
| 50 | ["l", "NS-nud", "social.nos.ontology"] | 50 | ["l", "NS-nud", "social.nos.ontology"] |
| 51 | ], | 51 | ], |
| 52 | "content": "", | 52 | "content": "", |
| 53 | ... | 53 | // other fields... |
| 54 | } | 54 | } |
| 55 | ``` | ||
| 55 | 56 | ||
| 57 | ```jsonc | ||
| 56 | { | 58 | { |
| 57 | "kind": 1984, | 59 | "kind": 1984, |
| 58 | "tags": [ | 60 | "tags": [ |
| @@ -60,16 +62,18 @@ Example events | |||
| 60 | ["p", <pubkey>] | 62 | ["p", <pubkey>] |
| 61 | ], | 63 | ], |
| 62 | "content": "He's insulting the king!", | 64 | "content": "He's insulting the king!", |
| 63 | ... | 65 | // other fields... |
| 64 | } | 66 | } |
| 67 | ``` | ||
| 65 | 68 | ||
| 69 | ```jsonc | ||
| 66 | { | 70 | { |
| 67 | "kind": 1984, | 71 | "kind": 1984, |
| 68 | "tags": [ | 72 | "tags": [ |
| 69 | ["p", <impersonator pubkey>, "impersonation"] | 73 | ["p", <impersonator pubkey>, "impersonation"] |
| 70 | ], | 74 | ], |
| 71 | "content": "Profile is impersonating nostr:<victim bech32 pubkey>", | 75 | "content": "Profile is impersonating nostr:<victim bech32 pubkey>", |
| 72 | ... | 76 | // other fields... |
| 73 | } | 77 | } |
| 74 | ``` | 78 | ``` |
| 75 | 79 | ||