upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro <bandarra+gith@protonmail.com>2023-11-23 19:17:28 +0100
committerGitHub <noreply@github.com>2023-11-23 19:17:28 +0100
commit1a106c6bff20a9408fe0ec51b265e3c5de86d25f (patch)
tree7a054bafd5b5d1ca8beaab76cbf9e12c01a0e093
parent5ae5a6d0553e34afc3cf19e96043f7e0e2b349ef (diff)
[NIP-75] add optional 'image' and 'summary' tags (#890)
-rw-r--r--75.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/75.md b/75.md
index f3cf5d0..c16436a 100644
--- a/75.md
+++ b/75.md
@@ -35,6 +35,8 @@ Example event:
35The following tags are OPTIONAL. 35The 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 ...