Quote values (#2057)

Co-authored-by: Vitor Pamplona <vitor@vitorpamplona.com>
This commit is contained in:
Rosano
2025-09-10 20:48:05 +01:00
committed by GitHub
parent 8b541fe8cd
commit e35a1bebbc

8
71.md
View File

@@ -85,15 +85,15 @@ Additionally `service nip96` may be included to allow clients to search the auth
```jsonc ```jsonc
{ {
"id": <32-bytes lowercase hex-encoded SHA-256 of the the serialized event data>, "id": "<32-bytes lowercase hex-encoded SHA-256 of the the serialized event data>",
"pubkey": <32-bytes lowercase hex-encoded public key of the event creator>, "pubkey": "<32-bytes lowercase hex-encoded public key of the event creator>",
"created_at": <Unix timestamp in seconds>, "created_at": <Unix timestamp in seconds>,
"kind": 21 | 22, "kind": 21 | 22,
"content": "<summary / description of video>", "content": "<summary / description of video>",
"tags": [ "tags": [
["title", "<title of video>"], ["title", "<title of video>"],
["published_at", "<unix timestamp>"], ["published_at", "<unix timestamp>"],
["alt", <description>], ["alt", "<description>"],
// video Data // video Data
["imeta", ["imeta",
@@ -108,7 +108,7 @@ Additionally `service nip96` may be included to allow clients to search the auth
"service nip96", "service nip96",
], ],
["duration", <duration of video in seconds>], ["duration", "<duration of video in seconds>"],
["text-track", "<encoded `kind 6000` event>", "<recommended relay urls>"], ["text-track", "<encoded `kind 6000` event>", "<recommended relay urls>"],
["content-warning", "<reason>"], ["content-warning", "<reason>"],
["segment", <start>, <end>, "<title>", "<thumbnail URL>"], ["segment", <start>, <end>, "<title>", "<thumbnail URL>"],