Clock
Make your clock app’s actions available to Apple Intelligence and Siri by adopting schemas for common alarm and timer actions.
Overview
The .clock domain defines app schemas that provide a structured representation for common alarm and timer actions and content. Apply schemas in the .clock domain to make your app’s clock functionality available to Apple Intelligence and Siri. Each schema defines the requirements for intents, parameters, and results so people get a consistent experience across clock apps. For example, a person can set an alarm on different apps that support the createAlarm schema with the same phrases.
The following table maps example phrases that apply to each schema:
Clock intent schemas | Example phrases |
|---|---|
“Set an alarm.” or “Wake me up at 7 AM.” | |
“Change my alarm.” or “Change the 7 AM alarm to 8 AM.” | |
“Snooze.” or “Give me 5 more minutes.” | |
“Dismiss the alarm.” or “Stop the alarm.” | |
“Delete my alarm.” or “Remove the 7 AM alarm.” | |
“Set a timer.” or “Timer for 5 minutes.” | |
“Add 5 minutes to the timer.” or “Change the timer to 10 minutes.” | |
“Pause the timer.” | |
“Resume the timer.” or “Start the timer again.” | |
“Cancel the timer.” or “Stop the timer.” |
For more information about making your app’s actions available to Apple Intelligence and Siri, see Apple Intelligence and Siri AI.
Clock alarm use-case group
A use-case group is a set of related schemas that share a single purpose. The dismissAlarm and updateAlarm schemas form a use-case group for alarms. Xcode reports a build warning if your app supports one schema in the group and not the other.
Topics
Actions
cancelTimercreateAlarmcreateTimerdeleteAlarmdismissAlarmpauseTimerresumeTimersnoozeAlarmupdateAlarmupdateTimerAppSchema.ClockIntent