diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2023-09-24 16:48:55 -0300 |
|---|---|---|
| committer | fiatjaf_ <fiatjaf@gmail.com> | 2023-09-25 23:00:01 -0300 |
| commit | 44c21c9d82dfa9fbe04655668c03400fa0ac1e34 (patch) | |
| tree | 565f22f23206e5f5f46c40281d2826fc4026958c | |
| parent | 2aa588059a1da4b07daf99c7e7a36f9f730a8a3b (diff) | |
add nip-24: extra metadata fields.
| -rw-r--r-- | 24.md | 24 |
1 files changed, 24 insertions, 0 deletions
| @@ -0,0 +1,24 @@ | |||
| 1 | NIP-24 | ||
| 2 | ====== | ||
| 3 | |||
| 4 | Extra metadata fields and tags | ||
| 5 | ------------------------------ | ||
| 6 | |||
| 7 | `draft` `optional` `author:fiatjaf` | ||
| 8 | |||
| 9 | This NIP defines extra optional fields added to events. | ||
| 10 | |||
| 11 | kind 0 | ||
| 12 | ====== | ||
| 13 | |||
| 14 | These are extra fields not specified in NIP-01 that may be present in the stringified JSON of metadata events: | ||
| 15 | |||
| 16 | - `display_name`: a bigger name with richer characters than `name`. Implementations should fallback to `name` when this is not available. | ||
| 17 | - `website`: a web URL related in any way to the event author. | ||
| 18 | |||
| 19 | tags | ||
| 20 | ==== | ||
| 21 | |||
| 22 | 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: | ||
| 23 | |||
| 24 | - `r`: a web URL the event is referring to in some way | ||