I created two classes Content and Bucket. Bucket contains an array of Content objects and exposes that via a public property
Content
Bucket
My issue was a namespace problem.
I had declared an enum called Data and that was mucking with the Swift Data class, especially an imageData: Data property within a Core Data model.
Data
imageData: Data