diff options
| -rw-r--r-- | 94.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -13,7 +13,7 @@ The purpose of this NIP is to allow an organization and classification of shared | |||
| 13 | This NIP specifies the use of the `1063` event type, having in `content` a description of the file content, and a list of tags described below: | 13 | This NIP specifies the use of the `1063` event type, having in `content` a description of the file content, and a list of tags described below: |
| 14 | 14 | ||
| 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 format must be used (https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) | 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 | * `"aes-256-gcm"` (optional) key and nonce for AES-GCM encryption with tagSize always 128bits | 17 | * `"aes-256-gcm"` (optional) key and nonce for AES-GCM encryption with tagSize always 128bits |
| 18 | * `x` containing the SHA-256 hexencoded string of the file. | 18 | * `x` containing the SHA-256 hexencoded string of the file. |
| 19 | * `size` (optional) size of file in bytes | 19 | * `size` (optional) size of file in bytes |