---
title: license
framework: coreai
role: symbol
role_heading: Instance Property
path: coreai/aimodelasset/metadata-swift.struct/license
---

# license

The license text for the model.

## Declaration

```swift
var license: String { get set }
```

## Discussion

Discussion Returns an empty string if the model has no license.

## See Also

### Reading model information

- [description](coreai/aimodelasset/metadata-swift.struct/description.md)
- [author](coreai/aimodelasset/metadata-swift.struct/author.md)
- [creationDate](coreai/aimodelasset/metadata-swift.struct/creationdate.md)
