diff options
| author | Vic <88121568+vicariousdrama@users.noreply.github.com> | 2024-08-07 08:45:21 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-07 17:45:21 +0900 |
| commit | 6de688f4594aa2c22b348669bdca6a503a6bf568 (patch) | |
| tree | afbb201c45399728b3c040726d20948d29e3bf57 /52.md | |
| parent | 738c4809a146187b9a2f494f180ce6d770307830 (diff) | |
Add used fields to Calendar Time Event in NIP-52 (#1137)
* Add used fields to Calendar Time Event in NIP-52
Cornychat.com relies on a `t` tag of `audiospace` for filtering. Flockstr.com relies on optional and previously undocumented `audio` and `image` tags for rendering.
* Update 52.md
* Change tag for `about` to `summary`
Diffstat (limited to '52.md')
| -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>"], |