upleb.uk

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

summaryrefslogtreecommitdiff
path: root/58.md
diff options
context:
space:
mode:
Diffstat (limited to '58.md')
-rw-r--r--58.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/58.md b/58.md
index 438574b..b6324f4 100644
--- a/58.md
+++ b/58.md
@@ -74,7 +74,7 @@ Clients SHOULD attempt to render the most appropriate badge thumbnail according
74 74
75### Example of a Badge Definition event 75### Example of a Badge Definition event
76 76
77```json 77```jsonc
78{ 78{
79 "pubkey": "alice", 79 "pubkey": "alice",
80 "kind": 30009, 80 "kind": 30009,
@@ -85,13 +85,13 @@ Clients SHOULD attempt to render the most appropriate badge thumbnail according
85 ["image", "https://nostr.academy/awards/bravery.png", "1024x1024"], 85 ["image", "https://nostr.academy/awards/bravery.png", "1024x1024"],
86 ["thumb", "https://nostr.academy/awards/bravery_256x256.png", "256x256"] 86 ["thumb", "https://nostr.academy/awards/bravery_256x256.png", "256x256"]
87 ], 87 ],
88 ... 88 // other fields...
89} 89}
90``` 90```
91 91
92### Example of Badge Award event 92### Example of Badge Award event
93 93
94```json 94```jsonc
95{ 95{
96 "id": "<badge award event id>", 96 "id": "<badge award event id>",
97 "kind": 8, 97 "kind": 8,
@@ -101,14 +101,14 @@ Clients SHOULD attempt to render the most appropriate badge thumbnail according
101 ["p", "bob", "wss://relay"], 101 ["p", "bob", "wss://relay"],
102 ["p", "charlie", "wss://relay"] 102 ["p", "charlie", "wss://relay"]
103 ], 103 ],
104 ... 104 // other fields...
105} 105}
106``` 106```
107 107
108### Example of a Profile Badges event 108### Example of a Profile Badges event
109 109
110Honorable Bob The Brave: 110Honorable Bob The Brave:
111```json 111```jsonc
112{ 112{
113 "kind": 30008, 113 "kind": 30008,
114 "pubkey": "bob", 114 "pubkey": "bob",
@@ -119,6 +119,6 @@ Honorable Bob The Brave:
119 ["a", "30009:alice:honor"], 119 ["a", "30009:alice:honor"],
120 ["e", "<honor badge award event id>", "wss://nostr.academy"] 120 ["e", "<honor badge award event id>", "wss://nostr.academy"]
121 ], 121 ],
122 ... 122 // other fields...
123} 123}
124``` 124```