Update 93.md

This commit is contained in:
Believethehype 2024-07-10 21:35:13 +02:00
parent 72294eacd5
commit 6ecbb3bd96

6
93.md
View File

@ -6,7 +6,7 @@ Profile Gallery
This NIP defines curatable profile galleries that might be used across clients. The intention is that users might curate a gallery in their profile (or somewhere else) to show some of their visual content of choice, such as art, photographs etc. This NIP defines curatable profile galleries that might be used across clients. The intention is that users might curate a gallery in their profile (or somewhere else) to show some of their visual content of choice, such as art, photographs etc.
The purpose of this NIP is to define an event Kind for Profile Galleries. A Gallery entry is a Kind 1163 Event consisting of an `e` tag and an `url` tag. The `url` tag must direct to a media file (such as an image or video) that will be shown in the gallery. The `e` tag should direct to a Kind 1 note containing this media file. The purpose of this NIP is to define an event Kind for Profile Galleries. A Gallery entry is a Kind 1163 Event consisting of an `e` tag and an `url` tag. The `url` tag must direct to a media file (such as an image or video) that will be shown in the gallery. The `e` tag should direct to a note containing this media file. The `content` field can contain an optional caption.
@ -14,11 +14,11 @@ The purpose of this NIP is to define an event Kind for Profile Galleries. A Gall
```json ```json
{ {
"content": "", "content": "An optional caption of the image",
"kind": 1163, "kind": 1163,
"tags": [ "tags": [
[ [
["e", <event id of kind 1 note >], ["e", <event id>, <relay-url>],
["url", <string with URI of file>], ["url", <string with URI of file>],
] ]
] ]