{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anomalyarmor-ai/json-schema/anomalyarmor-ai-app-domains-feature-data-quality-freshness-models-freshness-models-update-schedule-request-schema.json",
  "title": "UpdateScheduleRequest",
  "description": "Request to update freshness monitoring schedule.\n\nNote: Validation is handled by FreshnessValidationService",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anomalyarmor-ai-freshness-api-openapi.yml#/components/schemas/app__domains__feature__data_quality__freshness__models__freshness_models__UpdateScheduleRequest",
  "properties": {
    "check_interval": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Check Interval",
      "description": "Check interval (5m, 1h, 1d)"
    },
    "freshness_column": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Freshness Column",
      "description": "Column to track freshness"
    },
    "is_active": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Is Active",
      "description": "Enable/disable monitoring"
    },
    "monitoring_mode": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Monitoring Mode",
      "description": "Monitoring mode: 'auto_learn' or 'explicit'"
    },
    "expected_interval_hours": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expected Interval Hours",
      "description": "Expected update interval in hours (for explicit mode)"
    },
    "expected_update_time": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expected Update Time",
      "description": "Expected update time pattern (e.g., '05:00' for daily at 5am, ':05' for hourly at 5 past)"
    }
  },
  "type": "object"
}