upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/94.md
diff options
context:
space:
mode:
authorPablo Fernandez <p@f7z.io>2023-11-23 17:52:48 +0200
committerGitHub <noreply@github.com>2023-11-23 17:52:48 +0200
commit60256a62675a165c4d4fd9811a19a9cbf6a9e7fd (patch)
tree5c450154d373caafc37f324dd01e20338308c9d6 /94.md
parent43d50ee42409252a1313928cd437d55fd7bf7bf4 (diff)
parent7822a8b12670312aff104ddc03066425882f739d (diff)
Merge branch 'master' into nip88
Diffstat (limited to '94.md')
-rw-r--r--94.md9
1 files changed, 3 insertions, 6 deletions
diff --git a/94.md b/94.md
index c5e0f18..95b6a3b 100644
--- a/94.md
+++ b/94.md
@@ -4,7 +4,7 @@ NIP-94
4File Metadata 4File Metadata
5------------- 5-------------
6 6
7`draft` `optional` `author:frbitten` `author:kieran` `author:lovvtide` `author:fiatjaf` `author:staab` 7`draft` `optional`
8 8
9The purpose of this NIP is to allow an organization and classification of shared files. So that relays can filter and organize in any way that is of interest. With that, multiple types of filesharing clients can be created. NIP-94 support is not expected to be implemented by "social" clients that deal with kind:1 notes or by longform clients that deal with kind:30023 articles. 9The purpose of this NIP is to allow an organization and classification of shared files. So that relays can filter and organize in any way that is of interest. With that, multiple types of filesharing clients can be created. NIP-94 support is not expected to be implemented by "social" clients that deal with kind:1 notes or by longform clients that deal with kind:30023 articles.
10 10
@@ -28,9 +28,6 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr
28 28
29```json 29```json
30{ 30{
31 "id": <32-bytes lowercase hex-encoded sha256 of the the serialized event data>,
32 "pubkey": <32-bytes lowercase hex-encoded public key of the event creator>,
33 "created_at": <unix timestamp in seconds>,
34 "kind": 1063, 31 "kind": 1063,
35 "tags": [ 32 "tags": [
36 ["url",<string with URI of file>], 33 ["url",<string with URI of file>],
@@ -47,8 +44,8 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr
47 ["summary", <excerpt>], 44 ["summary", <excerpt>],
48 ["alt", <description>] 45 ["alt", <description>]
49 ], 46 ],
50 "content": <caption>, 47 "content": "<caption>",
51 "sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field> 48 ...
52} 49}
53``` 50```
54 51