[NIP-75] add optional 'image' and 'summary' tags (#890)

This commit is contained in:
Alejandro 2023-11-23 19:17:28 +01:00 committed by GitHub
parent 5ae5a6d055
commit 1a106c6bff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
75.md
View File

@ -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",
... ...