{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/medianfi-com/json-schema/medianfi-com-update-weekly-email-settings-input-schema.json",
  "title": "UpdateWeeklyEmailSettingsInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/medianfi-com-company-settings-api-openapi.yml#/components/schemas/UpdateWeeklyEmailSettingsInput",
  "type": "object",
  "properties": {
    "enabled": {
      "type": "boolean"
    },
    "cadence": {
      "type": "string",
      "enum": [
        "weekly"
      ]
    },
    "sendDay": {
      "type": "string",
      "enum": [
        "monday",
        "tuesday",
        "wednesday",
        "thursday",
        "friday",
        "saturday",
        "sunday"
      ]
    },
    "sendTime": {
      "type": "string"
    },
    "timezone": {
      "type": "string",
      "maxLength": 100,
      "description": "IANA time zone, e.g. America/New_York. Rejected with 422 when the zone is unknown."
    },
    "businessModel": {
      "type": "string",
      "enum": [
        "software",
        "services",
        "digital"
      ],
      "deprecated": true,
      "description": "Deprecated (#1967): the company's stored business model decides the copy variant; this value is only the fallback when the company model cannot be read or is unset.\n"
    },
    "intro": {
      "type": [
        "string",
        "null"
      ]
    },
    "enabledSections": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "snapshot",
          "pl",
          "changes"
        ]
      }
    }
  }
}