<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: -",
    "macOS: 26.4.0 -",
    "tvOS: 26.4.0 -",
    "visionOS: 26.4.0 -",
    "watchOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/AppEntity/ValueRepresentation",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "App Intents",
      "AppIntents"
    ],
    "preciseIdentifier" : "s:10AppIntents0A6EntityPAAE19ValueRepresentationa"
  },
  "title" : "AppEntity.ValueRepresentation"
}
-->

# AppEntity.ValueRepresentation

A type alias for `IntentValueRepresentation`, providing a convenient way to define
transfer representations that convert between app entities and system intent values.

```
typealias ValueRepresentation = IntentValueRepresentation
```

## Discussion

Use `ValueRepresentation` in your entity’s `transferRepresentation` to enable
bidirectional conversion with system types like `IntentPerson`, `PlaceDescriptor`,
and other `_SystemIntentValue` types.

## Example

```swift
struct ContactEntity: AppEntity, Transferable {
    static var transferRepresentation: some TransferRepresentation {
        ValueRepresentation(
            exporting: { entity in
                IntentPerson(
                    name: .displayName(entity.name),
                    handle: .init(emailAddress: entity.email)
                )
            },
            importing: { person in
                ContactEntity(
                    name: person.name.displayString,
                    email: person.handle?.value ?? ""
                )
            }
        )
    }
}
```

---

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)