diff options
| -rw-r--r-- | 52.md | 10 |
1 files changed, 3 insertions, 7 deletions
| @@ -187,11 +187,7 @@ This NIP is intentionally not defining who is authorized to attend a calendar ev | |||
| 187 | 187 | ||
| 188 | This NIP is also intentionally not defining what happens if a calendar event changes after an RSVP is submitted. | 188 | This NIP is also intentionally not defining what happens if a calendar event changes after an RSVP is submitted. |
| 189 | 189 | ||
| 190 | The RSVP MUST have at least one of an `a` tag of the event coordinates to the calendar event, or `e` tag of the id of the specific calendar event revision. | 190 | The RSVP MUST have an `a` tag of the event coordinates to the calendar event, and optionally an `e` tag of the id of the specific calendar event revision. If an `e` tag is present, clients SHOULD interpret it as an indication that the RSVP is a response to that revision of the calendar event, and MAY interpret it to not necessarily apply to other revisions of the calendar event. |
| 191 | |||
| 192 | If an `e` tag is present, clients SHOULD interpret it as an indication that the RSVP is a response to that revision of the calendar event. | ||
| 193 | |||
| 194 | If an `a` tag is present, clients SHOULD interpret it as an indication that the RSVP may hold true for all revisions of the calendar event. | ||
| 195 | 191 | ||
| 196 | The RSVP MAY tag the author of the calendar event it is in response to using a `p` tag so that clients can easily query all RSVPs that pertain to the author. | 192 | The RSVP MAY tag the author of the calendar event it is in response to using a `p` tag so that clients can easily query all RSVPs that pertain to the author. |
| 197 | 193 | ||
| @@ -202,8 +198,8 @@ The format uses a parameterized replaceable event kind `31925`. | |||
| 202 | The `.content` of these events is optional and should be a free-form note that adds more context to this calendar event response. | 198 | The `.content` of these events is optional and should be a free-form note that adds more context to this calendar event response. |
| 203 | 199 | ||
| 204 | The list of tags are as follows: | 200 | The list of tags are as follows: |
| 205 | * `e` (optional) event id of a kind `31922` or `31923` calendar event being responded to. This tag is required if `a` is omitted. | 201 | * `a` (required) coordinates to a kind `31922` or `31923` calendar event being responded to. |
| 206 | * `a` (optional) coordinates to a kind `31922` or `31923` calendar event being responded to. This tag is required if `e` is omitted. | 202 | * `e` (optional) event id of a kind `31922` or `31923` calendar event being responded to. |
| 207 | * `d` (required) universally unique identifier. Generated by the client creating the calendar event RSVP. | 203 | * `d` (required) universally unique identifier. Generated by the client creating the calendar event RSVP. |
| 208 | * `status` (required) `accepted`, `declined`, or `tentative`. Determines attendance status to the referenced calendar event. | 204 | * `status` (required) `accepted`, `declined`, or `tentative`. Determines attendance status to the referenced calendar event. |
| 209 | * `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`. | 205 | * `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`. |