<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/TypeDisplayRepresentation/synonyms",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents25TypeDisplayRepresentationV8synonymsSay10Foundation23LocalizedStringResourceVGvp"
  },
  "title" : "synonyms"
}
-->

# synonyms

A list of localized phrases that are synonyms of this particular type display representation

```
var synonyms: [LocalizedStringResource]
```

## Discussion

Example:

```
struct PizzaEntity: AppEntity {
    static var typeDisplayRepresentation = TypeDisplayRepresentation(
        name: "Pizza",
        synonyms: ["Pie", "Za"]
    )
}
```

In this case, we are saying that PizzaEntity can be represented as “Pizza”, “Pie” or “Za”

---

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)