{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ReportSchedule",
  "type": "object",
  "description": "Schedule configuration for automated report generation and delivery.",
  "properties": {
    "active": {
      "type": "boolean",
      "description": "Whether the schedule is active."
    },
    "repeats": {
      "type": "string",
      "description": "The interval at which the report is run. Acceptable values are DAILY, WEEKLY, MONTHLY, or QUARTERLY."
    },
    "every": {
      "type": "integer",
      "description": "Defines every how many days, weeks, or months the report should be run."
    },
    "startDate": {
      "type": "string",
      "description": "Start date of the scheduled reports."
    },
    "expirationDate": {
      "type": "string",
      "description": "The expiration date when the scheduled report stops running."
    },
    "runsOnDayOfMonth": {
      "type": "string",
      "description": "Enum to define for MONTHLY and QUARTERLY schedules whether reports should be repeated on the same day of the month or the same day of the week."
    },
    "timezone": {
      "type": "string",
      "description": "The timezone for the report schedule."
    }
  }
}