<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/AppSchema/MessagesEntity",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "App Intents",
      "AppIntents"
    ],
    "preciseIdentifier" : "s:10AppIntents0A6SchemaV14MessagesEntityP"
  },
  "title" : "AppSchema.MessagesEntity"
}
-->

# AppSchema.MessagesEntity

Identifies entity schemas in the messages domain.

```
protocol MessagesEntity : AppSchema.Kind
```

## Topics

### Instance Properties

[`var conversation: some AppSchemaEntity`](/documentation/AppIntents/AppSchema/MessagesEntity/conversation)

An entity schema for a conversation.

[`var customAttachment: some AppSchemaEntity`](/documentation/AppIntents/AppSchema/MessagesEntity/customAttachment)

An entity schema for a custom attachment.

[`var message: some AppSchemaEntity`](/documentation/AppIntents/AppSchema/MessagesEntity/message)

An entity schema for a message.

[`var messagePerson: some AppSchemaEntity`](/documentation/AppIntents/AppSchema/MessagesEntity/messagePerson)

An entity schema for a message person.

## Relationships

### Inherits From

[`Kind`](/documentation/AppIntents/AppSchema/Kind)

### Conforming Types

[`Entity`](/documentation/AppIntents/AppSchema/Entity)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)