diff options
Diffstat (limited to '24.md')
| -rw-r--r-- | 24.md | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -4,7 +4,7 @@ NIP-24 | |||
| 4 | Extra metadata fields and tags | 4 | Extra metadata fields and tags |
| 5 | ------------------------------ | 5 | ------------------------------ |
| 6 | 6 | ||
| 7 | `draft` `optional` `author:fiatjaf` | 7 | `draft` `optional` |
| 8 | 8 | ||
| 9 | This NIP defines extra optional fields added to events. | 9 | This NIP defines extra optional fields added to events. |
| 10 | 10 | ||
| @@ -13,9 +13,10 @@ kind 0 | |||
| 13 | 13 | ||
| 14 | These are extra fields not specified in NIP-01 that may be present in the stringified JSON of metadata events: | 14 | These are extra fields not specified in NIP-01 that may be present in the stringified JSON of metadata events: |
| 15 | 15 | ||
| 16 | - `display_name`: a bigger name with richer characters than `name`. Implementations should fallback to `name` when this is not available. | 16 | - `display_name`: an alternative, bigger name with richer characters than `name`. `name` should always be set regardless of the presence of `display_name` in the metadata. |
| 17 | - `website`: a web URL related in any way to the event author. | 17 | - `website`: a web URL related in any way to the event author. |
| 18 | - `banner`: an URL to a wide (~1024x768) picture to be optionally displayed in the background of a profile screen. | 18 | - `banner`: an URL to a wide (~1024x768) picture to be optionally displayed in the background of a profile screen. |
| 19 | - `bot`: a boolean to clarify that the content is entirely or partially the result of automation, such as with chatbots or newsfeeds. | ||
| 19 | 20 | ||
| 20 | ### Deprecated fields | 21 | ### Deprecated fields |
| 21 | 22 | ||
| @@ -39,3 +40,4 @@ tags | |||
| 39 | 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: | 40 | 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: |
| 40 | 41 | ||
| 41 | - `r`: a web URL the event is referring to in some way | 42 | - `r`: a web URL the event is referring to in some way |
| 43 | - `title`: name of [NIP-51](51.md) sets, [NIP-52](52.md) calendar event, [NIP-53](53.md) live event or [NIP-99](99.md) listing | ||