{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/actionbox-cloud/json-schema/actionbox-cloud-notification-preference-update-schema.json",
  "title": "NotificationPreferenceUpdate",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/actionbox-cloud-openapi.json#/components/schemas/NotificationPreferenceUpdate",
  "properties": {
    "push_enabled": {
      "type": "boolean",
      "title": "Push Enabled"
    },
    "new_action_enabled": {
      "type": "boolean",
      "title": "New Action Enabled",
      "default": true
    },
    "assignment_enabled": {
      "type": "boolean",
      "title": "Assignment Enabled"
    },
    "reminder_enabled": {
      "type": "boolean",
      "title": "Reminder Enabled"
    },
    "escalation_enabled": {
      "type": "boolean",
      "title": "Escalation Enabled"
    },
    "priorities": {
      "items": {
        "type": "string",
        "enum": [
          "low",
          "normal",
          "high",
          "urgent"
        ]
      },
      "type": "array",
      "maxItems": 4,
      "minItems": 0,
      "title": "Priorities"
    },
    "quiet_hours_enabled": {
      "type": "boolean",
      "title": "Quiet Hours Enabled"
    },
    "quiet_start_minute": {
      "type": "integer",
      "exclusiveMaximum": 1440.0,
      "minimum": 0.0,
      "title": "Quiet Start Minute"
    },
    "quiet_end_minute": {
      "type": "integer",
      "exclusiveMaximum": 1440.0,
      "minimum": 0.0,
      "title": "Quiet End Minute"
    },
    "timezone": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1,
      "title": "Timezone"
    },
    "notification_preview": {
      "type": "string",
      "enum": [
        "hidden",
        "title",
        "full"
      ],
      "title": "Notification Preview",
      "default": "hidden"
    }
  },
  "type": "object",
  "required": [
    "push_enabled",
    "assignment_enabled",
    "reminder_enabled",
    "escalation_enabled",
    "priorities",
    "quiet_hours_enabled",
    "quiet_start_minute",
    "quiet_end_minute",
    "timezone"
  ]
}