mirror of
https://github.com/edufeed-org/nips.git
synced 2025-12-09 16:24:32 +00:00
add nip-24: extra metadata fields.
This commit is contained in:
parent
2aa588059a
commit
44c21c9d82
1 changed files with 24 additions and 0 deletions
24
24.md
Normal file
24
24.md
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue