From 67cf855c8448c78010cd0d3ed8f19ddfeb1d2606 Mon Sep 17 00:00:00 2001 From: arthurfranca Date: Tue, 12 Sep 2023 09:50:25 -0300 Subject: [PATCH] Add tags to nip94 --- 94.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/94.md b/94.md index c1b322a..e34a576 100644 --- a/94.md +++ b/94.md @@ -21,6 +21,8 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr * `magnet` (optional) URI to magnet file * `i` (optional) torrent infohash * `blurhash`(optional) the [blurhash](https://github.com/woltapp/blurhash) to show while the file is being loaded by the client +* `preview` (optional) shorter file variant such as thumbnail, blurred image or text excerpt +* `caption` (optional) loose description not meant for accessibility ```json { @@ -37,7 +39,9 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr ["dim", ], ["magnet", ], ["i",], - ["blurhash", ] + ["blurhash", ], + ["preview", , ], + ["caption", ] ], "content": , "sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>