<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DataDetection",
  "identifier" : "/documentation/DataDetection/DataDetector/Match/SemanticDetails",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "DataDetection"
    ],
    "preciseIdentifier" : "s:13DataDetection0A8DetectorO5MatchV15SemanticDetailsO"
  },
  "title" : "DataDetector.Match.SemanticDetails"
}
-->

# DataDetector.Match.SemanticDetails

An enumeration of types of matches returned by the scanner.

```
enum SemanticDetails
```

## Discussion

The framework associates each value with an object that contains semantic information about the match.

## Topics

### Structures

[`struct CalendarEvent`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/CalendarEvent)

The values the framework returns that represent date components of a calendar event.

[`struct EmailAddress`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/EmailAddress)

A match that the data detector determines represents an email address.

[`struct FlightNumber`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/FlightNumber)

The values the framework returns that represent an airline code and a flight number.

[`struct Link`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/Link)

The value the framework returns for a match of a link that contains a valid URL corresponding to the original link.

[`struct Measurement`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/Measurement)

A match that the data detector determines represents a measurement.

[`struct MoneyAmount`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/MoneyAmount)

A match that the data detector determines represents an amount of money.

[`struct PaymentIdentifier`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/PaymentIdentifier)

A match that the data detector determines represents a payment identifier.

[`struct PhoneNumber`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/PhoneNumber)

A match that the data detector determines represents a phone number.

[`struct PostalAddress`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/PostalAddress)

A match that the data detector determines represents a postal address.

[`struct ShipmentTrackingNumber`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/ShipmentTrackingNumber)

A match that the data detector determines represents a shipment tracking number.

### Enumeration Cases

[`case calendarEvent(DataDetector.Match.SemanticDetails.CalendarEvent)`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/calendarEvent(_:))

A match that the data detector determines represents a calendar event.

[`case emailAddress(DataDetector.Match.SemanticDetails.EmailAddress)`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/emailAddress(_:))

A match that the data detector determines represents an email address.

[`case flightNumber(DataDetector.Match.SemanticDetails.FlightNumber)`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/flightNumber(_:))

A match that the data detector determines represents a flight number.

[`case link(DataDetector.Match.SemanticDetails.Link)`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/link(_:))

A match that the data detector determines represents a link.

[`case measurement(DataDetector.Match.SemanticDetails.Measurement)`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/measurement(_:))

A match that the data detector determines represents a measurement.

[`case moneyAmount(DataDetector.Match.SemanticDetails.MoneyAmount)`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/moneyAmount(_:))

A match that the data detector determines represents an amount of money.

[`case paymentIdentifier(DataDetector.Match.SemanticDetails.PaymentIdentifier)`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/paymentIdentifier(_:))

A match that the data detector determines represents a payment identifier.

[`case phoneNumber(DataDetector.Match.SemanticDetails.PhoneNumber)`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/phoneNumber(_:))

A match that the data detector determines represents a phone number.

[`case postalAddress(DataDetector.Match.SemanticDetails.PostalAddress)`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/postalAddress(_:))

A match that the data detector determines represents a postal address.

[`case shipmentTrackingNumber(DataDetector.Match.SemanticDetails.ShipmentTrackingNumber)`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/shipmentTrackingNumber(_:))

A match that the data detector determines represents a shipping tracking number.

## Relationships

### Conforms To

[`Copyable`](/documentation/Swift/Copyable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`Encodable`](/documentation/Swift/Encodable)

[`Escapable`](/documentation/Swift/Escapable)

[`Decodable`](/documentation/Swift/Decodable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

---

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)