diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2024-01-10 10:43:30 -0300 |
|---|---|---|
| committer | fiatjaf_ <fiatjaf@gmail.com> | 2024-01-10 21:22:01 -0300 |
| commit | 8331354947f2d577e13eb5da4a56133071cb1019 (patch) | |
| tree | 819b313419d72a87728d8c38933ea9977f63f535 /52.md | |
| parent | 884ea3d8b87fc9c1e0059045aa69f35648dd3593 (diff) | |
remove NIP-52 label cruft.
Diffstat (limited to '52.md')
| -rw-r--r-- | 52.md | 12 |
1 files changed, 4 insertions, 8 deletions
| @@ -187,10 +187,8 @@ The `.content` of these events is optional and should be a free-form note that a | |||
| 187 | The list of tags are as follows: | 187 | The list of tags are as follows: |
| 188 | * `a` (required) reference tag to kind `31922` or `31923` calendar event being responded to. | 188 | * `a` (required) reference tag to kind `31922` or `31923` calendar event being responded to. |
| 189 | * `d` (required) universally unique identifier. Generated by the client creating the calendar event RSVP. | 189 | * `d` (required) universally unique identifier. Generated by the client creating the calendar event RSVP. |
| 190 | * `L` (required) label namespace of `status` per [NIP-32](32.md) | 190 | * `status` (required) `accepted`, `declined`, or `tentative`. Determines attendance status to the referenced calendar event. |
| 191 | * `l` (required) label of `accepted`, `declined`, or `tentative` under the label namespace of `status` per [NIP-32](32.md). Determines attendance status to the referenced calendar event. | 191 | * `fb` (optional) `free` or `busy`. Determines if the user would be free or busy for the duration of the calendar event. This tag must be omitted or ignored if the `status` label is set to `declined`. |
| 192 | * `L` (optional) label namespace of `freebusy` per [NIP-32](32.md). Exists if and only if corresponding `l` tag under the same label namespace exists. | ||
| 193 | * `l` (optional) label of `free` or `busy` under the label namespace of `freebusy` per [NIP-32](32.md). Determines if the user would be free or busy for the duration of the calendar event. This tag must be omitted or ignored if the `status` label is set to `declined`. Exists if and only if corresponding `l` tag under the same label namespace exists. | ||
| 194 | 192 | ||
| 195 | ```json | 193 | ```json |
| 196 | { | 194 | { |
| @@ -202,10 +200,8 @@ The list of tags are as follows: | |||
| 202 | "tags": [ | 200 | "tags": [ |
| 203 | ["a", "<31922 or 31923>:<calendar event author pubkey>:<d-identifier of calendar event>", "<optional relay url>"], | 201 | ["a", "<31922 or 31923>:<calendar event author pubkey>:<d-identifier of calendar event>", "<optional relay url>"], |
| 204 | ["d", "<UUID>"], | 202 | ["d", "<UUID>"], |
| 205 | ["L", "status"], | 203 | ["status", "<accepted/declined/tentative>"], |
| 206 | ["l", "<accepted/declined/tentative>", "status"], | 204 | ["fb", "<free/busy>"], |
| 207 | ["L", "freebusy"], | ||
| 208 | ["l", "<free/busy>", "freebusy"] | ||
| 209 | ] | 205 | ] |
| 210 | } | 206 | } |
| 211 | ``` | 207 | ``` |