diff options
| author | Alejandro <bandarra+gith@protonmail.com> | 2023-11-23 19:17:28 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-23 19:17:28 +0100 |
| commit | 1a106c6bff20a9408fe0ec51b265e3c5de86d25f (patch) | |
| tree | 7a054bafd5b5d1ca8beaab76cbf9e12c01a0e093 /75.md | |
| parent | 5ae5a6d0553e34afc3cf19e96043f7e0e2b349ef (diff) | |
[NIP-75] add optional 'image' and 'summary' tags (#890)
Diffstat (limited to '75.md')
| -rw-r--r-- | 75.md | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -35,6 +35,8 @@ Example event: | |||
| 35 | The following tags are OPTIONAL. | 35 | The following tags are OPTIONAL. |
| 36 | 36 | ||
| 37 | - `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. | 37 | - `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. |
| 38 | - `image` - an image for the goal | ||
| 39 | - `summary` - a brief description | ||
| 38 | 40 | ||
| 39 | ```json | 41 | ```json |
| 40 | { | 42 | { |
| @@ -43,6 +45,8 @@ The following tags are OPTIONAL. | |||
| 43 | ["relays", "wss://alicerelay.example.com", "wss://bobrelay.example.com", ...], | 45 | ["relays", "wss://alicerelay.example.com", "wss://bobrelay.example.com", ...], |
| 44 | ["amount", "210000"], | 46 | ["amount", "210000"], |
| 45 | ["closed_at", "<unix timestamp in seconds>"], | 47 | ["closed_at", "<unix timestamp in seconds>"], |
| 48 | ["image", "<image URL>"], | ||
| 49 | ["summary", "<description of the goal>"], | ||
| 46 | ], | 50 | ], |
| 47 | "content": "Nostrasia travel expenses", | 51 | "content": "Nostrasia travel expenses", |
| 48 | ... | 52 | ... |