Identifies entity schemas in the reminders domain.
Members (5)
get · iOS 27.0+
locationTrigger
Swift declaration
var locationTrigger: some AppSchemaEntity { get }
An entity schema for a location trigger.
To make your app's content available to Apple Intelligence,
conform your ``AppEntity`` to a schema that describes your content to the system.
If your app's functionality aligns with the `reminders` domain
and its content matches the `locationTrigger` schema,
you can generate the properties and protocol conformance the schema requires
for your app entity implementation
with the `@AppEntity( .reminders.locationTrigger)` 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 entity that conforms to the `locationTrigger` schema:
```swift
@AppEntity(schema: .reminders.locationTrigger)
struct LocationTriggerEntity {
// MARK: Static
static let defaultQuery = LocationTriggerEntityQuery()
// MARK: Properties
let id: <#Identifiable.ID#>
var place: GeoToolbox.PlaceDescriptor
var event: <#LocationTriggerEvent#>
var displayRepresentation: DisplayRepresentation {
<#DisplayRepresentation#>
}
// MARK: Query
struct LocationTriggerEntityQuery: EntityQuery {
func entities(for identifiers: [LocationTriggerEntity.ID]) async throws -> [LocationTriggerEntity] {
<#code#>
}
}
}
```
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+
list
Swift declaration
var list: some AppSchemaEntity { get }
An entity schema for a list.
To make your app's content available to Apple Intelligence,
conform your ``AppEntity`` to a schema that describes your content to the system.
If your app's functionality aligns with the `reminders` domain
and its content matches the `list` schema,
you can generate the properties and protocol conformance the schema requires
for your app entity implementation
with the `@AppEntity( .reminders.list)` 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 entity that conforms to the `list` schema:
```swift
@AppEntity(schema: .reminders.list)
struct ListEntity {
// MARK: Static
static let defaultQuery = ListEntityQuery()
// MARK: Properties
let id: <#Identifiable.ID#>
var name: String
var type: <#ListType#>
var displayRepresentation: DisplayRepresentation {
<#DisplayRepresentation#>
}
// MARK: Query
struct ListEntityQuery: EntityQuery {
func entities(for identifiers: [ListEntity.ID]) async throws -> [ListEntity] {
<#code#>
}
}
}
```
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+
group
Swift declaration
var group: some AppSchemaEntity { get }
An entity schema for a group.
To make your app's content available to Apple Intelligence,
conform your ``AppEntity`` to a schema that describes your content to the system.
If your app's functionality aligns with the `reminders` domain
and its content matches the `group` schema,
you can generate the properties and protocol conformance the schema requires
for your app entity implementation
with the `@AppEntity( .reminders.group)` 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 entity that conforms to the `group` schema:
```swift
@AppEntity(schema: .reminders.group)
struct GroupEntity {
// MARK: Static
static let defaultQuery = GroupEntityQuery()
// MARK: Properties
let id: <#Identifiable.ID#>
var name: String
var lists: [<#ListEntity#>]
var displayRepresentation: DisplayRepresentation {
<#DisplayRepresentation#>
}
// MARK: Query
struct GroupEntityQuery: EntityQuery {
func entities(for identifiers: [GroupEntity.ID]) async throws -> [GroupEntity] {
<#code#>
}
}
}
```
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+
section
Swift declaration
var section: some AppSchemaEntity { get }
An entity schema for a section.
To make your app's content available to Apple Intelligence,
conform your ``AppEntity`` to a schema that describes your content to the system.
If your app's functionality aligns with the `reminders` domain
and its content matches the `section` schema,
you can generate the properties and protocol conformance the schema requires
for your app entity implementation
with the `@AppEntity( .reminders.section)` 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 entity that conforms to the `section` schema:
```swift
@AppEntity(schema: .reminders.section)
struct SectionEntity {
// MARK: Static
static let defaultQuery = SectionEntityQuery()
// MARK: Properties
let id: <#Identifiable.ID#>
var name: String
var list: <#ListEntity#>
var displayRepresentation: DisplayRepresentation {
<#DisplayRepresentation#>
}
// MARK: Query
struct SectionEntityQuery: EntityQuery {
func entities(for identifiers: [SectionEntity.ID]) async throws -> [SectionEntity] {
<#code#>
}
}
}
```
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+
reminder
Swift declaration
var reminder: some AppSchemaEntity { get }
An entity schema for a reminder.
To make your app's content available to Apple Intelligence,
conform your ``AppEntity`` to a schema that describes your content to the system.
If your app's functionality aligns with the `reminders` domain
and its content matches the `reminder` schema,
you can generate the properties and protocol conformance the schema requires
for your app entity implementation
with the `@AppEntity( .reminders.reminder)` 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 entity that conforms to the `reminder` schema:
```swift
@AppEntity(schema: .reminders.reminder)
struct ReminderEntity {
// MARK: Static
static let defaultQuery = ReminderEntityQuery()
// MARK: Properties
let id: <#Identifiable.ID#>
var title: String
var note: AttributedString?
var tags: Set<String>
var urls: [URL]
var dueDate: DateComponents?
var recurrence: Calendar.RecurrenceRule?
var isCompleted: Bool
var isFlagged: Bool?
var creationDate: Date?
var completionDate: Date?
var list: <#ListEntity#>
var locationTrigger: <#LocationTriggerEntity#>?
var displayRepresentation: DisplayRepresentation {
<#DisplayRepresentation#>
}
// MARK: Query
struct ReminderEntityQuery: EntityQuery {
func entities(for identifiers: [ReminderEntity.ID]) async throws -> [ReminderEntity] {
<#code#>
}
}
}
```
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>.