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:
authorYoji Shidara <dara@shidara.net>2025-08-11 19:37:53 +0900
committerGitHub <noreply@github.com>2025-08-11 19:37:53 +0900
commit739f3c5263584770f098440855d9364a779e7f9d (patch)
tree45d375bf530908e96e0a2fa5827eae338d51c7d8 /24.md
parent88305252508a7bbbcc7bc1293d33dd4b814da230 (diff)
NIP-24: Fix heading levels (#2009)
Diffstat (limited to '24.md')
-rw-r--r--24.md13
1 files changed, 5 insertions, 8 deletions
diff --git a/24.md b/24.md
index 5904efb..0094d58 100644
--- a/24.md
+++ b/24.md
@@ -8,8 +8,7 @@ Extra metadata fields and tags
8 8
9This NIP keeps track of extra optional fields that can added to events which are not defined anywhere else but have become _de facto_ standards and other minor implementation possibilities that do not deserve their own NIP and do not have a place in other NIPs. 9This NIP keeps track of extra optional fields that can added to events which are not defined anywhere else but have become _de facto_ standards and other minor implementation possibilities that do not deserve their own NIP and do not have a place in other NIPs.
10 10
11kind 0 11### kind 0
12======
13 12
14These are extra fields not specified in NIP-01 that may be present in the stringified JSON of metadata events: 13These are extra fields not specified in NIP-01 that may be present in the stringified JSON of metadata events:
15 14
@@ -19,24 +18,22 @@ These are extra fields not specified in NIP-01 that may be present in the string
19 - `bot`: a boolean to clarify that the content is entirely or partially the result of automation, such as with chatbots or newsfeeds. 18 - `bot`: a boolean to clarify that the content is entirely or partially the result of automation, such as with chatbots or newsfeeds.
20 - `birthday`: an object representing the author's birth date. The format is { "year": number, "month": number, "day": number }. Each field MAY be omitted. 19 - `birthday`: an object representing the author's birth date. The format is { "year": number, "month": number, "day": number }. Each field MAY be omitted.
21 20
22### Deprecated fields 21#### Deprecated fields
23 22
24These are fields that should be ignored or removed when found in the wild: 23These are fields that should be ignored or removed when found in the wild:
25 24
26 - `displayName`: use `display_name` instead. 25 - `displayName`: use `display_name` instead.
27 - `username`: use `name` instead. 26 - `username`: use `name` instead.
28 27
29kind 3 28### kind 3
30======
31 29
32These are extra fields not specified in NIP-02 that may be present in the stringified JSON of follow events: 30These are extra fields not specified in NIP-02 that may be present in the stringified JSON of follow events:
33 31
34### Deprecated fields 32#### Deprecated fields
35 33
36 - `{<relay-url>: {"read": <true|false>, "write": <true|false>}, ...}`: an object of relays used by a user to read/write. [NIP-65](65.md) should be used instead. 34 - `{<relay-url>: {"read": <true|false>, "write": <true|false>}, ...}`: an object of relays used by a user to read/write. [NIP-65](65.md) should be used instead.
37 35
38tags 36### tags
39====
40 37
41These 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: 38These 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:
42 39