{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/customer-io/json-schema/customer-io-countdown-timer-content-state-schema.json",
  "title": "Countdown timer",
  "description": "Dynamic fields for the countdown timer template. `notification_type`: `io.customer.livenotifications.countdowntimer`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/customer-io-live-notifications-api-openapi.yml#/components/schemas/CountdownTimerContentState",
  "x-scalar-ignore": true,
  "type": "object",
  "required": [
    "title"
  ],
  "properties": {
    "title": {
      "type": "string",
      "description": "Primary status line."
    },
    "statusMessage": {
      "type": "string",
      "description": "Secondary line under the title."
    },
    "endTime": {
      "type": "integer",
      "description": "Countdown target, in whole seconds since 1970 UTC. A time in the future renders a live countdown; omit it to render no timer. The countdown does not clear itself when it reaches zero — it rests at \\\"0:00\\\" until you send an update with a finished title and no endTime."
    }
  }
}