Skip to content

CountdownData

VersionStatus
v92Full
v90-
v86-

CountdownData.xml defines countdown timers: template entries with a total duration and a sequence of countdown steps, each specifying display text, visual style, and sound effects.


Entity: countdownData Operations: create, update, delete, upsert, updateWhere File organization: SingleFile — CountdownData.xml


spec:
version: "1.0"
schema: v92
countdownData:
create:
- countdownTemplateId: 1001
totalSecond: 30
countdowns:
- second: 10
string: "10 seconds remaining"
style: "warning"
effectSoundId: 5001
- second: 5
string: "5 seconds remaining"
style: "critical"
effectSoundId: 5002
spec:
version: "1.0"
schema: v92
countdownData:
update:
- countdownTemplateId: 1001
changes:
totalSecond: 60
countdowns:
- second: 10
string: "Hurry up!"
style: "critical"
effectSoundId: 5003
spec:
version: "1.0"
schema: v92
countdownData:
delete:
- 1001
spec:
version: "1.0"
schema: v92
countdownData:
upsert:
- countdownTemplateId: 1001
totalSecond: 30
countdowns:
- second: 10
string: "10 seconds remaining"
style: "warning"
effectSoundId: 5001

Batch-update countdown templates matching filter criteria. See Filters for syntax details.

spec:
version: "1.0"
schema: v92
countdownData:
updateWhere:
- filter:
totalSecond: 30
changes:
totalSecond: 45

AttributeTypeSinceRequiredDescription
countdownTemplateIdintv92YesCountdown template identifier (entity key)
totalSecondintv92NoTotal duration of the countdown in seconds
countdownslist[Countdown]v92NoCountdown step entries. See Countdown.

Defines a single step within a countdown timer sequence.

AttributeTypeSinceRequiredDescription
secondintv92YesSecond at which this countdown step triggers
stringstringv92YesDisplay text for this countdown step
stylestringv92NoVisual style for the countdown display
effectSoundIdintv92NoSound effect ID to play at this step

CountdownData.xml
└── CountdownData
└── CountdownTemplate (0..∞)
@id (required)
@totalSecond (required)
└── Countdown (0..∞)
@second (required)
@string (required)
@style (optional)
@effectSoundId (optional)

  • No config operation. Unlike some other SingleFile schemas (e.g., DailyQuest), CountdownData has no config operation. All modifications target individual CountdownTemplate entries.
  • Step ordering. Countdown steps are defined by their second value. Ensure steps don’t overlap or duplicate the same second within a template.
  • updateWhere scope. The updateWhere operation applies to all matching CountdownTemplate entries in CountdownData.xml. Use filters carefully to avoid unintended bulk changes.