diff options
Diffstat (limited to '58.md')
| -rw-r--r-- | 58.md | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -28,7 +28,7 @@ The following tags MAY be present: | |||
| 28 | - A `name` tag with a short name for the badge. | 28 | - A `name` tag with a short name for the badge. |
| 29 | - `image` tag whose value is the URL of a high-resolution image representing the badge. The second value optionally specifies the dimensions of the image as `width`x`height` in pixels. Badge recommended dimensions is 1024x1024 pixels. | 29 | - `image` tag whose value is the URL of a high-resolution image representing the badge. The second value optionally specifies the dimensions of the image as `width`x`height` in pixels. Badge recommended dimensions is 1024x1024 pixels. |
| 30 | - A `description` tag whose value MAY contain a textual representation of the | 30 | - A `description` tag whose value MAY contain a textual representation of the |
| 31 | image, the meaning behind the badge, or the reason of it's issuance. | 31 | image, the meaning behind the badge, or the reason of its issuance. |
| 32 | - One or more `thumb` tags whose first value is an URL pointing to a thumbnail version of the image referenced in the `image` tag. The second value optionally specifies the dimensions of the thumbnail as `width`x`height` in pixels. | 32 | - One or more `thumb` tags whose first value is an URL pointing to a thumbnail version of the image referenced in the `image` tag. The second value optionally specifies the dimensions of the thumbnail as `width`x`height` in pixels. |
| 33 | 33 | ||
| 34 | ### Badge Award event | 34 | ### Badge Award event |
| @@ -83,7 +83,7 @@ Clients SHOULD attempt to render the most appropriate badge thumbnail according | |||
| 83 | ["name", "Medal of Bravery"], | 83 | ["name", "Medal of Bravery"], |
| 84 | ["description", "Awarded to users demonstrating bravery"], | 84 | ["description", "Awarded to users demonstrating bravery"], |
| 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 | ... |
| 89 | } | 89 | } |
| @@ -99,7 +99,7 @@ Clients SHOULD attempt to render the most appropriate badge thumbnail according | |||
| 99 | "tags": [ | 99 | "tags": [ |
| 100 | ["a", "30009:alice:bravery"], | 100 | ["a", "30009:alice:bravery"], |
| 101 | ["p", "bob", "wss://relay"], | 101 | ["p", "bob", "wss://relay"], |
| 102 | ["p", "charlie", "wss://relay"], | 102 | ["p", "charlie", "wss://relay"] |
| 103 | ], | 103 | ], |
| 104 | ... | 104 | ... |
| 105 | } | 105 | } |
| @@ -117,7 +117,7 @@ Honorable Bob The Brave: | |||
| 117 | ["a", "30009:alice:bravery"], | 117 | ["a", "30009:alice:bravery"], |
| 118 | ["e", "<bravery badge award event id>", "wss://nostr.academy"], | 118 | ["e", "<bravery badge award event id>", "wss://nostr.academy"], |
| 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 | ... |
| 123 | } | 123 | } |