From 44c21c9d82dfa9fbe04655668c03400fa0ac1e34 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sun, 24 Sep 2023 16:48:55 -0300 Subject: [PATCH] add nip-24: extra metadata fields. --- 24.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 24.md diff --git a/24.md b/24.md new file mode 100644 index 0000000..fb653f4 --- /dev/null +++ b/24.md @@ -0,0 +1,24 @@ +NIP-24 +====== + +Extra metadata fields and tags +------------------------------ + +`draft` `optional` `author:fiatjaf` + +This NIP defines extra optional fields added to events. + +kind 0 +====== + +These are extra fields not specified in NIP-01 that may be present in the stringified JSON of metadata events: + + - `display_name`: a bigger name with richer characters than `name`. Implementations should fallback to `name` when this is not available. + - `website`: a web URL related in any way to the event author. + +tags +==== + +These 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: + + - `r`: a web URL the event is referring to in some way