Add tags to nip94

This commit is contained in:
arthurfranca 2023-09-12 09:50:25 -03:00
parent 70ede5e67d
commit 67cf855c84

6
94.md
View File

@ -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", <size of file in pixels>],
["magnet",<magnet URI> ],
["i",<torrent infohash>],
["blurhash", <value>]
["blurhash", <value>],
["preview", <preview url/text>, <MIME type>],
["caption", <string with loose description>]
],
"content": <description>,
"sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>