An enum schema for an event status parameter.
To make your app's parameter types available to Apple Intelligence,
conform your ``AppEnum`` to a schema that describes a parameter's possible values to the system.
If your app's functionality aligns with the `calendar` domain
and a parameter type matches the `eventStatus` schema,
you can generate the protocol conformance the schema requires
for your app enum implementation
with the `@AppEnum( .calendar.eventStatus)` Swift macro.
To make your app work with Siri,
see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>.
The following example shows an app enum that conforms to the `eventStatus` schema:
```swift
@AppEnum(schema: .calendar.eventStatus)
enum EventEntityStatus: String {
case confirmed
case tentative
case cancelled
static let caseDisplayRepresentations: [Self: DisplayRepresentation] = [
.confirmed: "Confirmed",
.tentative: "Tentative",
.cancelled: "Cancelled"
]
}
```
The schema supports the following system experiences:
- Siri
- Shortcuts
For more information about the App Intents framework and the experiences it supports,
see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.
get · iOS 27.0+
attendeeType
Swift declaration
var attendeeType: some AppSchemaEnum { get }
An enum schema for an attendee type parameter.
To make your app's parameter types available to Apple Intelligence,
conform your ``AppEnum`` to a schema that describes a parameter's possible values to the system.
If your app's functionality aligns with the `calendar` domain
and a parameter type matches the `attendeeType` schema,
you can generate the protocol conformance the schema requires
for your app enum implementation
with the `@AppEnum( .calendar.attendeeType)` Swift macro.
To make your app work with Siri,
see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>.
The following example shows an app enum that conforms to the `attendeeType` schema:
```swift
@AppEnum(schema: .calendar.attendeeType)
enum AttendeeType: String {
case <#AttendeeType Case#>
static let caseDisplayRepresentations: [Self: DisplayRepresentation] = [
<#DisplayRepresentations#>
]
}
```
The schema supports the following system experiences:
- Siri
- Shortcuts
For more information about the App Intents framework and the experiences it supports,
see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.
get · iOS 27.0+
attendeeStatus
Swift declaration
var attendeeStatus: some AppSchemaEnum { get }
An enum schema for an attendee status parameter.
To make your app's parameter types available to Apple Intelligence,
conform your ``AppEnum`` to a schema that describes a parameter's possible values to the system.
If your app's functionality aligns with the `calendar` domain
and a parameter type matches the `attendeeStatus` schema,
you can generate the protocol conformance the schema requires
for your app enum implementation
with the `@AppEnum( .calendar.attendeeStatus)` Swift macro.
To make your app work with Siri,
see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>.
The following example shows an app enum that conforms to the `attendeeStatus` schema:
```swift
@AppEnum(schema: .calendar.attendeeStatus)
enum ParticipantStatus: String {
case accepted
case declined
case tentative
static let caseDisplayRepresentations: [Self: DisplayRepresentation] = [
.accepted: "Accepted",
.declined: "Declined",
.tentative: "Tentative"
]
}
```
The schema supports the following system experiences:
- Siri
- Shortcuts
For more information about the App Intents framework and the experiences it supports,
see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.
get · iOS 27.0+
eventSpan
Swift declaration
var eventSpan: some AppSchemaEnum { get }
An enum schema for an event span parameter.
To make your app's parameter types available to Apple Intelligence,
conform your ``AppEnum`` to a schema that describes a parameter's possible values to the system.
If your app's functionality aligns with the `calendar` domain
and a parameter type matches the `eventSpan` schema,
you can generate the protocol conformance the schema requires
for your app enum implementation
with the `@AppEnum( .calendar.eventSpan)` Swift macro.
To make your app work with Siri,
see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>.
The following example shows an app enum that conforms to the `eventSpan` schema:
```swift
@AppEnum(schema: .calendar.eventSpan)
enum EventSpan: String {
case this
case future
case all
static let caseDisplayRepresentations: [Self: DisplayRepresentation] = [
.this: "This",
.future: "Future",
.all: "All"
]
}
```
The schema supports the following system experiences:
- Siri
- Shortcuts
For more information about the App Intents framework and the experiences it supports,
see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.