diff options
| author | Terry Yiu <963907+tyiu@users.noreply.github.com> | 2024-08-07 23:44:28 -0400 |
|---|---|---|
| committer | Terry Yiu <963907+tyiu@users.noreply.github.com> | 2024-08-07 23:44:28 -0400 |
| commit | 8d451b3dc3ac5c0ccd7d6bdab4a7a5b7a420900d (patch) | |
| tree | 2164a1142cdd30cacb8b9b9b6937306d8f4e7136 | |
| parent | dea4bebf4b1bf36feeb8a066bccf62b9b1aeb5c5 (diff) | |
| parent | 6de688f4594aa2c22b348669bdca6a503a6bf568 (diff) | |
Merge remote-tracking branch 'upstream/master' into nip52-rsvp-e-and-p-tags
| -rw-r--r-- | 52.md | 9 |
1 files changed, 9 insertions, 0 deletions
| @@ -90,9 +90,12 @@ The list of tags are as follows: | |||
| 90 | * `end` (optional) exclusive end Unix timestamp in seconds. If omitted, the calendar event ends instantaneously. | 90 | * `end` (optional) exclusive end Unix timestamp in seconds. If omitted, the calendar event ends instantaneously. |
| 91 | * `start_tzid` (optional) time zone of the start timestamp, as defined by the IANA Time Zone Database. e.g., `America/Costa_Rica` | 91 | * `start_tzid` (optional) time zone of the start timestamp, as defined by the IANA Time Zone Database. e.g., `America/Costa_Rica` |
| 92 | * `end_tzid` (optional) time zone of the end timestamp, as defined by the IANA Time Zone Database. e.g., `America/Costa_Rica`. If omitted and `start_tzid` is provided, the time zone of the end timestamp is the same as the start timestamp. | 92 | * `end_tzid` (optional) time zone of the end timestamp, as defined by the IANA Time Zone Database. e.g., `America/Costa_Rica`. If omitted and `start_tzid` is provided, the time zone of the end timestamp is the same as the start timestamp. |
| 93 | * `summary` (optional) brief description of the calendar event | ||
| 94 | * `image` (optional) url of an image to use for the event | ||
| 93 | * `location` (optional, repeated) location of the calendar event. e.g. address, GPS coordinates, meeting room name, link to video call | 95 | * `location` (optional, repeated) location of the calendar event. e.g. address, GPS coordinates, meeting room name, link to video call |
| 94 | * `g` (optional) [geohash](https://en.wikipedia.org/wiki/Geohash) to associate calendar event with a searchable physical location | 96 | * `g` (optional) [geohash](https://en.wikipedia.org/wiki/Geohash) to associate calendar event with a searchable physical location |
| 95 | * `p` (optional, repeated) 32-bytes hex pubkey of a participant, optional recommended relay URL, and participant's role in the meeting | 97 | * `p` (optional, repeated) 32-bytes hex pubkey of a participant, optional recommended relay URL, and participant's role in the meeting |
| 98 | * `l` (optional, repeated) label to categorize calendar event. e.g. `audiospace` to denote a scheduled event from a live audio space implementation such as cornychat.com | ||
| 96 | * `t` (optional, repeated) hashtag to categorize calendar event | 99 | * `t` (optional, repeated) hashtag to categorize calendar event |
| 97 | * `r` (optional, repeated) references / links to web pages, documents, video calls, recorded videos, etc. | 100 | * `r` (optional, repeated) references / links to web pages, documents, video calls, recorded videos, etc. |
| 98 | 101 | ||
| @@ -110,6 +113,8 @@ The following tags are deprecated: | |||
| 110 | ["d", "<UUID>"], | 113 | ["d", "<UUID>"], |
| 111 | 114 | ||
| 112 | ["title", "<title of calendar event>"], | 115 | ["title", "<title of calendar event>"], |
| 116 | ["summary", "<brief description of the calendar event>"], | ||
| 117 | ["image", "<string with image URI>"], | ||
| 113 | 118 | ||
| 114 | // Timestamps | 119 | // Timestamps |
| 115 | ["start", "<Unix timestamp in seconds>"], | 120 | ["start", "<Unix timestamp in seconds>"], |
| @@ -126,6 +131,10 @@ The following tags are deprecated: | |||
| 126 | ["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "<role>"], | 131 | ["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "<role>"], |
| 127 | ["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "<role>"], | 132 | ["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>", "<role>"], |
| 128 | 133 | ||
| 134 | // Labels (example using com.cornychat namespace denoting the event as an audiospace) | ||
| 135 | ["L", "com.cornychat"], | ||
| 136 | ["l", "audiospace", "com.cornychat"], | ||
| 137 | |||
| 129 | // Hashtags | 138 | // Hashtags |
| 130 | ["t", "<tag>"], | 139 | ["t", "<tag>"], |
| 131 | ["t", "<tag>"], | 140 | ["t", "<tag>"], |