---
title: Transcript.DataEntry
framework: Foundation Models
role: symbol
role_heading: Structure
platforms: [iOS 27.2+, iPadOS 27.2+, Mac Catalyst 27.2+, macOS 27.2+, visionOS 27.2+, watchOS 27.2+]
path: foundationmodels/transcript/dataentry
---

# Transcript.DataEntry

A top-level transcript entry payload in a serialized, portable format.

## Declaration

```swift
struct DataEntry
```

## Overview

Overview A Transcript.DataEntry records the bytes and identifier of a value that a LanguageModel implementation opted into via supportsDataEntryType(_:). It’s what a DataEntryRepresentable-conforming type produces from its transcriptRepresentation, and it round-trips through the transcript’s Codable conformance so the transcript remains portable even in environments where the declaring package isn’t installed.

## Topics

### Initializers

- [init(id:contentType:content:metadata:)](foundationmodels/transcript/dataentry/init(id:contenttype:content:metadata:).md)

### Instance Properties

- [content](foundationmodels/transcript/dataentry/content.md)
- [contentType](foundationmodels/transcript/dataentry/contenttype.md)
- [metadata](foundationmodels/transcript/dataentry/metadata.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Identifiable](swift/identifiable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
