{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/discovergy/json-schema/discovergy-calendar-interval-schema.json",
  "title": "CalendarInterval",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/discovergy-openapi.json#/components/schemas/CalendarInterval",
  "type": "object",
  "properties": {
    "begin": {
      "type": "string",
      "description": "ISO 8061 timestamp in the following format<ul>\n<li>hh:mm:ss if the calendar is a weekly calendar</li>\n<li>yyyy-mm-ddThh:mm:ss if the calendar is an exact calendar</li>\n</ul>"
    },
    "end": {
      "type": "string",
      "description": "ISO 8061 timestamp in the following format<ul>\n<li>hh:mm:ss if the calendar is a weekly calendar</li>\n<li>yyyy-mm-ddThh:mm:ss if the calendar is an exact calendar</li>\n</ul>"
    },
    "dayOfWeek": {
      "type": "string",
      "description": "Required only if calendar is weekly calendar. Lowercase english name of the weekday, e.g. <pre>monday</pre>, <pre>friday</pre>"
    }
  }
}