mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
Invert caption and alt
This commit is contained in:
parent
67cf855c84
commit
de15edb04a
6
94.md
6
94.md
|
@ -22,7 +22,7 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr
|
||||||
* `i` (optional) torrent infohash
|
* `i` (optional) torrent infohash
|
||||||
* `blurhash`(optional) the [blurhash](https://github.com/woltapp/blurhash) to show while the file is being loaded by the client
|
* `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
|
* `preview` (optional) shorter file variant such as thumbnail, blurred image or text excerpt
|
||||||
* `caption` (optional) loose description not meant for accessibility
|
* `alt` (optional) description for accessibility
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
@ -41,9 +41,9 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr
|
||||||
["i",<torrent infohash>],
|
["i",<torrent infohash>],
|
||||||
["blurhash", <value>],
|
["blurhash", <value>],
|
||||||
["preview", <preview url/text>, <MIME type>],
|
["preview", <preview url/text>, <MIME type>],
|
||||||
["caption", <string with loose description>]
|
["alt", <description>]
|
||||||
],
|
],
|
||||||
"content": <description>,
|
"content": <caption>,
|
||||||
"sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>
|
"sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user