---
title: entry
framework: appintents
role: symbol
role_heading: Instance Property
path: appintents/assistantschemas/journalentity/entry
---

# entry

The app entity describes a journal entry.

## Declaration

```swift
var entry: 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 .journal.entry schema: @AppEntity(schema: .journal.entry) struct JournalEntity: AppEntity {     struct Query: EntityStringQuery {         func entities(for identifiers: [JournalEntity.ID]) async throws -> [JournalEntity] { [] }         func entities(matching string: String) async throws -> [JournalEntity] { [] }     }

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

let id = UUID()

@Property     var title: String?

@Property     var message: AttributedString?

@Property     var mediaItems: [IntentFile]

@Property     var entryDate: Date?

@Property     var location: CLPlacemark? } For more information about the .journal app intent domain, see doc:Making-journaling-actions-available-to-siri-and-apple-intelligence. For general information about app intent domains, see doc:Integrating-actions-with-siri-and-apple-intelligence.
