mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-10 14:19:08 -05:00
removed dim
This commit is contained in:
parent
ceb420dd31
commit
9f8e49cbdb
2
XX.md
2
XX.md
|
@ -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>,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user