Schemas / I/O

rig.calendar.attendee

v0.31.0 · draft 4 fields 2 required

Fields

FieldTypeMeaning
event entity required The rig.calendar.event
person entity required The invitee
role enumchair · required · optional · inform optional Optional. chair / required / optional / inform; absent = required
status enumneeds-action · accepted · declined · tentative optional Optional. needs-action / accepted / declined / tentative; absent = needs-action

A person invited to an event. Format when present.

Field meanings follow RFC 5545 ATTENDEE / ROLE / PARTSTAT - as fields, not a mailto: line.

event and person are required. Name the person on that entity. A second guest is another entity.

Do not put an email on this schema - compose rig.person.contact on the person. Organizer stays on the event.

JSON Schema

Resolves at https://rig.works/schemas/rig.calendar.attendee.schema.jsonraw file.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.calendar.attendee.schema.json",
  "title": "rig.calendar.attendee",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "event": {
      "$ref": "./_defs.schema.json#/$defs/entity"
    },
    "person": {
      "$ref": "./_defs.schema.json#/$defs/entity"
    },
    "role": {
      "type": "string",
      "enum": [
        "chair",
        "required",
        "optional",
        "inform"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "needs-action",
        "accepted",
        "declined",
        "tentative"
      ]
    }
  },
  "required": [
    "event",
    "person"
  ]
}

Seen in

calendar-event.json