2023-09-24 15:48:55 -04:00
NIP-24
======
Extra metadata fields and tags
------------------------------
2023-11-15 19:42:51 -05:00
`draft` `optional`
2023-09-24 15:48:55 -04:00
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:
2023-11-10 05:00:40 -05:00
- `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.
2023-09-24 15:48:55 -04:00
- `website` : a web URL related in any way to the event author.
2023-09-24 18:48:05 -04:00
- `banner` : an URL to a wide (~1024x768) picture to be optionally displayed in the background of a profile screen.
2024-03-18 03:01:06 -04:00
- `bot` : a boolean to clarify that the content is entirely or partially the result of automation, such as with chatbots or newsfeeds.
2024-11-19 21:20:20 -05:00
- `pronouns` : a string representing the preferred way to refer to this person.
2023-09-24 18:48:05 -04:00
### Deprecated fields
These are fields that should be ignored or removed when found in the wild:
- `displayName` : use `display_name` instead.
- `username` : use `name` instead.
2023-09-24 15:48:55 -04:00
2023-09-28 06:24:36 -04:00
kind 3
======
2024-06-13 08:02:35 -04:00
These are extra fields not specified in NIP-02 that may be present in the stringified JSON of follow events:
2023-09-28 06:24:36 -04:00
### Deprecated fields
2023-09-28 07:07:30 -04:00
- `{<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.
2023-09-28 06:24:36 -04:00
2023-09-24 15:48:55 -04:00
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:
2024-08-15 21:28:53 -04:00
- `r` : a web URL the event is referring to in some way.
- `i` : an external id the event is referring to in some way - see [NIP-73 ](73.md ).
- `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.
2024-08-20 10:42:59 -04:00
- `t` : a hashtag. The value MUST be a lowercase string.