One Logo Pool Ball
AppIntents · IOS API REFERENCE

AppSchema.AudioEntity

protocol · iOS 27.0+ · SDK 27.1

protocol AudioEntity : AppSchema.Kind

Identifies entity schemas in the audio domain.

Members (18)

get · iOS 27.0+

warmupAudioQueueResult

Swift declaration
var warmupAudioQueueResult: some AppSchemaEntity { get }

An entity schema for a warmup audio queue result. 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 `audio` domain and its content matches the `warmupAudioQueueResult` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.warmupAudioQueueResult)` 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 `warmupAudioQueueResult` schema: ```swift @AppEntity(schema: .audio.warmupAudioQueueResult) struct WarmupAudioQueueResult { // MARK: Static static let defaultQuery = WarmupAudioQueueResultQuery() // MARK: Properties let id: <#Identifiable.ID#> var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct WarmupAudioQueueResultQuery: EntityQuery { func entities(for identifiers: [WarmupAudioQueueResult.ID]) async throws -> [WarmupAudioQueueResult] { <#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+

podcastShow

Swift declaration
var podcastShow: some AppSchemaEntity { get }

An entity schema for a podcast show. 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 `audio` domain and its content matches the `podcastShow` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.podcastShow)` 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 `podcastShow` schema: ```swift @AppEntity(schema: .audio.podcastShow) struct PodcastShowEntity { // MARK: Static static let defaultQuery = PodcastShowEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var title: String var showDescription: String? var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct PodcastShowEntityQuery: EntityQuery { func entities(for identifiers: [PodcastShowEntity.ID]) async throws -> [PodcastShowEntity] { <#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+

ambientSound

Swift declaration
var ambientSound: some AppSchemaEntity { get }

An entity schema for an ambient sound. 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 `audio` domain and its content matches the `ambientSound` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.ambientSound)` 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 `ambientSound` schema: ```swift @AppEntity(schema: .audio.ambientSound) struct AmbientSoundEntity { // MARK: Static static let defaultQuery = AmbientSoundEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var title: String var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct AmbientSoundEntityQuery: EntityQuery { func entities(for identifiers: [AmbientSoundEntity.ID]) async throws -> [AmbientSoundEntity] { <#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+

newsProvider

Swift declaration
var newsProvider: some AppSchemaEntity { get }

An entity schema for news provider. 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 `audio` domain and its content matches the `newsProvider` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.newsProvider)` 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 `newsProvider` schema: ```swift @AppEntity(schema: .audio.newsProvider) struct NewsProviderEntity { // MARK: Static static let defaultQuery = NewsProviderEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var title: String var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct NewsProviderEntityQuery: EntityQuery { func entities(for identifiers: [NewsProviderEntity.ID]) async throws -> [NewsProviderEntity] { <#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+

podcastEpisode

Swift declaration
var podcastEpisode: some AppSchemaEntity { get }

An entity schema for a podcast episode. 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 `audio` domain and its content matches the `podcastEpisode` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.podcastEpisode)` 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 `podcastEpisode` schema: ```swift @AppEntity(schema: .audio.podcastEpisode) struct PodcastEpisodeEntity { // MARK: Static static let defaultQuery = PodcastEpisodeEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var title: String var showName: String? var show: <#PodcastShowEntity#>? var releaseDate: Date? var duration: Double? var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct PodcastEpisodeEntityQuery: EntityQuery { func entities(for identifiers: [PodcastEpisodeEntity.ID]) async throws -> [PodcastEpisodeEntity] { <#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+

songCollection

Swift declaration
var songCollection: some AppSchemaEntity { get }

An entity schema for a song collection. 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 `audio` domain and its content matches the `songCollection` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.songCollection)` 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 `songCollection` schema: ```swift @AppEntity(schema: .audio.songCollection) struct SongCollectionEntity { // MARK: Static static let defaultQuery = SongCollectionEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var title: String? var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct SongCollectionEntityQuery: EntityQuery { func entities(for identifiers: [SongCollectionEntity.ID]) async throws -> [SongCollectionEntity] { <#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+

liveRadioStation

Swift declaration
var liveRadioStation: some AppSchemaEntity { get }

An entity schema for a live radio station. 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 `audio` domain and its content matches the `liveRadioStation` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.liveRadioStation)` 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 `liveRadioStation` schema: ```swift @AppEntity(schema: .audio.liveRadioStation) struct LiveRadioStationEntity { // MARK: Static static let defaultQuery = LiveRadioStationEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var title: String var providerName: String? var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct LiveRadioStationEntityQuery: EntityQuery { func entities(for identifiers: [LiveRadioStationEntity.ID]) async throws -> [LiveRadioStationEntity] { <#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+

radioShowEpisode

Swift declaration
var radioShowEpisode: some AppSchemaEntity { get }

An entity schema for a radio show episode. 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 `audio` domain and its content matches the `radioShowEpisode` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.radioShowEpisode)` 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 `radioShowEpisode` schema: ```swift @AppEntity(schema: .audio.radioShowEpisode) struct RadioShowEpisodeEntity { // MARK: Static static let defaultQuery = RadioShowEpisodeEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var title: String var showName: String? var releaseDate: Date? var show: <#RadioShowEntity#>? var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct RadioShowEpisodeEntityQuery: EntityQuery { func entities(for identifiers: [RadioShowEpisodeEntity.ID]) async throws -> [RadioShowEpisodeEntity] { <#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+

podcastCollection

Swift declaration
var podcastCollection: some AppSchemaEntity { get }

An entity schema for a podcast collection. 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 `audio` domain and its content matches the `podcastCollection` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.podcastCollection)` 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 `podcastCollection` schema: ```swift @AppEntity(schema: .audio.podcastCollection) struct PodcastCollectionEntity { // MARK: Static static let defaultQuery = PodcastCollectionEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var title: String var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct PodcastCollectionEntityQuery: EntityQuery { func entities(for identifiers: [PodcastCollectionEntity.ID]) async throws -> [PodcastCollectionEntity] { <#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+

algorithmicRadioStation

Swift declaration
var algorithmicRadioStation: some AppSchemaEntity { get }

An entity schema for an algorithmic radio station. 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 `audio` domain and its content matches the `algorithmicRadioStation` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.algorithmicRadioStation)` 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 `algorithmicRadioStation` schema: ```swift @AppEntity(schema: .audio.algorithmicRadioStation) struct AlgorithmicRadioStationEntity { // MARK: Static static let defaultQuery = AlgorithmicRadioStationEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var title: String var curatedForMe: Bool? var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct AlgorithmicRadioStationEntityQuery: EntityQuery { func entities(for identifiers: [AlgorithmicRadioStationEntity.ID]) async throws -> [AlgorithmicRadioStationEntity] { <#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+

classicalMusicRecording

Swift declaration
var classicalMusicRecording: some AppSchemaEntity { get }

An entity schema for a classical music recording. 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 `audio` domain and its content matches the `classicalMusicRecording` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.classicalMusicRecording)` 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 `classicalMusicRecording` schema: ```swift @AppEntity(schema: .audio.classicalMusicRecording) struct ClassicalMusicRecordingEntity { // MARK: Static static let defaultQuery = ClassicalMusicRecordingEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var title: String var artistName: String var composerName: String? var artists: [<#ArtistEntity#>] var composers: [<#ArtistEntity#>] var internationalStandardRecordingCode: String? var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct ClassicalMusicRecordingEntityQuery: EntityQuery { func entities(for identifiers: [ClassicalMusicRecordingEntity.ID]) async throws -> [ClassicalMusicRecordingEntity] { <#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+

song

Swift declaration
var song: some AppSchemaEntity { get }

An entity schema for a song. 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 `audio` domain and its content matches the `song` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.song)` 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 `song` schema: ```swift @AppEntity(schema: .audio.song) struct SongEntity { // MARK: Static static let defaultQuery = SongEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var title: String var artistName: String var composerName: String? var albumTitle: String? var artists: [<#ArtistEntity#>] var album: <#AlbumEntity#>? var composers: [<#ArtistEntity#>] var internationalStandardRecordingCode: String? var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct SongEntityQuery: EntityQuery { func entities(for identifiers: [SongEntity.ID]) async throws -> [SongEntity] { <#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+

album

Swift declaration
var album: some AppSchemaEntity { get }

An entity schema for an album. 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 `audio` domain and its content matches the `album` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.album)` 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 `album` schema: ```swift @AppEntity(schema: .audio.album) struct AlbumEntity { // MARK: Static static let defaultQuery = AlbumEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var title: String var artistName: String var artists: [<#ArtistEntity#>] var universalProductCode: String? var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct AlbumEntityQuery: EntityQuery { func entities(for identifiers: [AlbumEntity.ID]) async throws -> [AlbumEntity] { <#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+

artist

Swift declaration
var artist: some AppSchemaEntity { get }

An entity schema for an artist. 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 `audio` domain and its content matches the `artist` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.artist)` 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 `artist` schema: ```swift @AppEntity(schema: .audio.artist) struct ArtistEntity { // MARK: Static static let defaultQuery = ArtistEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var name: String var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct ArtistEntityQuery: EntityQuery { func entities(for identifiers: [ArtistEntity.ID]) async throws -> [ArtistEntity] { <#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+

playlist

Swift declaration
var playlist: some AppSchemaEntity { get }

An entity schema for a playlist. 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 `audio` domain and its content matches the `playlist` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.playlist)` 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 `playlist` schema: ```swift @AppEntity(schema: .audio.playlist) struct PlaylistEntity { // MARK: Static static let defaultQuery = PlaylistEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var title: String var owner: <#Owner#>? var createdByMe: Bool? var curatedForMe: Bool? var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct PlaylistEntityQuery: EntityQuery { func entities(for identifiers: [PlaylistEntity.ID]) async throws -> [PlaylistEntity] { <#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+

audiobook

Swift declaration
var audiobook: some AppSchemaEntity { get }

An entity schema for an audiobook. 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 `audio` domain and its content matches the `audiobook` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.audiobook)` 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 `audiobook` schema: ```swift @AppEntity(schema: .audio.audiobook) struct MediaBookEntity { // MARK: Static static let defaultQuery = MediaBookEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var title: String? var author: String? var genre: String? var narrator: String? var publisher: String? var seriesTitle: String? var releaseDate: Date? var purchaseDate: Date? var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct MediaBookEntityQuery: EntityQuery { func entities(for identifiers: [MediaBookEntity.ID]) async throws -> [MediaBookEntity] { <#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+

newsBrief

Swift declaration
var newsBrief: some AppSchemaEntity { get }

An entity schema for news brief. 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 `audio` domain and its content matches the `newsBrief` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.newsBrief)` 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 `newsBrief` schema: ```swift @AppEntity(schema: .audio.newsBrief) struct NewsBriefEntity { // MARK: Static static let defaultQuery = NewsBriefEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var title: String var providerName: String? var date: Date? var provider: <#NewsProviderEntity#>? var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct NewsBriefEntityQuery: EntityQuery { func entities(for identifiers: [NewsBriefEntity.ID]) async throws -> [NewsBriefEntity] { <#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+

radioShow

Swift declaration
var radioShow: some AppSchemaEntity { get }

An entity schema for a radio show. 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 `audio` domain and its content matches the `radioShow` schema, you can generate the properties and protocol conformance the schema requires for your app entity implementation with the `@AppEntity( .audio.radioShow)` 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 `radioShow` schema: ```swift @AppEntity(schema: .audio.radioShow) struct RadioShowEntity { // MARK: Static static let defaultQuery = RadioShowEntityQuery() // MARK: Properties let id: <#Identifiable.ID#> var title: String var displayRepresentation: DisplayRepresentation { <#DisplayRepresentation#> } // MARK: Query struct RadioShowEntityQuery: EntityQuery { func entities(for identifiers: [RadioShowEntity.ID]) async throws -> [RadioShowEntity] { <#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>.

Skipped declarations

No declarations were skipped in this snapshot.

All AppIntents types →