---
title: metadata
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkdeletedobject/metadata
---

# metadata

The metadata associated with the deleted object.

## Declaration

```swift
var metadata: [String : Any]? { get }
```

## Discussion

Discussion The system only copies the HKMetadataKeySyncIdentifier and HKMetadataKeySyncVersion keys from the original object. All other metadata is lost. For more information about the metadata’s format and content, see the HKObject class’s  metadata property.

## See Also

### Identifying Deleted Objects

- [uuid](healthkit/hkdeletedobject/uuid.md)
