diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2023-11-18 09:13:12 -0300 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2023-11-18 09:13:12 -0300 |
| commit | 5dcfe85306434f21ecb1e7a47edd92b2e3e64f9a (patch) | |
| tree | 4fff8694238b3ae5e692a8480869ad1266b95be4 /94.md | |
| parent | b0df71824f9967130b54150b64cc70fa94bffec2 (diff) | |
reformat a bunch of json things and small nitpicks.
Diffstat (limited to '94.md')
| -rw-r--r-- | 94.md | 7 |
1 files changed, 2 insertions, 5 deletions
| @@ -28,9 +28,6 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr | |||
| 28 | 28 | ||
| 29 | ```json | 29 | ```json |
| 30 | { | 30 | { |
| 31 | "id": <32-bytes lowercase hex-encoded sha256 of the the serialized event data>, | ||
| 32 | "pubkey": <32-bytes lowercase hex-encoded public key of the event creator>, | ||
| 33 | "created_at": <unix timestamp in seconds>, | ||
| 34 | "kind": 1063, | 31 | "kind": 1063, |
| 35 | "tags": [ | 32 | "tags": [ |
| 36 | ["url",<string with URI of file>], | 33 | ["url",<string with URI of file>], |
| @@ -47,8 +44,8 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr | |||
| 47 | ["summary", <excerpt>], | 44 | ["summary", <excerpt>], |
| 48 | ["alt", <description>] | 45 | ["alt", <description>] |
| 49 | ], | 46 | ], |
| 50 | "content": <caption>, | 47 | "content": "<caption>", |
| 51 | "sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field> | 48 | ... |
| 52 | } | 49 | } |
| 53 | ``` | 50 | ``` |
| 54 | 51 | ||