<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreML",
  "identifier" : "/documentation/CoreML/MLModelMetadataKey",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core ML"
    ],
    "preciseIdentifier" : "c:@T@MLModelMetadataKey"
  },
  "title" : "MLModelMetadataKey"
}
-->

# MLModelMetadataKey

The set of keys the model uses to store values in its metadata dictionary.

```
struct MLModelMetadataKey
```

## Topics

### Metadata keys

[`author`](/documentation/CoreML/MLModelMetadataKey/author)

Key for the author of the model.

[`description`](/documentation/CoreML/MLModelMetadataKey/description)

Key for the overall description of the model.

[`license`](/documentation/CoreML/MLModelMetadataKey/license)

Key for the license of the model.

[`versionString`](/documentation/CoreML/MLModelMetadataKey/versionString)

Key for the version of the model.

[`creatorDefinedKey`](/documentation/CoreML/MLModelMetadataKey/creatorDefinedKey)

Key for the model creator’s custom metadata.

### Creating metadata

[`init(rawValue:)`](/documentation/CoreML/MLModelMetadataKey/init(rawValue:))



---

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)