---
title: contentType
framework: Foundation Models
role: symbol
role_heading: Instance Property
platforms: [iOS 27.2+, iPadOS 27.2+, Mac Catalyst 27.2+, macOS 27.2+, visionOS 27.2+, watchOS 27.2+]
path: foundationmodels/transcript/dataentry/contenttype
---

# contentType

A UTType identifying how to interpret content.

## Declaration

```swift
var contentType: UTType
```

## Discussion

Discussion Packages that ship data entry payloads should declare a dedicated UTType conforming to .data (or a more specific format like .json) and expose it as a static extension member so consumers can match on it directly.
