---
title: audiobook
framework: appintents
role: symbol
role_heading: Instance Property
path: appintents/assistantschemas/booksentity/audiobook
---

# audiobook

The app entity describes an audiobook.

## Declaration

```swift
var audiobook: some AssistantSchemas.Entity { get }
```

## Overview

Overview Use Swift macros that generate additional properties and add protocol conformance for your app entity implementation. The following example shows an app entity that conforms to the .books.audiobook schema: @AppEntity(schema: .books.audiobook) struct AudiobookEntity: AppEntity {     struct Query: EntityStringQuery {         func entities(for identifiers: [AudiobookEntity.ID]) async throws -> [AudiobookEntity] { [] }         func entities(matching string: String) async throws -> [AudiobookEntity] { [] }     }

static var defaultQuery = Query()     var displayRepresentation: DisplayRepresentation { "Audiobook" }

let id = UUID()

@Property     var title: String?

@Property     var seriesTitle: String?

@Property     var author: String?

@Property     var genre: String?

@Property     var purchaseDate: Date? } For more information about the .books app intent domain, see doc:Making-ebook-actions-available-to-siri-and-apple-intelligence. For general information about app intent domains, see doc:Integrating-actions-with-siri-and-apple-intelligence.
