mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
[NIP-75] add optional 'image' and 'summary' tags (#890)
This commit is contained in:
parent
5ae5a6d055
commit
1a106c6bff
4
75.md
4
75.md
|
@ -35,6 +35,8 @@ Example event:
|
||||||
The following tags are OPTIONAL.
|
The following tags are OPTIONAL.
|
||||||
|
|
||||||
- `closed_at` - timestamp for determining which zaps are included in the tally. Zap receipts published after the `closed_at` timestamp SHOULD NOT count towards the goal progress.
|
- `closed_at` - timestamp for determining which zaps are included in the tally. Zap receipts published after the `closed_at` timestamp SHOULD NOT count towards the goal progress.
|
||||||
|
- `image` - an image for the goal
|
||||||
|
- `summary` - a brief description
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
@ -43,6 +45,8 @@ The following tags are OPTIONAL.
|
||||||
["relays", "wss://alicerelay.example.com", "wss://bobrelay.example.com", ...],
|
["relays", "wss://alicerelay.example.com", "wss://bobrelay.example.com", ...],
|
||||||
["amount", "210000"],
|
["amount", "210000"],
|
||||||
["closed_at", "<unix timestamp in seconds>"],
|
["closed_at", "<unix timestamp in seconds>"],
|
||||||
|
["image", "<image URL>"],
|
||||||
|
["summary", "<description of the goal>"],
|
||||||
],
|
],
|
||||||
"content": "Nostrasia travel expenses",
|
"content": "Nostrasia travel expenses",
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in New Issue
Block a user