{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/medianfi-com/json-schema/medianfi-com-update-comms-settings-input-schema.json",
  "title": "UpdateCommsSettingsInput",
  "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/UpdateCommsSettingsInput",
  "type": "object",
  "properties": {
    "preferredChannel": {
      "type": "string",
      "enum": [
        "email",
        "iMessage",
        "sms",
        "whatsapp",
        "slack",
        "phone_call"
      ]
    },
    "frequency": {
      "type": "string",
      "enum": [
        "realtime",
        "daily",
        "weekly",
        "biweekly",
        "monthly"
      ],
      "readOnly": true,
      "description": "Accepted for backwards compatibility but IGNORED. Delivery cadence is derived from preferredChannel: Slack means realtime thread mirroring, every other channel means the daily digest. The digest only ever selected frequency = 'daily', so letting clients set this silently muted any company holding another value."
    }
  }
}