mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
Update for feedback on format of price array
This commit is contained in:
parent
f065a40ee6
commit
629c787d28
8
402.md
8
402.md
|
@ -37,13 +37,13 @@ The following tags, used for structured metadata, are standardized and SHOULD be
|
||||||
- `"price"` is the name of the tag
|
- `"price"` is the name of the tag
|
||||||
- `"<number>"` is the amount in numeric format (but included in the tag as a string)
|
- `"<number>"` is the amount in numeric format (but included in the tag as a string)
|
||||||
- `"<currency>"` is the currency unit in 3-character ISO 4217 format.
|
- `"<currency>"` is the currency unit in 3-character ISO 4217 format.
|
||||||
- `"<frequency>"` is optional and can be used to describe recurring payments.
|
- `"<frequency>"` is optional and can be used to describe recurring payments. SHOULD be in noun format (hour, day, week, month, year, etc.)
|
||||||
|
|
||||||
#### `price` examples
|
#### `price` examples
|
||||||
|
|
||||||
- $50 one-time payment `["price", "50", "USD", ""]`
|
- $50 one-time payment `["price", "50", "USD"]`
|
||||||
- €15 per month `["price", "15", "EUR", "monthly"]`
|
- €15 per month `["price", "15", "EUR", "month"]`
|
||||||
- £50,000 per year `["price", "50000", "GBP", "yearly"]`
|
- £50,000 per year `["price", "50000", "GBP", "year"]`
|
||||||
|
|
||||||
Other standard tags that might be useful.
|
Other standard tags that might be useful.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user