{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/monit-rs/json-schema/monit-rs-alert-readiness-response-schema.json",
  "title": "AlertReadinessResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/monit-rs-alerts-api-openapi.yml#/components/schemas/AlertReadinessResponse",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "missing_destination",
        "alerts_disabled",
        "untested",
        "ready"
      ],
      "title": "Status"
    },
    "active_channel_count": {
      "type": "integer",
      "title": "Active Channel Count"
    },
    "instant_alerts_enabled": {
      "type": "boolean",
      "title": "Instant Alerts Enabled"
    },
    "recovery_alerts_enabled": {
      "type": "boolean",
      "title": "Recovery Alerts Enabled"
    },
    "last_test_accepted_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Test Accepted At"
    }
  },
  "type": "object",
  "required": [
    "status",
    "active_channel_count",
    "instant_alerts_enabled",
    "recovery_alerts_enabled",
    "last_test_accepted_at"
  ]
}