mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-25 09:45:51 -05:00
Better defining kind:0
This commit is contained in:
parent
c4daa69498
commit
2f8da3a5c7
4
01.md
4
01.md
|
@ -83,9 +83,7 @@ Parameterized Repleaceable events MUST include a `d`-tag with an identifier val
|
|||
|
||||
In case of replaceable events with the same timestamp, the event with the lowest `.id` (first in lexical order) SHOULD be retained. Older versions MAY be kept but SHOULD not be returned on queries.
|
||||
|
||||
This NIP defines two kinds:
|
||||
|
||||
- `kind:0`: **User Metadata**: An event kind to add name and other information to the pubkey. The `content` is set to a stringified JSON object `{name: <user's name, string>, about: <string>, picture: <url, string>}`
|
||||
This NIP defines the `kind:0` as **User Metadata**. The `.content` is set to a stringified JSON object `{name: <user's name, string>, about: <string>, picture: <url, string>}`. Since other attributes might exist, Clients SHOULD preseve any unsupported attribute when updating this event.
|
||||
|
||||
## Tags
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user