diff options
| author | Rosano <1680612+rosano@users.noreply.github.com> | 2025-09-10 20:48:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-10 15:48:05 -0400 |
| commit | e35a1bebbc7a5e10970d2dbc9d07a88ee876bfbf (patch) | |
| tree | fc14286d1547e25fc005190ebf0d8e5c228b5bb2 /71.md | |
| parent | 8b541fe8cd79d58d65e26b63cdb832ecbc29ae7d (diff) | |
Quote values (#2057)
Co-authored-by: Vitor Pamplona <vitor@vitorpamplona.com>
Diffstat (limited to '71.md')
| -rw-r--r-- | 71.md | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -85,15 +85,15 @@ Additionally `service nip96` may be included to allow clients to search the auth | |||
| 85 | 85 | ||
| 86 | ```jsonc | 86 | ```jsonc |
| 87 | { | 87 | { |
| 88 | "id": <32-bytes lowercase hex-encoded SHA-256 of the the serialized event data>, | 88 | "id": "<32-bytes lowercase hex-encoded SHA-256 of the the serialized event data>", |
| 89 | "pubkey": <32-bytes lowercase hex-encoded public key of the event creator>, | 89 | "pubkey": "<32-bytes lowercase hex-encoded public key of the event creator>", |
| 90 | "created_at": <Unix timestamp in seconds>, | 90 | "created_at": <Unix timestamp in seconds>, |
| 91 | "kind": 21 | 22, | 91 | "kind": 21 | 22, |
| 92 | "content": "<summary / description of video>", | 92 | "content": "<summary / description of video>", |
| 93 | "tags": [ | 93 | "tags": [ |
| 94 | ["title", "<title of video>"], | 94 | ["title", "<title of video>"], |
| 95 | ["published_at", "<unix timestamp>"], | 95 | ["published_at", "<unix timestamp>"], |
| 96 | ["alt", <description>], | 96 | ["alt", "<description>"], |
| 97 | 97 | ||
| 98 | // video Data | 98 | // video Data |
| 99 | ["imeta", | 99 | ["imeta", |
| @@ -108,7 +108,7 @@ Additionally `service nip96` may be included to allow clients to search the auth | |||
| 108 | "service nip96", | 108 | "service nip96", |
| 109 | ], | 109 | ], |
| 110 | 110 | ||
| 111 | ["duration", <duration of video in seconds>], | 111 | ["duration", "<duration of video in seconds>"], |
| 112 | ["text-track", "<encoded `kind 6000` event>", "<recommended relay urls>"], | 112 | ["text-track", "<encoded `kind 6000` event>", "<recommended relay urls>"], |
| 113 | ["content-warning", "<reason>"], | 113 | ["content-warning", "<reason>"], |
| 114 | ["segment", <start>, <end>, "<title>", "<thumbnail URL>"], | 114 | ["segment", <start>, <end>, "<title>", "<thumbnail URL>"], |