diff options
| author | kieran <kieran@harkin.me> | 2024-05-27 12:18:27 +0100 |
|---|---|---|
| committer | kieran <kieran@harkin.me> | 2024-05-27 12:18:27 +0100 |
| commit | 53afaaece61f02e92b5ef9c3e9c32945c7ebf522 (patch) | |
| tree | a68c5477561a2af46865c6c8919a17d1fcfbbbb4 /94.md | |
| parent | 85df9b0e89e23ed7c0dee73c29004f23b25020df (diff) | |
nip71 imeta
Diffstat (limited to '94.md')
| -rw-r--r-- | 94.md | 13 |
1 files changed, 7 insertions, 6 deletions
| @@ -26,6 +26,7 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr | |||
| 26 | * `summary` (optional) text excerpt | 26 | * `summary` (optional) text excerpt |
| 27 | * `alt` (optional) description for accessibility | 27 | * `alt` (optional) description for accessibility |
| 28 | * `fallback` (optional) zero or more fallback file sources in case `url` fails | 28 | * `fallback` (optional) zero or more fallback file sources in case `url` fails |
| 29 | * `service` (optional) service type which is serving the file (eg. [NIP-96](96.md)) | ||
| 29 | 30 | ||
| 30 | ```json | 31 | ```json |
| 31 | { | 32 | { |
| @@ -33,15 +34,15 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr | |||
| 33 | "tags": [ | 34 | "tags": [ |
| 34 | ["url",<string with URI of file>], | 35 | ["url",<string with URI of file>], |
| 35 | ["m", <MIME type>], | 36 | ["m", <MIME type>], |
| 36 | ["x",<Hash SHA-256>], | 37 | ["x", <Hash SHA-256>], |
| 37 | ["ox",<Hash SHA-256>], | 38 | ["ox", <Hash SHA-256>], |
| 38 | ["size", <size of file in bytes>], | 39 | ["size", <size of file in bytes>], |
| 39 | ["dim", <size of file in pixels>], | 40 | ["dim", <size of file in pixels>], |
| 40 | ["magnet",<magnet URI> ], | 41 | ["magnet", <magnet URI> ], |
| 41 | ["i",<torrent infohash>], | 42 | ["i", <torrent infohash>], |
| 42 | ["blurhash", <value>], | 43 | ["blurhash", <value>], |
| 43 | ["thumb", <string with thumbnail URI>], | 44 | ["thumb", <string with thumbnail URI>, <Hash SHA-256>], |
| 44 | ["image", <string with preview URI>], | 45 | ["image", <string with preview URI>, <Hash SHA-256>], |
| 45 | ["summary", <excerpt>], | 46 | ["summary", <excerpt>], |
| 46 | ["alt", <description>] | 47 | ["alt", <description>] |
| 47 | ], | 48 | ], |