# Countdown clock

External component: event countdown timer with optional heading, copy, and post-event fallback message/link.

## Fields & Schema

| Field | Type | Required | Notes |
|-------|------|----------|-------|
| `externalComponentType` | Symbol | Yes | Must be `"Countdown clock"` |
| `data.targetDate` | string (ISO date in Object) | Yes | Countdown target; component renders nothing without it |
| `data.postEventMessage` | string | No | Message after countdown ends (defaults to ISPOR copy) |
| `data.postEventUrl` | string | No | Link URL after event starts |
| `data.postEventLinkText` | string | No | Link label after event starts |
| `heading` | Symbol | No | Section heading (responsive h2) |
| `postHeading` | Symbol | No | Subheading below title |
| `body` / `copy` / `additionalCopy` | RichText | No | Left-column copy; first non-empty field wins |
| `html` | Text | No | HTML fallback if no rich text copy |
| `cmsLabel` | Symbol | No | Internal label |

## Usage

```bash
cms-edit add "Countdown clock" --content-type externalComponent --target content
cms-edit set @ref data --json '{"targetDate":"2026-09-15T13:00:00.000Z","postEventMessage":"Event is live!","postEventUrl":"https://example.com/event","postEventLinkText":"Event page"}'
cms-edit set @ref heading "See you at ISPOR"
cms-edit save
```

Layout: two-column on laptop — copy left, countdown right. Requires valid `targetDate` in `data`.