Raw schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Event name."
},
"calendar_id": {
"type": "string",
"minLength": 1,
"description": "Calendar id (see elvanto_list_calendars)."
},
"start": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
"description": "Start, yyyy-mm-dd hh:mm:ss (24h, GMT)."
},
"end": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
"description": "End, yyyy-mm-dd hh:mm:ss (24h, GMT)."
},
"organizer": {
"type": "string",
"minLength": 1,
"description": "Person id of the organizer."
},
"status": {
"description": "Visibility. Default public.",
"type": "string",
"enum": [
"public",
"private",
"draft"
]
},
"all_day": {
"description": "All-day event? Default no.",
"type": "string",
"enum": [
"yes",
"no"
]
},
"where": {
"description": "Where the event is held.",
"type": "string"
},
"description": {
"description": "Description (basic HTML allowed).",
"type": "string"
},
"color": {
"description": "Hex color, e.g. #FF0000.",
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"register_url": {
"description": "Registration website URL.",
"type": "string",
"format": "uri"
},
"who_can_attend": {
"description": "\"all\" to let anyone attend; omit for invite-only.",
"type": "string"
},
"show_guest_list": {
"description": "Show the guest list on the event page? Default no.",
"type": "string",
"enum": [
"yes",
"no"
]
},
"repeat": {
"description": "Make it a repeating event.",
"type": "string",
"enum": [
"daily",
"weekdays",
"mon_wed_fri",
"tue_thu",
"weekly",
"fortnightly",
"monthly",
"yearly"
]
},
"repeat_frequency": {
"description": "How often to repeat. Required for daily, monthly, yearly.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"repeat_on": {
"description": "Weekly/fortnightly: monday..sunday. Monthly: weekday or monthday.",
"type": "string"
},
"repeat_occurrences": {
"description": "Number of repeats.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"repeat_end_date": {
"description": "Stop repeating at, yyyy-mm-dd hh:mm:ss (GMT).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"
},
"locations": {
"description": "Location(s) to add to the event.",
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
]
}
},
"required": [
"name",
"calendar_id",
"start",
"end",
"organizer"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}