diff options
| -rw-r--r-- | 94.md | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -15,7 +15,7 @@ This NIP specifies the use of the `1063` event kind, having in `content` a descr | |||
| 15 | * `url` the url to download the file | 15 | * `url` the url to download the file |
| 16 | * `m` a string indicating the data type of the file. The [MIME types](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) format must be used, and they should be lowercase. | 16 | * `m` a string indicating the data type of the file. The [MIME types](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) format must be used, and they should be lowercase. |
| 17 | * `x` containing the SHA-256 hexencoded string of the file. | 17 | * `x` containing the SHA-256 hexencoded string of the file. |
| 18 | * `ox` containing the SHA-256 hexencoded string of the original file, before any transformations done by the upload server | 18 | * `ox` (optional) containing the SHA-256 hexencoded string of the original file, before any transformations done by the upload server |
| 19 | * `size` (optional) size of file in bytes | 19 | * `size` (optional) size of file in bytes |
| 20 | * `dim` (optional) size of file in pixels in the form `<width>x<height>` | 20 | * `dim` (optional) size of file in pixels in the form `<width>x<height>` |
| 21 | * `magnet` (optional) URI to magnet file | 21 | * `magnet` (optional) URI to magnet file |
| @@ -27,6 +27,8 @@ This NIP specifies the use of the `1063` event kind, having in `content` a descr | |||
| 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 | * `service` (optional) service type which is serving the file (eg. [NIP-96](96.md)) |
| 30 | * `duration` (optional) duration of media (video/audio) in seconds | ||
| 31 | * `bitrate` (optional) average bitrate of media (video/audio) in seconds | ||
| 30 | 32 | ||
| 31 | ```jsonc | 33 | ```jsonc |
| 32 | { | 34 | { |