Hello @David_Thompson. Most of the document design depends upon the usage - how you want to query (includes CRUD) it. In other words how you want to use in your application and access it efficiently.
Creating some data samples and important queries you might use in your app - can help.
For example:
I currently have the size as an object with the attributes of the sizes (large, medium, small) and the quantity.
I believe I should redo this to be colour with the attribute of size and quantity.
One way to store this data is as shown below. Will it suit your application needs, I cannot tell for sure as I don’t know how the data is to be used.
[
{ color: "red", size: "L", qty: 4 },
{ color: "red", size: "M", qty: 1 },
{ color: "white", size: "XL", qty: 3 }
]