---
title: DataStoreSnapshotCodingKey
framework: SwiftData
role: symbol
role_heading: Enumeration
platforms: [iOS 18.0+, iPadOS 18.0+, Mac Catalyst 18.0+, macOS 15.0+, tvOS 18.0+, visionOS 2.0+, watchOS 11.0+, swift 5.9+]
path: swiftdata/datastoresnapshotcodingkey
---

# DataStoreSnapshotCodingKey

The key space to use when implementing custom coders and decoders for data store snapshots,

## Declaration

```swift
enum DataStoreSnapshotCodingKey
```

## Topics

### Values that describe coding keys

- [DataStoreSnapshotCodingKey.persistentIdentifier](swiftdata/datastoresnapshotcodingkey/persistentidentifier.md)

### Enumeration Cases

- [DataStoreSnapshotCodingKey.modeledProperty(_:)](swiftdata/datastoresnapshotcodingkey/modeledproperty(_:).md)

## Relationships

### Conforms To

- [CodingKey](swift/codingkey.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
