removed dim

This commit is contained in:
Egge 2023-05-05 23:01:31 +02:00
parent ceb420dd31
commit 9f8e49cbdb

2
XX.md
View File

@ -28,7 +28,6 @@ This NIP specifies a `X` event kind for Zap Gated Resources, having in `content`
* `url` the url of the NIP-98 protected resource * `url` the url of the NIP-98 protected resource
* `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) * `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)
* `price` the price in SATS that is to be paid to access the resource. * `price` the price in SATS that is to be paid to access the resource.
* `dim` (optional) size of file in pixels in the form `<width>x<height>`
* `preview` (optional) a preview of the protected ressource that should be accessible prior to paying (see preview examples) * `preview` (optional) a preview of the protected ressource that should be accessible prior to paying (see preview examples)
```json ```json
@ -41,7 +40,6 @@ This NIP specifies a `X` event kind for Zap Gated Resources, having in `content`
["url",<string with URI of file>], ["url",<string with URI of file>],
["m", <MIME type>], ["m", <MIME type>],
["price", <price in SATS>], ["price", <price in SATS>],
["dim", <size of file in pixels>],
["preview",<preview tag> ], ["preview",<preview tag> ],
], ],
"content": <description>, "content": <description>,