mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-10-04 10:26:36 +02:00
Quote values (#2057)
Co-authored-by: Vitor Pamplona <vitor@vitorpamplona.com>
This commit is contained in:
8
71.md
8
71.md
@@ -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>"],
|
||||||
|
Reference in New Issue
Block a user