upleb.uk

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

summaryrefslogtreecommitdiff
path: root/24.md
diff options
context:
space:
mode:
Diffstat (limited to '24.md')
-rw-r--r--24.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/24.md b/24.md
index dee9daa..b21f48e 100644
--- a/24.md
+++ b/24.md
@@ -4,7 +4,7 @@ NIP-24
4Extra metadata fields and tags 4Extra metadata fields and tags
5------------------------------ 5------------------------------
6 6
7`draft` `optional` `author:fiatjaf` 7`draft` `optional`
8 8
9This NIP defines extra optional fields added to events. 9This NIP defines extra optional fields added to events.
10 10
@@ -13,9 +13,10 @@ kind 0
13 13
14These are extra fields not specified in NIP-01 that may be present in the stringified JSON of metadata events: 14These are extra fields not specified in NIP-01 that may be present in the stringified JSON of metadata events:
15 15
16 - `display_name`: a bigger name with richer characters than `name`. Implementations should fallback to `name` when this is not available. 16 - `display_name`: an alternative, bigger name with richer characters than `name`. `name` should always be set regardless of the presence of `display_name` in the metadata.
17 - `website`: a web URL related in any way to the event author. 17 - `website`: a web URL related in any way to the event author.
18 - `banner`: an URL to a wide (~1024x768) picture to be optionally displayed in the background of a profile screen. 18 - `banner`: an URL to a wide (~1024x768) picture to be optionally displayed in the background of a profile screen.
19 - `bot`: a boolean to clarify that the content is entirely or partially the result of automation, such as with chatbots or newsfeeds.
19 20
20### Deprecated fields 21### Deprecated fields
21 22
@@ -39,3 +40,4 @@ tags
39These tags may be present in multiple event kinds. Whenever a different meaning is not specified by some more specific NIP, they have the following meanings: 40These tags may be present in multiple event kinds. Whenever a different meaning is not specified by some more specific NIP, they have the following meanings:
40 41
41 - `r`: a web URL the event is referring to in some way 42 - `r`: a web URL the event is referring to in some way
43 - `title`: name of [NIP-51](51.md) sets, [NIP-52](52.md) calendar event, [NIP-53](53.md) live event or [NIP-99](99.md) listing